/* ----------------- Importări ----------------- */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;800&display=swap");

/* ----------------- Regula pentru badge ----------------- */
.badge {
  display: inline-block;
  background-color: #efac06;
  color: #fff;
  padding: 2px 6px;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 5px;
  margin-left: 8px;
  animation: heartbeat 1.5s infinite;
}
@keyframes heartbeat {
  0% { transform: scale(1); }
  25% { transform: scale(1.1); }
  50% { transform: scale(1); }
  75% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Efectul flash pentru butonul "Listă cumpărături" */
.flash {
  animation: flashAnim 0.5s ease;
}
@keyframes flashAnim {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* ----------------- Stil pentru selectorul de cantitate ----------------- */
.quantity-selector {
  display: flex;
  justify-content: center;
  align-items: center;
}
.quantity-selector button {
  width: 30px;
  height: 30px;
  border: 2px solid #800020;
  background-color: transparent;
  color: #800020;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.quantity-selector button:hover {
  background-color: #800020;
  color: #fff;
  border-color: #800020;
}
.quantity-selector .quantity-value {
  min-width: 20px;
  text-align: center;
  font-size: 1rem;
  color: #800020;
}

/* Pentru lista de cumpărături, butoanele de cantitate */
#shoppingListModal .shopping-item .shopping-item-quantity button {
  width: 25px;
  height: 25px;
  border: 2px solid #800020;
  background-color: transparent;
  color: #800020;
  font-size: 0.8rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
#shoppingListModal .shopping-item .shopping-item-quantity button:hover {
  background-color: #800020;
  color: #fff;
  border-color: #800020;
}

/* ----------------- Reset și stiluri globale ----------------- */
::-webkit-scrollbar { display: none; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Poppins", sans-serif;
  background-color: #f8f8f8;
  display: flex;
  justify-content: center;
  padding: 20px;
  scrollbar-width: none;
}
.container {
  max-width: 1400px;
  width: 100%;
  padding: 20px;
}
@media (max-width: 768px) {
  .container { padding: 10px; }
}

/* ----------------- Media query pentru ecrane mari ----------------- */
@media (min-width: 1440px) {
  .container { max-width: 1200px; }
  /* Ajustăm popup-ul de produs */
  #productModal .modal-content { max-width: 385px; padding: 16px; }
  #productModal .modal-description { font-size: 13px; }
}

/* ----------------- Media query pentru ecrane mici ----------------- */


/* ----------------- Header ----------------- */
header {
  background-color: #af1b3f;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
}
header img { height: 32px; }
.header-icons {
  display: flex;
  gap: 15px;
  align-items: center;
}
.location-selector, .shopping-list-btn {
  cursor: pointer;
  font-size: 17px;
  color: white;
}
.shopping-list-btn .shopping-list-text {
  font-size: 0.9rem;
  margin-left: 5px;
  vertical-align: middle;
}

/* ----------------- Bara fixă pentru lista de cumpărături ----------------- */
#shoppingListBar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #800020;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 0.9rem;
  display: none;
  cursor: pointer;
  z-index: 1000;
}

/* ----------------- Buton Back to Top ----------------- */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background-color: #800020;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: background-color 0.3s ease;
}
.back-to-top:hover { background-color: #990033; }

/* ----------------- Secțiunea Hero ----------------- */
.hero {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.hero img {
  display: block;
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  cursor: pointer;
}
.hero img:first-child {
  grid-column: 1 / -1;
  width: 100%;
  height: auto;
}
.hero img:hover { transform: scale(1.03); }
@media (max-width: 768px) {
  .hero img:first-child {
    height: 200px;
    object-fit: cover;
    object-position: center top;
  }
  .hero img:nth-child(2),
  .hero img:nth-child(3) { height: auto; }
}

/* ----------------- Categorii ----------------- */
.categories-wrapper {
  text-align: center;
  margin: 20px 0 30px;
}
.categories-divider {
  width: 80%;
  height: 1px;
  background-color: #ddd;
  margin: 0 auto 10px;
}
.swipe-message { font-size: 0.75rem; color: #777; margin-bottom: 10px; }
.categories {
  display: flex;
  justify-content: center;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 10px;
}
.categories::-webkit-scrollbar { display: none; }
.category {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.8rem;
  color: #555;
  cursor: pointer;
  transition: all 0.3s ease;
}
.category span {
  margin-top: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f8f8;
  border: 2px solid #af1b3f;
  transition: all 0.3s ease;
}
.category.selected .icon-wrapper {
  background-color: #af1b3f;
  border-color: #af1b3f;
}
.icon-wrapper i {
  font-size: 1.5rem;
  color: #af1b3f;
  transition: all 0.3s ease;
}
.category.selected .icon-wrapper i { color: white; }
@media (max-width: 768px) {
  .categories { justify-content: flex-start; padding-left: 10px; }
  .icon-wrapper { width: 50px; height: 50px; }
  .icon-wrapper i { font-size: 1.2rem; }
}

/* ----------------- Meniu Produse ----------------- */
.menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  border-top: 1px solid #ddd;
  padding-top: 20px;
}
.menu-item {
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 112px;
}
.menu-item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.menu-item img {
  width: 112px;
  height: 112px;
  object-fit: cover;
}
.info {
  padding: 10px;
  flex: 1;
  overflow: hidden;
}
.info h3 {
  font-size: 1.1rem;
  color: #af1b3f;
  margin-bottom: 5px;
}
.info h3 .badge {
  background-color: #efac06;
  color: #fff;
  padding: 2px 6px;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 5px;
  margin-left: 8px;
  animation: heartbeat 1.5s infinite;
}
.info p {
  font-size: 0.8rem;
  color: #555;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.info .price {
  font-size: 1rem;
  display: inline-block;
  margin-top: 5px;
}
.old-price {
  font-weight: normal;
  color: #aaa;
  text-decoration: line-through;
}
.new-price {
  font-size: 1.1rem;
  color: #af1b3f;
  font-weight: 800;
}
.weight {
  color: #777;
  font-weight: normal;
  font-size: 0.9rem;
  margin-left: 5px;
}
.keywords { display: none; }

/* ----------------- Secțiunea Contact ----------------- */
.bottom-section {
  margin-top: 20px;
  border-top: 1px solid #ddd;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.contact-info { font-size: 0.9rem; color: #777; }
.contact-info i { margin-right: 5px; }
#current-location { color: #800020; font-weight: 800; cursor: pointer; }
.contact-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}
.contact-button {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.contact-buttons a:nth-child(1),
.contact-buttons a:nth-child(3) {
  background-color: #f0f0f0;
  color: #333;
}
.contact-buttons a:nth-child(2) {
  background-color: #af1b3f;
  color: #fff;
}
.contact-button:hover { transform: scale(1.05); }
footer {
  margin-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
}
footer a { display: none; }
.shipping-info {
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 10px;
}
.shipping-info p { margin: 5px 0; }
hr { border: none; border-top: 1px solid #ddd; margin: 10px 0; }
@media (max-width: 768px) {
  .menu { grid-template-columns: 1fr; }
  .menu-item { flex-direction: row; }
  .menu-item img { width: 112px; height: 112px; }
}

/* ----------------- Variații Produs ----------------- */
.variation-section { margin-bottom: 10px; display: none; }
.variation-label { font-size: 0.8rem; color: #555; margin-bottom: 5px; }
.variation-container { }
.variation-button {
  padding: 5px 10px;
  border: 1px solid #af1b3f;
  background-color: #fff;
  color: #af1b3f;
  border-radius: 5px;
  margin-right: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.variation-button.active, .variation-button:hover {
  background-color: #af1b3f;
  color: #fff;
}

/* ----------------- Modal Produs (Popup) ----------------- */
.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
}
#productModal .modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
/* - Ecrane mici (Popup) sa  se reduca ----------------- */
@media (min-width: 1024px) and (max-width: 1920px) {
  #productModal .modal-content {
    width: 50%;
    max-width: 400px;
  }
}
#productModal .modal-content::-webkit-scrollbar { display: none; }
#productModal .close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  background-color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #aaa;
  cursor: pointer;
  z-index: 1100;
}
#productModal .modal-image {
  width: 100%;
  max-height: auto;
  object-fit: cover;
  margin: 0;
  border-radius: 10px 10px 0 0;
}
#productModal .modal-title {
  font-size: 1.5rem;
  color: #af1b3f;
  margin-bottom: 10px;
  text-align: left;
}
#productModal .modal-price {
  font-size: 1.2rem;
  color: #af1b3f;
  text-align: left;
  margin-bottom: 10px;
}
#productModal .modal-price .old-price {
  font-size: 1rem;
  color: #aaa;
  text-decoration: line-through;
  margin-right: 10px;
}
#productModal .modal-description {
  font-size: 13px;
  color: #555;
  margin-bottom: 10px;
}
.quantity-selector { margin: 10px 0; display: flex; justify-content: center; align-items: center; }
.add-to-list-button {
  display: block;
  text-align: center;
  background-color: #af1b3f;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  text-decoration: none;
  margin: 15px 0;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}
.add-to-list-button:hover { transform: scale(1.05); }
.keywords { display: none; }
.recommended {
  margin-top: 20px;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 10px;
  background-color: #f8f8f8;
}
.recommended h4 {
  font-size: 1.2rem;
  color: #af1b3f;
  margin-bottom: 10px;
  text-align: left;
}
.recommended-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  overflow: hidden;
  padding: 10px;
}
@media (max-width: 768px) {
  .recommended-list { grid-template-columns: repeat(2, 1fr); }
}
.recommended-item {
  cursor: pointer;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 220px;
}
.recommended-item:hover { transform: scale(1.05); }
.rec-img-wrapper { position: relative; width: 100%; height: 150px; }
.rec-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.badge-overlay {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: #efac06;
  color: #fff;
  padding: 2px 6px;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 5px;
  animation: heartbeat 1.5s infinite;
}
.recommended-item p {
  font-size: 0.9rem;
  color: #555;
  margin-top: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;        /* Limitează la 2 rânduri */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}


/* ----------------- Modal Lista de Cumpărături ----------------- */
#shoppingListModal .modal-content {
  background-color: #fff;
  border-radius: 15px;
  padding: 0;
  max-width: 320px;
  width: 90%;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-size: 0.8rem;
  color: #800020;
  max-height: 90vh;
  overflow-y: auto;
}
.shopping-list-header {
  position: sticky;
  top: 0;
  background-color: #800020;
  padding: 10px;
  border-radius: 15px 15px 0 0;
  text-align: center;
  color: #fff;
  z-index: 10;
}
.shopping-list-header .modal-title { font-size: 1rem; margin: 0; }
#shoppingListModal .close.shopping-list-close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}
#shoppingListModal .shopping-list-items {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#shoppingListModal .shopping-item {
  display: flex;
  align-items: center;
  padding: 8px;
  border-bottom: 1px solid #eee;
}
#shoppingListModal .shopping-item:last-child { border-bottom: none; }
#shoppingListModal .shopping-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 5px;
  margin-right: 10px;
}
#shoppingListModal .shopping-item .shopping-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.75rem;
}
#shoppingListModal .shopping-item .shopping-item-name {
  font-weight: bold;
  color: #800020;
}
#shoppingListModal .shopping-item .shopping-item-quantity {
  display: flex;
  gap: 5px;
  align-items: center;
}
#shoppingListModal .shopping-item .shopping-item-quantity button {
  width: 25px;
  height: 25px;
  border: 2px solid #800020;
  background-color: transparent;
  color: #800020;
  font-size: 0.8rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
#shoppingListModal .shopping-item .shopping-item-quantity button:hover {
  background-color: #800020;
  color: #fff;
  border-color: #800020;
}
#shoppingListModal .shopping-item .shopping-item-quantity .shopping-quantity-value {
  min-width: 20px;
  text-align: center;
  font-size: 0.8rem;
}
#shoppingListModal .shopping-item .delete-item {
  cursor: pointer;
  color: red;
  font-size: 1.2rem;
  margin-left: 10px;
}
#shoppingListModal .shopping-total {
  padding: 10px;
  font-weight: bold;
  text-align: right;
}
#shoppingListModal .shopping-actions {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#shoppingListModal .shopping-actions a {
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: 5px;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
#shoppingListModal .shopping-call-button {
  background-color: #af1b3f;
  color: #fff;
  font-size: 0.9rem;
}
#shoppingListModal .shopping-call-button:hover {
  transform: scale(1.05);
  background-color: #90092d;
}
#shoppingListModal .shopping-clear-button {
  background-color: #ddd;
  color: #800020;
  font-size: 0.8rem;
}
#shoppingListModal .shopping-clear-button:hover {
  transform: scale(1.05);
  background-color: #ccc;
}

/* ----------------- Modal Cover ----------------- */
.modal-cover {
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
}
.modal-cover .modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  position: relative;
}
.modal-cover img.modal-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* ----------------- Modal Discount ----------------- */
.modal-discount {
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
}
.modal-discount .modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  max-height: 70vh;
  position: relative;
  overflow-y: auto;
}
@media (min-width: 768px) {
  .modal-discount .modal-content { max-width: 800px; }
}
.modal-discount .modal-title {
  color: #800020;
  text-align: center;
}
.modal-discount .close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
}
.modal-discount .discount-note {
  padding: 10px 0;
  font-size: 0.8rem;
  text-align: center;
}
.modal-discount .discount-list .menu-item {
  margin-bottom: 15px;
}

/* ----------------- Modal Feedback ----------------- */
.modal-feedback {
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
}
.modal-feedback .modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  position: relative;
}
.modal-feedback .modal-title {
  font-size: 1.5rem;
  color: #800020;
  margin-bottom: 15px;
}
#feedbackForm {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
#feedbackForm label { font-size: 0.9rem; color: #333; }
#feedbackForm input[type="text"],
#feedbackForm input[type="email"],
#feedbackForm input[type="tel"],
#feedbackForm textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 0.9rem;
}
#feedbackForm textarea { resize: vertical; }
#feedbackForm input[type="checkbox"] { margin-right: 5px; }
#feedbackForm button {
  padding: 10px 15px;
  background-color: #af1b3f;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}
#feedbackForm button:hover { background-color: #90092d; }

/* ----------------- Modal Locații ----------------- */
.modal-location {
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
}
.location-container {
  background-color: #fff;
  border-radius: 40px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.2);
  padding: 60px 20px 100px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.location-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.location-header h1 {
  font-size: 2rem;
  color: #af1b3f;
  font-weight: 800;
}
.location-header h2 {
  font-size: 0.6rem;
  color: #6c6c6c;
  font-weight: normal;
  margin-top: -8px;
}
.location-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  justify-content: center;
  flex-grow: 1;
  margin-top: 80px;
}
.location-icon {
  font-size: 1.2rem;
  color: #6c6c6c;
  margin-bottom: -5px;
}
.location-button {
  background-color: #af1b3f;
  color: #fff;
  border: none;
  padding: 16px 15px;
  margin: 3px 0;
  border-radius: 16px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 80%;
  text-decoration: none;
  text-align: center;
}
.location-button:hover { background-color: #90092d; transform: scale(1.05); }
.location-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-top: 80px;
}
.location-footer img { width: 100px; }
.location-footer p { font-weight: 300; }
.location-close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
}
@media (max-width: 768px) {
  .menu { grid-template-columns: 1fr; }
  .menu-item { flex-direction: row; }
  .menu-item img { width: 112px; height: 112px; }
  .modal-content, .location-container { max-height: 90vh; overflow-y: auto; }
}

/* ----------------- Nou: Modal General Anunțuri ----------------- */
.modal-announcement {
  position: fixed;
  z-index: 1200;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
}
.modal-announcement .modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
}
.modal-announcement .announcement-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
.modal-announcement .close.announcement-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 28px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
}

/* ----------------- Nou: Modal Afisare imagini mobile----------------- */
/* === Stiluri noi pentru containerul imaginii produsului === */
.product-img-container {
  min-width: 100px;            /* Dimensiune minimă fixă – poți ajusta după preferințe */
  min-height: 100px;           /* Dimensiune minimă fixă */
  padding: 5px;                /* Padding egal pe toate părțile */
  border-radius: 10px;         /* Colțuri rotunjite */
  overflow: hidden;            /* Ascunde porțiunile imaginii ce ies din container */
  background-color: #fff;      /* Fundal alb pentru contrast (poți schimba dacă dorești) */
  margin-right: 10px;          /* Spațiu între containerul imaginii și blocul de informații */
  display: flex;               /* Pentru centrare verticală și orizontală */
  align-items: center;
  justify-content: center;
}

/* Stilizarea imaginii astfel încât să nu se mărească peste o anumită dimensiune */
.product-img-container img {
  max-width: 100px;   /* Dimensiunea maximă a imaginii */
  max-height: 100px;  /* Dimensiunea maximă a imaginii */
  width: auto;        /* Redimensionare automată în funcție de conținut */
  height: auto;
  object-fit: cover;  /* Imaginea se decupează elegant pentru a umple containerul */
  border-radius: inherit; /* Moștenește colțurile rotunjite din container */
  transition: transform 0.3s ease; /* Pentru eventuale efecte de hover */
}

/* Dacă este necesar, în interiorul media query pentru mobile se pot face și alte ajustări */
@media (max-width: 768px) {
  .menu-item {
    height: auto;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .info h3 { font-size: 0.95rem; }
  .info p { font-size: 0.75rem; }
  .info .old-price { font-size: 0.8rem; }
  .info .new-price { font-size: 0.85rem; }
  .weight { font-size: 0.75rem; }
  .badge { font-size: 0.7rem; padding: 1px 4px; }
}

/* ----------------- Nou: Badge reducere card 2----------------- */


