/*
 * mn-c.css — design refresh, variant C ("mint + rainbow from the logo"), 2026.
 * Loaded LAST in <head> (after theme.css, custom.css and the zonecolorsfonts inline
 * block), so same-specificity rules here win without !important.
 *
 * Stage 1 = foundation only: tokens, Figtree, links, buttons, prices, badges,
 * form fields, the rainbow stripe. Header, homepage, cards and product page come
 * in later stages and build on the tokens below.
 */

/* Font Awesome: theme.css now loads fonts/fontawesome-subset.woff2 (the ~75 icons the shop uses, 7.5 KB
   instead of 76 KB; a second @font-face here made Chrome fetch both). An icon outside the list shows
   blank: add its code point to /home/proba/sql/fontawesome-subset-codepoints.txt and rebuild with
   python3 -m fontTools.subset -xPowC.woff2 --unicodes="$(cat …)" --flavor=woff2 --layout-features='*'
   --no-hinting --output-file=fontawesome-subset.woff2  (30.10.2026). */

/* ---------- Font: Figtree, self-hosted (no Google request) ---------- */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(../fonts/figtree-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(../fonts/figtree-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --mn-font: 'Figtree', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  /* greens */
  --mn-mint-50: #F1FBF4;
  --mn-mint-100: #E3F7EA;
  --mn-mint-200: #C8EFD5;
  --mn-mint-300: #B5E3C4;
  --mn-green: #26B34B;        /* logo green: fills, CTA background (dark text on it) */
  --mn-green-hover: #1FA041;
  --mn-on-green: #0B2415;     /* text on --mn-green */
  --mn-green-text: #06783C;   /* links, green headings, prices in green */
  --mn-forest: #0B4A2A;       /* footer, dark surfaces */

  /* neutrals */
  --mn-ink: #13261B;
  --mn-ink-2: #33463A;
  --mn-muted: #4F5E55;
  --mn-line: #E1EDE4;
  --mn-bg: #FFFFFF;

  /* rainbow from the logo: solid / pastel surface / readable text on pastel */
  --mn-red: #EE1D24;     --mn-red-50: #FDE4E4;     --mn-red-text: #C21A20;
  --mn-orange: #F7941D;  --mn-orange-50: #FEEEDB;  --mn-orange-text: #A65A00;
  --mn-yellow: #FFDE00;  --mn-yellow-50: #FFF5BF;  --mn-yellow-text: #7A6400;
  /* green = the greens above */
  --mn-blue: #00AEEF;    --mn-blue-50: #DDF4FD;    --mn-blue-text: #005F87;
  --mn-indigo: #2E3192;  --mn-indigo-50: #E3E4F4;  --mn-indigo-text: #2E3192;
  --mn-violet: #92278F;  --mn-violet-50: #F3E2F2;  --mn-violet-text: #7D1F7A;

  --mn-sale: #D91F26;    /* discount badges only */

  --mn-radius-pill: 999px;
  --mn-radius-card: 20px;
  --mn-radius-field: 12px;
  --mn-shadow: 0 1px 2px rgba(19, 38, 27, .06), 0 6px 20px rgba(19, 38, 27, .06);

  --mn-rainbow: linear-gradient(90deg,
    #EE1D24 0 14.28%, #F7941D 14.28% 28.57%, #FFDE00 28.57% 42.85%,
    #26B34B 42.85% 57.14%, #00AEEF 57.14% 71.42%, #2E3192 71.42% 85.71%,
    #92278F 85.71% 100%);
}

/* ---------- Typography ---------- */
body,
button, input, select, textarea, optgroup,
.btn, .form-control, .dropdown-menu, .tooltip, .popover {
  font-family: var(--mn-font);
}
body {
  color: var(--mn-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6,
.page-heading, .title-block, .block-title, .product-name, .product-name a {
  font-family: var(--mn-font);
  color: var(--mn-ink);
  letter-spacing: -0.01em;
}
h1, .h1, .page-heading { font-weight: 800; }
h2, h3, .h2, .h3, .title-block, .block-title { font-weight: 700; }

/* ---------- Links (was green #329635 / purple #963294 on hover) ---------- */
a, .btn-link, .page-link, .text-primary,
.products-selection .total-products p,
#header .top-menu a[data-depth="0"]:hover, .top-menu .sub-menu a:hover,
.feature2 a:hover {
  color: var(--mn-green-text);
}
a:hover, .btn-link:hover, .page-link:hover,
.product-name a:hover, a.product-name:hover,
.dropdown-item:hover, .dropdown-item:focus,
.feature a:hover {
  color: var(--mn-forest);
}
/* the theme coloured these purple via the "hover" accent */
.active-filters .filter-block .material-icons,
.block-reassurance img,
.st-menu-close:hover,
.feature2 .material-icons, .feature2 .fa,
#footer .footer-about-us .fa, #footer .footer-about-us .material-icons,
.feature .material-icons, .feature .fa {
  color: var(--mn-green-text);
}

/* ---------- Buttons ---------- */
.btn {
  border-radius: var(--mn-radius-pill);
  font-weight: 700;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn-primary, .btn.btn-primary,
.btn-primary.disabled, .btn-primary:disabled,
.add-to-cart, .add-to-cart.disabled, .add-to-cart:disabled,
.my-df-addtocart-btn {
  background-color: var(--mn-green);
  border-color: var(--mn-green);
  color: var(--mn-on-green);
  font-weight: 800;
}
.btn-primary:hover, .btn.btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
.btn.btn-primary:not(:disabled):not(.disabled):active, .btn.btn-primary:not(:disabled):not(.disabled).active,
.add-to-cart:hover,
.add-to-cart:not(:disabled):not(.disabled):active, .add-to-cart:not(:disabled):not(.disabled).active {
  background-color: var(--mn-green-hover);
  border-color: var(--mn-green-hover);
  color: var(--mn-on-green);
}
.btn-primary:focus-visible, .add-to-cart:focus-visible, .btn-secondary:focus-visible, .btn-outline-primary:focus-visible {
  outline: 3px solid var(--mn-mint-300);
  outline-offset: 2px;
  box-shadow: none;
}
/* secondary = white with a mint outline (Paleta board: "Vezi ofertele") */
.btn-secondary, .btn-outline-primary, .btn-outline-primary.disabled, .btn-outline-primary:disabled {
  background-color: #FFFFFF;
  border: 1.5px solid var(--mn-mint-300);
  color: var(--mn-ink);
}
.btn-secondary:hover, .btn-outline-primary:hover,
.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
  background-color: var(--mn-mint-50);
  border-color: var(--mn-green);
  color: var(--mn-ink);
}
/* "Detalii" button on cards was orange #FF9900 */
.add-to-cart.details-link {
  background-color: #FFFFFF;
  border: 1.5px solid var(--mn-mint-300);
  color: var(--mn-ink);
}
/* cart pop-up after adding a product */
#blockcart-modal .cart-buttons .btn-secondary.continue-shopping {
  background-color: #FFFFFF;
  border: 1.5px solid var(--mn-mint-300);
  color: var(--mn-ink);
}
#blockcart-modal .btn.proceed-checkout:first-of-type {
  border: 2px solid var(--mn-green);
  color: var(--mn-green-text);
}
#blockcart-modal .modal-header .close { color: var(--mn-green-text); }

/* ---------- Prices ---------- */
.product-price, .price-total, .mc_protocol_price {
  color: var(--mn-ink);
  font-weight: 800;
}
.regular-price { color: var(--mn-muted); }

/* ---------- Badges ---------- */
/* discount = red, the only place red is used */
.discount-percentage, .discount-amount,
.product-flags .product-flag.discount span, .product-flags .product-flag.on-sale span,
.df-discount-percentage, .mc_product__discount {
  background: var(--mn-sale) !important; /* custom.css sets a gradient with !important */
  color: #FFFFFF;
  border-radius: var(--mn-radius-pill);
  font-weight: 700;
}
.product-flags .product-flag span {
  background: var(--mn-mint-100) !important; /* custom.css: animated gradient, !important */
  color: var(--mn-green-text);
  border-radius: var(--mn-radius-pill);
  font-weight: 700;
}
.product_tested_badge, .js-product-list-tested {
  background: var(--mn-violet-50);
  color: var(--mn-violet-text);
  border-radius: var(--mn-radius-pill);
}
/* building blocks for the next stages (cards, product page) */
.mn-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: var(--mn-radius-pill);
  font-size: 12px; font-weight: 700; line-height: 1.3;
  background: #FFFFFF; color: var(--mn-green-text);
  border: 1px solid var(--mn-mint-200);
}
.mn-badge--sale { background: var(--mn-sale); color: #FFFFFF; border-color: var(--mn-sale); font-size: 13px; }
.mn-stock {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--mn-green-text);
}
.mn-stock::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mn-green); flex: none;
}
.mn-stock--supplier { color: #9A4F00; }
.mn-stock--supplier::before { background: var(--mn-orange); }
.mn-stock--out { color: var(--mn-muted); }
.mn-stock--out::before { background: #B9C4BD; }

/* counters (cart) — were purple */
.cart-preview .cart-header .cart-products-count,
#header .sticky-icon-cart .cart-products-count {
  background-color: var(--mn-green-text);
  color: #FFFFFF;
}

/* ---------- Small controls that were purple ---------- */
.slick-prev, .slick-next, #scrollTopButton .scroll-button,
.main-product-details .scroll-box-arrows .left, .main-product-details .scroll-box-arrows .right,
.modal .modal-header .close:hover, .aone-popupnewsletter button.close {
  background-color: var(--mn-green-text);
}
.slick-dots li button, .aone-slideshow .nivoSlider .nivo-controlNav a { background-color: var(--mn-mint-200); }
.slick-dots li.slick-active button, .aone-slideshow .nivoSlider .nivo-controlNav a.active { background-color: var(--mn-green-text); }
.aone-slideshow .nivoSlider .nivo-controlNav a.active { border-color: var(--mn-green-text); }
section.checkout-step .step-number,
.main-product-details .product-cover .layer .zoom-in,
#product-modal .arrows,
.product-list .product-miniature .grid-hover-btn a {
  color: var(--mn-green-text);
}
.custom-checkbox input[type="checkbox"]:checked + span, .custom-checkbox input[type="radio"]:checked + span,
.custom-radio input[type="checkbox"]:checked + span, .custom-radio input[type="radio"]:checked + span {
  background-color: var(--mn-green);
  border-color: var(--mn-green);
}
.custom-checkbox input[type="checkbox"]:hover + span, .custom-checkbox input[type="radio"]:hover + span,
.custom-radio input[type="checkbox"]:hover + span, .custom-radio input[type="radio"]:hover + span,
.main-product-details .product-images li.thumb-container .thumb.selected,
#product-modal .product-images img.selected {
  border-color: var(--mn-green);
}
.page-item.active .page-link, .pagination .page-list .current a,
.nav-pills .nav-link.active, .badge-primary, .progress-bar, .bg-primary,
.list-group-item.active, .dropdown-item.active, .dropdown-item:active {
  background-color: var(--mn-green);
  border-color: var(--mn-green);
  color: var(--mn-on-green);
}
.pace .pace-progress { background-color: var(--mn-green); }
.aone-tabs .nav-tabs .separator:after, .aone-tabs .nav-tabs .separator:before {
  border-left-color: var(--mn-mint-200);
  border-right-color: var(--mn-mint-200);
}
body#manufacturer .ms-letter-brands ul li { color: var(--mn-green-text); }
.product_footer_location_phone a { color: var(--mn-green-text); }

/* ---------- Form fields ---------- */
.form-control, .custom-select,
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], input[type="number"],
select, textarea {
  border-radius: var(--mn-radius-field);
}
.form-control:focus, .custom-select:focus,
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, input[type="password"]:focus,
input[type="search"]:focus, select:focus, textarea:focus {
  border-color: var(--mn-green);
  box-shadow: 0 0 0 3px var(--mn-mint-100);
  outline: none;
}
.bootstrap-touchspin .btn-touchspin, .group-span-filestyle .btn-default {
  background-color: var(--mn-mint-50);
  border-color: var(--mn-line);
  color: var(--mn-ink);
}

/* ---------- Rainbow stripe (top of page + above the footer) ---------- */
#header { position: relative; }
#header::before,
#footer::before {
  content: "";
  display: block;
  height: 6px;
  background: var(--mn-rainbow);
}

/* ---------- Existing product cards: colour fixes until stage 4 redoes them ---------- */
/* favourites heart (cards + product page): was a purple square at 50% opacity (ets_wishlist custom.css, !important) */
body .ets-wishlist-button-add:not(.view_page) {
  background-color: #FFFFFF !important;
  border: 1px solid var(--mn-mint-200);
  border-radius: 50% !important;
  opacity: 1;
  box-shadow: var(--mn-shadow);
}
body .ets-wishlist-button-add:not(.view_page):not(.delete_wishlist) svg {
  color: var(--mn-green-text) !important;
  fill: var(--mn-green-text) !important;
}
body .ets-wishlist-button-add.delete_wishlist {
  background-color: var(--mn-red-50) !important;
  border-color: var(--mn-red-50);
}
body .ets-wishlist-button-add.delete_wishlist svg {
  color: var(--mn-red-text) !important;
  fill: var(--mn-red-text) !important;
}
/* "same-day delivery" truck: purple PNG, recoloured through a mask */
.df_same_day_delivery {
  background: var(--mn-green-text);
  -webkit-mask: url('../img/delivery-truck.png') center / contain no-repeat;
  mask: url('../img/delivery-truck.png') center / contain no-repeat;
}
/* the add-to-cart pill must fit narrow cards */
.product-list .product-miniature .add-to-cart {
  padding: 5px 9px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0;
  white-space: nowrap;
}
.add-to-cart.added:after { background: var(--mn-green-text); color: #FFFFFF; } /* was pink */

/* favourites heart on the product page (view_page variant) */
.ets-wishlist-button-add.view_page {
  background-color: #FFFFFF !important;
  border: 1px solid var(--mn-mint-200) !important;
  border-radius: 50% !important;
  box-shadow: var(--mn-shadow);
}
.ets-wishlist-button-add.view_page svg { color: var(--mn-green-text) !important; fill: var(--mn-green-text) !important; }
.ets-wishlist-button-add.view_page.delete_wishlist { background-color: var(--mn-red-50) !important; }
.ets-wishlist-button-add.view_page.delete_wishlist svg { color: var(--mn-red-text) !important; fill: var(--mn-red-text) !important; }

/* one stripe only, at the very top (variant C); the menu-bar stripe from head.tpl goes */
#header-main-menu-sticky-wrapper::before { display: none; }

/* =====================================================================
 * Stage 2 — header, menu bar, phone tab bar
 * ===================================================================== */

/* ---------- Mint info bar (header.tpl) ---------- */
.mn-infobar {
  background: var(--mn-mint-100);
  color: var(--mn-ink);
  font-size: 14px;
  font-weight: 500;
}
.mn-infobar__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 18px;
  padding-top: 7px;
  padding-bottom: 7px;
}
.mn-infobar__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mn-green);
}
.mn-infobar a { color: var(--mn-ink); }
.mn-infobar a:hover { color: var(--mn-green-text); }
.mn-infobar small { color: var(--mn-muted); font-size: 12px; }

/* ---------- Launch notice of the new design (header.tpl) ---------- */
.mn-redesign { background: var(--mn-forest); color: #FFFFFF; font-size: 13.5px; line-height: 1.35; }
.mn-redesign__row { display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 7px; padding-bottom: 7px; text-align: center; }
.mn-redesign__pill { flex: none; background: var(--mn-green); color: var(--mn-on-green); font-weight: 700; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; border-radius: var(--mn-radius-pill); padding: 2px 9px; }
.mn-redesign strong { color: #FFFFFF; font-weight: 700; }
.mn-redesign__narrow { display: none; }
@media (max-width: 767px) {
  .mn-redesign { font-size: 12.5px; }
  .mn-redesign__wide { display: none; }
  .mn-redesign__narrow { display: inline; }
}

/* ---------- Main header row ---------- */
#header {
  background: #FFFFFF;
  background-image: none; /* the rainbow "rays" picture behind the search */
}
#header .main-header {
  border-bottom: 1px solid var(--mn-line);
}
.header-logo { min-height: 92px; }
#header .header-logo svg, #header .header-logo img { max-height: 60px; width: auto; }
@media (min-width: 768px) {
  #header .header-wrapper { gap: 32px; }
  #header .header-right { flex: 1 1 auto; min-width: 0; }
  #header .display-top { gap: 6px; flex-wrap: nowrap; }
  #header .display-top .searchbar-wrapper { order: 1; flex: 1 1 360px; max-width: 640px; margin-right: auto; }
  #header .display-top .customer-signin-module { order: 2; }
  #header .display-top .mn-fav-link { order: 3; }
  #header .display-top .shopping-cart-module { order: 4; }
}

/* search: mint pill with a green "Caută" button (BrielSearch opens on any click inside) */
#header .search-widget form {
  display: flex;
  align-items: center;
  background: var(--mn-mint-50);
  border: 1.5px solid var(--mn-mint-200);
  border-radius: var(--mn-radius-pill);
  padding: 4px 4px 4px 20px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
#header .search-widget:hover form { border-color: var(--mn-green); box-shadow: 0 0 0 3px var(--mn-mint-100); }
#header .search-widget form input[type=text] {
  flex: 1 1 auto;
  min-width: 0;
  height: 42px;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 16px;
  color: var(--mn-ink);
  padding: 0;
}
#header .search-widget form input[type=text]::placeholder { color: var(--mn-muted); opacity: 1; }
#header .search-widget form [type=submit] {
  position: static;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--mn-radius-pill);
  background: var(--mn-green);
  color: var(--mn-on-green);
  font-weight: 700;
  font-size: 15px;
}
#header .search-widget form [type=submit] .material-icons { font-size: 20px; color: var(--mn-on-green); }

/* account + favourites: icon over a small label */
#header .customer-signin-module .account-link a,
#header .mn-fav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--mn-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
#header .customer-signin-module .account-link a .material-icons { font-size: 26px; margin: 0; }
#header .customer-signin-module .account-link a:hover,
#header .mn-fav-link:hover { background: var(--mn-mint-50); color: var(--mn-green-text); }
#header .customer-signin-module .user-info { border: 0; }

/* cart: mint pill, total in bold, green counter */
#header .cart-preview .cart-link.btn-primary,
#header .cart-preview .cart-header a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 0;
  border-radius: var(--mn-radius-pill);
  background: var(--mn-mint-100);
  color: var(--mn-ink);
  font-weight: 800;
  position: relative;
}
#header .cart-preview .cart-link.btn-primary:hover { background: var(--mn-mint-200); color: var(--mn-ink); }
#header .cart-preview .cart-link .material-icons { color: var(--mn-ink); }
#header .cart-preview .cart-header .cart-products-count {
  background: var(--mn-green-text);
  color: #FFFFFF;
  font-weight: 700;
}

/* ---------- Menu bar: white, categories left, the three doors right ---------- */
.header-main-menu {
  background: #FFFFFF;
  border-bottom: 1px solid var(--mn-line);
}
#header .header-main-menu-wrapper { display: flex; align-items: center; gap: 8px; }
#header .header-main-menu-wrapper .amega-menu { flex: 1 1 auto; min-width: 0; }
#amegamenu .anav-top { display: flex; align-items: center; flex-wrap: nowrap; }
.anav-top .amenu-link,
.anav-top .amenu-item:hover .amenu-link {
  color: var(--mn-ink);
}
.anav-top .amenu-item > .amenu-link {
  font-size: 15px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  padding: 14px 12px;
  white-space: nowrap;
}
.anav-top .amenu-item:hover > .amenu-link { color: var(--mn-green-text); }
.mn-menu-spacer { flex: 1 1 auto; }
/* the doors: coloured text + rainbow dot */
.mn-menu-door > .amenu-link { display: inline-flex; align-items: center; gap: 7px; }
.mn-menu-door > .amenu-link::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none;
}
.anav-top .mn-menu-door--red > .amenu-link { color: var(--mn-red-text); }
.mn-menu-door--red > .amenu-link::before { background: var(--mn-red); }
.anav-top .mn-menu-door--orange > .amenu-link { color: var(--mn-orange-text); }
.mn-menu-door--orange > .amenu-link::before { background: var(--mn-orange); }
.anav-top .mn-menu-door--green > .amenu-link { color: var(--mn-green-text); }
.mn-menu-door--green > .amenu-link::before { background: var(--mn-green); }
/* custom.css colour blocks on hover (orange/yellow/purple) no longer apply */
.anav-top .amenu-item.mm-3:hover, .anav-top .amenu-item.mm-4:hover, .anav-top .amenu-item.mm-8:hover,
.anav-top .amenu-item.mm-9 { background: transparent; }

/* "Găsește-ți produsul" (A/B test): logo yellow, ink text */
.anav-top .mn-menu-gaseste { margin-left: 6px; }
.anav-top .mn-gaseste-pill,
.anav-top .amenu-item:hover > .mn-gaseste-pill {
  display: inline-flex;
  align-items: center;
  background: var(--mn-yellow);
  color: var(--mn-ink);
  font-weight: 800;
  border-radius: var(--mn-radius-pill);
  padding: 8px 16px;
  margin: 6px 0;
  line-height: 1.2;
  animation: mnGpPuls 2.4s ease-out 3;
}
.anav-top .amenu-item:hover > .mn-gaseste-pill { background: #FFE94D; }
@keyframes mnGpPuls {
  0% { box-shadow: 0 0 0 0 rgba(255, 222, 0, .75); }
  70% { box-shadow: 0 0 0 12px rgba(255, 222, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 222, 0, 0); }
}

/* "Toate categoriile": green tab that opens the off-canvas category menu */
#header .left-nav-trigger .left-nav-icon {
  width: auto;
  height: 48px;
  gap: 8px;
  padding: 0 16px;
  border-radius: 12px 12px 0 0;
  background: var(--mn-green);
  color: var(--mn-on-green);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  margin-top: 6px;
}
#header .left-nav-trigger .left-nav-icon:hover { background: var(--mn-green-hover); color: var(--mn-on-green); }
#header .left-nav-trigger .left-nav-icon .material-icons { color: var(--mn-on-green); }
.mn-allcats-label { white-space: nowrap; }

/* dropdowns */
.anav-top .adropdown {
  border: 1px solid var(--mn-line);
  border-radius: 0 0 16px 16px;
  box-shadow: var(--mn-shadow);
}
.anav-top .adropdown .amenu-link:hover { color: var(--mn-green-text); background: var(--mn-mint-50); }

/* narrower desktops: fewer items, everything stays reachable through "Toate categoriile" */
@media (max-width: 1199.98px) {
  .anav-top .amenu-item.mn-menu-cat--xl { display: none; }
}
@media (max-width: 991.98px) {
  .anav-top .amenu-item.mn-menu-cat { display: none; }
  .mn-allcats-label { display: none; }
  .anav-top .amenu-item > .amenu-link { padding: 14px 9px; font-size: 14px; }
}

/* sticky menu bar (desktop, after scrolling): white with a soft shadow */
#header .is-sticky .header-main-menu,
#header .is-sticky.header-main-menu {
  box-shadow: 0 4px 16px rgba(19, 38, 27, .08);
}
#header .is-sticky .sticky-contact,
#header .is-sticky .sticky-contact a { color: var(--mn-ink); }
#header .is-sticky .sticky-contact a:hover { color: var(--mn-green-text); }

/* ---------- Phones ---------- */
@media (max-width: 767.98px) {
  .mn-infobar { font-size: 13px; font-weight: 600; }
  .mn-infobar__wide { display: none; }
  .mn-infobar__row { gap: 2px 10px; padding-top: 6px; padding-bottom: 6px; }

  .header-logo { min-height: 64px; justify-content: center; }
  #header .header-logo svg, #header .header-logo img { max-height: 44px; }

  /* the sticky row (menu, search, cart): white instead of green */
  .main-header > .container .header-right {
    background: #FFFFFF !important; /* custom.css: #329635 !important */
    border-top: 1px solid var(--mn-line);
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .mobile-sticky-wrapper.is-sticky .header-right,
  .mobile-sticky-wrapper.is-sticky .sticky-background {
    box-shadow: 0 4px 16px rgba(19, 38, 27, .08);
  }
  #header .mobile-left-nav-trigger .left-nav-icon,
  #header .mobile-left-nav-trigger .left-nav-icon:hover {
    background: transparent;
    color: var(--mn-ink);
  }
  #header .mobile-left-nav-trigger .left-nav-icon .material-icons { color: var(--mn-ink); }
  #header .search-widget form { padding-left: 14px; }
  #header .search-widget form input[type=text] { height: 38px; font-size: 15px; }
  #header .search-widget form [type=submit] { height: 38px; padding: 0 12px; }
  #header .mn-search-label { display: none; }
  #header .cart-preview .cart-link.btn-primary,
  #header .cart-preview .cart-header a {
    width: 44px; height: 44px; padding: 0; justify-content: center;
  }
  #header .cart-preview .cart-link .cart-total-value { display: none; }
  #header .cart-preview .cart-header .cart-products-count { position: absolute; top: -2px; right: -2px; }
}

/* No bottom tab bar on phones since 02.11.2026 (Adi). The floating WhatsApp button sits near the bottom
   edge; the floating add-to-cart / checkout buttons and the app strip lift it (rules further down). */
@media (max-width: 767.98px) {
  .float { bottom: calc(16px + env(safe-area-inset-bottom)) !important; }
}

/* ---------- Stage 2 fixes against old theme rules ---------- */
#header .customer-signin-module .user-info .account-link { border: 0; border-radius: 12px; }
#header .search-widget form [type=submit] { width: auto; }
#header .header-logo svg, #header .header-logo img { max-height: 60px !important; } /* custom.css: 85px !important */
#header .main-header { min-height: 0 !important; } /* head.tpl inline anti-CLS: 130px !important */
@media (min-width: 768px) {
  #header .main-header .header-wrapper { padding-top: 14px; padding-bottom: 14px; }
  .header-logo { min-height: 0; }
}
/* "Toate categoriile" sits in the flow (the theme positioned the old icon absolutely) */
#header .left-nav-trigger-wrapper { flex: none; align-self: flex-end; }
#header .left-nav-trigger { position: static; }
#header .left-nav-trigger .left-nav-icon { margin-top: 0; }
#header .header-main-menu-wrapper { min-height: 0; padding-top: 6px; }
#header-main-menu-sticky-wrapper { min-height: 54px !important; }
@media (max-width: 767.98px) {
  #header .header-logo svg, #header .header-logo img { max-height: 44px !important; }
  .mn-infobar__dot { display: none; }
  .mn-infobar__row { flex-direction: column; gap: 0; }
}
#amegamenu .anav-top { padding: 0; margin: 0; } /* theme: 15px 0 13px / 0 45px */
#header .header-main-menu-wrapper { align-items: flex-end; }
#header .left-nav-trigger-wrapper { align-self: auto; }
.anav-top .amenu-item { display: flex; align-items: center; min-height: 48px; }
.anav-top .mn-gaseste-pill, .anav-top .amenu-item:hover > .mn-gaseste-pill { margin: 0; }
#header .display-top .searchbar-wrapper #search_widget,
#header .display-top .searchbar-wrapper .search-widget { width: 100%; max-width: none; }
@media (max-width: 991.98px) {
  .mn-infobar__dot { display: none; }
}

/* ---------- Off-canvas category menu ("Toate categoriile" / tab "Categorii") ---------- */
.st-menu-title h4, .st-menu-title div.h4r { color: var(--mn-ink); font-family: var(--mn-font); font-weight: 800; }
.category-tree > ul > li,
.category-tree > ul > li.sidebar-menu-794, .category-tree > ul > li.sidebar-menu-593,
.category-tree > ul > li.sidebar-menu-new-products, .category-tree > ul > li.sidebar-menu-889,
.category-tree > ul > li.sidebar-menu-907, .category-tree > ul > li.sidebar-menu-consultatii {
  background: #FFFFFF;
  border-bottom: 1px solid var(--mn-line);
}
.category-tree > ul > li a,
.category-tree > ul > li.sidebar-menu-794 a, .category-tree > ul > li.sidebar-menu-593 a,
.category-tree > ul > li.sidebar-menu-889 a, .category-tree > ul > li.sidebar-menu-907 a,
.category-tree > ul > li.sidebar-menu-new-products a, .category-tree > ul > li.sidebar-menu-consultatii a {
  color: var(--mn-ink);
  font-weight: 600;
  text-transform: none;
}
.category-tree > ul > li > a { padding: 11px 16px; }
.category-tree > ul > li > a:before { border-color: var(--mn-mint-300); }
.category-tree > ul > li > a:hover { color: var(--mn-green-text); background: var(--mn-mint-50); }
.category-tree > ul > li > a:hover:before { border-color: var(--mn-green) !important; background-color: var(--mn-green) !important; }
.category-tree .collapse-icons { color: var(--mn-green-text); }
.category-tree .category-sub-menu ul li, .category-tree .category-sub-menu ul li a { color: var(--mn-ink-2); }
.category-tree .category-sub-menu ul li a:hover { color: var(--mn-green-text); }
/* the doors, same colours as the menu bar */
.category-tree > ul > li.sidebar-menu-gaseste { background: var(--mn-yellow); }
.category-tree > ul > li.sidebar-menu-gaseste a, .category-tree > ul > li.sidebar-menu-gaseste a:before { color: var(--mn-ink); font-weight: 800; border-color: var(--mn-ink); }
.category-tree > ul > li.sidebar-menu-794 > a { color: var(--mn-red-text); }
.category-tree > ul > li.sidebar-menu-794 > a:before { background: var(--mn-red); border-color: var(--mn-red); }
.category-tree > ul > li.sidebar-menu-lichidare > a { color: var(--mn-orange-text); }
.category-tree > ul > li.sidebar-menu-lichidare > a:before { background: var(--mn-orange); border-color: var(--mn-orange); }
.category-tree > ul > li.sidebar-menu-1043 > a, .category-tree > ul > li.sidebar-menu-907 > a { color: var(--mn-green-text); }
.category-tree > ul > li.sidebar-menu-1043 > a:before, .category-tree > ul > li.sidebar-menu-907 > a:before { background: var(--mn-green); border-color: var(--mn-green); }
.category-tree > ul > li.sidebar-menu-blog::before { background-image: linear-gradient(to right, var(--mn-mint-300) 33%, rgba(255, 255, 255, 0) 0%); }
/* thin colour marks per category (also the ::before marks in desktop dropdowns): logo rainbow */
.sidebar-menu-3 > a::after, .adropdown-submenu-products .submm-2 > a::before { background: var(--mn-red); }
.sidebar-menu-13 > a::after, .adropdown-submenu-products .submm-3 > a::before { background: var(--mn-orange); }
.sidebar-menu-21 > a::after, .adropdown-submenu-products .submm-4 > a::before { background: var(--mn-yellow); }
.sidebar-menu-14 > a::after, .adropdown-submenu-products .submm-7 > a::before { background: var(--mn-green); }
.sidebar-menu-88 > a::after, .adropdown-submenu-products .submm-5 > a::before { background: var(--mn-blue); }
.sidebar-menu-16 > a::after, .adropdown-submenu-products .submm-6 > a::before { background: var(--mn-indigo); }
.sidebar-menu-17 > a::after, .adropdown-submenu-products .submm-8 > a::before { background: var(--mn-violet); }
.sidebar-menu-submm-100001 > a::after, .adropdown-submenu-pachete-terapeutice .submm-100001 > a::before { background: var(--mn-red); }
.sidebar-menu-submm-100002 > a::after, .adropdown-submenu-pachete-terapeutice .submm-100002 > a::before { background: var(--mn-orange); }
.sidebar-menu-submm-100003 > a::after, .adropdown-submenu-pachete-terapeutice .submm-100003 > a::before { background: var(--mn-yellow); }
.sidebar-menu-submm-100004 > a::after, .adropdown-submenu-pachete-terapeutice .submm-100004 > a::before { background: var(--mn-green); }
.sidebar-menu-submm-100005 > a::after, .adropdown-submenu-pachete-terapeutice .submm-100005 > a::before { background: var(--mn-blue); }
.sidebar-menu-submm-100007 > a::after, .adropdown-submenu-pachete-terapeutice .submm-100007 > a::before { background: var(--mn-indigo); }
.sidebar-menu-submm-100008 > a::after, .adropdown-submenu-pachete-terapeutice .submm-100008 > a::before { background: var(--mn-violet); }
/* desktop sticky bar: cart icon as a mint circle */
#header .is-sticky .sticky-icon-cart a,
#header .sticky-icon-cart .cart-link { background: var(--mn-mint-100) !important; color: var(--mn-ink) !important; border-radius: 50%; }
.category-tree > ul > li.sidebar-menu-593 > a:before,
.category-tree > ul > li.sidebar-menu-new-products > a:before { border-color: var(--mn-mint-300); }

/* =====================================================================
 * Stage 3 — homepage (mn-home-top.tpl, mn-home-bottom.tpl, index.tpl)
 * ===================================================================== */

/* tone helpers: pastel surface + readable icon colour, one per rainbow colour */
.mn-tone--red    { --tone-bg: var(--mn-red-50);    --tone-fg: var(--mn-red-text);    --tone-solid: var(--mn-red); }
.mn-tone--orange { --tone-bg: var(--mn-orange-50); --tone-fg: var(--mn-orange-text); --tone-solid: var(--mn-orange); }
.mn-tone--yellow { --tone-bg: var(--mn-yellow-50); --tone-fg: var(--mn-yellow-text); --tone-solid: var(--mn-yellow); }
.mn-tone--green  { --tone-bg: var(--mn-mint-100);  --tone-fg: var(--mn-green-text);  --tone-solid: var(--mn-green); }
.mn-tone--blue   { --tone-bg: var(--mn-blue-50);   --tone-fg: var(--mn-blue-text);   --tone-solid: var(--mn-blue); }
.mn-tone--indigo { --tone-bg: var(--mn-indigo-50); --tone-fg: var(--mn-indigo-text); --tone-solid: var(--mn-indigo); }
.mn-tone--violet { --tone-bg: var(--mn-violet-50); --tone-fg: var(--mn-violet-text); --tone-solid: var(--mn-violet); }
.mn-icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--tone-bg, var(--mn-mint-100)); color: var(--tone-fg, var(--mn-green-text));
}
.mn-btn-lg { padding: 15px 28px; font-size: 17px; }
.mn-kicker { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--mn-green-text); }

/* ---------- Hero ---------- */
.mn-hero { background: var(--mn-mint-100); overflow: hidden; }
.mn-hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px; padding-top: 44px; }
.mn-hero__text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 20px; padding-bottom: 44px; }
.mn-hero__title { margin: 0; font-size: 56px; line-height: 1.04; font-weight: 800; letter-spacing: -0.02em; color: var(--mn-ink); }
.mn-hero__eyebrow {
  display: table; margin-bottom: 18px;
  background: #FFFFFF; color: var(--mn-green-text);
  font-size: 14px; line-height: 1.3; font-weight: 700; letter-spacing: 0;
  padding: 6px 14px; border-radius: var(--mn-radius-pill);
}
.mn-hero__accent { color: var(--mn-green-text); }
.mn-hero__lead { margin: 0; font-size: 19px; line-height: 1.5; color: var(--mn-ink-2); max-width: 540px; }
.mn-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.mn-hero__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mn-hero__chips-label { color: var(--mn-muted); font-size: 14px; margin-right: 4px; }
.mn-chip {
  background: #FFFFFF; color: var(--mn-ink);
  padding: 7px 14px; border-radius: var(--mn-radius-pill);
  font-size: 14px; font-weight: 500;
  border: 1px solid var(--mn-line);
}
.mn-chip:hover { color: var(--mn-ink); border-color: currentColor; text-decoration: none; }
.mn-chip--red { border-color: #F7C3C5; } .mn-chip--orange { border-color: #FBD3A6; }
.mn-chip--yellow { border-color: #F3E27A; } .mn-chip--green { border-color: #9EDDB1; }
.mn-chip--blue { border-color: #99DBF6; } .mn-chip--indigo { border-color: #B9BCE6; }

.mn-hero__media { flex: 1 1 460px; position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 420px; }
.mn-hero__disc, .mn-hero__ring { position: absolute; left: 50%; transform: translateX(-50%); border-radius: 50%; }
.mn-hero__disc { bottom: -120px; width: 500px; height: 500px; background: var(--mn-mint-200); }
.mn-hero__ring {
  bottom: -150px; width: 560px; height: 560px; opacity: .55;
  border: 6px solid transparent; border-top-color: var(--mn-red); border-right-color: var(--mn-blue); border-left-color: var(--mn-yellow);
}
.mn-hero__photo {
  position: relative; display: block; width: 360px; height: auto; aspect-ratio: 640 / 773; object-fit: cover;
  border-radius: 180px 180px 28px 28px;  /* arched top, like a window */
  border: 6px solid #FFFFFF; box-shadow: 0 18px 44px rgba(19, 38, 27, .16); margin-bottom: 24px;
}
.mn-hero__caption {
  position: absolute; right: 0; bottom: 26px;
  display: flex; flex-direction: column;
  background: #FFFFFF; border-radius: 16px; padding: 12px 16px;
  font-size: 14px; line-height: 1.35; color: var(--mn-muted);
  box-shadow: 0 6px 24px rgba(19, 38, 27, .12);
}
.mn-hero__caption strong { color: var(--mn-ink); font-size: 15px; }

/* ---------- Trust strip ---------- */
.mn-trust { border-bottom: 1px solid var(--mn-line); background: #FFFFFF; }
.mn-trust__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.mn-trust__item { display: flex; align-items: center; gap: 12px; }
.mn-trust__item > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.mn-trust__item strong { color: var(--mn-ink); font-size: 15px; }
.mn-trust__item span span, .mn-trust__item span a { color: var(--mn-muted); font-size: 13px; }

/* ---------- Section heads (new sections and the old home blocks) ---------- */
.mn-section { padding-top: 56px; padding-bottom: 8px; }
.mn-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 22px; }
.mn-section__title { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: -0.01em; color: var(--mn-ink); }
.mn-section__sub { margin: 4px 0 0; color: var(--mn-muted); font-size: 17px; }
.mn-section__more { font-weight: 700; color: var(--mn-green-text); white-space: nowrap; }
.title-block, .aone-homepage .title-block {
  font-family: var(--mn-font); font-size: 28px; font-weight: 800; text-transform: none;
  letter-spacing: -0.01em; color: var(--mn-ink); border: 0;
}
.title-block .title-icon { display: none; }

/* ---------- Shop by need ---------- */
.mn-needs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } /* 9 needs: 3 x 3 */
.mn-need {
  display: flex; align-items: center; gap: 14px;
  padding: 18px; border-radius: var(--mn-radius-card);
  background: #FFFFFF; border: 1px solid var(--mn-line);
  color: var(--mn-ink); font-weight: 700; font-size: 16px; line-height: 1.25;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.mn-need:hover { color: var(--mn-ink); text-decoration: none; border-color: var(--tone-solid); box-shadow: var(--mn-shadow); transform: translateY(-1px); }

/* ---------- Three doors ---------- */
.mn-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-top: 40px; padding-bottom: 16px; }
.mn-door {
  display: flex; flex-direction: column; gap: 8px; min-height: 190px;
  padding: 28px; border-radius: 24px;
  background: var(--tone-bg); color: var(--mn-ink);
}
.mn-door:hover { color: var(--mn-ink); text-decoration: none; box-shadow: var(--mn-shadow); }
.mn-door__kicker { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--tone-fg); }
.mn-door__title { font-size: 24px; font-weight: 800; line-height: 1.2; }
.mn-door__text { color: var(--mn-ink-2); }
.mn-door__go { margin-top: auto; font-weight: 700; color: var(--tone-fg); }
.mn-door.mn-tone--orange .mn-door__go, .mn-door.mn-tone--orange .mn-door__kicker { color: #9A4F00; }

/* ---------- Old home blocks ---------- */
.block_id_5 { display: none; } /* "Store Features": replaced by the trust strip */
.aone-homepage.home-blocks-top { padding-top: 48px; }
/* product tabs ("Recomandările noastre" / "Cele mai vândute") as pills */
.aone-tabs .nav-tabs { gap: 10px; padding: 0; margin-bottom: 22px; justify-content: flex-start; border: 0; }
.aone-tabs .nav-tabs .separator { display: none; }
.aone-tabs .nav-tabs .nav-item .nav-link,
.nav-item .nav-link {
  font-family: var(--mn-font); font-size: 16px; font-weight: 700; text-transform: none; letter-spacing: 0;
  line-height: 1.2; padding: 10px 20px; margin: 0; opacity: 1;
  border-radius: var(--mn-radius-pill); border: 1.5px solid var(--mn-mint-300);
  background: #FFFFFF; color: var(--mn-ink);
}
.aone-tabs .nav-tabs .nav-item .nav-link.active,
.nav-item .nav-link.active { background: var(--mn-green); border-color: var(--mn-green); color: var(--mn-on-green); }
.aone-featuredcategories .title-block { justify-content: flex-start; }

/* ---------- Founders ---------- */
.mn-founders { background: var(--mn-mint-50); margin-top: 56px; overflow: hidden; }
.mn-founders__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 40px; }
.mn-founders__photo { flex: 0 1 380px; position: relative; display: flex; justify-content: center; padding-top: 40px; }
.mn-founders__photo img { position: relative; height: 380px; width: auto; display: block; }
.mn-founders__disc { position: absolute; left: 50%; bottom: -80px; transform: translateX(-50%); width: 360px; height: 360px; border-radius: 50%; background: var(--mn-mint-200); }
.mn-founders__text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 16px; padding: 48px 0; }
.mn-founders__quote { margin: 0; font-size: 26px; line-height: 1.35; font-weight: 700; color: var(--mn-ink); border: 0; padding: 0; }
.mn-founders__text p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--mn-ink-2); max-width: 640px; }
.mn-founders__sign { font-weight: 800; color: var(--mn-green-text); }
.mn-founders__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

/* ---------- Blog cards (mn-home-blog-cards.tpl) ---------- */
.mn-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mn-post { display: flex; flex-direction: column; gap: 8px; color: var(--mn-ink); }
.mn-post:hover { color: var(--mn-ink); text-decoration: none; }
.mn-post:hover .mn-post__title { color: var(--mn-green-text); }
.mn-post__img { display: block; aspect-ratio: 16 / 9; border-radius: var(--mn-radius-card); overflow: hidden; background: var(--mn-mint-100); }
.mn-post--orange .mn-post__img { background: var(--mn-orange-50); }
.mn-post--blue .mn-post__img { background: var(--mn-blue-50); }
.mn-post__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mn-post__meta { font-size: 13px; font-weight: 600; color: var(--mn-muted); margin-top: 6px; }
.mn-post__title { font-size: 19px; font-weight: 800; line-height: 1.3; }

/* ---------- The two pharmacies ---------- */
.mn-stores { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; align-items: stretch; padding-top: 56px; padding-bottom: 56px; }
.mn-store { display: flex; gap: 14px; padding: 22px; border: 1px solid var(--mn-line); border-radius: var(--mn-radius-card); background: #FFFFFF; }
.mn-store__num {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--tone-bg); color: var(--tone-fg); font-weight: 800;
}
.mn-store__body { display: flex; flex-direction: column; gap: 3px; color: var(--mn-ink-2); font-size: 15px; }
.mn-store__body strong { color: var(--mn-ink); font-size: 17px; }
.mn-store__body a { font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .mn-hero__title { font-size: 46px; }
  .mn-hero__photo { width: 320px; }
  .mn-hero__media { min-height: 370px; }
  .mn-trust__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mn-stores { grid-template-columns: 1fr 1fr; }
  .mn-stores__intro { grid-column: 1 / -1; }
}
@media (max-width: 991.98px) {
  .mn-needs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mn-doors { grid-template-columns: 1fr; }
  .mn-door { min-height: 0; }
  .mn-posts { grid-template-columns: 1fr 1fr; }
  .mn-founders__photo { display: none; }
}
@media (max-width: 767.98px) {
  .mn-hero__row { padding-top: 24px; gap: 0; }
  .mn-hero__text { padding-bottom: 24px; gap: 16px; }
  .mn-hero__title { font-size: 36px; }
  .mn-hero__eyebrow { font-size: 12px; margin-bottom: 12px; }
  .mn-hero__lead { font-size: 16px; }
  .mn-btn-lg { padding: 13px 20px; font-size: 16px; flex: 1 1 auto; text-align: center; }
  .mn-hero__media { min-height: 0; flex-basis: 100%; }
  .mn-hero__photo { width: 260px; border-radius: 130px 130px 22px 22px; margin-bottom: 18px; }
  .mn-hero__disc { width: 300px; height: 300px; bottom: -110px; }
  .mn-hero__ring { width: 340px; height: 340px; bottom: -130px; }
  .mn-hero__caption { right: 0; bottom: 12px; font-size: 12px; padding: 8px 12px; }
  .mn-hero__caption strong { font-size: 13px; }
  .mn-trust__row { grid-template-columns: 1fr 1fr; gap: 14px 12px; padding-top: 16px; padding-bottom: 16px; }
  .mn-trust__item { align-items: flex-start; }
  .mn-trust__item .mn-icon { width: 38px; height: 38px; border-radius: 12px; }
  .mn-trust__item .mn-icon svg { width: 20px; height: 20px; }
  .mn-trust__item strong { font-size: 13px; }
  .mn-trust__item span span, .mn-trust__item span a { font-size: 12px; }
  .mn-section { padding-top: 36px; }
  .mn-section__title { font-size: 25px; }
  .mn-section__sub { font-size: 15px; }
  .mn-needs { gap: 10px; }
  .mn-need { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; font-size: 15px; }
  .mn-need .mn-icon { width: 40px; height: 40px; }
  .mn-doors { gap: 12px; padding-top: 28px; }
  .mn-door { padding: 22px; }
  .mn-door__title { font-size: 20px; }
  .title-block, .aone-homepage .title-block { font-size: 23px; }
  .aone-tabs .nav-tabs { flex-wrap: nowrap; overflow-x: auto; }
  .aone-tabs .nav-tabs .nav-item .nav-link { font-size: 14px; padding: 8px 14px; white-space: nowrap; }
  .mn-founders__text { padding: 36px 0; }
  .mn-founders__quote { font-size: 21px; }
  .mn-posts { grid-template-columns: 1fr; }
  .mn-stores { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 36px; }
}

/* buttons: sentence case (the theme forced uppercase), secondary = white with mint outline */
.btn { text-transform: none; letter-spacing: 0; }
.btn.btn-secondary, a.btn.btn-secondary {
  background-color: #FFFFFF; border: 1.5px solid var(--mn-mint-300); color: var(--mn-ink);
}
.btn.btn-secondary:hover, a.btn.btn-secondary:hover { background-color: var(--mn-mint-50); border-color: var(--mn-green); color: var(--mn-ink); }
/* homepage: no breadcrumb gap above the hero */
#index .breadcrumb-wrapper { margin-bottom: 0; }
/* old blog feed (wbpblogposts, stale since March 2026): replaced by "Sfatul farmacistului" */
#index #wbpblogposts { display: none; }

/* =====================================================================
 * Stage 4 — product card (miniatures/*.tpl + _mn-card-*.tpl)
 * ===================================================================== */
.mn-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* frame: white, thin mint line, round corners, soft lift on hover */
.product-style .product-container,
.product-miniature[data-in_stock_supplier="1"] .product-container { /* custom.css gave these a green glow */
  background: #FFFFFF;
  border: 1px solid var(--mn-line);
  border-radius: var(--mn-radius-card);
  box-shadow: none;
}
.product-style .product-container:hover,
body.touch-screen .product-style .product-container:hover {
  border-color: var(--mn-mint-200);
  box-shadow: 0 10px 28px rgba(19, 38, 27, .10);
  transform: translateY(-2px);
}
body.touch-screen .product-style .product-container:hover { transform: none; }
.product-list .product-miniature .product-container { padding: 10px; }
.product-list .product-miniature .first-block { border-radius: 14px; overflow: hidden; }
.product-list .product-miniature .product-thumbnail .product-cover-link:before { display: none; } /* grey hover veil */

/* badges top-left: discount (red) first, "Ales de farmacist" under it */
.product-miniature .product-flags {
  position: absolute; top: 8px; left: 8px; z-index: 3;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  margin: 0;
}
.product-miniature .product-flags .product-flag { margin: 0; }
.product-miniature .product-flags .product-flag span { font-size: 12px; padding: 4px 10px; line-height: 1.3; }
.product-miniature .product-flags .mn-badge--pick { order: 5; }
.mn-badge--pick { box-shadow: 0 1px 4px rgba(19, 38, 27, .10); }
.mn-badge--pick svg { color: var(--mn-yellow-text); }

/* heart top-right (ets_wishlist puts it bottom-left with !important) */
.product-list article .ets-wishlist-button-add.right,
article .ets-wishlist-button-add.right {
  top: 8px !important; right: 8px !important; left: auto !important; bottom: auto !important;
  width: 38px; height: 38px;
}
/* promo countdown: small pill at the bottom of the photo */
.product-list .product-miniature .miniature-countdown-wrapper { left: 8px; bottom: 8px; min-width: 0; }
.product-list .product-miniature .miniature-countdown-box {
  background: rgba(255, 255, 255, .92) !important; color: var(--mn-red-text) !important;
  border-radius: var(--mn-radius-pill); padding: 3px 10px; font-size: 12px; font-weight: 700;
}

/* text block: left aligned (the theme centred everything on a grey band) */
.product-list .grid .product-miniature .second-block { padding: 10px 4px 2px; text-align: left; display: flex; flex-direction: column; gap: 4px; }
.mn-card__brand {
  font-size: 12px; font-weight: 600; color: var(--mn-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.product-list .grid .product-miniature .product-name {
  background: transparent; text-align: left; padding: 0;
  height: auto; max-height: none; min-height: calc(3 * 1.3em); display: block;
  font-size: 15px; font-weight: 700; letter-spacing: 0; line-height: 1.3;
}
.product-list .grid .product-miniature .product-name a {
  text-align: left; color: var(--mn-ink);
  white-space: normal; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.product-list .grid .product-miniature .product-name a:hover { color: var(--mn-green-text); }
.product-miniature .mn-stock { font-size: 12.5px; line-height: 1.3; }

/* price row: prices left, round cart button right */
.product-list .grid .product-miniature .second-block .second-block-wrapper {
  display: flex; flex-wrap: nowrap; align-items: flex-end; justify-content: space-between; gap: 8px;
  padding: 6px 0 2px; min-height: 0;
}
.product-list .grid .product-miniature .second-block .second-block-wrapper .informations-section { width: auto; margin: 0; min-width: 0; }
.product-list .grid .product-miniature .second-block .second-block-wrapper .buttons-sections { width: auto; margin: 0; flex: none; }
.product-list .grid .product-miniature .product-price-and-shipping,
.product-list .grid .product-miniature .second-block .second-block-wrapper .informations-section .product-price-and-shipping {
  display: flex; flex-direction: column-reverse; align-items: flex-start; justify-content: flex-start; margin: 0;
}
.product-list .product-miniature .product-price-and-shipping span { margin: 0; }
.product-miniature .product-price { font-size: 18px; font-weight: 800; color: var(--mn-ink); }
.product-miniature .second-prices { gap: 6px; }
.product-miniature .regular-price { font-size: 13px; }
.product-miniature .has-discount .product-price,
.product-miniature .second-prices + .first-prices .product-price { color: var(--mn-red-text); }
.product-miniature .second-prices .discount-product { display: none; } /* already shown as the red badge */
.product-miniature .gsr-review-list, .product-miniature [class*="rating"] { font-size: 11px; }

.product-list .product-miniature .grid-buy-button .add-to-cart.js-ajax-add-to-cart,
.product-list .product-miniature .add-to-cart.js-ajax-add-to-cart {
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--mn-green); color: var(--mn-on-green);
}
.product-list .product-miniature .add-to-cart.js-ajax-add-to-cart:hover { background: var(--mn-green-hover); }
.product-list .product-miniature .add-to-cart.js-ajax-add-to-cart svg { display: block; }
/* out-of-stock cards: the stock line already says "Stoc epuizat"; the pill covered the price */
.product-list .product-miniature .add-to-cart.details-link { display: none !important; }

/* list layout (e.g. "Filtre de apă" on the homepage) */
.product-list .list .product-miniature .second-block { text-align: left; display: flex; flex-direction: column; gap: 4px; }
/* a 2-column list block left with one product (the other one was deleted, e.g. "Filtre de apă") takes the full row */
.product-list .list.columns-2 > .product-miniature:only-child { width: 100%; max-width: 100%; flex: 0 0 100%; }
.product-list .list .product-miniature .product-name { font-size: 16px; font-weight: 700; padding: 0; }
.product-list .list .product-miniature .product-name a { color: var(--mn-ink); }

/* "Testat si recomandat" highlight block on category pages (products.tpl) */
.js-product-list-tested { background: var(--mn-mint-50); border-radius: 24px; padding: 16px 10px 4px; }
/* "Testat si recomandat" block: mint panel, dark text (custom.css had white text on purple) */
.js-product-list-tested { border: 1px solid var(--mn-mint-200); }
.products_tested_description { background: transparent; color: var(--mn-ink); text-align: left; padding: 6px 10px 14px; }
.products_tested_title { color: var(--mn-ink); font-family: var(--mn-font); font-size: 24px; font-weight: 800; text-transform: none; }
.products_tested_title::before { content: "★ "; color: var(--mn-yellow-text); }
.products_tested_subtitle { color: var(--mn-ink-2); font-size: 15px; }
.products_tested_subtitle i { color: var(--mn-green-text); font-style: normal; font-weight: 700; }
.js-product-list-tested .mn-badge--pick { display: none; } /* the whole block already says it */
/* badge must not run under the heart on narrow cards */
.product-miniature .mn-badge--pick { align-self: flex-start; font-size: 11px; padding: 3px 9px; box-shadow: none; background: var(--mn-mint-50); }
/* list layout keeps a text button (no room problem there) */
.product-list .list .product-miniature .add-to-cart.js-ajax-add-to-cart {
  width: auto; height: auto; padding: 9px 18px; border-radius: var(--mn-radius-pill); font-size: 14px; font-weight: 700;
}

/* =====================================================================
 * Stage 5 — product page (product.tpl, product-information.tpl,
 *           mn-product-delivery.tpl, mn-product-extra.tpl)
 * ===================================================================== */
#product .main-product-details {
  background: #FFFFFF; border: 1px solid var(--mn-line); border-radius: 24px;
  box-shadow: none; padding: 28px 24px;
}
#product .product-left-content { position: relative; }
#product .product-cover { border-radius: var(--mn-radius-card); overflow: hidden; }

/* head of the buy box */
.mn-product-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.mn-product-brand { font-size: 14px; font-weight: 700; color: var(--mn-green-text); }
#product .mn-product-head .page-heading {
  margin: 0; font-size: 30px; line-height: 1.2; font-weight: 800; text-transform: none; letter-spacing: -0.01em; color: var(--mn-ink);
}
.mn-need-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.mn-need-chip {
  padding: 5px 12px; border-radius: var(--mn-radius-pill);
  background: var(--tone-bg); color: var(--tone-fg); font-size: 13px; font-weight: 700;
}
.mn-need-chip:hover { color: var(--tone-fg); text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--tone-solid); }

/* "Testat si recomandat" ribbon over the photo -> small pill */
#product .product_tested_badge {
  position: absolute; top: 12px; left: 12px; right: auto; z-index: 4; width: auto; max-width: calc(100% - 80px);
  background: #FFFFFF; border: 1px solid var(--mn-mint-200); border-radius: var(--mn-radius-pill);
  padding: 5px 12px; box-shadow: var(--mn-shadow);
}
#product .product_tested_badge_text { color: var(--mn-green-text); font-size: 13px; font-weight: 700; line-height: 1.3; text-align: left; }
#product .product_tested_badge_text::before { content: "★ "; color: var(--mn-yellow-text); }

/* price + quantity + button, left aligned (the theme centred a 300px column) */
#product .product-information { background: transparent; padding: 0; }
#product .product-add-to-cart, #product .product-actions-bottom { max-width: none; margin-left: 0; }
#product .product-prices { margin: 12px 0 16px; }
#product .product-prices-wrapper { justify-content: flex-start; gap: 4px 12px; }
#product .product-prices .product-price { font-size: 34px; font-weight: 800; color: var(--mn-ink); }
#product .product-prices .regular-price { font-size: 17px; }
#product .product-prices .discount-percentage, #product .product-prices .discount-amount {
  background: var(--mn-sale); color: #FFFFFF; border-radius: var(--mn-radius-pill); padding: 3px 10px; font-weight: 700; font-size: 14px;
}
#product .product-prices .tax-shipping-delivery-label, #product .product-prices .aeuc_tax_label { text-align: left; color: var(--mn-muted); }
#product .product-add-to-cart { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
#product .product-add-to-cart .product-quantity { flex: 0 0 150px; margin: 0; }
#product .product-add-to-cart .product-quantity .form-control-label { text-align: left !important; font-weight: 600; color: var(--mn-muted); font-size: 13px; padding: 0; margin-bottom: 4px; }
#product .product-add-to-cart .product-quantity > div { padding: 0; }
#product .product-add-to-cart .product-quantity .bootstrap-touchspin { border-radius: var(--mn-radius-pill); overflow: hidden; border: 1.5px solid var(--mn-line); }
#product .product-add-to-cart .product-quantity .bootstrap-touchspin .form-control,
#product .product-add-to-cart .product-quantity .qty .form-control { height: 52px; border: 0; border-radius: 0; text-align: center; font-weight: 700; font-size: 17px; }
#product .product-add-to-cart .product-quantity .btn-touchspin { height: 52px; background: var(--mn-mint-50); border: 0; }
#product .product-add-to-cart .product-add-to-cart-button { flex: 1 1 240px; margin: 0; }
#product .product-add-to-cart .product-add-to-cart-button > .add { padding: 0; }
#product .product-add-to-cart .add-to-cart {
  width: 100%; height: 52px; border-radius: var(--mn-radius-pill);
  font-size: 17px; font-weight: 800; line-height: 52px; padding: 0 24px;
}
#product .product-availability-top { margin: 10px 0 0 !important; }
#product .product-availability-top .product-availability {
  display: inline-flex; align-items: center; gap: 6px; margin: 0;
  background: transparent; border: 0; padding: 0; font-size: 14px; font-weight: 700;
}
#product .product-availability-top .alert-success { color: var(--mn-green-text); }
#product .product-availability-top .alert-warning { color: #9A4F00; }
#product .product-availability-top .alert-danger { color: var(--mn-red-text); }
#product .product-availability-top .product-availability .material-icons { font-size: 18px; }

/* stock per pharmacy */
#product .product_stock_info_details { margin-top: 12px; text-align: left; }
#product .product_stock_info_details_title { font-size: 13px; color: var(--mn-muted); margin-bottom: 6px; text-align: left; }
#product .product_stock_info_ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
#product .product_stock_info_ul li {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  padding: 6px 12px; border: 1px solid var(--mn-line); border-radius: var(--mn-radius-pill);
  font-size: 13px; font-weight: 600; color: var(--mn-ink); background: #FFFFFF;
}
#product .product_stock_info_ul li::before { display: none; }
#product .product_stock_info_ul li span {
  background: var(--mn-mint-100) !important; color: var(--mn-green-text) !important;
  border-radius: var(--mn-radius-pill); padding: 1px 8px; width: auto !important; font-weight: 700;
}
#product .product_stock_info_ul li img { display: none; }

/* delivery card */
.mn-delivery {
  margin-top: 16px; padding: 16px; border-radius: 18px;
  background: var(--mn-mint-50); border: 1px solid var(--mn-mint-200);
  display: flex; flex-direction: column; gap: 8px;
}
.mn-delivery__head { display: flex; align-items: center; gap: 12px; }
.mn-delivery__head .mn-icon { width: 42px; height: 42px; border-radius: 12px; background: #FFFFFF; }
.mn-delivery__head > div { display: flex; flex-direction: column; line-height: 1.35; }
.mn-delivery__title { font-size: 15px; color: var(--mn-ink); }
.mn-delivery__dates { font-size: 14px; color: var(--mn-ink-2); }
.mn-delivery__today { margin: 0; font-size: 14px; color: var(--mn-green-text); font-weight: 600; }
.mn-delivery__today strong { font-variant-numeric: tabular-nums; }
.mn-delivery__note { margin: 0; font-size: 13px; color: var(--mn-muted); }
.mn-buy-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0; margin: 12px 0 0; list-style: none; }
.mn-buy-trust li { display: flex; flex-direction: column; padding: 10px 12px; border: 1px solid var(--mn-line); border-radius: 14px; font-size: 12px; color: var(--mn-muted); line-height: 1.3; }
.mn-buy-trust li strong { font-size: 13px; color: var(--mn-ink); }
#product .estimateddelivery { display: none; } /* replaced by .mn-delivery */

/* pharmacist note */
.mn-note {
  display: flex; align-items: center; gap: 20px; margin: 28px 0 8px;
  padding: 22px 24px; border-radius: 24px; background: var(--mn-mint-100);
}
.mn-note__photo {
  flex: none; width: 96px; height: 96px; border-radius: 50%; overflow: hidden;
  background: var(--mn-mint-200); display: flex; align-items: flex-end; justify-content: center;
}
.mn-note__photo img { width: 100%; height: auto; object-fit: cover; object-position: top; transform: translateY(8%); }
.mn-note__body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 6px; }
.mn-note__body p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--mn-ink); }
.mn-note__sign { font-weight: 800; color: var(--mn-green-text); }
.mn-note__sign span { font-weight: 500; color: var(--mn-muted); }
.mn-note__ask { flex: none; display: flex; flex-direction: column; align-items: center; line-height: 1.25; padding: 12px 20px; }
.mn-note__ask small { font-size: 12px; font-weight: 500; color: var(--mn-muted); }

/* bought together */
.mn-pair { margin: 16px 0 8px; padding: 20px 24px; border: 1px solid var(--mn-line); border-radius: 24px; background: #FFFFFF; }
.mn-pair__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px; margin-bottom: 14px; }
.mn-pair__title { margin: 0; font-size: 22px; font-weight: 800; }
.mn-pair__why { font-size: 13px; color: var(--mn-muted); }
.mn-pair__row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mn-pair__item { flex: 1 1 220px; display: flex; align-items: center; gap: 12px; color: var(--mn-ink); min-width: 0; }
.mn-pair__item:hover { color: var(--mn-green-text); text-decoration: none; }
.mn-pair__item img { width: 72px; height: 72px; object-fit: contain; border-radius: 12px; background: var(--mn-mint-50); flex: none; }
.mn-pair__name { flex: 1 1 auto; font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mn-pair__item strong { flex: none; font-size: 15px; }
.mn-pair__plus { font-size: 24px; font-weight: 800; color: var(--mn-green-text); }
.mn-pair__buy { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding-left: 16px; border-left: 1px solid var(--mn-line); }
.mn-pair__buy span { font-size: 13px; color: var(--mn-muted); }
.mn-pair__total { font-size: 22px; font-weight: 800; }
.mn-pair__buy .btn { margin-top: 4px; }

/* description + the rest of the page */
#product .product-allwidth .desc-name { font-size: 22px; font-weight: 800; margin: 8px 0 12px; }
#product .product-description-area-toggle { font-weight: 700; color: var(--mn-green-text); text-transform: none; }
#product .product-description-short { font-size: 16px; line-height: 1.65; color: var(--mn-ink-2); }
#product .product-bottom-cta__btn { border-radius: var(--mn-radius-pill); background: var(--mn-green); color: var(--mn-on-green); font-weight: 800; }

@media (max-width: 767.98px) {
  #product .main-product-details { padding: 16px 12px; border-radius: 18px; }
  #product .mn-product-head .page-heading { font-size: 23px; }
  #product .product-prices .product-price { font-size: 28px; }
  #product .product-add-to-cart .product-quantity { flex-basis: 120px; }
  #product .product-add-to-cart .product-add-to-cart-button { flex-basis: 160px; }
  .mn-buy-trust { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .mn-buy-trust li { padding: 8px; font-size: 11px; }
  .mn-note { flex-direction: column; align-items: flex-start; padding: 18px; }
  .mn-note__photo { width: 72px; height: 72px; }
  .mn-note__ask { align-self: stretch; }
  .mn-pair { padding: 16px; }
  .mn-pair__buy { padding-left: 0; border-left: 0; width: 100%; }
  .mn-pair__buy .btn { width: 100%; }
  .mn-pair__plus { display: none; }
}
#product .product-add-to-cart { align-items: flex-start; }
#product .product-add-to-cart .product-quantity .form-control-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#product .product-add-to-cart .product-minimal-quantity:empty { display: none; }
#product .mn-stock-area { flex: 1 1 100%; }
#product .mn-stock-area .product-availability-top { margin: 0 0 4px !important; }
#product .product-prices .tax-shipping-delivery-label { justify-content: flex-start; text-align: left; width: 100%; }
#product .product-prices-wrapper > * { text-align: left; }
.mn-note__photo img { width: 150%; max-width: none; transform: translateY(18%); }
/* magnesium questionnaire invitation (gurufeatures) */
/* only the containers: on every mgq-* child the radius clipped the first letters of the text (phone) */
#product .mgq-s, #product .mgq { border-radius: 24px; overflow: hidden; }
#product .product_stock_info_ul { display: flex !important; flex-direction: row; }
#product .product_stock_info_ul li { width: auto !important; flex: 0 0 auto; }
.mn-note__photo { align-items: flex-start; }
.mn-note__photo img { width: 210%; margin-left: -55%; margin-top: 4px; transform: none; }
#product .product_stock_info_details { width: 100%; padding: 0; } /* custom.css: 300px at desktop widths */

/* =====================================================================
 * Stage 6 — the rest of the shop
 * ===================================================================== */

/* ---------- Search overlay (BrielSearch, cards drawn by brielsearch-v2.js) ---------- */
#brielsearch-overlay .brielsearch-panel { border-radius: 0 0 24px 24px; font-family: var(--mn-font); }
#brielsearch-overlay .brielsearch-input-wrap { background: var(--mn-mint-50); border: 1.5px solid var(--mn-mint-200); border-radius: var(--mn-radius-pill); }
#brielsearch-overlay #brielsearch-input { background: transparent; border: 0; box-shadow: none; font-size: 17px; color: var(--mn-ink); }
#brielsearch-overlay .brielsearch-meta { color: var(--mn-muted); }
#brielsearch-overlay .brielsearch-filter-group label { border-radius: var(--mn-radius-pill); color: var(--mn-ink); font-weight: 600; }
#brielsearch-overlay .brielsearch-filter-group input[type=checkbox] { accent-color: var(--mn-green); }
#brielsearch-overlay #brielsearch-sort-select { border-radius: var(--mn-radius-pill); border: 1.5px solid var(--mn-line); padding: 6px 12px; }
#brielsearch-overlay .brielsearch-card,
#brielsearch-overlay .brielsearch-card.in-stock {
  border: 1px solid var(--mn-line); border-radius: var(--mn-radius-card); box-shadow: none; overflow: hidden; background: #FFFFFF;
}
#brielsearch-overlay .brielsearch-card:hover,
#brielsearch-overlay .brielsearch-card.in-stock:hover { border-color: var(--mn-mint-200); box-shadow: 0 10px 28px rgba(19, 38, 27, .10); }
#brielsearch-overlay .brielsearch-card.exact-match { border-color: var(--mn-green); }
#brielsearch-overlay .brielsearch-card-img { border-radius: 14px; overflow: hidden; margin: 8px 8px 0; }
#brielsearch-overlay .brielsearch-sameday {
  top: auto !important; bottom: 8px; left: 8px !important;
  background: rgba(255, 255, 255, .95); color: var(--mn-green-text); border-radius: var(--mn-radius-pill);
  font-size: 11px; font-weight: 700; text-transform: none; padding: 3px 9px; box-shadow: 0 1px 4px rgba(19, 38, 27, .12);
}
#brielsearch-overlay .brielsearch-sameday::before { content: "● "; color: var(--mn-green); }
/* narrow cards: the "Livrare imediată" pill (bottom-left) ran into the 1/2 dots (bottom-right); dots go top-left */
@media (max-width: 575px) { #brielsearch-overlay .brielsearch-stock-locations { top: 8px; left: 8px; right: auto; bottom: auto; } }
#brielsearch-overlay .brielsearch-discount-badge { background: var(--mn-sale); color: #FFFFFF; border-radius: var(--mn-radius-pill); font-weight: 700; }
#brielsearch-overlay .brielsearch-card-brand { text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 600; color: var(--mn-muted); }
#brielsearch-overlay .brielsearch-card-title { color: var(--mn-ink); font-weight: 700; font-size: 14.5px; }
#brielsearch-overlay .brielsearch-card-title em, #brielsearch-overlay .brielsearch-card-title mark { font-style: normal; background: var(--mn-yellow-50); color: var(--mn-ink); border-radius: 3px; }
#brielsearch-overlay .brielsearch-card-price { color: var(--mn-ink); font-weight: 800; }
#brielsearch-overlay .brielsearch-card-price.has-discount { color: var(--mn-red-text); }
#brielsearch-overlay .brielsearch-card-addtocart {
  margin: 8px; width: calc(100% - 16px); border-radius: var(--mn-radius-pill);
  background: var(--mn-green); color: var(--mn-on-green); font-weight: 800; text-transform: none; letter-spacing: 0;
}
#brielsearch-overlay .brielsearch-card-addtocart:hover { background: var(--mn-green-hover); color: var(--mn-on-green); }
#brielsearch-overlay #brielsearch-load-more-btn { border-radius: var(--mn-radius-pill); background: #FFFFFF; border: 1.5px solid var(--mn-mint-300); color: var(--mn-ink); font-weight: 700; }
#brielsearch-overlay .brielsearch-recent-chip { border-radius: var(--mn-radius-pill); border-color: var(--mn-line); }

/* ---------- Category pages ---------- */
#category #main .page-heading, #category .block-category h1, .block-category .h1, #search .page-heading, #prices-drop .page-heading, #new-products .page-heading {
  text-transform: none; font-size: 32px; font-weight: 800; letter-spacing: -0.01em;
}
.block-category { background: transparent; border: 0; padding-left: 0; padding-right: 0; }
.block-category .category-description, .block-category #category-description { color: var(--mn-ink-2); font-size: 16px; }
#left-column .block, #left-column .left-categories, #left-column .block-facets, #left-column #search_filters_wrapper, .column-block {
  border: 1px solid var(--mn-line); border-radius: var(--mn-radius-card); overflow: hidden; background: #FFFFFF; box-shadow: none;
}
#left-column .column-title, #left-column .block-title, #left-column .h6, #search_filters .h6, #search_filters_wrapper .title-block, .facet .facet-title {
  font-family: var(--mn-font); text-transform: none; letter-spacing: 0; font-weight: 800; font-size: 17px; color: var(--mn-ink);
}
#search_filters .facet .facet-label a, #search_filters .facet .facet-label { color: var(--mn-ink-2); }
#search_filters .facet .facet-label.active a, #search_filters .facet .facet-label:hover a { color: var(--mn-green-text); }
.active-filters { border-radius: 16px; background: var(--mn-mint-50); border: 1px solid var(--mn-mint-200); }
.active-filters .filter-block { border-radius: var(--mn-radius-pill); background: #FFFFFF; border: 1px solid var(--mn-mint-200); color: var(--mn-ink); }
.products-selection .total-products p { color: var(--mn-muted); }
.products-selection .products-sort-order .select-title, .products-selection select, .products-sort-order .form-control {
  border-radius: var(--mn-radius-pill); border: 1.5px solid var(--mn-line);
}
.products-selection .product-display .display-select { border-radius: var(--mn-radius-pill); border: 1px solid var(--mn-line); overflow: hidden; }
.products-selection .product-display .display-select .selected { color: var(--mn-green-text); }
.pagination .page-list a, .pagination .page-list span { border-radius: var(--mn-radius-pill); min-width: 40px; }
.pagination .page-list .current a { background: var(--mn-green); color: var(--mn-on-green); }
#search_filter_toggler, .search-filters-toggler .btn, .filter-button .btn {
  border-radius: var(--mn-radius-pill); background: var(--mn-green); color: var(--mn-on-green); font-weight: 800;
}
.subcategories .subcategory-image, .subcategory-container { border-radius: 16px; overflow: hidden; }

/* ---------- Page headings everywhere (were uppercase) ---------- */
.page-heading, .page-header h1, .h1.page-heading { text-transform: none; letter-spacing: -0.01em; font-weight: 800; }

/* ---------- Account / login / forms ---------- */
#authentication .page-content, #registration .page-content, #password .page-content, .page-customer-account .page-content,
#my-account .page-content, .page-addresses .page-content, .page-order-detail .page-content {
  border: 1px solid var(--mn-line); border-radius: 24px; box-shadow: none; background: #FFFFFF;
}
.form-control-label, label.required { color: var(--mn-ink); font-weight: 600; }
.input-group .input-group-btn > .btn, .input-group-append .btn { border-radius: 0 var(--mn-radius-pill) var(--mn-radius-pill) 0; background: var(--mn-mint-100); color: var(--mn-ink); border: 0; }
.input-group .form-control { border-radius: var(--mn-radius-pill) 0 0 var(--mn-radius-pill); }
.page-my-account #content .links a span.link-item, .account-list .linklist a {
  border: 1px solid var(--mn-line); border-radius: var(--mn-radius-card); box-shadow: none; background: #FFFFFF; color: var(--mn-ink); font-weight: 700;
}
.page-my-account #content .links a:hover span.link-item { border-color: var(--mn-green); color: var(--mn-green-text); }
.page-my-account #content .links a i, .page-my-account #content .links a .material-icons { color: var(--mn-green-text); }
.no-account a, .forgot-password a { color: var(--mn-green-text); font-weight: 700; }
.alert { border-radius: 16px; }
.alert-success { background: var(--mn-mint-50); border-color: var(--mn-mint-200); color: var(--mn-green-text); }
.alert-warning { background: var(--mn-orange-50); border-color: #FBD3A6; color: #7A4300; }
.alert-danger { background: var(--mn-red-50); border-color: #F7C3C5; color: var(--mn-red-text); }
.alert-info { background: var(--mn-blue-50); border-color: #99DBF6; color: var(--mn-blue-text); }

/* ---------- Cart page ---------- */
#cart .cart-grid-body .card, #cart .cart-container, #cart .cart-grid-right .card, #cart .cart-summary, .cart-detailed-totals {
  border: 1px solid var(--mn-line); border-radius: 24px; box-shadow: none; background: #FFFFFF; overflow: hidden;
}
#cart .cart-item { border-bottom: 1px solid var(--mn-line); }
#cart .product-line-grid-body .label, #cart .cart-item .product-line-info a { color: var(--mn-ink); font-weight: 700; }
#cart .cart-summary-line .value, #cart .cart-total .value { font-weight: 800; color: var(--mn-ink); }
#cart .cart-detailed-actions .btn-primary, #cart .checkout .btn { width: 100%; padding: 14px 20px; font-size: 17px; }
#cart .cart-grid-body > a.label, #cart a.continue-shopping, #cart .btn-secondary.continue { background: #FFFFFF; color: var(--mn-ink); border: 1.5px solid var(--mn-mint-300); }
#cart .bootstrap-touchspin { border-radius: var(--mn-radius-pill); overflow: hidden; border: 1.5px solid var(--mn-line); }
#cart .remove-from-cart, #cart .remove-from-cart .material-icons { color: var(--mn-muted); }
#cart .remove-from-cart:hover .material-icons { color: var(--mn-red-text); }

/* ---------- Unavailable product with a recommendation (product-unavailable.tpl) ---------- */
[class*="unavailable-orig-card"], [class*="unavailable-reco"], .unavailable-message, [class*="unavailable"] .card {
  border-radius: 24px;
}
body .unavailable-banner__avatar { width: 73px !important; height: 73px !important; flex: none !important; background: var(--mn-mint-200) !important; border-radius: 50% !important; overflow: hidden !important; display: flex !important; align-items: flex-start !important; justify-content: center !important; }
body .unavailable-banner__avatar img { width: 150px !important; min-width: 150px !important; max-width: none !important; height: auto !important; margin-top: 3px !important; object-fit: cover !important; }
body .unavailable-banner__bubble { background: var(--mn-mint-50) !important; border: 1px solid var(--mn-mint-200) !important; border-radius: 20px !important; color: var(--mn-ink) !important; }
body .unavailable-rec-card { border: 1px solid var(--mn-mint-300) !important; border-radius: 24px !important; box-shadow: none !important; }
body .unavailable-rec-card__label, body .unavailable-orig-card__label { border-radius: var(--mn-radius-pill) !important; background: var(--mn-mint-100) !important; color: var(--mn-green-text) !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 700 !important; }
body .unavailable-rec-card__name { color: var(--mn-ink) !important; font-weight: 800 !important; }
body .unavailable-rec-card__price { color: var(--mn-ink) !important; font-weight: 800 !important; }
body .unavailable-rec-card__cta { border-radius: var(--mn-radius-pill) !important; background: var(--mn-green) !important; color: var(--mn-on-green) !important; font-weight: 800 !important; }
body .unavailable-rec-card__cta:hover { background: var(--mn-green-hover) !important; color: var(--mn-on-green) !important; }
body .unavailable-orig-card { border: 1px solid var(--mn-line) !important; border-radius: 24px !important; }
body .unavailable-orig-card__badge { border-radius: var(--mn-radius-pill) !important; }
body .notify-form__input { border-radius: var(--mn-radius-pill) !important; }
body .notify-form__btn { border-radius: var(--mn-radius-pill) !important; background: #FFFFFF !important; color: var(--mn-ink) !important; border: 1.5px solid var(--mn-mint-300) !important; font-weight: 700 !important; }
body .notify-form__btn:hover { background: var(--mn-mint-50) !important; border-color: var(--mn-green) !important; }
#cart .cart-summary .cart-detailed-totals, #cart .cart-summary .card-block { border: 0; border-radius: 0; box-shadow: none; }

/* =====================================================================
 * Stage 7 — footer (modules stay admin-editable; only the look changes)
 * ===================================================================== */
#footer { background: var(--mn-forest); color: #D4EDDC; font-family: var(--mn-font); }
#footer::before { display: none; } /* the stripe moves below the FAQ, on top of the dark part */

/* FAQ (mnaiseo, displayFooterBefore): light band above the dark footer */
#footer .footer-top { background: var(--mn-mint-50); color: var(--mn-ink); padding: 40px 0 24px; border-top: 1px solid var(--mn-line); }
#footer .footer-top a { color: var(--mn-green-text); }
.mnseo-faq__title { font-family: var(--mn-font); font-size: 26px; font-weight: 800; color: var(--mn-ink); }
.mnseo-faq__item { border-bottom: 1px solid var(--mn-line); }
.mnseo-faq__item summary, .mnseo-faq__q { font-weight: 700; color: var(--mn-ink); }

/* dark part */
#footer .footer-main { background: var(--mn-forest); color: #D4EDDC; padding: 48px 0 24px; position: relative; }
#footer .footer-main::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--mn-rainbow); }
#footer .footer-main a, #footer .footer-main .typo a { color: #D4EDDC; }
#footer .footer-main a:hover { color: #FFFFFF; text-decoration: underline; }
#footer .h4r, #footer .footer-main .h4r, #footer .block-newsletter .h4r {
  font-family: var(--mn-font); color: #FFFFFF; font-size: 17px; font-weight: 800; text-transform: none; letter-spacing: 0; margin-bottom: 14px;
}
#footer .footer-about-us .typo, #footer .footer-about-us p { color: #D4EDDC; }
#footer .footer-about-us strong { color: #FFFFFF; }
#footer .footer-about-us img { background: #FFFFFF; border-radius: 16px; padding: 10px 16px; width: auto; max-width: 240px; height: auto; }
#footer .linklist ul li, #footer .linklist li { margin-bottom: 8px; }
#footer .linklist li a::before, #footer .linklist li::before { color: var(--mn-mint-300); }
/* social: round icons */
#footer .social-links li { border-radius: 50%; overflow: hidden; }
#footer .social-links li a { border-radius: 50%; }
/* newsletter on dark */
#footer .block-newsletter .newsletter-form .input-wrapper { display: flex; background: #FFFFFF; border-radius: var(--mn-radius-pill); padding: 4px; }
#footer .block-newsletter .form-control { border: 0; background: transparent; height: 46px; padding-left: 18px; box-shadow: none; color: var(--mn-ink); }
#footer .block-newsletter .btn-primary { border-radius: var(--mn-radius-pill); height: 46px; padding: 0 22px; white-space: nowrap; }
/* the button sizes itself to its label ("Abonează" on phones overflowed a fixed-width slot) */
#footer .block-newsletter .input-wrapper .form-control { flex: 1 1 auto; min-width: 0; }
#footer .block-newsletter .input-wrapper .input-btn { position: static; flex: 0 0 auto; width: auto; right: auto; top: auto; }
#footer .block-newsletter .conditons, #footer .block-newsletter p { color: #B3D6BF; font-size: 13px; }
/* buttons in the dark part (cookie settings, highlighted links) */
#footer .cookiesplus-tab-footer a, #footer .cookiesplus-tab a, #footer .footer-main .btn:not(.btn-primary) {
  background: transparent; border: 1.5px solid #3E7A58; color: #FFFFFF; border-radius: var(--mn-radius-pill); padding: 8px 16px;
}
#footer .anpcsol img { border-radius: 12px; }
#footer .footer-main mark, #footer .footer-main [style*="background-color: #ff"], #footer .footer-main [style*="background: yellow"] { background: transparent !important; color: #FFDE00 !important; }

/* bottom bar */
#footer .footer-bottom { background: #083821; color: #B3D6BF; padding: 0 0 18px; }
#footer .footer-bottom .copyright-payment { border-top: 0; padding-top: 14px; }
#footer .footer-bottom p, #footer .footer-bottom .typo { color: #B3D6BF; font-size: 13px; }
#footer .footer-bottom .copyright-payment img { background: #FFFFFF; border-radius: 8px; padding: 6px 10px; height: auto; }
/* Cash on delivery is the only payment method: text instead of the old Visa/MC/PayPal logos (footer_bottom in zthememanager) */
#footer .footer-bottom .mn-pay-note { color: #FFFFFF; font-weight: 600; }
.mn-footer-note { text-align: center; padding-top: 18px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mn-footer-note p { margin: 0; font-size: 13px; color: #B3D6BF; }
.mn-footer-lich { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #FFFFFF !important; }
.mn-footer-lich::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mn-orange); }
/* DPD UE (04.11.2026): "Livrăm în România și în 23 de țări din UE" */
.mn-footer-ue { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #B3D6BF !important; }
.mn-footer-ue::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #FFCC00; }
.mn-footer-ue:hover { color: #FFFFFF !important; }
@media (max-width: 767.98px) {
  #footer .footer-main { padding-top: 36px; }
  #footer .footer-menu .h4r { border-bottom: 1px solid #1D5E3B; padding-bottom: 10px; }
}
/* highlighted link "Programare consultatie online" (inline yellow spans in the link block) -> logo-yellow pill */
#footer li.nolistyle span[style] { background: transparent !important; color: inherit !important; }
#footer li.nolistyle a { display: inline-block; background: var(--mn-yellow); color: var(--mn-ink) !important; border-radius: var(--mn-radius-pill); padding: 7px 14px; font-weight: 800; font-size: 13px; text-decoration: none !important; }
#footer li.nolistyle a span { color: var(--mn-ink) !important; }
/* cookie settings link */
#footer .cookiesplus-tab-footer, #footer #cookiesplus-tab { background: transparent !important; padding: 0 !important; box-shadow: none !important; }
#footer .cookiesplus-tab-footer span { display: inline-block; border: 1.5px solid #3E7A58; color: #FFFFFF; border-radius: var(--mn-radius-pill); padding: 7px 14px; cursor: pointer; font-size: 13px; }
#footer .cookiesplus-tab-footer span:hover { border-color: #FFFFFF; }
#footer .h4r, #footer .footer-main .h4r, #footer .footer-menu .h4r, #footer .block-social .h4r, #footer .block-newsletter .h4r {
  color: #FFFFFF !important; text-transform: none !important; font-family: var(--mn-font) !important; font-weight: 800 !important;
}
#footer { background: transparent; } /* dark only on .footer-main / .footer-bottom (no dark band above the FAQ) */

/* per-location dots (MN1 / MN2) and the same-day truck stay on the cards (Adi, 30.10.2026): round, logo green */
.product-miniature .df_stock_per_location_block { right: 8px; bottom: 8px; display: flex; align-items: center; gap: 4px; z-index: 3; }
.product-miniature .df_stock_per_location_container { display: flex; gap: 4px; min-height: 0; }
.df_stock_per_location_available,
#brielsearch-overlay .brielsearch-stock-dot {
  width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--mn-green-text) !important; color: #FFFFFF; font-size: 11px; font-weight: 800; line-height: 1;
  box-shadow: 0 0 0 2px #FFFFFF;
}
.product-miniature .df_same_day_delivery { width: 26px; height: 26px; }
/* dots under the heart (top-right), so they never collide with the countdown pill (bottom-left) */
.product-list .product-miniature .df_stock_per_location_block { top: 52px; bottom: auto; right: 17px; flex-direction: column; }
.product-list .product-miniature .df_stock_per_location_container { flex-direction: column; }

/* Cart: shipping is "de la" the locker price; the courier is chosen at checkout (cart-detailed-totals.tpl) */
.cart-detailed-totals .mn-ship-hint { flex-basis: 100%; width: 100%; font-size: 12.5px; line-height: 1.4; color: var(--mn-muted, #5B6B62); margin-top: 4px; }

/* disclaimer "Afișează mai mult": the link sat on top of the faded text; give it a solid strip under the fade */
#product a.product-disclaimer-area-toggle {
  bottom: 0; padding: 56px 0 12px; font-weight: 700; color: var(--mn-green-text);
  background-image: linear-gradient(to bottom, rgba(255,255,255,0) 0, #FFFFFF 60%);
}
#product .box-disclaimer:not(.opened) { padding-bottom: 8px; }
/* product page headings on phones: two- and three-line titles were set solid (line-height ~1) */
@media (max-width: 767px) {
  #product .title-block, #product h2, #product .h2, #product h3, #product .h3,
  #product .product-review-title, #product .prodquestions-title, #product .block-title, #product .h3r { line-height: 1.25; }
}

/* CMS pages: the page title was smaller than the h2 inside the content */
#cms .page-heading, #cms h1.page-heading { font-size: 30px; font-weight: 800; color: var(--mn-ink); margin-bottom: 14px; }
#cms .page-content h2, #cms .page-content .h2 { font-size: 21px; font-weight: 800; color: var(--mn-ink); margin: 22px 0 8px; }
#cms .page-content h3, #cms .page-content .h3 { font-size: 18px; font-weight: 700; margin: 18px 0 6px; }
#cms .page-content p, #cms .page-content li { font-size: 15px; line-height: 1.6; color: var(--mn-ink-2); }
@media (max-width: 767px) { #cms .page-heading { font-size: 24px; } #cms .page-content h2 { font-size: 19px; } }

/* ---- account forms (login, create account, password) and 404: one narrow column, labels above fields ---- */
#authentication #main, #password #main { max-width: 540px; margin: 0 auto; }
#authentication .page-heading, #password .page-heading, #pagenotfound .page-heading { font-size: 28px; font-weight: 800; color: var(--mn-ink); text-align: center; margin: 8px 0 18px; }
#authentication .shadow-box, #password .shadow-box, #pagenotfound .shadow-box {
  border: 1px solid var(--mn-line); border-radius: var(--mn-radius-card, 20px); box-shadow: 0 10px 30px rgba(19, 38, 27, .06); background: #FFFFFF;
}
#authentication .form-group.row, #password .form-group.row { display: block; margin: 0 0 14px; }
#authentication .form-group.row > [class*="col-"], #password .form-group.row > [class*="col-"] { max-width: 100%; flex: none; width: 100%; margin-left: 0; padding: 0; text-align: left; }
#authentication .form-control-label, #password .form-control-label { font-weight: 700; color: var(--mn-ink); padding: 0 0 6px; text-align: left; font-size: 14px; }
#authentication .form-control, #password .form-control { height: 48px; border-radius: 14px; border: 1.5px solid var(--mn-line); font-size: 16px; padding: 0 14px; }
#authentication .form-control:focus, #password .form-control:focus { border-color: var(--mn-green); box-shadow: 0 0 0 3px var(--mn-mint-200); }
#authentication .input-group .form-control { border-radius: 14px 0 0 14px; }
#authentication .input-group-btn .btn { height: 48px; border-radius: 0 14px 14px 0; background: var(--mn-mint-100); color: var(--mn-green-text); font-weight: 700; border: 1.5px solid var(--mn-line); border-left: 0; }
#authentication .form-control-comment, #authentication .form-control-comment:empty { padding: 4px 0 0; font-size: 13px; color: var(--mn-muted); }
#authentication .form-footer button[type="submit"], #password .form-footer button[type="submit"], #authentication .form-footer .btn-primary {
  width: 100%; height: 50px; font-size: 16px; font-weight: 800; border-radius: var(--mn-radius-pill); margin-top: 6px;
}
#authentication .forgot-password { margin-top: 10px; }
#authentication .forgot-password a { color: var(--mn-green-text); font-weight: 700; }
#authentication .page-footer .no-account .btn, #authentication .page-footer .btn {
  width: 100%; max-width: 540px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; border-radius: var(--mn-radius-pill); background: #FFFFFF; border: 1.5px solid var(--mn-mint-300); color: var(--mn-ink);
}
#authentication .custom-radio + span, #authentication .radio-inline { font-size: 15px; }
#pagenotfound #main { max-width: 760px; margin: 0 auto; text-align: center; }
#pagenotfound .page-not-found h4, #pagenotfound .page-content h4 { font-size: 20px; font-weight: 800; color: var(--mn-ink); }
/* the in-page search box: only inside #content (the header search must stay as it is) */
#pagenotfound #content .search-widget { max-width: 520px; margin: 14px auto 4px; }
#pagenotfound #content .search-widget form { position: relative; display: block; }
#pagenotfound #content .search-widget .form-control { width: 100%; height: 52px; border-radius: var(--mn-radius-pill); border: 1.5px solid var(--mn-mint-300); background: var(--mn-mint-50); padding: 0 120px 0 20px; font-size: 16px; cursor: pointer; }
#pagenotfound #content .search-widget button[type="submit"] {
  position: absolute; right: 5px; top: 5px; height: 42px; padding: 0 18px; display: inline-flex; align-items: center; gap: 6px;
  border-radius: var(--mn-radius-pill); background: var(--mn-green); color: var(--mn-on-green); border: 0; font-weight: 800; font-size: 15px;
}
#pagenotfound #content .search-widget button[type="submit"] .material-icons { font-size: 20px; }
.mn-404-sub { margin: 14px 0 0; color: var(--mn-muted); }
#pagenotfound #content .searchbar-wrapper, #pagenotfound #content #search_widget { width: 100%; max-width: 520px; margin: 0 auto; float: none; }
@media (max-width: 575px) {
  #pagenotfound #content .search-widget .mn-search-label { display: none; }
  #pagenotfound #content .search-widget .form-control { padding-right: 64px; }
  #pagenotfound #content .search-widget button[type="submit"] { padding: 0 12px; }
}
.mn-404-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 6px; }

/* Every selector to which theme.css / custom.css still give "Work Sans" (menu links, footer and
   modal headings, titles): without this the menu was in Work Sans and two old bold font files
   (5Rr1lk, j8SvpJ) were downloaded on every page. List taken from the two files, 30.10.2026. */
#footer .footer-main .block-newsletter div.h4r, #footer .footer-main div.h4r, #search_filters .facet .facet-title.h5r,
.anav-top .amenu-link, .cart-preview .cart-title div.h4r, .categories-associated-wrapper .h3r.title, .column-title,
.estimateddelivery div.h4r, .ets-wishlist-modal .modal-header div.h5r, .h1, .h2, .h3, .h4, .h5, .h6,
.manufacturer-list .brand .brand-name, .nav-item .nav-link, .page-heading, .page-subheading, .product-name,
.st-menu-title div.h4r, .subcategory-miniature .subcategory-name.h5r, .title-block, .typo .column-title, .view-all-link,
div.h5r.blog-title, div.h5r.category-title, h1, h2, h3, h4, h5, h6, .h1r, .h2r, .h3r, .h4r, .h5r, .h6r, .modal-title {
  font-family: var(--mn-font);
}

/* moved from critical_css.tpl (no longer included, 30.10.2026): the "Găsește-ți produsul" row in the side menu */
.category-tree > ul > li.sidebar-menu-gaseste { background: var(--mn-yellow-50); }
.category-tree > ul > li.sidebar-menu-gaseste a, .category-tree > ul > li.sidebar-menu-gaseste a:before { color: var(--mn-green-text); font-weight: 700; border-color: var(--mn-green-text); }

/* sticky add-to-cart (mn-sticky-cta.tpl) and "Finalizează comanda" on the cart (mn-cart-cta.tpl), phones only,
   at the bottom edge (no tab bar since 02.11.2026) */
.mn-sticky-cta { display: none; }
@media (max-width: 767.98px) {
  .mn-sticky-cta {
    display: flex; align-items: center; gap: 12px;
    position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 999;
    background: #FFFFFF; border: 1px solid var(--mn-line); border-radius: 18px; padding: 8px 8px 8px 14px;
    box-shadow: 0 10px 30px rgba(19, 38, 27, .18);
    transform: translateY(140%); opacity: 0; pointer-events: none; transition: transform .22s ease, opacity .22s ease;
  }
  .mn-sticky-cta.is-on { transform: none; opacity: 1; pointer-events: auto; }
  .mn-sticky-cta__info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
  .mn-sticky-cta__name { font-size: 12.5px; color: var(--mn-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mn-sticky-cta__price { font-size: 17px; font-weight: 800; color: var(--mn-ink); }
  .mn-sticky-cta__btn {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 18px;
    border: 0; border-radius: var(--mn-radius-pill); background: var(--mn-cta); color: var(--mn-on-cta); font-weight: 800; font-size: 15px;
  }
  a.mn-sticky-cta__btn, a.mn-sticky-cta__btn:hover, a.mn-sticky-cta__btn:focus { text-decoration: none; color: var(--mn-on-cta); }
  body.mn-sticky-cta-on .float { bottom: calc(84px + env(safe-area-inset-bottom)) !important; }
  /* the last lines of the page stay reachable above the floating button */
  body.mn-sticky-cta-on { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* free-shipping bar on the cart page (cart-detailed-totals.tpl) */
.mn-freeship--cart { background: var(--mn-mint-50); border: 1px solid var(--mn-mint-200); border-radius: 14px; padding: 10px 12px; margin-bottom: 14px; }
.mn-freeship--cart .mn-freeship__msg { font-size: 14px; color: var(--mn-ink-2); margin-bottom: 6px; text-align: left; }
.mn-freeship--cart .mn-freeship__msg strong { color: var(--mn-ink); }
.mn-freeship--cart .mn-freeship__bar { height: 8px; border-radius: 999px; background: #FFFFFF; overflow: hidden; border: 1px solid var(--mn-mint-200); }
.mn-freeship--cart .mn-freeship__bar > span { display: block; height: 100%; background: var(--mn-green); border-radius: 999px; }

/* product page: "Găsești produsul și în categoriile" as chips (gurufeatures categories_associated.tpl) */
#product .mn-catlinks { padding: 14px 0 6px; }
#product .mn-catlinks__title { font-size: 16px; font-weight: 800; color: var(--mn-ink); text-transform: none; margin: 0 0 10px; line-height: 1.3; }
#product .mn-catlinks__list { display: flex; flex-wrap: wrap; gap: 8px; }
#product .mn-catlinks__chip {
  display: inline-flex; align-items: center; padding: 7px 14px; border-radius: var(--mn-radius-pill);
  background: var(--mn-mint-50); border: 1px solid var(--mn-mint-200); color: var(--mn-green-text);
  font-size: 13.5px; font-weight: 600; text-decoration: none; line-height: 1.2;
}
#product .mn-catlinks__chip:hover { background: var(--mn-mint-100); border-color: var(--mn-green); color: var(--mn-ink); text-decoration: none; }

/* quizzes row (one card per quiz) and the two remaining doors */
.mn-quiz-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mn-quiz-row .mn-door { min-height: 0; }
.mn-doors--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 991.98px) {
  .mn-quiz-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mn-doors--two { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .mn-quiz-row { grid-template-columns: 1fr; }
  .mn-needs .mn-need:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* store buttons: map + call (homepage) */
.mn-store__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.mn-store__btn { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: var(--mn-radius-pill); border: 1.5px solid var(--mn-mint-300); background: #FFFFFF; color: var(--mn-ink); font-weight: 700; font-size: 14px; text-decoration: none; }
.mn-store__btn:hover { border-color: var(--mn-green); color: var(--mn-ink); text-decoration: none; }
.mn-store__btn--call { background: var(--mn-green); border-color: var(--mn-green); color: var(--mn-on-green); }
.mn-store__btn--call:hover { background: var(--mn-green-hover); color: var(--mn-on-green); }

/* cards: the cart button shows its label (Adi, 30.10.2026: "Adaugă în coș"): a full-width pill under the
   price instead of the round icon next to it */
.product-list .grid .product-miniature .second-block .second-block-wrapper { flex-wrap: wrap; }
.product-list .grid .product-miniature .second-block .second-block-wrapper .informations-section { flex: 1 1 100%; }
.product-list .grid .product-miniature .second-block .second-block-wrapper .buttons-sections { flex: 1 1 100%; width: 100%; }
.product-list .product-miniature .grid-buy-button { width: 100%; }
.product-list .product-miniature .grid-buy-button .add-to-cart.js-ajax-add-to-cart,
.product-list .product-miniature .add-to-cart.js-ajax-add-to-cart {
  width: 100%; height: 42px; padding: 0 12px; border-radius: var(--mn-radius-pill); gap: 6px;
  font-size: 14px; font-weight: 800; white-space: nowrap;
}
.product-list .product-miniature .add-to-cart.js-ajax-add-to-cart .mn-sr {
  position: static; width: auto; height: auto; overflow: visible; clip: auto;
}
@media (max-width: 400px) { .product-list .product-miniature .add-to-cart.js-ajax-add-to-cart { font-size: 13px; padding: 0 8px; } }

/* "Vorbește cu un farmacist" dialog (mn-ask-pharmacist.tpl) */
.mn-ask[hidden] { display: none; }
.mn-ask { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.mn-ask__backdrop { position: absolute; inset: 0; background: rgba(19, 38, 27, .45); }
.mn-ask__box { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow: auto; background: #FFFFFF; border-radius: 24px; padding: 22px 22px 20px; box-shadow: 0 24px 60px rgba(19, 38, 27, .25); }
.mn-ask__x { position: absolute; top: 10px; right: 12px; border: 0; background: transparent; font-size: 28px; line-height: 1; color: var(--mn-muted); cursor: pointer; }
.mn-ask__head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; padding-right: 24px; }
.mn-ask__head img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--mn-mint-100); flex: none; }
.mn-ask__title { font-size: 21px; font-weight: 800; color: var(--mn-ink); margin: 0 0 2px; }
.mn-ask__sub { margin: 0; font-size: 14px; color: var(--mn-muted); }
.mn-ask__form { display: flex; flex-direction: column; gap: 10px; }
.mn-ask__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mn-ask__field { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; font-weight: 700; color: var(--mn-ink); margin: 0; }
.mn-ask__field small { font-weight: 500; color: var(--mn-muted); }
.mn-ask__field input, .mn-ask__field textarea { border: 1.5px solid var(--mn-line); border-radius: 12px; padding: 10px 12px; font: inherit; font-weight: 500; font-size: 15px; }
.mn-ask__field input:focus, .mn-ask__field textarea:focus { outline: none; border-color: var(--mn-green); box-shadow: 0 0 0 3px var(--mn-mint-200); }
.mn-ask__check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--mn-ink-2); font-weight: 500; margin: 0; }
.mn-ask__check input { margin-top: 3px; }
.mn-ask__note { font-size: 12px; color: var(--mn-muted); margin: 0; }
.mn-ask__msg { font-size: 13.5px; font-weight: 700; color: var(--mn-red-text); min-height: 0; }
.mn-ask__send { height: 48px; font-size: 16px; font-weight: 800; border-radius: var(--mn-radius-pill); }
.mn-ask__done h3 { font-size: 19px; font-weight: 800; color: var(--mn-ink); }
.mn-ask__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
body.mn-ask-open { overflow: hidden; }
@media (max-width: 575.98px) { .mn-ask__row { grid-template-columns: 1fr; } .mn-ask__box { padding: 18px 16px; } }

/* longer menu labels (xlsx, 30.10.2026): below 1400px the two widest category links (Alimente integrale,
   Pachete terapeutice) go to "Toate categoriile" and the links get tighter, so the yellow pill fits */
@media (max-width: 1399.98px) {
  .anav-top .amenu-item.mn-menu-cat--xl { display: none; }
  .anav-top .amenu-item > .amenu-link { padding: 14px 10px; }
}
/* the theme right-aligns form labels; the dialog's labels sit above their fields */
.mn-ask__field, .mn-ask__check { text-align: left; justify-content: flex-start; }

/* "Produse vizualizate" (guru_viewedproduct): section title like the others, cards in a real grid
   (up to 5 across) instead of narrow left-aligned columns; a swipe row on phones. The module only
   switches to slick above 5 products. */
section.viewed-products { margin: 28px 0 8px; }
section.viewed-products > h2 { font-size: 26px; font-weight: 800; color: var(--mn-ink); text-transform: none; letter-spacing: 0; margin: 0 0 14px; }
section.viewed-products .viewed-category-container { margin: 0; }
section.viewed-products .viewed-category-products:not(.slick-initialized) {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 0; width: 100%;
}
section.viewed-products .viewed-category-products:not(.slick-initialized) > .product-miniature {
  width: auto; max-width: none; flex: none; padding: 0; margin: 0;
}
@media (max-width: 1199.98px) { section.viewed-products .viewed-category-products:not(.slick-initialized) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 991.98px) { section.viewed-products .viewed-category-products:not(.slick-initialized) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) {
  section.viewed-products > h2 { font-size: 22px; }
  section.viewed-products .viewed-category-products:not(.slick-initialized) {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 6px;
  }
  section.viewed-products .viewed-category-products:not(.slick-initialized) > .product-miniature {
    flex: 0 0 46%; scroll-snap-align: start;
  }
}
/* Sidebar names split on two lines (category-tree.tpl, mnTwoLines): second line under the text, not under the bullet */
.category-tree > ul > li > a > span.mn-2l { display: inline-block; vertical-align: top; }
/* Product page: "Ai o întrebare despre produs? Întreabă un farmacist." under the buy box */
.mn-ask-line { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 10px 12px; border: 1px dashed var(--mn-line); border-radius: 14px; font-size: 14px; color: var(--mn-ink); line-height: 1.35; }
.mn-ask-line .mn-icon { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 10px; }
.mn-ask-line__btn { padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--mn-green-text, #06783c); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mn-ask-line__btn:hover { text-decoration-thickness: 2px; }

/* =====================================================================
   Adi's list of 30.10.2026 (evening): search, orange cart buttons, aligned cards,
   cart button on hover (desktop) / round icon (phone), framed photo icons, dark-green tooltips
   ===================================================================== */
:root {
  --mn-cta: #F7941D;          /* logo orange: add to cart + checkout buttons */
  --mn-cta-hover: #F9A23A;    /* 14.11.2026: a lighter orange (5.06:1 with the text); #E9850B gave 3.86:1, under AA */
  --mn-on-cta: #0B4A2A;       /* dark green text on orange (4.54:1) */
}

/* --- search: wider and easier to spot --- */
@media (min-width: 768px) {
  #header .display-top .searchbar-wrapper { flex: 1 1 520px; max-width: none; }
  #header .search-widget form { background: #FFFFFF; border: 2px solid var(--mn-green); box-shadow: 0 2px 10px rgba(19, 38, 27, .08); padding-left: 22px; }
  #header .search-widget form input[type=text] { height: 46px; font-size: 16.5px; }
  #header .search-widget form [type=submit] { height: 46px; padding: 0 24px; }
}
@media (max-width: 767px) {
  #header .search-widget form { background: #FFFFFF; border: 2px solid var(--mn-green); }
}

/* --- add to cart + checkout: logo orange, dark green text --- */
.add-to-cart, .add-to-cart.disabled, .add-to-cart:disabled,
.product-list .product-miniature .add-to-cart.js-ajax-add-to-cart,
.mn-sticky-cta .add-to-cart, .mn-sticky-cta .btn-primary,
.cart-detailed-actions .btn-primary, .mn-btn-checkout, .proceed-checkout,
.cart-preview .cart-dropdown .btn-primary {
  background-color: var(--mn-cta) !important; border-color: var(--mn-cta) !important; color: var(--mn-on-cta) !important;
}
.add-to-cart:hover, .add-to-cart:not(:disabled):not(.disabled):active,
.product-list .product-miniature .add-to-cart.js-ajax-add-to-cart:hover,
.mn-sticky-cta .add-to-cart:hover, .mn-sticky-cta .btn-primary:hover,
.cart-detailed-actions .btn-primary:hover, .mn-btn-checkout:hover, .proceed-checkout:hover,
.cart-preview .cart-dropdown .btn-primary:hover {
  background-color: var(--mn-cta-hover) !important; border-color: var(--mn-cta-hover) !important; color: var(--mn-on-cta) !important;
}
.add-to-cart svg, .add-to-cart .material-icons, .add-to-cart i { color: var(--mn-on-cta); }
.add-to-cart.details-link { background-color: #FFFFFF !important; border-color: var(--mn-mint-300) !important; color: var(--mn-ink) !important; }

/* --- grids: equal card heights, price and button on one line across a row --- */
.product-list .products.grid { display: flex; flex-wrap: wrap; }
.product-list .grid .product-miniature { display: flex; }
.product-list .grid .product-miniature .product-container { display: flex; flex-direction: column; width: 100%; height: 100%; position: relative; }
.product-list .grid .product-miniature .second-block { flex: 1 1 auto; }
.product-list .grid .product-miniature .second-block .second-block-wrapper { margin-top: auto; }
.product-list .grid .product-miniature .mn-stock { min-height: calc(2 * 1.3em); }
/* carousels (homepage blocks): slides as tall as the tallest one */
.product-list .slick-track { display: flex !important; }
.product-list .slick-track .slick-slide { height: auto; display: flex !important; }
.product-list .slick-track .slick-slide > div, .product-list .slick-track .slick-slide .product-miniature { display: flex; width: 100%; height: 100%; }

/* --- desktop / laptop with a mouse: the cart button appears on hover (space stays reserved) --- */
@media (hover: hover) and (pointer: fine) and (min-width: 992px) {
  .product-list .product-miniature .grid-buy-button .add-to-cart.js-ajax-add-to-cart {
    opacity: 0; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, background-color .15s ease;
  }
  .product-list .grid .product-miniature .grid-buy-button { min-height: 42px; } /* out-of-stock cards keep the row */
  .product-list .product-miniature:hover .grid-buy-button .add-to-cart.js-ajax-add-to-cart,
  .product-list .product-miniature:focus-within .grid-buy-button .add-to-cart.js-ajax-add-to-cart,
  .product-list .product-miniature .grid-buy-button .add-to-cart.js-ajax-add-to-cart.added {
    opacity: 1; transform: none;
  }
}

/* --- phones / touch: a round cart icon at the bottom right of each card --- */
@media (max-width: 991px), (hover: none) {
  .product-list .grid .product-miniature .second-block .second-block-wrapper { padding-right: 50px; min-height: 44px; }
  .product-list .grid .product-miniature .second-block .second-block-wrapper .buttons-sections {
    position: absolute; right: 10px; bottom: 10px; width: auto; flex: none;
  }
  .product-list .product-miniature .grid-buy-button { width: auto; }
  .product-list .product-miniature .grid-buy-button .add-to-cart.js-ajax-add-to-cart,
  .product-list .product-miniature .add-to-cart.js-ajax-add-to-cart {
    width: 44px; height: 44px; padding: 0; border-radius: 50%; gap: 0; box-shadow: 0 3px 10px rgba(166, 90, 0, .25);
  }
  .product-list .product-miniature .add-to-cart.js-ajax-add-to-cart .mn-sr {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
  }
  .product-list .list .product-miniature .add-to-cart.js-ajax-add-to-cart { width: 44px; padding: 0; }
}

/* --- icons on the photo (truck, MN1/MN2, heart): framed in a rounded white chip; tooltips dark green --- */
.product-list .product-miniature .df_stock_per_location_block:has(.df_same_day_delivery, .df_stock_per_location_available) {
  background: rgba(255, 255, 255, .94); border: 1px solid var(--mn-mint-200); border-radius: 14px;
  padding: 5px 4px; gap: 5px; box-shadow: 0 2px 8px rgba(19, 38, 27, .10); right: 8px;
}
.product-miniature .df_same_day_delivery { background: var(--mn-forest); width: 24px; height: 22px; }
.df_stock_per_location_available { background: var(--mn-forest) !important; box-shadow: none; }
.tooltip .tooltip-inner { background: var(--mn-forest); color: #FFFFFF; border-radius: 10px; padding: 6px 10px; font-family: var(--mn-font); font-size: 13px; font-weight: 600; }
.tooltip.bs-tooltip-top .arrow::before, .tooltip.bs-tooltip-auto[x-placement^="top"] .arrow::before { border-top-color: var(--mn-forest); }
.tooltip.bs-tooltip-bottom .arrow::before, .tooltip.bs-tooltip-auto[x-placement^="bottom"] .arrow::before { border-bottom-color: var(--mn-forest); }
.tooltip.bs-tooltip-left .arrow::before, .tooltip.bs-tooltip-auto[x-placement^="left"] .arrow::before { border-left-color: var(--mn-forest); }
.tooltip.bs-tooltip-right .arrow::before, .tooltip.bs-tooltip-auto[x-placement^="right"] .arrow::before { border-right-color: var(--mn-forest); }
.tooltip.show { opacity: 1; }

/* footer: "Programează o consultație online" as a real button, text centred (was a yellow inline span) */
#footer li.mn-consult { list-style: none; margin: 12px 0 8px; padding: 0; }
#footer li.mn-consult::before { display: none; }
#footer .mn-consult-btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  max-width: 100%; padding: 10px 20px; border-radius: var(--mn-radius-pill);
  background: var(--mn-yellow); color: var(--mn-forest) !important; font-weight: 800; line-height: 1.3; text-decoration: none;
}
#footer .mn-consult-btn:hover { background: #FFE94D; color: var(--mn-forest) !important; text-decoration: none; }

/* product page: questions as a section of their own (Adi, 30.10.2026): mint panel, white question cards,
   pill button in white + dark green, so it is not mistaken for the orange cart button */
#product .product-questions-hook {
  background: var(--mn-mint-50); border: 1px solid var(--mn-mint-200); border-radius: var(--mn-radius-card);
  padding: 24px 24px 22px; margin: 28px 0; border-top: 1px solid var(--mn-mint-200) !important; border-bottom: 1px solid var(--mn-mint-200) !important;
}
#product .product-questions-hook .page-product-heading {
  font-family: var(--mn-font); font-size: 22px; font-weight: 800; color: var(--mn-ink); text-transform: none;
  margin: 0 0 14px; padding: 0 0 0 40px; border: 0; position: relative; line-height: 1.25;
}
#product .product-questions-hook .page-product-heading::before {
  content: "?"; position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--mn-forest); color: #FFFFFF; font-size: 17px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
#product .product-questions-hook #idTab999 { margin: 0; padding: 0; border: 0; }
#product .product-questions-hook .item-questions {
  background: #FFFFFF; border: 1px solid var(--mn-line); border-radius: 16px; padding: 14px 16px; margin: 0 0 10px;
}
#product .product-questions-hook .answBox { margin: 0; padding: 0; border: 0; background: none; }
#product .product-questions-hook .answBox-question p { margin: 4px 0 0; font-size: 15px; color: var(--mn-ink); font-weight: 600; }
#product .product-questions-hook .answInf { font-size: 12.5px; color: var(--mn-muted); }
#product .product-questions-hook .answInf strong { color: var(--mn-ink); }
#product .product-questions-hook .answInf span { margin: 0 4px; color: var(--mn-line); }
#product .product-questions-hook .answBox-response {
  margin-top: 10px; padding: 10px 14px; background: var(--mn-mint-50); border-left: 3px solid var(--mn-green); border-radius: 0 12px 12px 0;
}
#product .product-questions-hook .answBox-response .answInf b { color: var(--mn-green-text); font-size: 13px; }
#product .product-questions-hook .answBox-response .response { font-size: 14.5px; color: var(--mn-ink-2); margin-top: 2px; }
#product .product-questions-hook .answBox-response .response p:last-child { margin-bottom: 0; }
#product .product-questions-hook #questions-paging { font-size: 13px; color: var(--mn-muted); }
#product .product-questions-hook #questions-paging:not(:has(a)) { display: none; } /* a single page needs no pager */
#product .product-questions-hook p.align_center { text-align: left !important; font-size: 15px; color: var(--mn-ink-2); margin: 0; }
#product .product-questions-hook .text-align-center-custom { text-align: left; margin-top: 14px; }
#product .product-questions-hook .clr + br { display: none; }
#product .product-questions-hook .btn-primary-prodquestions,
#product .product-questions-hook .add-button-custom {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px;
  background: #FFFFFF !important; border: 2px solid var(--mn-forest) !important; border-radius: var(--mn-radius-pill) !important;
  color: var(--mn-forest) !important; font-family: var(--mn-font); font-size: 15px; font-weight: 800; text-decoration: none; box-shadow: none;
}
#product .product-questions-hook .btn-primary-prodquestions:hover,
#product .product-questions-hook .add-button-custom:hover { background: var(--mn-forest) !important; color: #FFFFFF !important; }
#product .product-questions-hook .btn-primary-prodquestions b, #product .product-questions-hook .padding16-question { padding: 0; font-weight: 800; color: inherit !important; background: none !important; }
#product .product-questions-hook .text-align-center-custom { display: block; text-align: left !important; }
#product .product-questions-hook #add-question-form {
  background: #FFFFFF; border: 1px solid var(--mn-line); border-radius: 16px; padding: 16px; margin-top: 14px;
}
#product .product-questions-hook #add-question-form .title-rev { border: 0; background: none; font-size: 17px; font-weight: 800; color: var(--mn-ink); padding: 0 0 8px; }
#product .product-questions-hook #add-question-form .cancel-button-custom { background: none !important; border: 0 !important; color: var(--mn-muted) !important; font-weight: 600; }
#product .product-questions-hook #add-question-form .input-custom,
#product .product-questions-hook #add-question-form .textarea-custom { border-radius: var(--mn-radius-field); border: 1.5px solid var(--mn-line); }
@media (max-width: 575px) {
  #product .product-questions-hook { padding: 18px 16px; }
  #product .product-questions-hook .page-product-heading { font-size: 19px; }
  #product .product-questions-hook .btn-primary-prodquestions { width: 100%; }
}

/* category page, "Subcategorii" at the bottom: equal tiles in a grid (were centred text on uneven rows) */
.subcategories .subcategories-wrapper.row {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); grid-auto-rows: 1fr; gap: 10px; margin: 0;
}
.subcategories .subcategory-miniature {
  max-width: none; width: auto; flex: none; padding: 0; margin: 0; display: flex;
}
.subcategories .subcategory-miniature .subcategory-image { display: none; }
.subcategories .subcategory-miniature .subcategory-name { margin: 0; padding: 0; width: 100%; display: flex; }
.subcategories .subcategory-miniature .subcategory-name a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 54px;
  padding: 10px 14px 10px 16px; background: #FFFFFF; border: 1px solid var(--mn-line); border-radius: 14px;
  text-align: left; font-size: 14.5px; font-weight: 700; line-height: 1.3; color: var(--mn-ink); text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.subcategories .subcategory-miniature .subcategory-name a::after {
  content: "›"; flex: none; font-size: 22px; line-height: 1; color: var(--mn-green-text);
}
.subcategories .subcategory-miniature .subcategory-name a:hover {
  border-color: var(--mn-green); box-shadow: 0 4px 14px rgba(19, 38, 27, .08); color: var(--mn-green-text);
}
.subcategories .page-subheading { font-size: 22px; font-weight: 800; text-transform: none; margin-bottom: 14px; }
@media (max-width: 575px) {
  .subcategories .subcategories-wrapper.row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .subcategories .subcategory-miniature .subcategory-name a { font-size: 13.5px; padding: 10px 10px 10px 12px; }
}

/* share row (ps_sharebuttons.tpl): WhatsApp, Facebook, copy link, native share on phones */
.mn-share { margin: 14px 0 0; }
.mn-share__label { display: block; font-size: 13px; font-weight: 600; color: var(--mn-muted); margin-bottom: 6px; }
.mn-share__row { display: flex; flex-wrap: wrap; gap: 8px; }
.mn-share__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: var(--mn-radius-pill);
  border: 1.5px solid var(--mn-line); background: #FFFFFF; color: var(--mn-ink); font: inherit; font-size: 13.5px; font-weight: 700;
  text-decoration: none; cursor: pointer; transition: border-color .15s ease, background-color .15s ease;
}
.mn-share__btn:hover { text-decoration: none; color: var(--mn-ink); border-color: var(--mn-green); background: var(--mn-mint-50); }
.mn-share__btn--wa svg { color: #1FA855; }
.mn-share__btn--fb svg { color: #1877F2; }
.mn-share__btn--copy svg, .mn-share__btn--native svg { color: var(--mn-green-text); }
.mn-share__btn[hidden] { display: none; }

/* desktop sticky bar (after scrolling): the search fills the space between "Toate categoriile" and the
   cart, as big as the one at the top (custom.css fixed it at 482px with a 315px left margin) */
@media (min-width: 768px) {
  #header .is-sticky .header-main-menu-wrapper { gap: 16px; }
  #header .is-sticky .sticky-search { display: block; flex: 1 1 auto; width: auto !important; max-width: 820px; margin: 0 auto !important; padding-top: 0; }
  #header .is-sticky .sticky-search .search-widget, #header .is-sticky .sticky-search #search_widget { width: 100%; max-width: none; }
  #header .is-sticky .sticky-search .search-widget form input[type=text] { height: 46px; font-size: 16.5px; }
  #header .is-sticky .sticky-search .search-widget form [type=submit] { height: 46px; padding: 0 24px; }
}

/* sort chips (sort-orders.tpl) */
.mn-sort { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 auto; }
.mn-sort__label { flex: none; font-size: 14px; font-weight: 700; color: var(--mn-muted); }
.mn-sort__chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; min-width: 0; }
.mn-sort__chips::-webkit-scrollbar { display: none; }
.mn-sort__chip {
  flex: none; display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: var(--mn-radius-pill);
  border: 1.5px solid var(--mn-line); background: #FFFFFF; color: var(--mn-ink); font-size: 14px; font-weight: 700; white-space: nowrap;
  text-decoration: none; transition: border-color .15s ease, background-color .15s ease;
}
.mn-sort__chip:hover { border-color: var(--mn-green); color: var(--mn-ink); text-decoration: none; }
.mn-sort__chip.is-current { background: var(--mn-forest); border-color: var(--mn-forest); color: #FFFFFF; }
.products-selection .products-sort-order > .d-flex { flex-wrap: nowrap !important; align-items: center; gap: 12px; }
@media (max-width: 767px) {
  .products-selection .products-sort-order { flex: 0 0 100%; max-width: 100%; order: 5; margin-top: 10px; }
  .mn-sort__label { display: none; }
  .mn-sort__chip { height: 36px; padding: 0 14px; font-size: 13.5px; }
}
.mn-sort__chip[href*="product.name"] { order: 9; } /* price chips before the name one */
.products-selection .product-display { display: none !important; } /* grid/list/table switch: the sort chips need the room */
.mn-filter-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: var(--mn-radius-pill);
  background: #FFFFFF; border: 2px solid var(--mn-forest); color: var(--mn-forest); font-weight: 800; font-size: 15px;
}
.mn-filter-btn:hover, .mn-filter-btn:focus { background: var(--mn-forest); color: #FFFFFF; }
#search_filter_toggler.mn-filter-btn { background: #FFFFFF !important; border: 2px solid var(--mn-forest) !important; color: var(--mn-forest) !important; width: auto !important; box-shadow: none !important; }
#search_filter_toggler.mn-filter-btn:hover { background: var(--mn-forest) !important; color: #FFFFFF !important; }

/* MentorSano recommendation (_partials/mn-mentorsano.tpl) */
.mn-ms {
  margin: 28px 0; padding: 26px 28px; border-radius: var(--mn-radius-card);
  background: linear-gradient(135deg, #0B4A2A 0%, #0E5C35 60%, #12703F 100%); color: #FFFFFF; position: relative; overflow: hidden;
}
.mn-ms::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.mn-ms__body { position: relative; max-width: 760px; }
.mn-ms__kicker { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: #BFF0CF; margin-bottom: 6px; }
.mn-ms__title { font-family: var(--mn-font); font-size: 26px; line-height: 1.2; font-weight: 800; color: #FFFFFF; margin: 0 0 10px; text-transform: none; }
.mn-ms__lead { font-size: 16px; line-height: 1.55; color: #E3F7EA; margin: 0 0 12px; }
.mn-ms__points { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; }
.mn-ms__points li { position: relative; padding-left: 26px; font-size: 15px; color: #FFFFFF; }
.mn-ms__points li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: #26B34B; color: #0B2415; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mn-ms__cta {
  display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: var(--mn-radius-pill);
  background: #FFFFFF; color: var(--mn-forest) !important; font-weight: 800; font-size: 16px; text-decoration: none !important;
}
.mn-ms__cta:hover { background: var(--mn-yellow); }
.mn-ms__note { margin: 10px 0 0; font-size: 12.5px; color: #BFE3CB; }
.mn-ms--confirmare { margin-top: 18px; }
@media (max-width: 575px) {
  .mn-ms { padding: 22px 18px; }
  .mn-ms__title { font-size: 21px; }
  .mn-ms__cta { width: 100%; justify-content: center; }
}

/* bundle (mn-product-extra.tpl): up to three products with ticks, full price crossed, saving */
.mn-bundle__row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.mn-bundle__item { position: relative; flex: 1 1 160px; display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 12px; background: #FFFFFF; border: 1.5px solid var(--mn-line); border-radius: 16px; cursor: pointer; font-weight: 400; }
.mn-bundle__item:has(.mn-bundle__check:checked) { border-color: var(--mn-green); }
.mn-bundle__item img { width: 96px; height: 96px; object-fit: contain; align-self: center; }
.mn-bundle__item .mn-pair__name { font-size: 14px; line-height: 1.3; color: var(--mn-ink); }
.mn-bundle__item .mn-pair__name a { color: var(--mn-ink); }
.mn-bundle__check { position: absolute; top: 10px; left: 10px; width: 20px; height: 20px; accent-color: var(--mn-green); }
.mn-bundle__promo { display: block; font-size: 11.5px; font-weight: 600; color: var(--mn-red-text); }
.mn-bundle .mn-pair__plus { align-self: center; font-size: 22px; font-weight: 800; color: var(--mn-muted); }
.mn-bundle__buy { flex: 1 1 220px; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 12px 4px 12px 12px; }
.mn-bundle__label { font-size: 13px; color: var(--mn-muted); font-weight: 600; }
.mn-bundle__full { font-size: 14px; color: var(--mn-muted); text-decoration: line-through; min-height: 1em; }
.mn-bundle__total { font-size: 24px; font-weight: 800; color: var(--mn-ink); }
.mn-bundle__save { display: inline-block; align-self: flex-start; font-size: 13px; font-weight: 800; color: var(--mn-green-text); background: var(--mn-mint-100); padding: 2px 10px; border-radius: var(--mn-radius-pill); min-height: 0; }
.mn-bundle__save:empty { display: none; }
.mn-bundle .js-mn-add-bundle { margin-top: 8px; height: 46px; border-radius: var(--mn-radius-pill); font-weight: 800; }
.mn-bundle__note { font-size: 11.5px; color: var(--mn-muted); }
@media (max-width: 575px) {
  .mn-bundle__item { flex: 1 1 100%; flex-direction: row; align-items: center; padding: 10px 10px 10px 40px; }
  .mn-bundle__item img { width: 64px; height: 64px; }
  .mn-bundle__check { top: 50%; transform: translateY(-50%); }
  .mn-bundle .mn-pair__plus { width: 100%; text-align: center; margin: -4px 0; }
  .mn-bundle__buy { flex: 1 1 100%; padding: 8px 0 0; }
}
.mn-bundle__item, .mn-bundle__item .mn-pair__name { text-align: left; }
.mn-bundle .js-mn-add-bundle { font-size: 15px; padding: 0 22px; white-space: nowrap; }
.mn-bundle-tag { display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: var(--mn-radius-pill); background: var(--mn-mint-100); color: var(--mn-green-text); font-size: 12px; font-weight: 800; }
.cart-item .product-prices .regular-price { text-decoration: line-through; color: var(--mn-muted); font-size: 13px; margin-right: 6px; }
.mn-note__ask-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; flex: none; }
.mn-note__ask-wrap .mn-note__ask { border-radius: var(--mn-radius-pill); font-weight: 800; }
.mn-note__phone { font-size: 12.5px; color: var(--mn-muted); }
.mn-note__phone a { color: var(--mn-green-text); font-weight: 700; }

/* =====================================================================
   Customer account (Adi, 30.10.2026): left menu, dashboard, order history cards, order detail
   ===================================================================== */
.mn-acc-nav { background: #FFFFFF; border: 1px solid var(--mn-line); border-radius: var(--mn-radius-card); padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.mn-acc-nav__hello { padding: 10px 12px 12px; font-size: 15px; color: var(--mn-muted); border-bottom: 1px solid var(--mn-line); margin-bottom: 6px; }
.mn-acc-nav__hello strong { color: var(--mn-ink); }
.mn-acc-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; color: var(--mn-ink); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.mn-acc-nav a .material-icons { font-size: 20px; color: var(--mn-green-text); }
.mn-acc-nav a:hover { background: var(--mn-mint-50); color: var(--mn-ink); text-decoration: none; }
.mn-acc-nav a.is-on { background: var(--mn-mint-100); color: var(--mn-forest); }
.mn-acc-nav a.mn-acc-nav__out { margin-top: 6px; border-top: 1px solid var(--mn-line); border-radius: 0 0 12px 12px; color: var(--mn-red-text); }
.mn-acc-nav a.mn-acc-nav__out .material-icons { color: var(--mn-red-text); }

.mn-acc-hello { font-size: 26px; font-weight: 800; color: var(--mn-ink); margin: 0 0 16px; text-transform: none; }
.mn-acc-sub { font-size: 18px; font-weight: 800; color: var(--mn-ink); margin: 26px 0 12px; text-transform: none; }
.mn-acc-card { background: #FFFFFF; border: 1px solid var(--mn-line); border-radius: var(--mn-radius-card); padding: 18px 20px; margin-bottom: 16px; }
.mn-acc-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.mn-acc-card__head h3 { font-size: 18px; font-weight: 800; margin: 0; color: var(--mn-ink); text-transform: none; }
.mn-acc-card__head a, .mn-acc-card__head span { font-size: 13.5px; color: var(--mn-muted); }
.mn-acc-card__head a { color: var(--mn-green-text); font-weight: 700; }

/* one order (dashboard + history) */
.mn-order { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mn-order__imgs { display: flex; gap: 6px; flex: none; }
.mn-order__imgs img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--mn-line); border-radius: 12px; background: #FFFFFF; }
.mn-order__info { flex: 1 1 260px; min-width: 0; }
.mn-order__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--mn-muted); }
.mn-order__top strong, .mn-order__ref { color: var(--mn-ink); font-weight: 800; font-size: 15px; }
.mn-order__names { font-size: 14px; color: var(--mn-ink-2); margin-top: 4px; line-height: 1.4; }
.mn-order__total { font-size: 17px; font-weight: 800; color: var(--mn-ink); }
.mn-order__meta { margin-top: 4px; font-size: 13.5px; color: var(--mn-muted); }
.mn-order__act { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; flex: none; }
.mn-order__reorder { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 20px; border-radius: var(--mn-radius-pill); font-weight: 800; font-size: 15px; text-decoration: none !important; }
.mn-order__reorder .material-icons { font-size: 20px; }
.mn-order__details { font-size: 14px; font-weight: 700; color: var(--mn-green-text); }
.mn-state { display: inline-block; padding: 2px 10px; border-radius: var(--mn-radius-pill); font-size: 12.5px; font-weight: 800; line-height: 1.6; }
.mn-state--done { background: var(--mn-mint-100); color: var(--mn-green-text); }
.mn-state--ship { background: var(--mn-blue-50); color: var(--mn-blue-text); }
.mn-state--work { background: var(--mn-orange-50); color: var(--mn-orange-text); }
.mn-state--stop { background: var(--mn-red-50); color: var(--mn-red-text); }

.mn-hist-intro { font-size: 15px; color: var(--mn-ink-2); margin: 0 0 14px; }
.mn-hist { display: flex; flex-direction: column; gap: 10px; }
.mn-hist__item { background: #FFFFFF; border: 1px solid var(--mn-line); border-radius: var(--mn-radius-card); padding: 16px 18px; }
.mn-hist__item:hover { border-color: var(--mn-mint-300); }
.mn-hist-empty { text-align: center; }

/* "Cumpără din nou" */
.mn-again__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.mn-again__item { display: flex; flex-direction: column; gap: 4px; padding: 10px; border: 1px solid var(--mn-line); border-radius: 16px; }
.mn-again__img { display: flex; justify-content: center; }
.mn-again__img img { width: 120px; height: 120px; object-fit: contain; }
.mn-again__name { font-size: 13.5px; font-weight: 700; line-height: 1.3; color: var(--mn-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.mn-again__last { font-size: 12px; color: var(--mn-muted); }
.mn-again__row { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; }
.mn-again__row strong { font-size: 15px; color: var(--mn-ink); }
.mn-again__add { width: 40px; height: 40px; padding: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.mn-again__add.is-added { background: var(--mn-mint-100) !important; border-color: var(--mn-mint-100) !important; color: var(--mn-green-text) !important; font-weight: 800; }

/* account tiles, smaller under the dashboard */
.page-my-account #content .links a span.link-item { border-radius: 16px; padding: 18px 10px; font-size: 13px; font-weight: 700; text-transform: none; }
.page-my-account #content .links a .material-icons { font-size: 30px; }

/* order detail */
.page-order-detail #order-infos .box:first-child { border-radius: var(--mn-radius-card); padding: 18px 20px; }
.mn-od-ref { font-size: 20px; color: var(--mn-ink); }
.mn-od-date { font-size: 14px; color: var(--mn-muted); margin-top: 4px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.mn-od-act { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.page-order-detail .box, .page-order-detail .table, .page-order-detail .order-message-form, .page-order-detail #order-return-form { border-radius: 16px; overflow: hidden; }
.page-order-detail .table thead th, .page-order-detail .thead-default th { background: var(--mn-mint-50) !important; color: var(--mn-ink); border-color: var(--mn-line) !important; font-weight: 800; }
.page-order-detail .table td, .page-order-detail .table th { border-color: var(--mn-line) !important; }
.page-order-detail .label-pill, .page-order-detail .label { border-radius: var(--mn-radius-pill); padding: 2px 10px; }
.page-order-detail .addresses article, .page-order-detail .address { border-radius: 16px; }
.footer-account-links { border-radius: var(--mn-radius-card); }
@media (max-width: 767px) {
  .mn-order__act { width: 100%; }
  .mn-order__reorder { flex: 1 1 auto; justify-content: center; }
  .mn-od-act { justify-content: flex-start; margin-top: 12px; }
  .mn-again__list { grid-template-columns: 1fr 1fr; }
  .mn-acc-hello { font-size: 22px; }
}
/* footer: the MentorSano arrow stays on the link's line */
#footer a[href*="mentorsano"] { white-space: normal; }
/* the account pages: no white frame around the cards (they have their own) */
#my-account .page-content, .page-history .page-content, #history .page-content { background: transparent; border: 0; box-shadow: none; padding: 0; }
@media (min-width: 768px) { .mn-acc-hello { display: none; } }

/* quick filter chips (products-top.tpl + category.tpl) */
.mn-quick { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 4px; }
.mn-quick::-webkit-scrollbar { display: none; }
.mn-quick[hidden] { display: none; }
.mn-quick__chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: var(--mn-radius-pill); border: 1.5px solid var(--mn-mint-300); background: var(--mn-mint-50); color: var(--mn-forest); font-weight: 800; font-size: 13.5px; cursor: pointer; }
.mn-quick__chip span { font-weight: 600; color: var(--mn-muted); font-size: 12px; }
.mn-quick__chip:hover { border-color: var(--mn-green); }
.mn-quick__chip.is-on { background: var(--mn-forest); border-color: var(--mn-forest); color: #FFFFFF; }
.mn-quick__chip.is-on span { color: #BFE3CB; }
/* diet badges on cards (_mn-card-diet.tpl) */
.mn-diet-row { display: flex; flex-wrap: wrap; gap: 4px; margin: 2px 0 0; }
.mn-diet { display: inline-block; padding: 1px 8px; border-radius: var(--mn-radius-pill); font-size: 11.5px; font-weight: 800; line-height: 1.6; background: var(--mn-mint-100); color: var(--mn-green-text); }
.mn-diet--bio { background: #E8F5D6; color: #3F6B12; }
.mn-diet--fără-zahăr, .mn-diet--fără-gluten, .mn-diet--fără-lactoză { background: var(--mn-blue-50); color: var(--mn-blue-text); }
/* "Cumpărat de N ori în ultima lună" (mn-product-delivery.tpl) */
.mn-bought { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 14px; color: var(--mn-ink-2); }
.mn-bought svg { color: var(--mn-green-text); flex: none; }
.mn-bought strong { color: var(--mn-ink); }
/* "Parcursul meu" → MentorSano: marked as an outside link */
.mn-acc-nav a.mn-acc-nav__ext span { display: flex; flex-direction: column; line-height: 1.25; }
.mn-acc-nav a.mn-acc-nav__ext small, .mn-ext-tag { font-size: 11.5px; font-weight: 700; color: var(--mn-green-text); }
.mn-ext-tag { display: block; margin-top: 2px; text-transform: none; }

/* account coupons (customer/_partials/mn-coupons.tpl) */
.mn-coupons__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)); gap: 10px; }
@media (max-width: 575px) { .mn-coupons__list { grid-template-columns: 1fr; } }
.mn-coupon { display: flex; align-items: stretch; border: 1.5px dashed var(--mn-mint-300); border-radius: 16px; overflow: hidden; background: #FFFFFF; }
.mn-coupon__value { flex: 0 0 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 12px 6px; background: var(--mn-orange-50); color: var(--mn-orange-text); text-align: center; line-height: 1.15; font-size: 12.5px; font-weight: 700; }
.mn-coupon__value strong { font-size: 30px; font-weight: 800; color: var(--mn-forest); }
.mn-coupon__value .material-icons { font-size: 30px; color: var(--mn-forest); }
.mn-coupon__body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 3px; padding: 12px 12px; min-width: 0; }
.mn-coupon__name { font-size: 14.5px; color: var(--mn-ink); }
.mn-coupon__desc { font-size: 12.5px; color: var(--mn-muted); line-height: 1.35; }
.mn-coupon__code { font-size: 12.5px; color: var(--mn-ink-2); }
.mn-coupon__code b { letter-spacing: .04em; color: var(--mn-forest); }
.mn-coupon__act { flex: none; display: flex; align-items: center; padding: 10px 12px 10px 0; }
.mn-coupon__apply { height: 40px; padding: 0 16px; border-radius: var(--mn-radius-pill); background: #FFFFFF; border: 2px solid var(--mn-forest); color: var(--mn-forest); font-weight: 800; font-size: 13.5px; white-space: nowrap; }
.mn-coupon__apply:hover { background: var(--mn-forest); color: #FFFFFF; }
.mn-coupon__used { font-size: 13px; font-weight: 800; color: var(--mn-muted); }
.mn-coupon.is-used { opacity: .6; }
.mn-coupons__msg { margin: 10px 0 0; font-size: 13.5px; color: var(--mn-green-text); font-weight: 700; min-height: 0; }
.mn-coupons__msg:empty { display: none; }
/* „Recomandarea farmacistului”: the products chosen for the customer (gurufeatures::mnRecoFarmCoupon) */
.mn-coupon__prods { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.mn-coupon__prod { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 12px; background: var(--mn-mint-50); color: var(--mn-ink); text-decoration: none; }
.mn-coupon__prod:hover { background: var(--mn-mint-100); color: var(--mn-ink); }
.mn-coupon__prod img { flex: none; width: 56px; height: 56px; object-fit: contain; border-radius: 8px; background: #FFFFFF; }
.mn-coupon__prod-name { flex: 1 1 auto; min-width: 0; font-size: 13px; font-weight: 600; line-height: 1.3; }
.mn-coupon__prod-price { flex: none; text-align: right; font-size: 12.5px; line-height: 1.3; }
.mn-coupon__prod-price s { color: var(--mn-muted); display: block; }
.mn-coupon__prod-price b { color: var(--mn-sale); font-size: 14px; }
@media (max-width: 575px) {
  .mn-coupon { flex-wrap: wrap; }
  .mn-coupon__value { flex-basis: 84px; }
  .mn-coupon__body { flex-basis: calc(100% - 84px); }
  .mn-coupon__act { width: 100%; padding: 0 12px 12px; }
  .mn-coupon__apply { width: 100%; }
}

/* price per unit + other sizes (mn-sizes.tpl, cards) */
.mn-unit-price { margin: 2px 0 10px; font-size: 14px; color: var(--mn-muted); font-weight: 600; }
.mn-card-unit { font-size: 12px; color: var(--mn-muted); font-weight: 600; margin-top: 2px; }
.mn-sizes { margin: 4px 0 14px; }
.mn-sizes__title { display: block; font-size: 13.5px; font-weight: 800; color: var(--mn-ink); margin-bottom: 6px; }
.mn-sizes__list { display: flex; flex-wrap: wrap; gap: 8px; }
.mn-size { position: relative; display: flex; flex-direction: column; min-width: 112px; padding: 9px 12px 8px; border: 1.5px solid var(--mn-line); border-radius: 14px; background: #FFFFFF; color: var(--mn-ink); text-decoration: none !important; line-height: 1.25; }
a.mn-size:hover { border-color: var(--mn-green); color: var(--mn-ink); }
.mn-size.is-current { border-color: var(--mn-forest); box-shadow: inset 0 0 0 1px var(--mn-forest); background: var(--mn-mint-50); }
.mn-size__label { font-size: 14px; font-weight: 800; }
.mn-size__price { font-size: 14px; font-weight: 700; }
.mn-size__unit { font-size: 12px; color: var(--mn-muted); }
.mn-size__best { margin-top: 4px; align-self: flex-start; padding: 1px 8px; border-radius: var(--mn-radius-pill); background: var(--mn-mint-100); color: var(--mn-green-text); font-size: 11px; font-weight: 800; }


/* "Continuă cu Google" (variant B, 31.10.2026): Google draws the button in an iframe; we only frame it */
.mn-gsi { max-width: 400px; margin: 0 auto 18px; text-align: center; }
.mn-gsi-btn { min-height: 44px; display: flex; justify-content: center; }
.mn-gsi.is-busy .mn-gsi-btn { opacity: .5; pointer-events: none; }
.mn-gsi-msg { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: #fdecea; color: #8a1f11; font-size: 13px; }
.mn-gsi-note { margin: 6px 0 0; font-size: 12px; color: #6b7a70; }
.mn-gsi-or { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; color: #6b7a70; font-size: 13px; }
.mn-gsi-or::before, .mn-gsi-or::after { content: ""; flex: 1; height: 1px; background: #dfe7e2; }
/* "Continuă cu Facebook" (variant B, 31.10.2026): same size and shape as Google's large pill button */
.mn-fb-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 400px; min-height: 40px; margin: 0 auto; padding: 0 16px; border: 0; border-radius: 20px; background: #1877F2; color: #fff; font: 500 14px/1.2 inherit; font-family: inherit; cursor: pointer; }
.mn-fb-btn[hidden] { display: none; }
.mn-fb-btn:hover { background: #166fe5; }
.mn-fb-btn:focus-visible { outline: 3px solid #9cc3fb; outline-offset: 2px; }
.mn-fb-btn.is-busy { opacity: .5; pointer-events: none; }
.mn-gsi-btn + .mn-fb-btn { margin-top: 10px; }

/* Passkeys (31.10.2026): "Intră cu cheia de acces" under the Google / Facebook buttons, and the account card */
.mn-pk-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 400px; min-height: 40px;
  margin: 10px auto 0; padding: 8px 16px; border: 1px solid #dadce0; border-radius: 999px; background: #fff; color: #1f1f1f;
  font: 500 14px/1.2 inherit; cursor: pointer; }
.mn-pk-btn:hover { background: #f6faf7; border-color: #c4d3c8; }
.mn-pk-btn.is-busy { opacity: .6; pointer-events: none; }
.mn-pk-btn[hidden] { display: none; }
.mn-pk-card .mn-pk-text { margin: 0 0 12px; color: var(--mn-muted, #5f6b63); }
.mn-pk-list { list-style: none; margin: 0 0 12px; padding: 0; }
.mn-pk-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--mn-line, #e3e8e4); font-size: 14px; }
.mn-pk-del { background: none; border: 0; padding: 4px 0; color: #a23b2a; font-size: 13.5px; cursor: pointer; text-decoration: underline; }
.mn-pk-msg { margin: 10px 0 0; font-size: 14px; color: var(--mn-green, #1f7a4d); }
.mn-pk-card .mn-pk-add { background: #fff; color: var(--mn-green-text); border: 2px solid var(--mn-green); border-radius: 999px;
  padding: 9px 20px; font-size: 14.5px; font-weight: 700; text-transform: none; box-shadow: none; }
.mn-pk-card .mn-pk-add:hover { background: var(--mn-green); color: var(--mn-on-green); }
.mn-pk-card .mn-pk-add:disabled { opacity: .6; }

/* ---------- The shop as a phone app: "Instalează aplicația" strip (mn-app.js, 01.11.2026) ---------- */
/* at the bottom edge (no tab bar since 02.11.2026), under the sticky add-to-cart's z-index */
.mn-app-banda { position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 998;
  max-width: 460px; margin: 0 auto; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 8px;
  background: #FFFFFF; color: var(--mn-forest); border: 1px solid var(--mn-line); border-radius: 14px;
  box-shadow: 0 8px 24px rgba(19, 38, 27, .16); font-size: 13.5px; line-height: 1.3; }
.mn-app-banda img { width: 32px; height: 32px; border-radius: 8px; flex: none; }
.mn-app-banda__text { flex: 1; min-width: 0; }
.mn-app-banda button { border: 0; background: none; cursor: pointer; flex: none; font: inherit; text-transform: none; box-shadow: none; }
.mn-app-banda .mn-app-banda__da { background: var(--mn-green); color: var(--mn-on-green); font-weight: 700; border-radius: 999px; padding: 7px 13px; }
.mn-app-banda .mn-app-banda__nu { color: inherit; font-size: 20px; line-height: 1; padding: 4px 8px; opacity: .6; }
@media (min-width: 768px) { .mn-app-banda { bottom: 16px; } }
@media (max-width: 767.98px) { body.mn-app-on .float { bottom: calc(76px + env(safe-area-inset-bottom)) !important; } }

/* ---------- Sandwich menu: Contul meu + Favorite at the top, quiz hub below (st-menu-left.tpl, 02.11.2026) ---------- */
.mn-menu-cont { display: flex; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--mn-line); }
.mn-menu-cont a { flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
  border: 1px solid var(--mn-line); border-radius: 14px; background: var(--mn-mint-50); color: var(--mn-ink);
  font-weight: 700; font-size: 14.5px; text-decoration: none; }
.mn-menu-cont a:hover, .mn-menu-cont a:focus { color: var(--mn-green-text); border-color: var(--mn-green); text-decoration: none; }
.mn-menu-cont svg { color: var(--mn-green-text); flex: none; }
.mn-menu-chestionare { display: block; padding: 11px 16px 11px 32px; border-top: 1px solid var(--mn-line);
  color: var(--mn-ink); font-weight: 600; text-decoration: none; }
.mn-menu-chestionare:hover, .mn-menu-chestionare:focus { color: var(--mn-green-text); background: var(--mn-mint-50); text-decoration: none; }

/* =====================================================================
 * Phone UX pass (Adi, 04.11.2026): header height, section titles, cards, sort, product page.
 * Everything below is variant B only (this file is loaded only by ZOneTheme).
 * ===================================================================== */

/* launch notice: one short line on phones, with a close button (header.tpl, 30 days in localStorage) */
.mn-redesign__x { flex: none; background: none; border: 0; box-shadow: none; color: #FFFFFF; opacity: .75;
  font-size: 22px; line-height: 1; padding: 0 4px; cursor: pointer; text-transform: none; }
.mn-redesign__x:hover, .mn-redesign__x:focus { opacity: 1; }
@media (max-width: 767px) {
  .mn-redesign__row { justify-content: flex-start; text-align: left; gap: 8px; padding-top: 5px; padding-bottom: 5px; }
  .mn-redesign__narrow { flex: 1 1 auto; min-width: 0; }
}

/* mint info bar on phones: one line, the two messages take turns (was two lines) */
@media (max-width: 767.98px) {
  .mn-infobar__row { display: grid; place-items: center; height: 30px; padding-top: 0; padding-bottom: 0; overflow: hidden; }
  .mn-infobar__row > * { grid-area: 1 / 1; }
  .mn-infobar__msg { white-space: nowrap; animation: mnInfobarSwap 10s ease-in-out infinite; }
  .mn-infobar__msg--2 { animation-delay: -5s; }
  @keyframes mnInfobarSwap {
    0%, 44% { opacity: 1; transform: none; }
    50%, 94% { opacity: 0; transform: translateY(-8px); }
    100% { opacity: 1; transform: none; }
  }
}
@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {
  .mn-infobar__msg { animation: none; }
  .mn-infobar__msg--2 { display: none; }
}

/* section titles: the theme's fixed 20px line-height made two-line titles overlap */
.mn-section__title { line-height: 1.15; }

/* homepage list blocks ("Filtre de apă", "Ulei de măsline…") on phones: the text button was squeezed into
   the 44 px round-icon rule meant for grid cards */
@media (max-width: 991px), (hover: none) {
  .product-list .list .product-miniature .add-to-cart-button .add-to-cart.js-ajax-add-to-cart {
    width: auto; height: 42px; padding: 0 18px; gap: 8px; border-radius: var(--mn-radius-pill);
    display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; font-size: 14px; font-weight: 800;
  }
}

/* grid cards on phones: the price no longer runs into the round cart button */
@media (max-width: 575.98px) {
  .product-list .grid .product-miniature .product-price { font-size: 16px; letter-spacing: -.01em; white-space: nowrap; }
  .product-list .grid .product-miniature .second-block .second-block-wrapper { padding-right: 48px; }
  .product-list .grid .product-miniature .mn-card-unit { font-size: 11.5px; }
}
/* the truck / MN1 / MN2 chip on the photo means nothing to a customer on a phone; the stock line says it in words */
@media (max-width: 767.98px) {
  .product-list .product-miniature .df_stock_per_location_block { display: none !important; }
}

/* category: Filtre + an "Ordonează" dropdown on one row on phones (sort-orders.tpl); the generic
   "<categorie> - descopera oferta…" subtitle is hidden there */
.mn-sort__select-wrap { display: none; margin: 0; }
@media (max-width: 767px) {
  .category-header-h2 { display: none; }
  .products-selection .filter-button { flex: 0 0 auto; max-width: none; width: auto; padding-right: 0; }
  .products-selection .products-sort-order { flex: 1 1 0; max-width: none; order: 3; margin-top: 0; min-width: 0; }
  .mn-sort__chips { display: none; }
  .mn-sort { width: 100%; }
  .mn-sort__select-wrap { display: block; width: 100%; }
  .mn-sort__select {
    width: 100%; height: 40px; padding: 0 36px 0 16px; border-radius: var(--mn-radius-pill);
    border: 2px solid var(--mn-line); background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2313261B' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
    -webkit-appearance: none; appearance: none; color: var(--mn-ink); font-weight: 700; font-size: 14.5px; font-family: inherit;
  }
}

/* product page on phones */
@media (max-width: 767.98px) {
  /* full width: the white card with its own border and padding cost ~30 px of text width */
  #product .main-product-details { margin-left: -15px; margin-right: -15px; border-radius: 0; border-left: 0; border-right: 0; padding: 16px 15px; }
  /* internal stock details: "Stoc sincronizat: azi la …" and the supplier quantity; the shop stock stays */
  #product .product_stock_info_details_title,
  #product .product_stock_info_ul li[data-id_ai_feed="9999"] { display: none; }
  #product .product_stock_info_details:not(:has(li:not([data-id_ai_feed="9999"]))) { display: none; }
  /* free delivery is already in the delivery box right above: two trust tiles with room to breathe */
  .mn-buy-trust { grid-template-columns: 1fr 1fr; }
  .mn-buy-trust li:first-child { display: none; }
  .mn-buy-trust li { font-size: 12px; padding: 10px 12px; }
  .mn-buy-trust li strong { font-size: 13.5px; }
  /* the reassurance icon list at the end repeated delivery / returns a third time */
  #product #block-reassurance { display: none; }
  /* blocks that sit directly in a .row (no column padding) keep the 15 px page gutter */
  #product .main-product-details > .row > .product-additional-info { padding-left: 15px; padding-right: 15px; }
  #product .product-questions-hook { flex: 0 0 calc(100% - 30px); max-width: calc(100% - 30px); margin: 24px 15px; padding: 20px 16px; }
  /* reference / EAN: left aligned like the rest of the text */
  #product .product-attributes, #product .text-right:has(> .product-attributes) { text-align: left !important; }
  #product .product-attributes .attribute-item { display: flex; justify-content: flex-start; gap: 8px; }
  #product .product-attributes .attribute-item label { min-width: 80px; margin: 0; }
  /* reviews: bigger tap targets for the two links */
  #gsr a { display: inline-block; padding: 8px 0; font-size: 14px; }
  /* WhatsApp button a bit smaller: it covered the title and the delivery box */
  .float { width: 50px !important; height: 50px !important; right: 12px !important; margin-right: 0 !important; }
  .float .my-float { font-size: 26px; margin-top: 12px !important; }
}

/* ---------- Footer tidy (Adi, 04.11.2026): centred bottom band, flush link lists, Informații in two columns ---------- */
#footer .footer-bottom { padding-bottom: 22px; }
#footer .footer-bottom .mn-footer-note { padding-top: 20px; }
#footer .footer-bottom .copyright-payment { padding-top: 10px; margin-top: 12px; border-top: 1px solid rgba(179, 214, 191, .18); }
#footer .footer-bottom .copyright-payment .row { justify-content: center; }
#footer .footer-bottom .copyright-payment .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; }
#footer .footer-bottom .copyright-payment p { text-align: center !important; }
/* the theme put an (invisible) FontAwesome chevron before each link: it indented the first line only */
#footer .footer-menu .linklist li a::before { content: none; }
#footer .footer-menu .linklist ul { padding-left: 0; margin: 0; }
#footer .footer-menu .linklist li { margin-bottom: 0; padding: 5px 0; break-inside: avoid; line-height: 1.35; }
#footer .footer-menu .linklist li.mn-consult { padding-top: 12px; }
#footer .footer-menu .linklist ul:first-of-type { column-gap: 24px; }
.footer-menu > .row > .linklist:first-child ul { columns: 2; }
@media (min-width: 992px) {
  .footer-menu > .row > .linklist:first-child { flex: 0 0 62%; max-width: 62%; }
  .footer-menu > .row > .linklist:nth-child(2) { flex: 0 0 38%; max-width: 38%; }
  .footer-menu > .row > .linklist:nth-child(2) > .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; }
}
@media (max-width: 767.98px) {
  /* the floating WhatsApp button must not sit on the copyright line */
  #footer .footer-bottom { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  #footer .footer-bottom .copyright-payment p { font-size: 12.5px; }
}
@media (max-width: 991.98px) {
  .footer-menu > .row > .linklist:nth-child(2) { margin-top: 18px; }
  #footer .footer-menu .linklist li { padding: 7px 0; }
}
