/* =====================================================================
   theme_coffee — layout shell: top bar, header, nav, mega menu, search,
   drawer, cart dropdown, footer.  Owner: Foundation (DESIGN.md §3).
   Tokens come from coffee.css.  Logical properties only (RTL-safe).

   Hooks for page owners
   ---------------------
   --cz-header-h      height of the sticky main bar (84px desktop, 72px <992)
   --cz-topbar-h      height of the espresso top bar (34px desktop, 32px <992)
   --cz-sticky-top    = var(--cz-header-h): use `top: var(--cz-sticky-top)`
                        for anything that should stick just under the header
   #cz-header         the sticky <header> (position: sticky; top: -topbar)
   .cz-header.is-stuck  added by coffee.js once the page has scrolled
   body.cz-drawer-open  body class while the mobile drawer is open
   ===================================================================== */

:root {
  --cz-sticky-top: var(--cz-header-h);
  --cz-header-z: 1030;
}
@media (max-width: 991.98px) {
  :root { --cz-header-h: 72px; --cz-topbar-h: 32px; }
}

/* ---------- 0. legacy neutralisers --------------------------------- */
/* theme.css / style.css / custom.css hooks that must not fight the new shell */
.theme-coffee .__inline-10, .theme-coffee .__inline-9 { all: revert; }
.theme-coffee #announcement { font-size: 13px; font-weight: 600; }
.theme-coffee #announcement .__close-announcement { position: absolute; inset-inline-end: 16px; top: 50%; transform: translateY(-50%); cursor: pointer; font-weight: 700; }

body.cz-no-anim .cz-drawer, body.cz-no-anim .cz-drawer-backdrop, body.cz-no-anim .megamenu-wrap, body.cz-no-anim .cz-search { transition: none !important; }

/* ---------- 1. header shell ---------------------------------------- */
.cz-header {
  position: sticky;
  top: calc(-1 * var(--cz-topbar-h));
  z-index: var(--cz-header-z);
  font-family: var(--cz-font-body);
}
.cz-header__sentinel { position: absolute; top: 0; height: 1px; width: 1px; pointer-events: none; }

/* top bar */
.cz-topbar { background: var(--cz-espresso); color: var(--cz-cream-80); height: var(--cz-topbar-h); font-size: 12px; line-height: 1; }
.cz-topbar__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cz-topbar__side { display: flex; align-items: center; gap: 18px; min-width: 0; }
.cz-topbar__link, .cz-topbar a { color: var(--cz-cream-80); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.cz-topbar__link:hover, .cz-topbar a:hover { color: var(--cz-cream); }
.cz-topbar__text { white-space: nowrap; }
.cz-topbar__sep { width: 1px; height: 12px; background: var(--cz-cream-15); }
.cz-topbar .fa { font-size: 11px; }
.cz-topbar .dropdown-toggle { color: var(--cz-cream); font-weight: 600; cursor: pointer; }
.cz-topbar .dropdown-toggle::after { margin-inline-start: 4px; vertical-align: 1px; border-top-color: var(--cz-cream-60); }
.cz-topbar .dropdown-menu { margin-top: 6px; min-width: 170px; font-size: 13px; padding: 6px 0; }
.cz-topbar .dropdown-menu .dropdown-item, .cz-topbar .dropdown-menu li.dropdown-item { padding: 7px 14px; color: var(--cz-ink); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.cz-topbar .dropdown-menu img { width: 18px; height: auto; border-radius: 2px; }
.cz-topbar__lang img { width: 16px; height: auto; border-radius: 2px; }
.cz-topbar__hello { color: var(--cz-cream); font-weight: 600; }
@media (max-width: 991.98px) {
  .cz-topbar { font-size: 11px; }
  .cz-topbar__side { gap: 12px; }
  .cz-topbar__side--start .cz-topbar__text, .cz-topbar .cz-topbar__sep, .cz-topbar .cz-topbar__vendor { display: none !important; }
  .cz-topbar .dropdown-toggle { font-weight: 600; }
}
@media (max-width: 575.98px) {
  /* canvas 2g: mobile top bar = language + sign in only */
  .cz-topbar .cz-topbar__phone, .cz-topbar .cz-topbar__signup { display: none !important; }
  .cz-topbar__side--start { flex: 1 1 auto; }
}

/* main bar */
.cz-mainbar { background: var(--cz-cream); height: var(--cz-header-h); border-bottom: 1px solid var(--cz-ink-12); position: relative; transition: box-shadow .2s; }
.cz-header.is-stuck .cz-mainbar { box-shadow: 0 6px 18px -8px rgba(36, 26, 20, .28); }
.cz-mainbar__in { height: 100%; display: flex; align-items: center; gap: 18px; }

/* brand */
.cz-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none !important; color: var(--cz-ink); flex: none; min-width: 0; }
.cz-brand__img { display: block; height: 63px; width: auto; max-width: 260px; object-fit: contain; }
.cz-brand__mark { width: 34px; height: 34px; border-radius: 3px; background: repeating-conic-gradient(from -90deg at 50% 112%, var(--cz-brass) 0deg 2deg, var(--cz-espresso) 2deg 11.25deg); flex: none; }
.cz-brand__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cz-brand__name { font: 700 19px/1 var(--cz-font-display); letter-spacing: -.01em; color: var(--cz-ink); white-space: nowrap; }
.cz-brand__tag { font: 400 10px/1.4 var(--cz-font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cz-lacquer); white-space: nowrap; }
@media (max-width: 1199.98px) { .cz-brand__tag { display: none; } }
@media (max-width: 991.98px) {
  /* 228px is the size we want, but the bar also has to hold the burger (40px)
     and the three action buttons (126px); below ~430px the lockup has to give
     way or it pushes the cart and account icons off the screen. */
  .cz-brand__img { height: 55px; max-width: min(228px, calc(100vw - 200px)); }
  .cz-brand__mark { width: 26px; height: 26px; }
  .cz-brand__name { font-size: 15px; }
}

/* primary nav */
.cz-nav { flex: none; }
.cz-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.cz-nav__item { position: relative; }
.cz-nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 10px; border-radius: var(--cz-radius-sm);
  font: 600 14px/1 var(--cz-font-body); color: var(--cz-ink) !important; text-decoration: none !important; white-space: nowrap; transition: background .15s, color .15s;
}
.cz-nav__link:hover, .cz-nav__item.is-open > .cz-nav__link { background: var(--cz-ink-08); }
.cz-nav__link.is-active, .cz-nav__link--accent { color: var(--cz-lacquer) !important; }
.cz-nav__caret { width: 8px; height: 8px; border-inline-end: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .7; transition: transform .15s; }
.cz-nav__item.is-open .cz-nav__caret { transform: translateY(1px) rotate(-135deg); }
.cz-nav__count { font: 600 11px/1 var(--cz-font-mono); background: var(--cz-lacquer); color: #fff; padding: 3px 6px; border-radius: 999px; }
@media (max-width: 1199.98px) { .cz-nav__link { padding-inline: 8px; font-size: 13.5px; } .cz-mainbar__in { gap: 14px; } }
@media (max-width: 991.98px) { .cz-nav { display: none; } }

/* search */
.cz-search { flex: 1 1 340px; min-width: 0; position: relative; }
.cz-search__form { position: relative; display: flex; align-items: stretch; height: 42px; border: 1px solid var(--cz-ink-22); border-radius: var(--cz-radius-sm); background: var(--cz-white); transition: border-color .15s, box-shadow .15s; }
.cz-search__form:focus-within { border-color: var(--cz-lacquer); box-shadow: 0 0 0 3px rgba(158, 43, 37, .12); }
.cz-search__cat {
  flex: none; max-width: 118px; border: 0; border-inline-end: 1px solid var(--cz-ink-12); background: var(--cz-paper); color: var(--cz-ink); font: 600 12.5px/1 var(--cz-font-body);
  padding: 0 28px 0 12px; appearance: none; -webkit-appearance: none; cursor: pointer; border-start-start-radius: var(--cz-radius-sm); border-end-start-radius: var(--cz-radius-sm);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath fill='none' stroke='%23241A14' stroke-width='1.5' d='M1 1.5l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; text-overflow: ellipsis;
}
[dir=rtl] .cz-search__cat { background-position: left 10px center; padding: 0 12px 0 28px; }
.cz-search__cat:focus { outline: none; }
.cz-search__input.form-control, .cz-search__input { flex: 1 1 auto; min-width: 0; height: 100%; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 12px; font: 400 13.5px/1.3 var(--cz-font-body); color: var(--cz-ink); border-radius: 0; }
.cz-search__input::placeholder { color: var(--cz-ink-40); }
.cz-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.cz-search__btn { flex: none; width: 44px; border: 0; background: var(--cz-espresso); color: var(--cz-cream); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; border-start-end-radius: 2px; border-end-end-radius: 2px; transition: background .15s; }
.cz-search__btn:hover { background: var(--cz-lacquer); }
.cz-search__btn .czi-search::before, .cz-search__btn .czi { color: inherit; }
.cz-search .search-card { display: none; position: absolute; inset-inline: 0; top: calc(100% + 6px); z-index: 1040; background: var(--cz-white); border: 1px solid var(--cz-ink-12) !important; border-radius: var(--cz-radius) !important; box-shadow: var(--cz-shadow-lg) !important; padding: 0; overflow: hidden; margin: 0; }
.cz-search .search-card .card-body { padding: 6px 0; }
.cz-search .search-result-box { max-height: 400px; overflow-x: hidden; overflow-y: auto; }
.cz-search .search-result-box .list-group-item { border: 0; padding: 0 !important; }
.cz-search .search-result-box .search-result-product { display: flex !important; align-items: center; gap: 10px; width: 100%; padding: 9px 14px !important; font: 400 13.5px/1.3 var(--cz-font-body) !important; color: var(--cz-ink); text-align: start; border: 0; border-radius: 0; }
.cz-search .search-result-box .search-result-product:hover { background: var(--cz-cream); color: var(--cz-lacquer); }
.cz-search .search-result-box .search-result-product .czi-search { color: var(--cz-ink-40); font-size: 13px; }
.cz-search__close { display: none; }
@media (max-width: 1199.98px) { .cz-search { flex-basis: 220px; } .cz-search__cat { max-width: 110px; } }
@media (max-width: 991.98px) {
  /* mobile: collapsed by default, revealed by .open-search-form-mobile (custom.js toggles .active on .search-form-mobile) */
  .cz-header .cz-search.search-form-mobile {
    position: absolute; inset-inline: 0; top: 100%; left: auto; right: auto; padding: 10px 16px 12px; background: var(--cz-cream); border-bottom: 1px solid var(--cz-ink-12);
    box-shadow: 0 10px 24px -12px rgba(36, 26, 20, .35); z-index: 5; transition: transform .2s ease, opacity .2s ease; transform: none;
  }
  .cz-header .cz-search.search-form-mobile:not(.active) { transform: translateY(-8px); opacity: 0; pointer-events: none; visibility: hidden; }
  .cz-header .cz-search.search-form-mobile.active { opacity: 1; visibility: visible; }
  .cz-search__form { height: 44px; }
  .cz-search__cat { display: none; }
  .cz-search__close { display: inline-flex; align-items: center; padding: 0 12px; border: 0; background: transparent; color: var(--cz-ink-60); font: 600 13px/1 var(--cz-font-body); cursor: pointer; }
  .cz-search .search-card { inset-inline: 16px; }
}

/* actions */
.cz-actions { display: flex; align-items: center; gap: 8px; flex: none; margin-inline-start: auto; }
.cz-header__cta { padding: 11px 16px; font-size: 13px; }
.cz-header__cta--ghost { padding: 10px 14px; }
@media (max-width: 1199.98px) { .cz-header__cta { padding-inline: 12px; } .cz-header__cta .cz-hide-lg { display: none; } }
@media (max-width: 991.98px) { .cz-header__cta { display: none; } }
.cz-icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--cz-ink-12); background: var(--cz-white); color: var(--cz-ink) !important; font-size: 17px; cursor: pointer; text-decoration: none !important; transition: background .15s, border-color .15s; flex: none; padding: 0;
}
.cz-icon-btn:hover { background: var(--cz-espresso); border-color: var(--cz-espresso); color: var(--cz-cream) !important; }
.cz-icon-btn .czi, .cz-icon-btn .fa { line-height: 1; }
.cz-icon-btn__count { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--cz-lacquer); color: #fff; font: 700 10.5px/18px var(--cz-font-mono); text-align: center; border: 2px solid var(--cz-cream); box-sizing: content-box; }
.cz-icon-btn__avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.cz-burger { display: none; }
.cz-search-toggle { display: none; }
@media (max-width: 991.98px) {
  .cz-mainbar__in { gap: 10px; }
  .cz-actions { gap: 6px; }
  .cz-burger, .cz-search-toggle { display: inline-flex; }
  .cz-icon-btn { width: 38px; height: 38px; font-size: 16px; }
  .cz-icon-btn--wish { display: none; }
  .cz-burger { border-color: transparent; background: transparent; font-size: 20px; width: 40px; margin-inline-start: -8px; }
  .cz-burger:hover { background: var(--cz-ink-08); color: var(--cz-ink) !important; border-color: transparent; }
}
.cz-burger__bars { width: 18px; height: 12px; position: relative; display: block; }
.cz-burger__bars::before, .cz-burger__bars::after, .cz-burger__bars span { content: ""; position: absolute; inset-inline: 0; height: 2px; background: currentColor; border-radius: 2px; }
.cz-burger__bars::before { top: 0; } .cz-burger__bars span { top: 5px; } .cz-burger__bars::after { bottom: 0; }

/* user dropdown (Bootstrap dropdown kept) */
.cz-user { position: relative; }
.cz-user .dropdown-menu { min-width: 220px; padding: 8px 0; margin-top: 8px; }
.cz-user__head { padding: 8px 16px 10px; border-bottom: 1px solid var(--cz-ink-12); margin-bottom: 6px; }
.cz-user__hello { font-size: 11px; color: var(--cz-ink-60); letter-spacing: .04em; text-transform: uppercase; font-family: var(--cz-font-mono); }
.cz-user__name { font-weight: 700; font-size: 14px; color: var(--cz-ink); }
.cz-user .dropdown-item { font-size: 13.5px; font-weight: 600; padding: 8px 16px; display: flex; align-items: center; gap: 10px; color: var(--cz-ink); }
.cz-user .dropdown-item .fa { width: 16px; text-align: center; color: var(--cz-ink-60); font-size: 13px; }
.cz-user .dropdown-item:hover .fa { color: var(--cz-lacquer); }
.cz-user__dash { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 999px; border: 1px solid var(--cz-ink-12); background: var(--cz-white); color: var(--cz-ink) !important; text-decoration: none !important; cursor: pointer; }
.cz-user__dash:hover { border-color: var(--cz-ink-40); }
.cz-user__dash .cz-avatar { width: 28px; height: 28px; }
.cz-user__dash-text { display: flex; flex-direction: column; line-height: 1.1; }
.cz-user__dash-text small { font-size: 10.5px; color: var(--cz-ink-60); }
.cz-user__dash-text b { font-size: 12.5px; }
@media (max-width: 1199.98px) { .cz-user__dash-text { display: none; } .cz-user__dash { padding: 5px; } }

/* cart (hover dropdown on desktop; plain link on mobile) */
.cz-cart { position: relative; }
.cz-cart > .dropdown-menu { display: none; position: absolute; inset-inline-end: 0; inset-inline-start: auto; top: calc(100% + 10px); width: 21rem; max-width: calc(100vw - 32px); margin: 0; padding: 0; }
.cz-cart > .dropdown-menu::before { content: ""; position: absolute; inset-inline: 0; top: -12px; height: 12px; }
@media (min-width: 992px) { .cz-cart:hover > .dropdown-menu, .cz-cart.is-open > .dropdown-menu { display: block; } }
/* .cz-cart__label keeps the .cart-total-price hook alive for custom.js but is visually hidden (canvas uses icon + count only) */
.cz-cart__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.cz-cart .widget-cart { padding: 12px 14px 14px; }
.cz-cart .widget-cart-top { display: flex; align-items: center; gap: 8px; padding: 6px 0 10px; border-bottom: 1px solid var(--cz-ink-12); margin-bottom: 10px; }
.cz-cart .widget-cart-top h6 { margin: 0; font: 700 13px/1 var(--cz-font-body); display: inline-flex; align-items: center; gap: 8px; color: var(--cz-ink); }
.cz-cart .widget-cart-top svg { width: 20px; height: 20px; }
.cz-cart .widget-cart-top svg path { fill: var(--cz-lacquer); }
.cz-cart .widget-cart-item { padding: 10px 0; border-bottom: 1px solid var(--cz-ink-08); }
.cz-cart .widget-cart-item:last-child { border-bottom: 0; }
.cz-cart .widget-product-title a { font-size: 13px; font-weight: 600; color: var(--cz-ink); }
.cz-cart .widget-product-meta { font-size: 12px; }
.cz-cart .widget-product-meta .text-accent { font-family: var(--cz-font-mono); }
.cz-cart .__quantity { display: inline-flex; align-items: center; border: 1px solid var(--cz-ink-22); border-radius: var(--cz-radius-sm); overflow: hidden; height: 30px; }
.cz-cart .__quantity .cart-qty-btn { width: 26px; height: 28px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--cz-ink); font-size: 11px; background: var(--cz-cream); }
.cz-cart .__quantity .cart-qty-input { width: 34px; height: 28px; border: 0 !important; font: 600 12px/1 var(--cz-font-mono); text-align: center; background: #fff; }
.cz-cart .__h-20rem { max-height: 20rem; }
.cz-cart .cart_total_amount { font-family: var(--cz-font-mono); font-weight: 700; }
.cz-cart .btn-outline-secondary { border-color: var(--cz-ink-22); color: var(--cz-ink); font-size: 12px; }
.cz-cart .btn-outline-secondary:hover { background: var(--cz-espresso); border-color: var(--cz-espresso); color: var(--cz-cream); }
.cz-cart .btn--primary { background: var(--cz-lacquer) !important; border-color: var(--cz-lacquer) !important; color: #fff !important; }
.cz-cart .btn--primary:hover { background: var(--cz-lacquer-2) !important; }
.cz-cart .dropdown-saved-amount { font-size: 12px; }
.cz-cart .progress { height: 6px; }
.cz-cart .progress-bar { background: var(--cz-lacquer) !important; }
.cz-cart .temporary-closed { inset: 0; background: rgba(36, 26, 20, .55); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; }

/* ---------- 2. mega menu ------------------------------------------- */
.cz-header .megamenu-wrap {
  position: absolute; inset-inline: 0; top: 100%; width: auto; z-index: 1040; visibility: hidden; opacity: 0; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s; pointer-events: none;
}
.cz-header .megamenu-wrap.show, .cz-header .megamenu-wrap.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; pointer-events: auto; }
.cz-header .megamenu-wrap:hover { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
.cz-mega {
  display: grid; grid-template-columns: 260px minmax(0, 1fr); background: var(--cz-white); border: 1px solid var(--cz-ink-12); border-top: 0;
  border-radius: 0 0 var(--cz-radius-lg) var(--cz-radius-lg); box-shadow: var(--cz-shadow-lg); overflow: hidden; min-height: 360px; position: relative;
}
.cz-mega__list { list-style: none; margin: 0; padding: 10px 0; background: var(--cz-cream); border-inline-end: 1px solid var(--cz-ink-12); align-self: stretch; }
.cz-mega__list > li > a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 18px 10px 22px; font: 600 13.5px/1.3 var(--cz-font-body); color: var(--cz-ink) !important; text-decoration: none !important;
  transition: background .12s, color .12s;
}
.cz-mega__list > li > a .cz-mega__arrow { width: 7px; height: 7px; border-inline-end: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); opacity: 0; transition: opacity .12s; }
[dir=rtl] .cz-mega__list > li > a .cz-mega__arrow { transform: rotate(-135deg); }
.cz-mega__list > li.is-active > a, .cz-mega__list > li > a:hover { background: var(--cz-white); color: var(--cz-lacquer) !important; box-shadow: inset 3px 0 0 var(--cz-lacquer); }
[dir=rtl] .cz-mega__list > li.is-active > a, [dir=rtl] .cz-mega__list > li > a:hover { box-shadow: inset -3px 0 0 var(--cz-lacquer); }
.cz-mega__list > li.is-active > a .cz-mega__arrow, .cz-mega__list > li > a:hover .cz-mega__arrow { opacity: 1; }
.cz-mega__list > li.cz-mega__all > a { color: var(--cz-lacquer) !important; font-weight: 700; border-top: 1px solid var(--cz-ink-12); margin-top: 6px; padding-top: 14px; }
.cz-mega__panels { position: relative; padding: 22px 26px 26px; max-height: calc(100vh - var(--cz-header-h) - 24px); overflow-y: auto; }
.cz-mega__panel { display: none; }
.cz-mega__panel.is-active { display: block; }
.cz-mega__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px dashed var(--cz-ink-22); }
.cz-mega__title { margin: 0; font: 400 22px/1.2 var(--cz-font-display); color: var(--cz-ink); }
.cz-mega__title a { color: inherit !important; text-decoration: none !important; }
.cz-mega__viewall { font: 700 12.5px/1 var(--cz-font-body); color: var(--cz-lacquer) !important; white-space: nowrap; }
.cz-mega__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 22px; }
.cz-mega__col h6 { margin: 0 0 6px; font: 700 13px/1.3 var(--cz-font-body); }
.cz-mega__col h6 a { color: var(--cz-ink) !important; text-decoration: none !important; }
.cz-mega__col h6 a:hover { color: var(--cz-lacquer) !important; }
.cz-mega__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.cz-mega__col ul a { display: block; padding: 3px 0; font: 400 12.5px/1.4 var(--cz-font-body); color: var(--cz-ink-60) !important; text-decoration: none !important; }
.cz-mega__col ul a:hover { color: var(--cz-lacquer) !important; }
.cz-mega__empty { color: var(--cz-ink-60); font-size: 13px; }
.cz-mega__foot { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--cz-ink-12); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--cz-ink-60); }
@media (max-width: 1199.98px) { .cz-mega__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cz-mega { grid-template-columns: 230px minmax(0, 1fr); } }
@media (max-width: 991.98px) { .cz-header .megamenu-wrap { display: none; } }

/* ---------- 3. mobile drawer --------------------------------------- */
.cz-drawer-backdrop { position: fixed; inset: 0; background: rgba(36, 26, 20, .55); z-index: 1045; opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s linear .2s; }
.cz-drawer {
  position: fixed; top: 0; bottom: 0; inset-inline-start: 0; width: min(86vw, 360px); background: var(--cz-cream); z-index: 1050; transform: translateX(-100%);
  transition: transform .25s ease; display: flex; flex-direction: column; box-shadow: 12px 0 32px rgba(36, 26, 20, .25); overflow: hidden;
}
[dir=rtl] .cz-drawer { transform: translateX(100%); box-shadow: -12px 0 32px rgba(36, 26, 20, .25); }
body.cz-drawer-open .cz-drawer { transform: none; }
body.cz-drawer-open .cz-drawer-backdrop { opacity: 1; visibility: visible; transition-delay: 0s; }
body.cz-drawer-open { overflow: hidden; }
.cz-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--cz-espresso); color: var(--cz-cream); flex: none; }
.cz-drawer__head .cz-brand__name { color: var(--cz-cream); }
.cz-drawer__close { width: 36px; height: 36px; border: 1px solid var(--cz-cream-35); border-radius: 50%; background: transparent; color: var(--cz-cream); font-size: 18px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.cz-drawer__body { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 24px; }
.cz-drawer__section { padding: 14px 16px 6px; }
.cz-drawer__section + .cz-drawer__section { border-top: 1px solid var(--cz-ink-12); }
.cz-drawer__eyebrow { display: block; font: 600 10.5px/1 var(--cz-font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cz-brass); margin-bottom: 8px; }
.cz-drawer__cta { margin: 14px 16px 4px; }
.cz-drawer__nav { list-style: none; margin: 0; padding: 0; }
.cz-drawer__nav > li { border-bottom: 1px solid var(--cz-ink-08); }
.cz-drawer__nav > li:last-child { border-bottom: 0; }
.cz-drawer__link { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding: 10px 0; font: 600 15px/1.3 var(--cz-font-body); color: var(--cz-ink) !important; text-decoration: none !important; }
.cz-drawer__link--accent { color: var(--cz-lacquer) !important; }
.cz-drawer__link .fa { width: 20px; text-align: center; color: var(--cz-ink-60); font-size: 14px; }
.cz-drawer__toggle { background: transparent; border: 0; width: 100%; text-align: start; cursor: pointer; }
.cz-drawer__toggle .cz-nav__caret { opacity: .6; }
.cz-drawer__toggle[aria-expanded=true] .cz-nav__caret { transform: translateY(1px) rotate(-135deg); }
.cz-drawer__sub { list-style: none; margin: 0; padding: 0 0 10px 12px; display: none; }
[dir=rtl] .cz-drawer__sub { padding: 0 12px 10px 0; }
.cz-drawer__toggle[aria-expanded=true] + .cz-drawer__sub { display: block; }
.cz-drawer__sub a { display: block; padding: 8px 0; font: 400 14px/1.3 var(--cz-font-body); color: var(--cz-ink-60) !important; text-decoration: none !important; min-height: 40px; display: flex; align-items: center; }
.cz-drawer__sub a:hover { color: var(--cz-lacquer) !important; }
.cz-drawer__sub .cz-drawer__sub-all { color: var(--cz-lacquer) !important; font-weight: 700; }
.cz-drawer__chips { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 8px; }
.cz-drawer__chips .cz-chip img { width: 16px; height: auto; border-radius: 2px; }
.cz-drawer__chips .cz-chip { min-height: 36px; }
.cz-drawer__account { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-bottom: 8px; }
.cz-drawer__user { display: flex; align-items: center; gap: 10px; padding: 8px 0 10px; }
.cz-drawer__user-name { font-weight: 700; font-size: 14px; }
.cz-drawer__user-sub { font-size: 12px; color: var(--cz-ink-60); }
.cz-drawer__foot { padding: 12px 16px; border-top: 1px solid var(--cz-ink-12); font-size: 12.5px; color: var(--cz-ink-60); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.cz-drawer__foot a { color: var(--cz-ink) !important; font-weight: 600; }
@media (min-width: 992px) { .cz-drawer, .cz-drawer-backdrop { display: none !important; } }

/* ---------- 4. footer ---------------------------------------------- */
.cz-footer { background: var(--cz-espresso); color: var(--cz-cream-80); font-family: var(--cz-font-body); font-size: 13.5px; margin-top: 0; }
.cz-footer a { color: var(--cz-cream-80); text-decoration: none; }
.cz-footer a:hover { color: var(--cz-brass-2); }
.cz-footer__top { display: grid; grid-template-columns: 1.7fr repeat(5, minmax(0, 1fr)); gap: 32px 28px; padding: 48px 0 40px; }
.cz-footer__col { min-width: 0; }
.cz-footer__brand { padding-inline-end: 20px; }
.cz-footer__logo { display: inline-flex; align-items: center; gap: 12px; color: var(--cz-cream) !important; text-decoration: none !important; }
.cz-footer__logo .cz-logo-mark { width: 40px; height: 40px; }
.cz-footer__name { font: 700 22px/1 var(--cz-font-display); letter-spacing: -.01em; color: var(--cz-cream); }
.cz-footer__tag { display: block; margin-top: 4px; font: 400 10px/1.4 var(--cz-font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cz-brass); }
.cz-footer__desc { margin: 16px 0 0; font: 300 14px/1.6 var(--cz-font-body); color: var(--cz-cream-60); max-width: 320px; text-wrap: pretty; }
.cz-footer__contact { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.cz-footer__contact li { display: flex; align-items: flex-start; gap: 10px; }
.cz-footer__contact .fa { width: 14px; text-align: center; color: var(--cz-brass); margin-top: 3px; font-size: 12px; }
.cz-footer__contact a, .cz-footer__contact span { color: var(--cz-cream-80); }
.cz-footer__contact a:hover { color: var(--cz-cream); }
.cz-footer__h { margin: 0 0 14px; font: 600 10.5px/1 var(--cz-font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cz-brass); }
.cz-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.cz-footer__links a { font-size: 13.5px; line-height: 1.35; color: var(--cz-cream-80); display: inline-block; }
.cz-footer__links a:hover { color: var(--cz-cream); }
.cz-footer__mid { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 26px 0; border-top: 1px dashed rgba(201, 146, 46, .45); border-bottom: 1px solid var(--cz-cream-15); }
.cz-footer__news { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cz-footer__news-text { max-width: 320px; }
.cz-footer__news-text strong { display: block; font: 400 20px/1.2 var(--cz-font-display); color: var(--cz-cream); margin-bottom: 3px; }
.cz-footer__news-text span { font-size: 12.5px; color: var(--cz-cream-60); }
.cz-footer__news-form { display: flex; align-items: stretch; height: 44px; min-width: 300px; }
.cz-footer__news-form .form-control, .cz-footer__news-form input { flex: 1 1 auto; min-width: 0; height: 100%; background: var(--cz-espresso-2); border: 1px solid var(--cz-cream-35); border-inline-end: 0; color: var(--cz-cream); border-radius: var(--cz-radius-sm) 0 0 var(--cz-radius-sm); padding: 0 14px; font: 400 13.5px/1 var(--cz-font-body); }
[dir=rtl] .cz-footer__news-form input { border-radius: 0 var(--cz-radius-sm) var(--cz-radius-sm) 0; }
.cz-footer__news-form input::placeholder { color: var(--cz-cream-60); }
.cz-footer__news-form input:focus { outline: none; border-color: var(--cz-brass); box-shadow: none; background: var(--cz-espresso-2); color: var(--cz-cream); }
.cz-footer__news-form button { flex: none; border: 0; background: var(--cz-brass); color: var(--cz-ink); font: 700 13px/1 var(--cz-font-body); padding: 0 18px; border-radius: 0 var(--cz-radius-sm) var(--cz-radius-sm) 0; cursor: pointer; }
[dir=rtl] .cz-footer__news-form button { border-radius: var(--cz-radius-sm) 0 0 var(--cz-radius-sm); }
.cz-footer__news-form button:hover { background: var(--cz-brass-2); }
.cz-footer__social { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cz-footer__social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--cz-cream-35); display: inline-flex; align-items: center; justify-content: center; color: var(--cz-cream-80) !important; font-size: 14px; transition: all .15s; }
.cz-footer__social a:hover { background: var(--cz-cream); border-color: var(--cz-cream); color: var(--cz-ink) !important; }
.cz-footer__social a svg { width: 14px; height: 14px; fill: currentColor; }
.cz-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 18px 0 22px; font-size: 12.5px; color: var(--cz-cream-60); }
.cz-footer__bottom p { margin: 0; }
.cz-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.cz-footer__legal a { color: var(--cz-cream-80); }
.cz-footer__legal a:hover { color: var(--cz-cream); }
.cz-footer__pay { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cz-footer__pay img { height: 22px; width: auto; background: #fff; border-radius: 3px; padding: 2px 4px; }
@media (max-width: 1199.98px) {
  .cz-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px; padding: 40px 0 32px; }
  .cz-footer__brand { grid-column: 1 / -1; padding-inline-end: 0; }
  .cz-footer__desc { max-width: 520px; }
}
@media (max-width: 767.98px) {
  .cz-footer { font-size: 13px; }
  .cz-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; padding: 32px 0 26px; }
  .cz-footer__news-form { min-width: 0; width: 100%; }
  .cz-footer__mid { padding: 22px 0; }
  .cz-footer__bottom { flex-direction: column; align-items: flex-start; padding: 16px 0 calc(18px + env(safe-area-inset-bottom)); }
}
.theme-coffee .btn-scroll-top { background: var(--cz-espresso); color: var(--cz-cream); border-radius: 50%; }
.theme-coffee .btn-scroll-top:hover { background: var(--cz-lacquer); }
.theme-coffee #cookie-section .cookie-section { background: var(--cz-white); color: var(--cz-ink); border-top: 1px solid var(--cz-ink-12); box-shadow: 0 -6px 24px rgba(36, 26, 20, .12); }
