/* =========================================================================
   KNIGHT THEME — global styles
   Design language ported from Claude Design "Knight" storefront.
   Reuses leon's DOM contract (header.js / index.js / cart-modal) so all the
   dynamic wiring keeps working; this file only repaints those classes.
   ========================================================================= */

/* Brand color token system (per-shop --color-primary lives here) */
@import url("/assets/css/colors.css");

/* Display + UI fonts */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@500;700;800;900&family=Hanken+Grotesk:wght@400;500;600;700&display=swap");

/* ========== DESIGN TOKENS ========== */
:root {
  /* Knight palette */
  --k-ink:        #14130f;   /* near-black text / dark surfaces            */
  --k-bg:         #ededed;   /* page background                           */
  --k-surface:    #f6f4f0;   /* cream surface (drawers, overlays)         */
  --k-card:       #ffffff;   /* product / content cards                   */
  --k-placeholder:#dcd9d2;   /* image placeholder fill                    */

  /* Accent respects the merchant brand color, falls back to Knight rust */
  --k-accent:      var(--color-primary, #b25a3f);
  --k-accent-soft: #cf8a6d;

  /* Hairlines + muted text (on light bg) */
  --k-line:        rgba(20, 19, 15, 0.14);
  --k-line-soft:   rgba(20, 19, 15, 0.08);
  --k-muted:       rgba(20, 19, 15, 0.55);
  --k-muted-2:     rgba(20, 19, 15, 0.45);

  /* Typography */
  --k-font-display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --k-font-body:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Radii + shadow */
  --k-radius:    14px;
  --k-radius-sm: 9px;
  --k-shadow:    0 1px 2px rgba(20, 19, 15, 0.04);
  --k-shadow-lg: 0 18px 44px rgba(20, 19, 15, 0.14);

  /* Layout */
  --k-maxw: 1320px;
  --k-gutter: 32px;
}

/* ========== RESET / BASE ========== */
* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; min-height: 100%; }

body.shop,
body.shop-body {
  background-color: var(--k-bg);
  color: var(--k-ink);
  font-family: var(--k-font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Hide the scrollbar completely (keeps scrolling) so the page isn't offset
   by the scrollbar gutter. */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar { width: 0; height: 0; display: none; }

h1, h2, h3, h4, h5, h6 { font-family: var(--k-font-display); letter-spacing: -0.02em; }

a { color: inherit; }

/* =========================================================================
   SHARED PAGE HEADER — breadcrumb + big display title. Reused across pages
   (products, checkout, account, track…) so the spacing stays consistent.
   ========================================================================= */
.k-crumbs { margin: 0 0 18px; }
.k-crumbs .breadcrumb { font-family: var(--k-font-body); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; margin: 0; }
.k-crumbs a { color: var(--k-muted); text-decoration: none; }
.k-crumbs a:hover { color: var(--k-accent); }
.k-crumbs .breadcrumb-item.active { color: var(--k-ink); }
.k-crumbs .breadcrumb-item + .breadcrumb-item::before { content: "/"; color: var(--k-muted-2); }
.k-page-title { font-family: var(--k-font-display); font-weight: 900; font-size: clamp(34px, 4.4vw, 58px); line-height: 0.95; letter-spacing: -0.03em; margin: 0; }
.k-page-title .dot, .k-page-title > span { color: var(--k-accent); }

/* Brand-color helpers reused from the platform partials */
.primary-text-color { color: var(--k-accent) !important; }
.primary-bg-color   { background-color: var(--k-accent) !important; color: #fff; }
.black-text-color   { color: var(--k-ink) !important; }

/* Centered max-width container override to match Knight's 1320px rhythm */
.shop .container,
.shop .container-lg {
  max-width: var(--k-maxw);
  padding-left: var(--k-gutter);
  padding-right: var(--k-gutter);
}

/* Eyebrow / uppercase label utility used across sections */
.k-eyebrow {
  font-family: var(--k-font-body);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--k-muted-2);
}

/* ========== BUTTONS (override Bootstrap) ========== */
.shop .btn {
  font-family: var(--k-font-body);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  border-radius: var(--k-radius-sm);
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.shop .btn-primary {
  background: var(--k-accent);
  border-color: var(--k-accent);
  color: #fff;
}
.shop .btn-primary:hover,
.shop .btn-primary:focus {
  background: var(--k-ink);
  border-color: var(--k-ink);
  color: var(--k-surface);
}
.shop .btn-outline-dark,
.shop .btn-knight-ghost {
  background: transparent;
  border-color: var(--k-ink);
  color: var(--k-ink);
}
.shop .btn-outline-dark:hover,
.shop .btn-knight-ghost:hover {
  background: var(--k-ink);
  color: var(--k-surface);
}

/* =========================================================================
   MARQUEES — the two CMS "text sliders"
   1) announcement bar (top, dark)         -> .k-announcement
   2) promo strip (accent band)            -> .k-promo
   Both scroll continuously; content is duplicated in markup for a seamless
   loop. Markup lives in header.php / index.php; data comes from CMS.
   ========================================================================= */
@keyframes k-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.k-announcement {
  background: var(--k-ink);
  color: var(--k-surface);
  height: 38px;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
}
.k-announcement__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: k-marquee 34s linear infinite;
  will-change: transform;
}
.k-announcement__item {
  font-family: var(--k-font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-right: 48px;
  opacity: 0.92;
}

.k-promo {
  background: var(--k-accent);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--k-ink);
  border-bottom: 1px solid var(--k-ink);
}
.k-promo__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: k-marquee 26s linear infinite;
  will-change: transform;
  padding: 18px 0;
}
.k-promo__item {
  font-family: var(--k-font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.01em;
  padding-right: 40px;
}
.k-promo__dot {
  font-family: var(--k-font-body);
  font-size: 22px;
  padding-right: 40px;
  align-self: center;
}
/* Pause on hover so users can read it */
.k-announcement:hover .k-announcement__track,
.k-promo:hover .k-promo__track { animation-play-state: paused; }

/* =========================================================================
   HEADER  (reuses leon ids: .shop-header, .is-hidden, burger, search, icons)
   ========================================================================= */
.shop-header {
  position: sticky;
  top: 0;
  z-index: 40;
  /* Near-opaque background; no backdrop-filter — the blur repaints during
     page reflow (e.g. accordion open/close) and leaves horizontal line
     artifacts across the screen in Chrome. */
  background: var(--k-bg);
  border-bottom: 1px solid var(--k-line);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
/* header.js toggles .is-hidden on scroll-down */
.shop-header.is-hidden { transform: translateY(-100%); }

.shop-header-top { border-bottom: 0; }
.shop-header-top .container {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo — matches leon's 120px width cap, but also bounded by the header height
   so square/tall tenant logos don't blow out Knight's fixed-height bar. The
   image sizes to whichever limit it hits first, preserving its aspect ratio. */
.shop-logo { gap: 8px; color: var(--k-ink); }
.shop-logo .logo-mark { display: inline-flex; align-items: center; }
.shop-logo .logo-mark img { max-width: 120px; max-height: 58px; width: auto; height: auto; object-fit: contain; display: block; }
.shop-logo .logo-text {
  font-family: var(--k-font-display);
  font-weight: 900;
  font-size: 23px;
  letter-spacing: -0.02em;
}
/* Logo only — the brand name is part of the logo image, so the wordmark is
   hidden by default. It only appears as a fallback when no logo file is set. */
.shop-logo .logo-text { display: none; }
.shop-logo.shop-logo--no-image .logo-mark { display: none; }
.shop-logo.shop-logo--no-image .logo-text { display: inline-block; }
/* Knight signature terracotta dot, shown with the wordmark fallback */
.shop-logo.shop-logo--no-image .logo-text::after {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  margin-left: 3px;
  border-radius: 50%;
  background: var(--k-accent);
  vertical-align: 0.1em;
}

/* Text nav actions (Search / Account) */
.k-nav-link {
  font-family: var(--k-font-body);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--k-ink);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.15s ease;
}
.k-nav-link:hover { color: var(--k-accent); }

/* Dark cart pill */
.k-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--k-ink);
  color: var(--k-surface);
  border: none;
  padding: 11px 16px;
  border-radius: 9px;
  font-family: var(--k-font-body);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.18s ease;
}
.k-cart-btn:hover { background: var(--k-accent); }
.k-cart-btn .header-cart-badge {
  position: static;
  background: var(--k-surface);
  color: var(--k-ink);
  border-radius: 5px;
}

/* Desktop category bar (second row). overflow:visible so the hover
   dropdowns aren't clipped by the bar. */
.shop-header-cats { border-top: 1px solid var(--k-line); position: relative; }
.shop-header-cats .header-main-categories {
  height: 46px;
  align-items: center;
  gap: 28px;
  overflow: visible;
}

/* Burger (mobile) */
.header-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 26px;
  background: none;
}
.header-burger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--k-ink);
  border-radius: 2px;
}

/* Inline desktop category nav */
.header-main-categories {
  gap: 30px;
  align-items: center;
}
.header-top-cat-wrap { position: relative; }
.header-top-cat {
  font-family: var(--k-font-body);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--k-ink);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.header-top-cat:hover { color: var(--k-accent); }
/* hover dropdown rendered by header.js (renderTopHeaderCats) */
.header-cat-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--k-line-soft);
  border-radius: var(--k-radius-sm);
  box-shadow: var(--k-shadow-lg);
  padding: 8px 0;
  display: none;
  z-index: 45;
}
.header-top-cat-wrap:hover .header-cat-dropdown { display: block; }
.header-cat-dropdown-link {
  display: block;
  padding: 9px 16px;
  font-family: var(--k-font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--k-ink);
  text-decoration: none;
}
.header-cat-dropdown-link:hover { color: var(--k-accent); }

/* Right cluster: search + icons */
.header-right { gap: 18px; }
.header-search-form {
  align-items: center;
  border: 1px solid var(--k-line);
  border-radius: var(--k-radius-sm);
  background: #fff;
  padding: 2px 4px 2px 12px;
}
.header-search-input {
  font-family: var(--k-font-body);
  font-size: 13px;
  min-width: 200px;
  box-shadow: none !important;
  background: transparent;
}
.header-search-btn {
  background: none;
  border: none;
  color: var(--k-ink);
  padding: 6px 8px;
  cursor: pointer;
}
.header-search-btn:hover { color: var(--k-accent); }

.header-icons { gap: 18px; }
.header-icon-link {
  position: relative;
  background: none;
  border: none;
  color: var(--k-ink);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
  transition: color 0.15s ease;
}
.header-icon-link:hover { color: var(--k-accent); }
.header-cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--k-accent);
  color: #fff;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--k-font-body);
  font-size: 11px;
  font-weight: 700;
  padding: 0 4px;
  border-radius: 6px;
}

/* Search overlay (Knight) — opacity/visibility so it transitions on open AND
   close (display:none can't be transitioned). */
.k-search {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(20, 19, 15, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.k-search.is-open { opacity: 1; visibility: visible; }
.k-search__panel {
  background: var(--k-surface);
  border-bottom: 1px solid var(--k-line);
  box-shadow: 0 16px 48px rgba(20, 19, 15, 0.18);
  transform: translateY(-100%);
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.k-search.is-open .k-search__panel { transform: translateY(0); }
.k-search__bar {
  max-width: var(--k-maxw);
  margin: 0 auto;
  padding: 15px var(--k-gutter);
  display: flex;
  align-items: center;
  gap: 18px;
}
.k-search__eyebrow {
  font-family: var(--k-font-body);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--k-accent);
  white-space: nowrap;
}
.k-search__input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  outline: none;
  font-family: var(--k-font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: -0.01em;
  color: var(--k-ink);
}
.k-search__close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--k-ink);
  line-height: 1;
  padding: 4px;
}
.k-search__close:hover { color: var(--k-accent); }

/* hide native search clear "X" (we have our own close button) */
.k-search__input::-webkit-search-cancel-button,
.k-search__input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }

/* Live search results — fixed 4 columns, no horizontal scroll */
.k-search__results {
  max-width: var(--k-maxw);
  margin: 0 auto;
  padding: 0 var(--k-gutter) 24px;
  max-height: 60vh;
  overflow-y: auto;
  overflow-x: hidden;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
@media (max-width: 991.98px) { .k-search__results { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .k-search__results { grid-template-columns: 1fr; } }
.k-search__seeall {
  grid-column: 1 / -1;
  margin-top: 6px;
  text-align: center;
  font-family: var(--k-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--k-ink);
  text-decoration: none;
  padding: 12px;
  border: 1px solid var(--k-line);
  border-radius: var(--k-radius-sm);
}
.k-search__seeall:hover { background: var(--k-ink); color: var(--k-surface); border-color: var(--k-ink); }
.k-search__results:empty { display: none; padding: 0; } /* no height before typing */
.k-search__results:not(:empty) { padding-top: 18px; border-top: 1px solid var(--k-line); }
.k-search__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border: 1px solid var(--k-line-soft);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: var(--k-ink);
}
.k-search__row:hover { border-color: var(--k-accent); }
.k-search__thumb {
  flex: 0 0 48px;
  width: 48px; height: 48px;
  border-radius: 8px;
  background: var(--k-placeholder) center/cover no-repeat;
}
.k-search__row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.k-search__row-cat { font-family: var(--k-font-body); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--k-muted-2); }
.k-search__row-name { font-family: var(--k-font-body); font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-search__row-price { font-family: var(--k-font-body); font-weight: 700; font-size: 14px; white-space: nowrap; }
.k-search__row--cat { background: var(--k-bg); }
.k-search__empty {
  grid-column: 1 / -1;
  font-family: var(--k-font-body);
  font-size: 14px;
  color: var(--k-muted);
  padding: 8px 0;
}

/* =========================================================================
   MEGA MENU (header.js renders .mega-cat-item / .mega-sub-link)
   ========================================================================= */
.header-megamenu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-top: 1px solid var(--k-line-soft);
  border-bottom: 1px solid var(--k-ink);
  box-shadow: var(--k-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.header-megamenu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.header-megamenu .container { padding-top: 26px; padding-bottom: 30px; gap: 40px; }
.mega-root { flex: 0 0 240px; display: flex; flex-direction: column; }
.mega-cat-item {
  font-family: var(--k-font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--k-ink);
  text-decoration: none;
  padding: 10px 8px;
  border-radius: 8px;
  display: block;
}
.mega-cat-item:hover,
.mega-cat-item.active { color: var(--k-accent); background: rgba(20, 19, 15, 0.03); }
.mega-content { flex: 1; }
.mega-sub-cols {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 2px 28px;
}
.mega-sub-link {
  font-family: var(--k-font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--k-ink);
  text-decoration: none;
  padding: 11px 0;
  border-bottom: 1px solid var(--k-line-soft);
}
.mega-sub-link:hover { color: var(--k-accent); }

/* Knight full-width mega panel (category hover) */
.k-mega { padding: 26px var(--k-gutter) 30px; }
.k-mega__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.k-mega__eyebrow { font-family: var(--k-font-body); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--k-accent); }
.k-mega__viewall { font-family: var(--k-font-body); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--k-muted-2); text-decoration: none; }
.k-mega__viewall:hover { color: var(--k-ink); }
.k-mega__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 2px 28px; }
.k-mega__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--k-font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--k-ink);
  text-decoration: none;
  padding: 11px 0;
  border-bottom: 1px solid var(--k-line-soft);
}
.k-mega__link:hover { color: var(--k-accent); }
.k-mega__link span { font-size: 11px; color: var(--k-muted-2); }

/* =========================================================================
   MOBILE DRAWER (header.js toggles .open; renders .mobile-cat etc.)
   ========================================================================= */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.open { visibility: visible; pointer-events: auto; }
.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 19, 15, 0.42);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.mobile-menu.open .mobile-menu-backdrop { opacity: 1; }
.mobile-menu-panel {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: min(340px, 86vw);
  background: var(--k-surface);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
  box-shadow: 16px 0 48px rgba(20, 19, 15, 0.18);
}
.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--k-line);
}
.mobile-menu-header .shop-logo .logo-text { font-size: 20px; }
.mobile-menu-close { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--k-ink); line-height: 1; padding: 4px; }
.mobile-menu-close:hover { color: var(--k-accent); }
.mobile-menu-cats { overflow-y: auto; padding: 8px 0; flex: 1; }
.mobile-cat-link,
.mobile-cat-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 24px;
  font-family: var(--k-font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--k-ink);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.mobile-cat-link:hover,
.mobile-cat-toggle:hover { color: var(--k-accent); }
/* Leaf links get the design's arrow affordance */
.mobile-cat-link::after {
  content: "→";
  font-family: var(--k-font-body);
  font-size: 13px;
  color: rgba(20, 19, 15, 0.3);
}
/* Drawer footer: Account + Track order */
.mobile-menu-foot {
  margin-top: auto;
  border-top: 1px solid var(--k-line);
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mobile-menu-foot a {
  font-family: var(--k-font-body);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--k-ink);
  text-decoration: none;
}
.mobile-menu-foot a:hover { color: var(--k-accent); }
.mobile-cat-toggle i { transition: transform 0.2s ease; }
.mobile-cat.open .mobile-cat-toggle i { transform: rotate(90deg); }
.mobile-subcats { display: none; padding: 0 0 6px; background: rgba(20, 19, 15, 0.03); }
.mobile-cat.open .mobile-subcats { display: block; }
.mobile-subcat-link {
  display: block;
  padding: 11px 34px;
  font-family: var(--k-font-body);
  font-size: 14px;
  color: var(--k-muted);
  text-decoration: none;
}
.mobile-subcat-link:hover { color: var(--k-accent); }

/* =========================================================================
   PRODUCT CARD (shared — index.js renderProductCard contract)
   ========================================================================= */
.home-product-card,
.card.home-product-card {
  background: var(--k-card);
  border: 1px solid var(--k-line-soft);
  border-radius: var(--k-radius);
  overflow: hidden;
  box-shadow: var(--k-shadow);
  display: flex;
  flex-direction: column;
}
.home-product-card .card-img-top {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  background: var(--k-placeholder);
}
.product-card-link { text-decoration: none; color: inherit; display: block; }
.product-card-body { padding: 16px; }
.small-brand-name {
  font-family: var(--k-font-body);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--k-muted-2);
  margin-bottom: 7px;
}
.prod-title {
  font-family: var(--k-font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  margin: 0 0 10px;
}
.cart-block { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.price-block { display: flex; flex-direction: column; }
.price-old { font-size: 13px; color: rgba(20, 19, 15, 0.4); text-decoration: line-through; }
.price-main { font-family: var(--k-font-body); font-weight: 700; font-size: 16px; }
.price-main.is-discounted { color: var(--k-accent); }
.currency-symbol { font-weight: 600; }
.cart-block .btn-primary {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0; font-size: 16px;
}

/* Badges */
.product-badge-wrapper {
  position: absolute;
  inset: 12px 12px auto 12px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}
.product-badge {
  font-family: var(--k-font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
  color: #fff;
  background: var(--k-accent);
}
.badge-new { background: var(--k-ink); }
.badge-package { background: var(--k-ink); }

/* Wishlist heart */
.product-wishlist-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--k-line);
  background: rgba(246, 244, 240, 0.92);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px;
  color: var(--k-muted);
  cursor: pointer;
  z-index: 3;
}
.product-wishlist-btn:hover { border-color: var(--k-accent); }
.product-wishlist-btn.is-active { color: var(--k-accent); border-color: var(--k-accent); }

/* =========================================================================
   FOOTER (reuses leon footer markup / vars)
   ========================================================================= */
.footer-bg { background: var(--k-bg); border-top: 1px solid var(--k-line); }
.site-footer { padding: 56px 0 28px; }
.footer-heading {
  font-family: var(--k-font-body);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--k-muted-2);
  margin-bottom: 16px;
}
/* Accordion heading is a <button> on mobile; on desktop it's a plain heading */
.k-foot-acc {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: default;
  display: block;
  width: auto;
}
.k-foot-acc__ico { display: none; }
.site-footer a { color: var(--k-ink); text-decoration: none; }
.site-footer a:hover { color: var(--k-accent); }

/* 4-column top grid (Knight) — columns aligned to the top */
.k-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.k-footer__brand .shop-logo .logo-text { font-size: 21px; }
.k-footer__desc {
  font-family: var(--k-font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--k-muted);
  max-width: 280px;
  margin: 0;
}
.k-footer__links { display: flex; flex-direction: column; gap: 11px; }
.k-footer__links a { font-family: var(--k-font-body); font-size: 14px; }
.k-footer__legal { font-family: var(--k-font-body); font-size: 14px; color: var(--k-muted); }

/* Newsletter inside the first column */
.k-footer__subscribe { margin-top: 0; max-width: 300px; }
.k-footer__subscribe-desc { font-family: var(--k-font-body); font-size: 13px; color: var(--k-muted); margin: 0 0 12px; }
.k-footer__subscribe .footer-subscribe-form { flex-direction: column; gap: 8px; }
.k-footer__subscribe .footer-subscribe-input { width: 100%; min-width: 0; }
.k-footer__subscribe .footer-subscribe-btn { width: 100%; }

/* =========================================================================
   CART DRAWER  (global #cart-panel partial — Knight repaint).
   The platform's global cart CSS isn't loaded under Knight, so style the
   panel here as a right-side drawer matching the design.
   ========================================================================= */
.cart-panel {
  position: fixed;
  inset: 0;
  z-index: 1080;
  background: rgba(20, 19, 15, 0.42);
  display: flex;
  justify-content: flex-end;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s linear 0s;
}
/* Closed: keep it rendered (so it can animate out) but invisible + inert.
   Overrides Bootstrap's d-none {display:none} which would kill the animation. */
.cart-panel.d-none {
  display: flex !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.cart-panel-inner {
  position: relative;
  height: 100%;
  width: min(430px, 92vw);
  background: var(--k-bg);
  border-left: 1px solid var(--k-line-soft);
  box-shadow: -16px 0 48px rgba(20, 19, 15, 0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(0);
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}
/* Slide the drawer out to the right when closed */
.cart-panel.d-none .cart-panel-inner { transform: translateX(100%); }

.cart-panel-main { flex: 1; overflow-y: auto; display: flex; flex-direction: column; scrollbar-width: none; -ms-overflow-style: none; }
.cart-panel-main::-webkit-scrollbar { width: 0; height: 0; display: none; }
/* Uniform drawer background — no banded header/footer */
.cart-panel-title {
  font-family: var(--k-font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  padding: 22px 24px;
  border-bottom: 1px solid var(--k-line);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cart-panel-x {
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: var(--k-ink);
  cursor: pointer;
  padding: 4px;
}
.cart-panel-x:hover { color: var(--k-accent); }
.cart-panel-items { padding: 8px 24px; }

/* Cart line items (cart-modal.js markup) */
.cart-panel-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--k-line); }
.cart-panel-item-thumb { flex: 0 0 64px; width: 64px; height: 64px; border: 1px solid var(--k-line); border-radius: 8px; overflow: hidden; background: var(--k-placeholder); }
.cart-panel-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-panel-item-text { flex: 1; min-width: 0; }
.cart-panel-item-name { display: block; font-family: var(--k-font-body); font-weight: 600; font-size: 15px; margin-bottom: 4px; color: var(--k-ink); text-decoration: none; }
.cart-panel-item-name:hover { color: var(--k-accent); }
.cart-panel-item-meta { font-family: var(--k-font-body); font-size: 13px; color: var(--k-muted); }
.cart-panel-item-price { font-family: var(--k-font-body); font-weight: 700; font-size: 14px; margin-top: 4px; }
.cart-line-controls { display: flex; align-items: center; gap: 0; margin-top: 6px; }
.cart-panel-empty { font-family: var(--k-font-body); font-size: 14px; color: var(--k-muted); padding: 24px 0; text-align: center; }

.cart-panel-actions {
  border-top: 1px solid var(--k-line);
  padding: 20px 24px;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* Subtotal row (cart-modal.js fills #cart-panel-subtotal) */
.cart-panel-subtotal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
}
.cart-panel-subtotal-label { font-family: var(--k-font-body); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--k-muted); }
.cart-panel-subtotal-value { font-family: var(--k-font-display); font-weight: 800; font-size: 24px; }
.cart-panel-actions .btn { width: 100%; padding: 15px; border-radius: var(--k-radius-sm); font-family: var(--k-font-body); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; }
.cart-panel-actions .btn-primary { background: var(--k-accent); border-color: var(--k-accent); color: #fff; }
.cart-panel-actions .btn-primary:hover { background: var(--k-ink); border-color: var(--k-ink); }
/* Close button not needed — drawer closes via backdrop click */
.cart-panel-actions [data-cart-panel-close] { display: none; }

/* Cart line qty controls (cart-modal.js renders .cart-qty) */
.cart-qty { display: inline-flex; align-items: center; border: 1px solid var(--k-line); border-radius: 8px; overflow: hidden; margin-top: 8px; }
.cart-qty button { background: none; border: none; width: 28px; height: 28px; cursor: pointer; font-size: 15px; color: var(--k-ink); line-height: 1; }
.cart-qty button:hover { background: var(--k-ink); color: var(--k-surface); }
.cart-qty span { font-family: var(--k-font-body); font-size: 13px; min-width: 28px; text-align: center; }
.cart-line-remove { background: none; border: none; cursor: pointer; font-family: var(--k-font-body); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--k-muted); margin-left: 12px; }
.cart-line-remove:hover { color: var(--k-accent); }

/* Bottom bar */
.k-footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--k-line);
  font-family: var(--k-font-body);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--k-muted-2);
}
.k-footer__bottom a { color: var(--k-muted-2); }
.k-footer__bottom a:hover { color: var(--k-accent); }

@media (max-width: 767.98px) {
  .site-footer { padding-top: 30px; }            /* trim the empty space above the newsletter */
  /* Single-column accordion: newsletter on top, link groups collapse */
  .k-footer__top { grid-template-columns: 1fr; gap: 0; }
  .k-footer__brand { padding-bottom: 8px; }

  /* Newsletter input + button span the full width */
  .k-footer__subscribe { max-width: none; }

  /* Each link group becomes a tap-to-expand accordion row */
  .k-footer__col { border-top: 1px solid var(--k-line); }
  .k-foot-acc {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    margin-bottom: 0;
    cursor: pointer;
  }
  .k-foot-acc__ico {
    display: inline-block;
    font-size: 18px;
    color: var(--k-ink);
    transition: transform 0.25s ease;
  }
  .k-footer__col.open .k-foot-acc__ico { transform: rotate(45deg); } /* + → × */
  /* Animated open/close via max-height (links stay display:flex from base) */
  .k-footer__links {
    max-height: 0;
    overflow: hidden;
    padding-bottom: 0;
    transition: max-height 0.3s ease, padding-bottom 0.3s ease;
  }
  .k-footer__col.open .k-footer__links {
    max-height: 420px;
    padding-bottom: 18px;
  }

  .k-footer__bottom { justify-content: center; text-align: center; }
}

/* Newsletter subscribe band */
.footer-subscribe { border-top: 1px solid var(--k-line); padding: 40px 0; }
.footer-subscribe-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-subscribe-title { font-family: var(--k-font-display); font-weight: 800; font-size: 22px; margin: 0 0 6px; }
.footer-subscribe-desc { color: var(--k-muted); margin: 0; font-size: 14px; }
.footer-subscribe-form { display: flex; gap: 10px; }
.footer-subscribe-input {
  border: 1px solid var(--k-line);
  border-radius: var(--k-radius-sm);
  padding: 12px 16px;
  font-family: var(--k-font-body);
  min-width: 240px;
}
.footer-subscribe-btn {
  background: var(--k-ink);
  color: var(--k-surface);
  border: none;
  border-radius: var(--k-radius-sm);
  padding: 12px 22px;
  font-family: var(--k-font-body);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
}
.footer-subscribe-btn:hover { background: var(--k-accent); color: #fff; }

/* =========================================================================
   RESPONSIVE  (mobile layer added in a later pass; nav swaps at lg/992px
   per platform convention — desktop nav is .d-none.d-lg-flex in markup)
   ========================================================================= */
@media (max-width: 991.98px) {
  .shop-header-top .container { height: 64px; }
  .shop .container, .shop .container-lg { padding-left: 18px; padding-right: 18px; }
  .header-search-input { min-width: 0; }
  /* Fit the shorter mobile bar + leave room for search + cart pill */
  .shop-logo .logo-mark img { max-width: 104px; max-height: 46px; }
}

/* =========================================================================
   SHARED FORM & COMPONENT PRIMITIVES
   These blocks were previously duplicated verbatim across the page-specific
   files (account / auth / checkout / track). They are consolidated here so
   there is one definition. Selectors are *grouped*, not renamed, so the
   existing view markup keeps working unchanged.
   ========================================================================= */

/* --- Field micro-label (uppercase label above an input) --- */
.k-acct-field label,
.k-co-field label,
.k-co-addrsel__label,
.k-track-lookup__field label,
.k-auth__label {
  font-family: var(--k-font-body);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--k-muted);
  margin-bottom: 9px;
}

/* --- Text input / select field (52px, hairline border) --- */
.k-acct-field input,
.k-co-field input,
.k-co-field select {
  height: 52px;
  border: 1px solid var(--k-line);
  border-radius: 10px;
  background: #fff;
  padding: 0 16px;
  font-family: var(--k-font-body);
  font-size: 15px;
  color: var(--k-ink);
  outline: none;
}
.k-acct-field input:focus,
.k-co-field input:focus,
.k-co-field select:focus { border-color: var(--k-ink); }

/* --- Password field wrapper + show/hide toggle --- */
.k-acct-pw,
.k-co-pw,
.k-auth__pw { position: relative; }
.k-acct-pw input,
.k-co-pw input { width: 100%; padding-right: 64px; }
.k-acct-pw-toggle,
.k-co-pw-toggle,
.k-auth__pw-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--k-font-body);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--k-muted);
  padding: 8px;
}
.k-acct-pw-toggle:hover,
.k-co-pw-toggle:hover,
.k-auth__pw-toggle:hover { color: var(--k-accent); }

/* --- Custom checkbox box (native input hidden, ✓ on check) --- */
.k-acct-check input,
.k-auth__check input { position: absolute; opacity: 0; width: 0; height: 0; }
.k-acct-check-box,
.k-auth__check-box {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1px solid var(--k-ink);
  border-radius: 5px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  line-height: 1;
}
.k-acct-check input:checked + .k-acct-check-box,
.k-auth__check input:checked + .k-auth__check-box { background: var(--k-accent); border-color: var(--k-accent); }
.k-acct-check input:checked + .k-acct-check-box::after,
.k-auth__check input:checked + .k-auth__check-box::after { content: "✓"; }

/* --- Order / summary line item (checkout summary + order tracking) --- */
.k-co-line,
.k-track-item { display: flex; gap: 12px; align-items: center; }
.k-co-line__media,
.k-track-item__media { position: relative; flex: 0 0 52px; height: 52px; border: 1px solid var(--k-line); border-radius: 9px; background: var(--k-surface) center/cover no-repeat; }
.k-co-line__qty,
.k-track-item__qty { position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px; border-radius: 50%; background: var(--k-ink); color: var(--k-surface); font-family: var(--k-font-body); font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 5px; }
.k-co-line__info,
.k-track-item__info { flex: 1; min-width: 0; }
.k-co-line__name,
.k-track-item__name { font-family: var(--k-font-body); font-weight: 600; font-size: 14px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-co-line__variant,
.k-track-item__variant { font-size: 12px; color: var(--k-muted); }
.k-co-line__total,
.k-track-item__total { font-family: var(--k-font-body); font-weight: 700; font-size: 14px; white-space: nowrap; }

/* --- Empty / hint state (centered white card) --- */
.k-acct-empty,
.k-track-hint { background: #fff; border: 1px solid var(--k-line); border-radius: 16px; padding: 56px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.k-acct-empty-ico,
.k-track-hint__ico { font-size: 30px; color: var(--k-muted-2); }
.k-acct-empty-title,
.k-track-hint__title { font-family: var(--k-font-display); font-weight: 800; font-size: 22px; margin: 0; }

/* --- Muted helper text --- */
.k-acct-muted,
.k-co-muted { color: var(--k-muted); font-size: 14px; padding: 8px 0; }

/* =========================================================================
   COOKIE CONSENT + LEAD (email) POPUP — shared partials/JS widgets that Knight
   left unstyled. Repaint them in the Knight design language.
   ========================================================================= */

/* Cookie consent bar (partials/cookie-consent.php) */
.cookie-consent {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 1080;
  max-width: 720px;
  margin: 0 auto;
  background: var(--k-surface);
  border: 1px solid var(--k-line);
  border-radius: var(--k-radius);
  box-shadow: var(--k-shadow-lg);
  padding: 16px 20px;
  font-family: var(--k-font-body);
  color: var(--k-ink);
}
.cookie-consent-inner { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 768px) { .cookie-consent-inner { flex-direction: row; align-items: center; } }
.cookie-consent-text { flex: 1; min-width: 0; font-size: 13px; line-height: 1.5; color: var(--k-muted); }
.cookie-consent-text strong, .cookie-consent-text b { color: var(--k-ink); }
.cookie-consent-actions { flex: 0 0 auto; display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.cookie-consent .btn {
  font-family: var(--k-font-body); font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: var(--k-radius-sm); padding: 10px 16px;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.cookie-consent .btn-primary { background: var(--k-accent); color: #fff; border-color: var(--k-accent); }
.cookie-consent .btn-primary:hover { background: var(--k-ink); border-color: var(--k-ink); color: var(--k-surface); }
.cookie-consent .btn:not(.btn-primary) { background: transparent; color: var(--k-ink); border-color: var(--k-line); }
.cookie-consent .btn:not(.btn-primary):hover { border-color: var(--k-ink); }

/* Lead-capture email popup (assets/js/main.js) */
.email-popup-backdrop {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(20, 19, 15, 0.5);
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.email-popup-backdrop.is-visible { opacity: 1; pointer-events: auto; }
.email-popup {
  position: fixed; z-index: 1101; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.94);
  width: 90%; max-width: 420px;
  background: var(--k-surface);
  border: 1px solid var(--k-line);
  border-radius: var(--k-radius);
  box-shadow: var(--k-shadow-lg);
  padding: 32px 28px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  font-family: var(--k-font-body); color: var(--k-ink);
}
.email-popup.is-visible { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.email-popup-close {
  position: absolute; top: 12px; right: 12px; width: 32px; height: 32px;
  border: none; background: transparent; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 15px; color: var(--k-muted);
  transition: color 0.15s ease;
}
.email-popup-close:hover { color: var(--k-accent); }
.email-popup-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: color-mix(in srgb, var(--k-accent) 12%, transparent);
  color: var(--k-accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px;
}
.email-popup h3 {
  font-family: var(--k-font-display); font-weight: 800; font-size: 20px;
  letter-spacing: -0.01em; margin: 0 0 6px; color: var(--k-ink);
}
.email-popup p { font-size: 14px; color: var(--k-muted); line-height: 1.5; margin: 0 0 20px; }
.email-popup-form { display: flex; flex-direction: column; gap: 10px; }
.email-popup-form input[type="email"],
.email-popup-form input[type="tel"] {
  width: 100%; height: 48px; border: 1px solid var(--k-line); border-radius: 10px;
  background: #fff; padding: 0 16px; font-family: var(--k-font-body); font-size: 14px;
  color: var(--k-ink); outline: none; transition: border-color 0.15s ease;
}
.email-popup-form input:focus { border-color: var(--k-ink); }
.email-popup-form input::placeholder { color: var(--k-muted-2); }
.email-popup-form button {
  height: 48px; margin-top: 4px; border: none; border-radius: 10px;
  background: var(--k-accent); color: #fff;
  font-family: var(--k-font-body); font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
  transition: background 0.18s ease;
}
.email-popup-form button:hover { background: var(--k-ink); }
.email-popup-form button:disabled { opacity: 0.6; cursor: default; }
.email-popup-msg { margin-top: 12px; font-size: 13px; text-align: center; }
.email-popup-msg.is-success { color: #1f7a4d; }
.email-popup-msg.is-error { color: #c0392b; }
.email-popup-tab {
  position: fixed; right: 0; bottom: 90px; z-index: 1099;
  width: 46px; height: 46px; border: none;
  background: var(--k-ink); color: var(--k-surface);
  border-radius: 12px 0 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; box-shadow: var(--k-shadow-lg);
  transition: background 0.18s ease;
}
.email-popup-tab:hover { background: var(--k-accent); }

/* CMS promo popup (partials/popup-modal.php) — 4:5 image card */
.shop-popup-modal { padding-right: 0 !important; padding-left: 0 !important; }
.shop-popup-modal .shop-popup-dialog { max-width: min(460px, calc(100vw - 32px)); margin-left: auto; margin-right: auto; }
.shop-popup-modal .shop-popup-content {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: calc(100vh - 32px);
  border: 1px solid var(--k-line);
  border-radius: var(--k-radius);
  background: var(--k-surface);
  overflow: hidden;
  box-shadow: var(--k-shadow-lg);
}
.shop-popup-modal .shop-popup-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 34px; height: 34px; padding: 0;
  background-color: var(--k-surface); opacity: 0.96;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(20, 19, 15, 0.18);
}
.shop-popup-modal .shop-popup-close:hover { opacity: 1; }
.shop-popup-modal .shop-popup-link { display: block; width: 100%; height: 100%; text-decoration: none; color: inherit; }
.shop-popup-modal .shop-popup-image { display: block; width: 100%; height: 100%; object-fit: cover; }
