/* =============================================================
   MACAROMA — MOBILE NAVIGATION DRAWER (hamburger, up to 1300px)
   One shared file for every page type. Mirrors the cart drawer
   (#mac-cart-ui): same header bar, close button, borders, pills
   and timing — but opens from the left, where the hamburger is.
   Markup: inc/mobile-nav.php. Behaviour: assets/js/theme.js.
   ============================================================= */
.mac-site-header .mac-mnav { display: none; }

/* Hamburger icon: three lines that "breathe" on hover and fold into an X while the drawer
   opens (then fade, the drawer has its own close button); closing reverses it. Colour comes
   from the summary's `color`, so the white-on-hero and black states keep working. */
.mac-site-header .mac-burger { position: relative; display: block; width: 24px; height: 24px; }
.mac-site-header .mac-burger > span {
  position: absolute; left: 3px; width: 18px; height: 1.6px; border-radius: 2px; background: currentColor;
  transform-origin: 50% 50%;
  transition: transform .45s cubic-bezier(.7, 0, .2, 1), width .35s cubic-bezier(.3, 1, .3, 1), opacity .25s ease;
}
.mac-site-header .mac-burger > span:nth-child(1) { top: 5.2px; }
.mac-site-header .mac-burger > span:nth-child(2) { top: 11.2px; width: 13px; transition-delay: 0s, .05s, 0s; }
.mac-site-header .mac-burger > span:nth-child(3) { top: 17.2px; transition-delay: 0s, .1s, 0s; }
@media (hover: hover) and (pointer: fine) {
  .mac-site-header .mac-menu-toggle > summary:hover { opacity: 1; }
  .mac-site-header .mac-menu-toggle:not([open]) > summary:hover .mac-burger > span:nth-child(1) { width: 12px; }
  .mac-site-header .mac-menu-toggle:not([open]) > summary:hover .mac-burger > span:nth-child(2) { width: 18px; }
  .mac-site-header .mac-menu-toggle:not([open]) > summary:hover .mac-burger > span:nth-child(3) { width: 15px; }
}
.mac-site-header .mac-menu-toggle[open] .mac-burger > span:nth-child(1) { width: 18px; transform: translateY(6px) rotate(45deg); }
.mac-site-header .mac-menu-toggle[open] .mac-burger > span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mac-site-header .mac-menu-toggle[open] .mac-burger > span:nth-child(3) { width: 18px; transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 767px) {
  .mac-site-header .mac-burger { width: 22px; height: 22px; }
  .mac-site-header .mac-burger > span { left: 2.75px; width: 16.5px; }
  .mac-site-header .mac-burger > span:nth-child(1) { top: 4.7px; }
  .mac-site-header .mac-burger > span:nth-child(2) { top: 10.2px; width: 12px; }
  .mac-site-header .mac-burger > span:nth-child(3) { top: 15.7px; }
  .mac-site-header .mac-menu-toggle[open] .mac-burger > span:nth-child(1) { width: 16.5px; transform: translateY(5.5px) rotate(45deg); }
  .mac-site-header .mac-menu-toggle[open] .mac-burger > span:nth-child(3) { width: 16.5px; transform: translateY(-5.5px) rotate(-45deg); }
}
@media (max-width: 1300px) {
  /* Let the X be seen folding, then fade it under the arriving drawer; while closing it
     comes back as an X over the leaving drawer and unfolds into three lines. */
  .mac-site-header .mac-menu-toggle > summary { transition: opacity .25s ease; }
  .mac-site-header .mac-menu-toggle[open]:not(.is-closing) > summary { opacity: 0; pointer-events: none; transition: opacity .25s ease .3s; }
}
@media (prefers-reduced-motion: reduce) {
  .mac-site-header .mac-burger > span, .mac-site-header .mac-menu-toggle > summary { transition-duration: .01ms !important; transition-delay: 0s !important; }
}

@media (max-width: 1300px) {
  .mac-site-header .mac-mnav {
    --mn-ink: #241A22;
    --mn-pink: #EDA5C8;
    --mn-line: #ddd3d5;
    --mn-pad: 19px;
    position: fixed; inset: 0 auto 0 0; z-index: 100001;
    display: flex; flex-direction: column;
    width: min(100vw, 480px); height: 100vh; height: 100dvh;
    overflow: hidden; box-sizing: border-box;
    border-radius: 0 22px 22px 0; background: #e9e7e7; color: var(--mn-ink);
    box-shadow: 12px 0 38px rgba(0, 0, 0, .10);
    font-family: 'Montserrat', sans-serif; text-align: left;
    transform: translateX(-102%); visibility: hidden; pointer-events: none;
    transition: transform .6s cubic-bezier(.7, 0, .2, 1), visibility 0s .6s;
  }
  .mac-site-header .mac-menu-toggle[open] > .mac-mnav {
    transform: translateX(0); visibility: visible; pointer-events: auto;
    transition: transform .6s cubic-bezier(.7, 0, .2, 1), visibility 0s;
  }
  .mac-site-header .mac-menu-toggle[open].is-closing > .mac-mnav {
    transform: translateX(-102%); visibility: visible; pointer-events: none;
  }
  .mac-site-header .mac-mnav *, .mac-site-header .mac-mnav *::before, .mac-site-header .mac-mnav *::after { box-sizing: border-box; }
  .mac-site-header .mac-mnav a { color: inherit; text-decoration: none; }
  .mac-site-header .mac-mnav button { font-family: inherit; cursor: pointer; }
  .mac-site-header .mac-mnav svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .mac-site-header .mac-mnav :is(a, button, summary):focus-visible { outline: 2px solid #000; outline-offset: 3px; }

  /* Header bar — same as the cart's. */
  .mac-site-header .mac-mnav__head {
    flex: 0 0 auto; min-height: 85px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 22px max(var(--mn-pad), env(safe-area-inset-right)) 18px max(var(--mn-pad), env(safe-area-inset-left));
    border-bottom: 1px solid var(--mn-line);
  }
  .mac-site-header .mac-mnav__brand { display: inline-flex; align-items: center; min-width: 0; min-height: 44px; }
  .mac-site-header .mac-mnav__brand img { display: block; width: 152px; max-width: 100%; height: auto; max-height: 44px; object-fit: contain; }
  .mac-site-header .mac-mnav__close {
    flex: none; width: 39px; height: 39px; display: grid; place-items: center; padding: 0;
    border: 1px solid var(--mn-line); border-radius: 50%; background: transparent; color: #000;
    transition: background .2s, color .2s;
  }
  .mac-site-header .mac-mnav__close:hover { background: #000; color: #fff; }
  .mac-site-header .mac-mnav__close svg { width: 15px; height: 15px; stroke-width: 1.6; }

  /* Original list and utility row: no promotion card occupies the open space. */
  .mac-site-header .mac-mnav__scroll {
    flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column;
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  }
  .mac-site-header .mac-mnav__list { list-style: none; margin: 0; padding: 4px max(var(--mn-pad), env(safe-area-inset-right)) 0 max(var(--mn-pad), env(safe-area-inset-left)); }
  .mac-site-header .mac-mnav__list > li { margin: 0; border-bottom: 1px solid var(--mn-line); }
  .mac-site-header .mac-mnav__list > li:last-child { border-bottom: 0; }
  .mac-site-header .mac-mnav__link {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    width: 100%; min-height: 58px; margin: 0; padding: 6px 0; border: 0; background: none;
    color: var(--mn-ink); font-size: 22px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em;
    text-align: left; text-transform: none;
  }
  .mac-site-header .mac-mnav__toggle svg { flex: none; width: 20px; height: 20px; transition: transform .35s cubic-bezier(.3, 1, .3, 1); }
  .mac-site-header .mac-mnav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .mac-site-header .mac-mnav__tag { flex: none; padding: 5px 10px; border-radius: 999px; background: var(--mn-pink); color: #000; font-size: 10px; font-weight: 800; line-height: 1; letter-spacing: .08em; text-transform: uppercase; }

  /* Sub-menu: height animates through grid rows, so it opens without a jump. */
  .mac-site-header .mac-mnav__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.3, 1, .3, 1); }
  .mac-site-header .mac-mnav__toggle[aria-expanded="true"] + .mac-mnav__sub { grid-template-rows: 1fr; }
  .mac-site-header .mac-mnav__sub > ul { min-height: 0; overflow: hidden; list-style: none; margin: 0; padding: 0; }
  .mac-site-header .mac-mnav__sub li { margin: 0; }
  .mac-site-header .mac-mnav__sub li:last-child { padding-bottom: 12px; }
  .mac-site-header .mac-mnav__sub a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 4px 0 4px 16px; font-size: 17px; font-weight: 600; line-height: 1.2; }
  .mac-site-header .mac-mnav__count { flex: none; color: rgba(0, 0, 0, .45); font-size: 12px; font-weight: 500; }

  /* Utility tiles — like the cart's Бележка / Доставка / Отстъпка row. */
  .mac-site-header .mac-mnav__utils { display: grid; grid-template-columns: repeat(3, 1fr); margin-block: auto; }
  .mac-site-header .mac-mnav__util {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    min-height: 92px; margin: 0; padding: 12px 4px; border: 0; background: none;
    color: #000; font-size: 12px; font-weight: 600; line-height: 1.2;
  }
  .mac-site-header .mac-mnav__util-icon { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #f3e3f5; }
  .mac-site-header .mac-mnav__util:nth-child(2) .mac-mnav__util-icon { background: #dcf1ea; }
  .mac-site-header .mac-mnav__util:nth-child(3) .mac-mnav__util-icon { background: #fde2ea; }
  .mac-site-header .mac-mnav__util-icon svg { width: 20px; height: 20px; }
  .mac-site-header .mac-mnav__util-icon .mac-cart-count { top: -5px; right: -6px; }

  /* Sticky footer — two pills like the cart's, then socials and e-mail. */
  .mac-site-header .mac-mnav__foot {
    flex: 0 0 auto; border-top: 1px solid var(--mn-line);
    padding: 18px max(var(--mn-pad), env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) max(var(--mn-pad), env(safe-area-inset-left));
  }
  .mac-site-header .mac-mnav__cta { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; }
  .mac-site-header .mac-mnav__pill {
    display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 54px; padding: 10px 8px;
    border: 1.5px solid var(--mn-pink); border-radius: 999px; background: transparent;
    color: #000; font-size: 12px; font-weight: 800; line-height: 1.2; text-align: center; text-transform: uppercase;
  }
  .mac-site-header .mac-mnav__pill--solid { background: var(--mn-pink); }
  .mac-site-header .mac-mnav__promo-trigger { width: 100%; gap: 7px; }
  .mac-site-header .mac-mnav__promo-trigger-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; }
  .mac-site-header .mac-mnav__promo-trigger-icon svg { width: 18px; height: 18px; transform-origin: 50% 15%; }
  .mac-site-header .mac-mnav__promo-badge { position: absolute; top: -10px; right: -10px; display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 3px; border: 1.5px solid #fff; border-radius: 999px; background: var(--mn-pink); color: #000; font-size: 10px; font-weight: 900; line-height: 1; }
  .mac-site-header .mac-menu-toggle[open] .mac-mnav__promo-trigger-icon svg { animation: mac-mnav-bell 4s ease-in-out infinite; }
  @keyframes mac-mnav-bell { 0%, 78%, 100% { transform: rotate(0); } 82%, 90% { transform: rotate(13deg); } 86%, 94% { transform: rotate(-13deg); } }
  .mac-site-header .mac-mnav__meta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 6px; margin-top: 8px; color: #000; }
  .mac-site-header .mac-mnav__meta a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 44px; min-height: 44px; font-size: 12px; font-weight: 500; }
  .mac-site-header .mac-mnav__mail { padding: 0 6px; }
  .mac-site-header .mac-mnav__meta svg { width: 18px; height: 18px; }
  .mac-site-header .mac-mnav__meta a:not(.mac-mnav__mail) svg { fill: currentColor; stroke: none; }

  /* Promotion popup uses the same panel, header and row language as the menu and cart. */
  .mac-site-header .mac-mnav__promo-popup {
    position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; min-height: 0;
    border-radius: inherit; background: #e9e7e7; color: var(--mn-ink);
    transform: translateX(102%); visibility: hidden; pointer-events: none;
    transition: transform .6s cubic-bezier(.7, 0, .2, 1), visibility 0s .6s;
  }
  .mac-site-header .mac-mnav--promos-open .mac-mnav__promo-popup {
    transform: translateX(0); visibility: visible; pointer-events: auto;
    transition: transform .6s cubic-bezier(.7, 0, .2, 1), visibility 0s;
  }
  .mac-site-header .mac-mnav__promo-head {
    flex: 0 0 auto; min-height: 85px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 22px max(var(--mn-pad), env(safe-area-inset-right)) 18px max(var(--mn-pad), env(safe-area-inset-left));
    border-bottom: 1px solid var(--mn-line);
  }
  .mac-site-header .mac-mnav__promo-heading { display: flex; align-items: center; min-width: 0; gap: 10px; }
  .mac-site-header .mac-mnav__promo-heading-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #f8dce9; }
  .mac-site-header .mac-mnav__promo-heading-icon svg { width: 21px; height: 21px; }
  .mac-site-header .mac-mnav__promo-heading h2 { margin: 0; font-size: 19px; font-weight: 900; line-height: 1.1; letter-spacing: -.04em; }
  .mac-site-header .mac-mnav__promo-count { display: grid; place-items: center; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px; background: var(--mn-pink); color: #000; font-size: 11px; font-weight: 800; }
  .mac-site-header .mac-mnav__promo-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 4px max(var(--mn-pad), env(safe-area-inset-right)) 24px max(var(--mn-pad), env(safe-area-inset-left)); }
  .mac-site-header .mac-mnav__promo-list { list-style: none; margin: 0; padding: 0; }
  .mac-site-header .mac-mnav__promo-list li { border-bottom: 1px solid var(--mn-line); }
  .mac-site-header .mac-mnav__promo-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding: 10px 0; font-size: 20px; font-weight: 800; line-height: 1.2; }
  .mac-site-header .mac-mnav__promo-list a span:last-child { flex: none; font-size: 28px; font-weight: 400; line-height: 1; }
  .mac-site-header .mac-mnav__promo-code-item { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; min-height: 94px; padding: 14px 0; }
  .mac-site-header .mac-mnav__promo-code-item > span:first-child { font-size: 19px; font-weight: 800; line-height: 1.2; }
  .mac-site-header .mac-mnav__promo-code-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
  .mac-site-header .mac-mnav__promo-code-actions strong { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border-radius: 999px; background: #f8dce9; color: #000; font-size: 14px; font-weight: 900; letter-spacing: .04em; }
  .mac-site-header .mac-mnav__promo-copy { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 6px 12px; border: 1px solid var(--mn-pink); border-radius: 999px; background: transparent; color: #000; font-size: 12px; font-weight: 800; }
  .mac-site-header .mac-mnav__promo-copy svg { width: 16px; height: 16px; }
  .mac-site-header .mac-mnav__promo-copy-status:empty { display: none; }
  .mac-site-header .mac-mnav__promo-copy-status { font-size: 12px; font-weight: 600; }

  @media (prefers-reduced-motion: reduce) {
    .mac-site-header .mac-mnav, .mac-site-header .mac-mnav__sub, .mac-site-header .mac-mnav__toggle svg, .mac-site-header .mac-mnav__promo-popup { transition-duration: .01ms !important; }
    .mac-site-header .mac-mnav__promo-trigger-icon svg { animation: none !important; }
  }
}

/* =============================================================
   TWO-TONE ICONS (header actions, menu tiles, promotions bell)
   Same language as the cart drawer's Бележка / Доставка / Отстъпка
   icons: coloured outline, soft fill, accent. Markup: macaroma_duo_icon().
   ============================================================= */
.mac-site-header .mac-ic { --i-ink: #8654B5; --i-soft: #FFF9FE; --i-acc: #F9B8CC; --i-hi: #A879CB; overflow: visible; }
.mac-site-header .mac-ic--account { --i-ink: #268878; --i-soft: #E9FFF5; --i-acc: #FFCE7F; --i-hi: #5DB9A6; }
.mac-site-header .mac-ic--cart { --i-ink: #C73F7A; --i-soft: #FFE9F1; --i-acc: #F9B6CF; --i-hi: #E58AB0; }
.mac-site-header .mac-ic--bell { --i-ink: #D07A3E; --i-soft: #FFF4E2; --i-acc: #FFCE7F; --i-hi: #EDB27F; }
.mac-site-header svg.mac-ic * { stroke: var(--i-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vector-effect: none; }
.mac-site-header svg.mac-ic .i-l { fill: none; }
.mac-site-header svg.mac-ic .i-f { fill: var(--i-soft); }
.mac-site-header svg.mac-ic .i-a { fill: var(--i-acc); }
.mac-site-header svg.mac-ic .i-h { fill: none; stroke: var(--i-hi); stroke-width: 1.6; }
.mac-site-header svg.mac-ic .i-grip { stroke-width: 3.4; }

/* Header: a touch larger than the old line icons, each on its own soft tile on hover. */
.mac-site-header .mac-main-header .mac-actions .mac-icon-link { position: relative; width: 34px; height: 36px; border-radius: 11px; transition: background-color .25s ease, opacity .2s ease; }
.mac-site-header .mac-main-header .mac-actions .mac-icon-link:hover,
.mac-site-header .mac-main-header .mac-actions .mac-icon-link:focus-visible,
.mac-site-header .mac-main-header .mac-bell__trigger[aria-expanded="true"] { opacity: 1; background: rgba(255, 255, 255, .72); }
.mac-site-header .mac-main-header .mac-actions .mac-icon-link svg.mac-ic { width: 26px; height: 26px; stroke: none; transition: transform .45s cubic-bezier(.3, 1, .3, 1); }
.mac-site-header .mac-main-header .mac-actions .mac-icon-link:hover svg.mac-ic { transform: translateY(-2px) rotate(-6deg) scale(1.06); }
.mac-site-header .mac-main-header .mac-actions { gap: clamp(2px, .7vw, 10px); }
.mac-site-header .mac-main-header .mac-actions .mac-cart-count { top: 0; right: -2px; border: 1.5px solid #fff; width: 18px; height: 18px; line-height: 15px; box-sizing: border-box; }
@media (max-width: 767px) {
  .mac-site-header .mac-main-header .mac-actions { gap: 0; }
  .mac-site-header .mac-main-header .mac-actions .mac-icon-link { width: 34px; height: 38px; }
  .mac-site-header .mac-main-header .mac-actions .mac-icon-link svg.mac-ic { width: 26px; height: 26px; }
  .mac-site-header .mac-main-header .mac-actions :is(.mac-cart-count, .mac-bell__badge) { right: -3px; }
}
@media (max-width: 380px) {
  .mac-site-header .mac-main-header .mac-actions .mac-icon-link { width: 31px; }
  .mac-site-header .mac-main-header .mac-actions .mac-icon-link svg.mac-ic { width: 24px; height: 24px; }
}

/* On a hero photo (white header) the icons become plain white outlines, as before. */
.mac-site-header.mac-header-on-hero:not(.mac-header-scrolled):not(:has(.mac-nav-dropdown:is(:hover, :focus-within))) .mac-main-header .mac-actions .mac-ic {
  --i-ink: #fff; --i-soft: transparent; --i-acc: transparent; --i-hi: rgba(255, 255, 255, .7);
}
.mac-site-header.mac-header-on-hero:not(.mac-header-scrolled):not(:has(.mac-nav-dropdown:is(:hover, :focus-within))) .mac-main-header .mac-actions .mac-icon-link:hover { background: rgba(255, 255, 255, .16); }

/* Promotions bell. */
.mac-site-header .mac-bell { position: relative; display: inline-flex; }
.mac-site-header .mac-bell__trigger { cursor: pointer; }
.mac-site-header .mac-bell__trigger svg.mac-ic { transform-origin: 50% 12%; animation: mac-bell-ring 6s ease-in-out 2s infinite; }
.mac-site-header .mac-bell__badge { position: absolute; top: 0; right: -2px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 3px; box-sizing: border-box; border: 1.5px solid #fff; border-radius: 999px; background: #EDA5C8; color: #000; font: 800 10px/1 'Montserrat', sans-serif; }
@keyframes mac-bell-ring { 0%, 84%, 100% { transform: rotate(0); } 87%, 93% { transform: rotate(12deg); } 90%, 96% { transform: rotate(-12deg); } }
.mac-site-header .mac-bell__panel {
  position: absolute; top: calc(100% + 14px); right: -12px; z-index: 1000; width: 340px; box-sizing: border-box;
  padding: 16px 20px 8px; border-radius: 22px; background: #e9e7e7; color: #241A22; text-align: left;
  box-shadow: 0 18px 44px rgba(36, 26, 34, .16); font-family: 'Montserrat', sans-serif;
  animation: mac-bell-pop .3s cubic-bezier(.3, 1, .3, 1);
}
.mac-site-header .mac-bell__panel[hidden] { display: none; }
@keyframes mac-bell-pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.mac-site-header .mac-bell__head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #ddd3d5; }
.mac-site-header .mac-bell__head h2 { margin: 0; color: inherit; font-size: 18px; font-weight: 900; line-height: 1.1; letter-spacing: -.04em; }
.mac-site-header .mac-bell__head .mac-mnav__promo-heading-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #FFE7CC; }
.mac-site-header .mac-bell__head svg.mac-ic { width: 25px; height: 25px; }
.mac-site-header .mac-bell__head .mac-mnav__promo-count { display: grid; place-items: center; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px; background: #EDA5C8; color: #000; font-size: 11px; font-weight: 800; }
.mac-site-header .mac-bell__panel .mac-mnav__promo-list { list-style: none; margin: 0; padding: 0; }
.mac-site-header .mac-bell__panel .mac-mnav__promo-list li { margin: 0; border-bottom: 1px solid #ddd3d5; }
.mac-site-header .mac-bell__panel .mac-mnav__promo-list li:last-child { border-bottom: 0; }
.mac-site-header .mac-bell__panel .mac-mnav__promo-list a { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; padding: 8px 0; color: inherit; font-size: 15px; font-weight: 800; line-height: 1.2; text-decoration: none; }
.mac-site-header .mac-bell__panel .mac-mnav__promo-list a span:last-child { flex: none; font-size: 22px; font-weight: 400; }
.mac-site-header .mac-bell__panel .mac-mnav__promo-code-item { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: 14px 0; }
.mac-site-header .mac-bell__panel .mac-mnav__promo-code-item > span:first-child { font-size: 15px; font-weight: 800; line-height: 1.2; }
.mac-site-header .mac-bell__panel .mac-mnav__promo-code-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.mac-site-header .mac-bell__panel .mac-mnav__promo-code-actions strong { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 12px; border-radius: 999px; background: #f8dce9; color: #000; font-size: 13px; font-weight: 900; letter-spacing: .04em; }
.mac-site-header .mac-bell__panel .mac-mnav__promo-copy { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 6px 12px; border: 1px solid #EDA5C8; border-radius: 999px; background: transparent; color: #000; font: 800 12px/1 'Montserrat', sans-serif; cursor: pointer; }
.mac-site-header .mac-bell__panel .mac-mnav__promo-copy svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mac-site-header .mac-bell__panel .mac-mnav__promo-copy-status { font-size: 12px; font-weight: 600; }
.mac-site-header .mac-bell__panel .mac-mnav__promo-copy-status:empty { display: none; }

/* Menu tiles and the promotions pill use the same icons, slightly larger. */
@media (max-width: 1300px) {
  .mac-site-header .mac-mnav__util-icon svg.mac-ic { width: 25px; height: 25px; }
  .mac-site-header .mac-mnav__util-icon { transition: transform .45s cubic-bezier(.3, 1, .3, 1); }
  .mac-site-header .mac-mnav__util:hover .mac-mnav__util-icon { transform: translateY(-3px) rotate(-6deg) scale(1.06); }
  .mac-site-header .mac-mnav__util:nth-child(1) .mac-mnav__util-icon { background: #EFDCF8; }
  .mac-site-header .mac-mnav__util:nth-child(2) .mac-mnav__util-icon { background: #D9F1E7; }
  .mac-site-header .mac-mnav__util:nth-child(3) .mac-mnav__util-icon { background: #FFDEEA; }
  .mac-site-header .mac-mnav__promo-trigger-icon svg.mac-ic { width: 22px; height: 22px; }
  .mac-site-header .mac-mnav__promo-heading-icon { background: #FFE7CC; }
  .mac-site-header .mac-mnav__promo-heading-icon svg.mac-ic { width: 25px; height: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .mac-site-header .mac-bell__trigger svg.mac-ic, .mac-site-header .mac-bell__panel { animation: none !important; }
}

/* Up to 1300px „Промоции“ lives in the hamburger menu, so the header bell is not repeated. */
@media (max-width: 1300px) {
  .mac-site-header .mac-main-header .mac-bell { display: none; }
}

/* Hamburger in the same language as the two-tone icons: thicker rounded lines, the short
   middle line in the brand pink as the accent, and the same soft tile on hover. Outer lines
   keep currentColor, so the white-on-hero header still works. */
.mac-site-header .mac-menu-toggle > summary { width: 38px; height: 38px; border-radius: 12px; transition: background-color .25s ease, opacity .25s ease; }
.mac-site-header .mac-burger > span { height: 2.2px; border-radius: 3px; }
.mac-site-header .mac-burger > span:nth-child(2) { background: #EDA5C8; }
@media (hover: hover) and (pointer: fine) {
  .mac-site-header .mac-menu-toggle:not([open]) > summary:hover { background: rgba(255, 255, 255, .72); }
}
@media (max-width: 767px) {
  .mac-site-header .mac-menu-toggle > summary { width: 36px; height: 36px; margin-left: -6px; }
  .mac-site-header .mac-burger > span { height: 2px; }
}

/* Header icons share one calm palette (ink outline, blush fill, brand-pink accent) so they sit
   with the logo; the coloured tiles stay only in the menu and cart drawer. */
.mac-site-header .mac-main-header .mac-actions .mac-icon-link .mac-ic { --i-ink: #241A22; --i-soft: #FFF5F9; --i-acc: #F6CFE0; --i-hi: #EDA5C8; }
/* Lighter weight than the drawer icons: thinner outline and grip, so they sit with the menu text. */
.mac-site-header .mac-main-header .mac-actions .mac-icon-link svg.mac-ic * { stroke-width: 1.55; }
.mac-site-header .mac-main-header .mac-actions .mac-icon-link svg.mac-ic .i-h { stroke-width: 1.5; }
.mac-site-header .mac-main-header .mac-actions .mac-icon-link svg.mac-ic .i-grip { stroke-width: 2.6; }

/* =============================================================
   TOP BAR — a pale strip (the active hero slide's tone on the home page,
   blush #F8E9EE elsewhere) with a delivery van that "drives in
   place" next to the announcement: it bobs, its wheels spin and the
   road runs beneath it. Markup: header.php (.mac-topbar__van).
   ============================================================= */
.mac-site-header {
  --mac-topbar-tint: var(--mac-hero-topbar-tint, #F8E9EE);
  /* Accent darkened a little so the 11–13px text stays readable on the pale tone. */
  --mac-topbar-ink: var(--mac-hero-topbar-ink, #241A22);
  --mac-topbar-text: color-mix(in srgb, var(--mac-topbar-ink) 72%, #000);
}
.mac-site-header .mac-topbar,
.mac-site-header .mac-topbar__inner { background-color: var(--mac-topbar-tint); color: var(--mac-topbar-text); transition: background-color .5s ease, color .5s ease; }
.mac-site-header .mac-topbar :is(.mac-topbar__text, .mac-topbar__ticker, .mac-topbar__ticker-line, .mac-socials, .mac-socials a, .mac-socials svg) { color: var(--mac-topbar-text); transition: color .5s ease; }
.mac-site-header .mac-topbar__text { display: inline-flex; align-items: center; gap: 10px; height: 28px; overflow: visible; }
.mac-site-header .mac-topbar__window { display: block; height: 20px; overflow: hidden; }
.mac-site-header .mac-topbar__van { position: relative; flex: none; display: block; width: 42px; height: 26px; }
.mac-site-header .mac-topbar__van svg { position: absolute; left: 4px; top: 0; width: 32px; height: 21px; overflow: visible; animation: mac-van-bob .35s ease-in-out infinite; }
.mac-site-header .mac-topbar__van svg * { stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; transition: fill .5s ease, stroke .5s ease; }
.mac-site-header .mac-van__body { fill: #fff; stroke: var(--mac-topbar-text); }
.mac-site-header .mac-van__cab { fill: var(--mac-topbar-ink); stroke: var(--mac-topbar-text); }
.mac-site-header .mac-van__glass { fill: #fff; stroke: none; }
.mac-site-header .mac-van__smile { fill: none; stroke: var(--mac-topbar-ink); stroke-width: 1.4; }
.mac-site-header .mac-topbar__wheel { fill: var(--mac-topbar-text); stroke: #fff; stroke-dasharray: 2 1.5; transform-box: fill-box; transform-origin: center; animation: mac-van-wheel .5s linear infinite; }
.mac-site-header .mac-topbar__road { position: absolute; left: 0; right: 0; bottom: 1px; height: 2px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--mac-topbar-ink) 0 8px, transparent 8px 12px); opacity: .7; animation: mac-van-road .4s linear infinite; }
@keyframes mac-van-bob { 50% { transform: translateY(-1px); } }
@keyframes mac-van-wheel { to { transform: rotate(360deg); } }
@keyframes mac-van-road { to { background-position: -12px 0; } }
@media (max-width: 767px) {
  .mac-site-header .mac-topbar__text { gap: 7px; }
  .mac-site-header .mac-topbar__van { width: 34px; height: 22px; }
  .mac-site-header .mac-topbar__van svg { left: 3px; width: 27px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .mac-site-header .mac-topbar__van svg, .mac-site-header .mac-topbar__wheel, .mac-site-header .mac-topbar__road { animation: none !important; }
}

/* On the pink TikTok Viral banner the pink middle line would vanish, so it turns white while
   the header is still transparent (PLAN 50). */
.mac-site-header.mac-header-on-tiktok:not(.mac-header-scrolled) .mac-burger > span:nth-child(2) { background: #fff; }

/* Promo description under "Промоция с промокод" (PLAN 53): bell panel and menu popup, two lines
   at most, the rest cut with an ellipsis. */
.mac-site-header .mac-mnav__promo-code-item .mac-mnav__promo-desc {
  display: -webkit-box;
  max-width: 100%;
  margin: -4px 0 2px;
  overflow: hidden;
  color: #5f5559;
  font: 500 13px/1.4 'Montserrat', sans-serif;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.mac-site-header .mac-bell__panel .mac-mnav__promo-code-item .mac-mnav__promo-desc { margin-top: -3px; font-size: 12.5px; }

/* PLAN 73: the "VIRAL" tag next to TikTok Viral in the burger menu – black, with the same chromatic glitch
   as "TIKTOK VIRAL" in the main navigation. */
.mac-site-header .mac-mnav__tag { background: #000; color: #fff; animation: macMnavViralGlitch .5s linear infinite; }
@keyframes macMnavViralGlitch {
  0%, 100% { text-shadow: -1px -1px 0 #0ff, 1px 1px 0 #f00; }
  25% { text-shadow: 1px 1px 0 #0ff, -1px -1px 0 #f00; }
  50% { text-shadow: 1px -1px 0 #0ff, -1px 1px 0 #f00; }
  75% { text-shadow: -1px 1px 0 #0ff, 1px -1px 0 #f00; }
}
@media (prefers-reduced-motion: reduce) {
  .mac-site-header .mac-mnav__tag { animation: none; }
}

/* PLAN 73–74: "Създай бъндъл" as a one-line pink card under the menu links (title, black "до −25%" pill, round
   arrow); the footer keeps only "Промоции". Short phones tighten the rows so the menu never needs to scroll. */
.mac-site-header .mac-mnav__bundle {
  display: flex; align-items: center; gap: 10px;
  margin: 12px max(var(--mn-pad, 20px), env(safe-area-inset-right)) 0 max(var(--mn-pad, 20px), env(safe-area-inset-left));
  padding: 12px 12px 12px 18px; border-radius: 18px; background: #EDA5C8; color: #111; text-decoration: none;
  transition: transform .2s ease;
}
.mac-site-header .mac-mnav__bundle:active { transform: scale(.98); }
.mac-site-header .mac-mnav__bundle-title { flex: 1 1 auto; min-width: 0; font: 900 20px/1 "Montserrat", Arial, sans-serif; letter-spacing: -.03em; white-space: nowrap; }
.mac-site-header .mac-mnav__bundle-badge { flex: none; padding: 6px 9px; border-radius: 999px; background: #111; color: #EDA5C8; font: 900 12px/1 "Montserrat", Arial, sans-serif; white-space: nowrap; }
.mac-site-header .mac-mnav__bundle-arrow { display: grid; flex: none; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #111; color: #fff; }
.mac-site-header .mac-mnav__cta { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 359px) {
  .mac-site-header .mac-mnav__bundle-title { font-size: 17px; }
}
@media (max-height: 760px) {
  .mac-site-header .mac-mnav__link { min-height: 50px; }
  .mac-site-header .mac-mnav__util { min-height: 78px; padding-block: 8px; }
  .mac-site-header .mac-mnav__bundle { margin-top: 10px; }
}
