/* ============================================================================
   PET BIMBI — storefront design system
   Palette + typography measured from the reference theme
   (accent #00998f, dark #3a2a2f, border #e7e2de, footer #17655e, font Poppins)
   ========================================================================== */

/* ------------------------------------------------------------- 1. Tokens -- */
:root {
  /* brand */
  --brand:          #00998f;
  --brand-600:      #00857c;
  --brand-700:      #006f68;
  --brand-800:      #17655e;
  --brand-900:      #10443f;
  --brand-tint:     #eafaf8;
  --brand-tint-2:   #d5f2ee;

  /* neutrals */
  --ink:            #3a2a2f;
  --ink-2:          #5d4f53;
  --muted:          #7c7074;
  --border:         #e7e2de;
  --border-strong:  #d6cfc9;
  --cream:          #faf8f6;
  --surface:        #ffffff;
  --surface-2:      #f4f2ef;

  /* semantic */
  --sale:           #c5392f;
  --sale-tint:      #fdeceb;
  --gold:           #f4b942;
  --new:            #a95ebe;
  --ok-bg:          rgba(72, 180, 72, .12);

  /* type */
  --font: 'Poppins', 'Noto Sans JP', 'Noto Sans Arabic', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --font-wordmark: 'Playfair Display', Georgia, 'Times New Roman', serif;
  /* scripts that need their own face before the Latin fallback kicks in */
  --font-cjk: 'Noto Sans JP', 'Poppins', 'Yu Gothic', Meiryo, sans-serif;
  --font-arabic: 'Noto Sans Arabic', 'Poppins', 'Segoe UI', Tahoma, sans-serif;
  --fs-xs:   12px;
  --fs-sm:   13px;
  --fs-base: 15px;
  --fs-lg:   17px;
  --fs-h4:   clamp(17px, 1.5vw, 19px);
  --fs-h3:   clamp(20px, 2vw, 24px);
  --fs-h2:   clamp(26px, 3vw, 36px);
  --fs-h1:   clamp(30px, 4.4vw, 54px);
  --lh-body: 1.65;
  --lh-head: 1.18;

  /* layout */
  --max:        1280px;
  --gutter:     24px;
  --section:    72px;
  --header-h:   132px;

  /* shape */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-pill: 999px;

  --shadow-xs: 0 1px 2px rgb(58 42 47 / 6%);
  --shadow-sm: 0 2px 10px rgb(58 42 47 / 7%);
  --shadow-md: 0 10px 28px rgb(58 42 47 / 10%);
  --shadow-lg: 0 22px 60px rgb(58 42 47 / 16%);
  --ring: 0 0 0 3px rgb(0 153 143 / 28%);
  --ease: 180ms cubic-bezier(.4, 0, .2, 1);
}

@media (min-width: 1024px) { :root { --gutter: 40px; } }
@media (max-width: 767px)  { :root { --gutter: 16px; --section: 44px; --header-h: 108px; } }

/* ------------------------------------------------------------- 2. Reset -- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: var(--lh-head); font-weight: 700; letter-spacing: -.01em; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
body.no-scroll { overflow: hidden; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tint { background: var(--cream); }

/* -------------------------------------------------------- 3. Typography -- */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 28px; flex-wrap: wrap;
}
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { color: var(--muted); font-size: var(--fs-base); margin-top: 6px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.eyebrow {
  display: inline-block; font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
  margin-bottom: 10px;
}
.link-arrow { color: var(--brand); font-weight: 600; font-size: var(--fs-sm); }
.link-arrow:hover { color: var(--brand-700); text-decoration: underline; }

/* ------------------------------------------------------------ 4. Button -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--r-pill);
  font-size: var(--fs-sm); font-weight: 600; line-height: 1;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background var(--ease), color var(--ease), border-color var(--ease),
              transform var(--ease), box-shadow var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-700); color: #fff; }
.btn-primary:hover { background: var(--brand-800); box-shadow: 0 6px 18px rgb(0 111 104 / 28%); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a1e22; }
.btn-outline { border-color: var(--border-strong); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
/* outlined button sitting on a dark photographic/hero background */
.btn-on-dark { background: transparent; border-color: rgb(255 255 255 / 60%); color: #fff; }
.btn-on-dark:hover { background: rgb(255 255 255 / 16%); border-color: #fff; color: #fff; }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { color: var(--brand); background: var(--brand-tint); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--brand-tint); color: var(--brand-700); }
.btn-sale { background: var(--sale); color: #fff; }
.btn-sale:hover { background: #a82f26; }
.btn-sm { padding: 8px 14px; font-size: var(--fs-xs); }
.btn-lg { padding: 15px 32px; font-size: var(--fs-base); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ------------------------------------------------------- 5. Announcement -- */
.announcement {
  background: var(--brand-800); color: #fff;
  font-size: var(--fs-sm); letter-spacing: .01em;
}
.announcement .container {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap; padding-top: 9px; padding-bottom: 9px;
  text-align: center;
}
.announcement strong { font-weight: 600; }
.announcement .code {
  background: #fff; color: var(--brand-800); font-weight: 700;
  padding: 2px 9px; border-radius: var(--r-xs); font-size: .88em;
  letter-spacing: .06em;
}

/* ----------------------------------------------------------- 6. Header -- */
.site-header {
  position: sticky; top: 0; z-index: 120;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.header-main, .header-inner {
  display: grid; align-items: center; gap: 20px;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  padding-top: 14px; padding-bottom: 14px;
}
.brand, .logo {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; flex-shrink: 0;
}
.logo-img {
  max-height: 44px; width: auto; display: block;
}
.brand-mark {
  width: 44px; height: 44px; border-radius: 13px; flex: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-700));
  color: #fff; font-weight: 700; font-size: 21px;
  display: grid; place-items: center;
}
.brand-mark img { width: 31px; height: 31px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
/* the wordmark echoes the official logo: serif, wide-tracked, all caps */
.brand-name {
  font-family: var(--font-wordmark);
  font-weight: 700; font-size: 19px;
  letter-spacing: .085em; text-transform: uppercase;
}
.brand-sub {
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brand); font-weight: 600;
}

.search, .header-search { position: relative; width: 100%; display: flex; align-items: center; }
.search-form { display: flex; width: 100%; }
.search-input {
  flex: 1; min-width: 0; padding: 11px 16px;
  border: 1.5px solid var(--border); border-right: 0;
  border-radius: var(--r-pill) 0 0 var(--r-pill);
  background: var(--surface-2); font-size: var(--fs-sm); outline: none;
  transition: border-color var(--ease), background var(--ease);
  height: 42px;
}
.search-input::placeholder { color: var(--muted); }
.search-input:focus { border-color: var(--brand); background: #fff; }
.search-submit, .search-btn {
  padding: 0 22px; background: var(--brand); color: #fff;
  border-radius: 0 var(--r-pill) var(--r-pill) 0;
  font-weight: 600; font-size: var(--fs-sm);
  border: 0; cursor: pointer; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--ease); flex-shrink: 0;
}
.search-submit:hover, .search-btn:hover { background: var(--brand-600); }

/* live search suggestions */
.search-results, .search-panel {
  position: absolute; inset-inline: 0; top: calc(100% + 8px);
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--shadow-md);
  max-height: 380px; overflow-y: auto; z-index: 60; padding: 6px;
}
.search-results[hidden], .search-panel[hidden] { display: none; }
.search-result {
  display: flex; align-items: center; gap: 12px;
  padding: 8px; border-radius: var(--r-sm); transition: background var(--ease);
}
.search-result:hover, .search-result:focus-visible { background: var(--brand-tint); }
.search-result img { width: 46px; height: 46px; border-radius: var(--r-xs); object-fit: cover; flex: none; background: var(--surface-2); }
.search-result-info { min-width: 0; }
.search-result-brand { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.search-result-name { font-size: var(--fs-sm); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-result-price { font-size: var(--fs-sm); font-weight: 600; color: var(--brand-700); margin-inline-start: auto; flex: none; }
.search-empty { padding: 16px; text-align: center; color: var(--muted); font-size: var(--fs-sm); }

.header-tools { display: flex; align-items: center; gap: 6px; }
.tool, .tool-btn, .cart-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  padding: 6px 10px; border-radius: var(--r-sm); font-size: 11px;
  color: var(--ink-2); font-weight: 600; transition: background var(--ease), color var(--ease);
  position: relative; cursor: pointer; border: 0; background: transparent;
  min-height: 40px; min-width: 40px;
}
.tool:hover, .tool-btn:hover, .cart-btn:hover { background: var(--brand-tint); color: var(--brand-700); }
.tool-icon, .icon { font-size: 19px; line-height: 1; }
.basket-count, .header-tools .badge {
  position: absolute; top: 1px; inset-inline-end: 2px;
  min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--sale); color: #fff; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700; display: grid; place-items: center;
  border: 2px solid var(--surface);
}
.basket-count[hidden], .header-tools .badge[hidden] { display: none; }

/* currency switch */
.currency, .tool-item { display: flex; align-items: center; }
.currency select, .tool-select {
  padding: 7px 10px; border: 1.5px solid var(--border); border-radius: var(--r-sm);
  background: var(--surface); font-size: var(--fs-xs); font-weight: 600;
  cursor: pointer; outline: none; height: 38px;
}
.currency select:focus, .tool-select:focus { border-color: var(--brand); }

/* nav row */
.header-nav { border-top: 1px solid var(--border); }
.header-nav .container { display: flex; align-items: center; gap: 4px; }
.nav-list { display: flex; align-items: center; gap: 2px; flex: 1; flex-wrap: wrap; }
.nav-list a {
  display: inline-block; padding: 13px 15px;
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2);
  border-bottom: 2.5px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}
.nav-list a:hover { color: var(--brand); }
.nav-list a.active { color: var(--brand-700); border-bottom-color: var(--brand); }
.nav-list a.is-sale, .nav-list a.text-sale { color: var(--sale); }
.nav-list a.is-sale.active, .nav-list a.is-sale:hover, .nav-list a.text-sale:hover { color: var(--sale); border-bottom-color: var(--sale); }
.nav-meta { font-size: var(--fs-xs); color: var(--muted); padding: 13px 0; }

.menu-toggle {
  display: none; align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
  width: 42px; height: 42px; padding: 8px;
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  background: var(--surface); cursor: pointer; flex-shrink: 0;
  transition: border-color var(--ease), background var(--ease);
}
.menu-toggle span {
  display: block; width: 20px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform var(--ease), opacity var(--ease);
}
.menu-toggle:hover { border-color: var(--brand); background: var(--brand-tint); }

/* -------------------------------------------------- 6b. Language Switcher (Luxury Redesign) -- */
.lang-switch {
  position: relative;
  display: flex;
  align-items: center;
}

/* Luxury Trigger Button */
.lang-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  min-height: 38px;
  background: var(--surface, #ffffff);
  border: 1.5px solid var(--border, #e2e8f0);
  border-radius: 20px;
  color: var(--ink, #0f172a);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  user-select: none;
}

.lang-trigger-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}

.lang-trigger-btn:active {
  transform: translateY(0);
}

.lang-trigger-btn[aria-expanded="true"] {
  background: #ffffff;
  border-color: var(--brand, #2563eb);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15), 0 4px 14px rgba(0, 0, 0, 0.08);
}

.lang-flag-current {
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.15));
}

.lang-name-current {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink, #0f172a);
  letter-spacing: 0.2px;
}

.lang-chevron {
  width: 12px;
  height: 12px;
  color: #64748b;
  margin-inline-start: 1px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s;
  flex-shrink: 0;
}

.lang-trigger-btn[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
  color: var(--brand, #2563eb);
}

/* Luxury Dropdown Menu Card */
.lang-dropdown-menu.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  z-index: 1000;
  width: 300px;
  max-width: calc(100vw - 24px);
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.18), 0 6px 18px rgba(0, 0, 0, 0.06);
  padding: 0;
  overflow: hidden;
  animation: langDropdownIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: top;
}

@keyframes langDropdownIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.lang-dropdown-menu.lang-menu[hidden] {
  display: none !important;
}

/* Caret Arrow */
.lang-dropdown-menu.lang-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  inset-inline-end: 22px;
  width: 12px;
  height: 12px;
  background: #f8fafc;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
  border-inline-start: 1px solid rgba(226, 232, 240, 0.95);
  transform: rotate(45deg);
  z-index: 2;
}

/* Dropdown Header */
.lang-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
  z-index: 3;
}

.lang-menu-head-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

.lang-globe-icon {
  font-size: 15px;
  line-height: 1;
}

.lang-count-badge {
  background: #e2e8f0;
  color: #334155;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}

/* Dropdown Language List */
.lang-menu-list {
  list-style: none;
  margin: 0;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 3;
}

.lang-menu-list li {
  margin: 0;
  padding: 0;
}

.lang-item-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #1e293b;
  transition: all 0.15s ease;
  position: relative;
  border: 1px solid transparent;
}

.lang-item-link:hover {
  background: #f8fafc;
  border-color: #e2e8f0;
  transform: translateX(3px);
}

[dir="rtl"] .lang-item-link:hover {
  transform: translateX(-3px);
}

.lang-item-link.active {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: var(--brand, #2563eb);
}

.lang-item-flag {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  line-height: 1;
  flex-shrink: 0;
}

.lang-item-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.lang-item-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.lang-item-link.active .lang-item-name {
  color: var(--brand, #2563eb);
}

.lang-item-sub {
  font-size: 11px;
  color: #64748b;
  line-height: 1.3;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lang-item-link.active .lang-item-sub {
  color: #3b82f6;
  opacity: 0.85;
}

.lang-item-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand, #2563eb);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-inline-start: auto;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
}

/* Dropdown Footer */
.lang-menu-foot {
  padding: 10px 16px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 7px;
  position: relative;
  z-index: 3;
}

.lang-foot-icon {
  font-size: 13px;
  line-height: 1;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .lang-name-current {
    display: none;
  }
  .lang-trigger-btn {
    padding: 6px 9px;
    gap: 4px;
  }
  .lang-dropdown-menu.lang-menu {
    width: 280px;
    top: calc(100% + 8px);
  }
}

.lang-switch--mobile { display: block; }
.footer-langs {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  padding: 16px 0 0; margin-top: 4px;
  border-top: 1px solid rgb(255 255 255 / 14%);
  font-size: var(--fs-xs);
}
.footer-langs a { color: rgb(255 255 255 / 70%); }
.footer-langs a:hover { color: #fff; text-decoration: underline; }
.footer-langs a.active { color: #fff; font-weight: 600; }

/* ------------------------------------------------------- 6c. RTL fixes -- */
[dir="rtl"] .search-input {
  border-radius: 0 var(--r-pill) var(--r-pill) 0;
  border-right: 1.5px solid var(--border); border-left: 0;
}
[dir="rtl"] .search-submit { border-radius: var(--r-pill) 0 0 var(--r-pill); }
[dir="rtl"] .lang-menu { inset-inline-end: 0; inset-inline-start: auto; }
[dir="rtl"] .breadcrumb--page { flex-direction: row-reverse; justify-content: flex-end; }
[dir="rtl"] .link-arrow, [dir="rtl"] .tile-label { text-align: right; }
[dir="rtl"] .product-price, [dir="rtl"] .pdp-price { flex-direction: row-reverse; justify-content: flex-end; }
[dir="rtl"] .trust-item { flex-direction: row-reverse; }
[dir="rtl"] .cart-line { flex-direction: row-reverse; }
[dir="rtl"] .footer-langs { flex-direction: row-reverse; justify-content: flex-end; }

/* ------------------------------------------------- 6d. Script coverage -- */
html[lang="ja"] body { font-family: var(--font-cjk); }
html[lang="ar"] body { font-family: var(--font-arabic); }
html[lang="ja"] .brand-name,
html[lang="ar"] .brand-name { font-family: var(--font-wordmark); }
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3,
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.35; }

/* ------------------------------------------------------------ 7. Hero -- */
.hero { position: relative; background: var(--brand-800); color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgb(9 61 57 / 92%) 0%, rgb(9 61 57 / 72%) 42%, rgb(9 61 57 / 18%) 100%);
}
[dir="rtl"] .hero-media::after {
  background: linear-gradient(260deg, rgb(9 61 57 / 92%) 0%, rgb(9 61 57 / 72%) 42%, rgb(9 61 57 / 18%) 100%);
}
.hero-inner, .hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  align-items: center; gap: 40px;
  padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px);
}
.hero-copy, .hero-content { max-width: 620px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgb(255 255 255 / 14%); border: 1px solid rgb(255 255 255 / 26%);
  padding: 6px 14px; border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 20px;
}
.hero h1, .hero-title { font-size: var(--fs-h1); margin-bottom: 16px; }
.hero p, .hero-desc { font-size: clamp(15px, 1.4vw, 18px); color: rgb(255 255 255 / 88%); margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-facts, .hero-stats {
  display: flex; gap: 26px; flex-wrap: wrap;
  margin-top: 36px; padding-top: 26px; border-top: 1px solid rgb(255 255 255 / 20%);
}
.hero-fact, .stat-item { min-width: 80px; }
.hero-fact strong, .stat-item strong { display: block; font-size: 21px; }
.hero-fact span, .stat-item span { font-size: var(--fs-xs); color: rgb(255 255 255 / 76%); }

/* --------------------------------------------------------- 7. Hero Promo Card & Vertical Ticker -- */
.hero-card-wrap {
  width: 100%;
  max-width: 440px;
}

.hero-card, .hero-promo-card {
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  border-radius: 24px;
  padding: 22px 24px;
  box-shadow: 0 20px 45px -10px rgba(9, 61, 57, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-promo-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  margin-bottom: 10px;
}

.hero-promo-titles {
  flex: 1;
  min-width: 0;
}

.hero-promo-titles h3 {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.hero-promo-titles p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

.hero-promo-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(239, 68, 68, 0.08);
  color: #dc2626;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.hero-promo-status-dot {
  width: 7px;
  height: 7px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulseTickerDot 1.8s infinite ease-out;
}

@keyframes pulseTickerDot {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Vertical Scrolling Ticker Viewport */
.promo-ticker-viewport {
  position: relative;
  height: 310px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, black 14px, black calc(100% - 14px), transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 14px, black calc(100% - 14px), transparent);
  padding: 6px 2px;
}

.promo-ticker-track {
  display: flex;
  flex-direction: column;
  gap: 10px;
  will-change: transform;
  animation: scrollVerticalTicker 26s linear infinite;
}

/* Immediate pause on hover or paused state */
.hero-promo-card:hover .promo-ticker-track,
.promo-ticker-viewport:hover .promo-ticker-track,
.promo-ticker-track.is-paused,
.promo-ticker-track.is-touch-paused {
  animation-play-state: paused !important;
}

@keyframes scrollVerticalTicker {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

/* Individual Product Item in Ticker */
.promo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background-color 0.25s ease;
  position: relative;
}

.promo-item:hover {
  background: #f8fafc;
  border-color: rgba(9, 61, 57, 0.3);
  transform: translateX(-3px) scale(1.01);
  box-shadow: 0 6px 18px rgba(9, 61, 57, 0.09);
}

[dir="rtl"] .promo-item:hover {
  transform: translateX(3px) scale(1.01);
}

.promo-item-img-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.promo-item-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  transition: transform 0.3s ease;
}

.promo-item:hover .promo-item-img-wrap img {
  transform: scale(1.08);
}

.promo-badge-tag {
  position: absolute;
  top: 3px;
  left: 3px;
  background: #ef4444;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

[dir="rtl"] .promo-badge-tag {
  left: auto;
  right: 3px;
}

.promo-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.promo-item-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.promo-brand {
  font-size: 10px;
  font-weight: 700;
  color: #0d9488;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.promo-rating-pill {
  font-size: 10px;
  font-weight: 600;
  color: #b45309;
  background: #fef3c7;
  padding: 1px 6px;
  border-radius: 4px;
}

.promo-name {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.promo-price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
  text-align: right;
  margin-inline-start: auto;
}

[dir="rtl"] .promo-price-wrap {
  align-items: flex-start;
  text-align: left;
}

.promo-price {
  font-size: 14px;
  font-weight: 800;
  color: #093d39;
}

.promo-was-price {
  font-size: 11px;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
}

/* Card Footer */
.hero-promo-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  margin-top: 8px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.hero-promo-pause-hint {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

.hero-promo-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticker-ctrl-btn {
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #334155;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.ticker-ctrl-btn:hover {
  background: #093d39;
  color: #ffffff;
  border-color: #093d39;
}

.promo-more-btn {
  font-size: 12px;
  font-weight: 700;
  color: #093d39;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.promo-more-btn:hover {
  color: #0d9488;
  text-decoration: underline;
}

/* --------------------------------------------------------- 8. Category Tiles (Photographic Redesign) -- */
.tile-grid, .tiles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.tile {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 248 / 235;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12), 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: #0f172a;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.22), 0 8px 16px rgba(0, 0, 0, 0.08);
}

.tile img, .tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.tile:hover img, .tile:hover .tile-img {
  transform: scale(1.06);
}

.tile-label {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 24px 18px 16px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
  transition: padding-bottom 0.25s ease;
}

.tile-label h3 {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 4px;
  color: #ffffff;
  line-height: 1.25;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.2px;
}

.tile-label span {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.45;
  display: block;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

/* Category-specific Gradient Overlays matching the original card tones */
.tile-label--dog {
  background: linear-gradient(to top, rgba(5, 38, 42, 0.98) 0%, rgba(5, 38, 42, 0.92) 50%, rgba(5, 38, 42, 0.45) 80%, transparent 100%);
}

.tile-label--cat {
  background: linear-gradient(to top, rgba(48, 10, 68, 0.98) 0%, rgba(48, 10, 68, 0.92) 50%, rgba(48, 10, 68, 0.45) 80%, transparent 100%);
}

.tile-label--birds {
  background: linear-gradient(to top, rgba(4, 52, 34, 0.98) 0%, rgba(4, 52, 34, 0.92) 50%, rgba(4, 52, 34, 0.45) 80%, transparent 100%);
}

.tile-label--small {
  background: linear-gradient(to top, rgba(82, 38, 6, 0.98) 0%, rgba(82, 38, 6, 0.92) 50%, rgba(82, 38, 6, 0.45) 80%, transparent 100%);
}

@media (max-width: 900px) {
  .tile-grid, .tiles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .tile {
    border-radius: 16px;
  }
  .tile-label {
    padding: 20px 14px 14px;
  }
  .tile-label h3 {
    font-size: 17px;
  }
  .tile-label span {
    font-size: 11.5px;
  }
}

@media (max-width: 480px) {
  .tile-grid, .tiles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .tile {
    border-radius: 14px;
  }
  .tile-label {
    padding: 16px 10px 10px;
  }
  .tile-label h3 {
    font-size: 15px;
  }
  .tile-label span {
    font-size: 10.5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* -------------------------------------------------------- 9. Product card */
.product-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid--scroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: 250px;
  overflow-x: auto; padding-bottom: 12px; gap: 20px;
  scroll-snap-type: x mandatory;
}
.product-grid--scroll > * { scroll-snap-align: start; }

.product-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.product-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong);
}
.product-media, .product-img-wrap {
  position: relative; aspect-ratio: 1 / 1; background: var(--surface-2); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.product-media img, .product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms ease; }
.product-card:hover .product-media img, .product-card:hover .product-img-wrap img { transform: scale(1.06); }
.badges { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; z-index: 2; }
.badge, .product-badge {
  position: absolute; top: 10px; inset-inline-start: 10px; z-index: 2;
  padding: 4px 9px; border-radius: var(--r-pill);
  font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: var(--brand);
}
.badges .badge { position: static; }
.badge--sale { background: var(--sale); }
.badge--new { background: var(--new); }
.badge--best { background: var(--ink); }
.badge--out { background: var(--muted); }

.quick-view {
  position: absolute; inset-inline: 10px; bottom: 10px;
  padding: 9px; border-radius: var(--r-pill); background: rgb(255 255 255 / 96%);
  color: var(--ink); font-size: var(--fs-xs); font-weight: 600; text-align: center;
  box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(8px);
  transition: opacity var(--ease), transform var(--ease), background var(--ease); z-index: 2;
}
.product-card:hover .quick-view, .quick-view:focus-visible { opacity: 1; transform: translateY(0); }
.quick-view:hover { background: var(--brand); color: #fff; }

.product-body, .product-info { display: flex; flex-direction: column; flex: 1; padding: 14px; }
.product-rating { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); margin-bottom: 6px; }
.product-rating .stars { color: #f59e0b; letter-spacing: 1px; }
.product-rating .rating-num { color: var(--muted); font-size: 11px; }
.product-brand {
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 5px;
}
.product-name { font-size: var(--fs-sm); font-weight: 500; line-height: 1.42; margin-bottom: 10px; }
.product-name a:hover { color: var(--brand); }
.product-price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.price-now { font-size: 17px; font-weight: 700; color: var(--brand-700); }
.price-was { font-size: var(--fs-sm); color: var(--muted); text-decoration: line-through; }
.price-from { font-size: 11px; color: var(--muted); font-weight: 500; }
.stock { font-size: 11px; font-weight: 600; color: #2f8a4a; margin-top: 6px; }
.stock--low { color: #c07a1e; }
.stock--out { color: var(--muted); }

.product-actions { margin-top: 12px; }
.add-to-basket {
  width: 100%; padding: 10px; border-radius: var(--r-pill);
  background: var(--brand); color: #fff; font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .03em; transition: background var(--ease);
}
.add-to-basket:hover { background: var(--brand-600); }
.add-to-basket.is-added { background: #2f8a4a; }
.choose-options {
  width: 100%; padding: 10px; border-radius: var(--r-pill);
  border: 1.5px solid var(--brand); color: var(--brand-700);
  font-size: var(--fs-xs); font-weight: 700; background: transparent;
  transition: background var(--ease), color var(--ease);
}
.choose-options:hover { background: var(--brand-tint); }

/* ------------------------------------------------------- 10. Collections */
.collection-layout { display: grid; grid-template-columns: 258px minmax(0, 1fr); gap: 32px; align-items: start; }
.filters {
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface); padding: 20px; position: sticky; top: calc(var(--header-h) + 16px);
}
.filters .filters-title { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.filter-group { padding: 16px 0; border-top: 1px solid var(--border); }
.filter-group:first-of-type { border-top: 0; padding-top: 0; }
.filter-group h3 { font-size: var(--fs-sm); margin-bottom: 10px; }
.filter-option {
  display: flex; align-items: center; gap: 9px;
  padding: 6px 0; font-size: var(--fs-sm); color: var(--ink-2); cursor: pointer;
}
.filter-option input { width: 16px; height: 16px; accent-color: var(--brand); cursor: pointer; flex: none; }
.filter-option:hover { color: var(--brand-700); }
.filter-option .count { margin-inline-start: auto; font-size: 11px; color: var(--muted); }
.filter-actions { display: flex; gap: 8px; padding-top: 16px; border-top: 1px solid var(--border); }
.filter-actions .btn { flex: 1; }

.collection-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; margin-bottom: 20px;
}
.collection-count { font-size: var(--fs-sm); color: var(--muted); }
.collection-count strong { color: var(--ink); }
.collection-tools { display: flex; align-items: center; gap: 10px; }
.sort-select {
  padding: 9px 12px; border: 1.5px solid var(--border); border-radius: var(--r-sm);
  background: var(--surface); font-size: var(--fs-sm); cursor: pointer; outline: none;
}
.sort-select:focus { border-color: var(--brand); }
.filter-toggle { display: none; }

.active-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--brand-tint); color: var(--brand-700);
  padding-block: 5px; padding-inline-start: 12px; padding-inline-end: 8px;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: 600;
}
.chip button { color: inherit; font-size: 14px; line-height: 1; padding: 0 2px; }
.chip:hover { background: var(--brand-tint-2); }

.empty-state {
  grid-column: 1 / -1; text-align: center; padding: 60px 20px;
  border: 1px dashed var(--border-strong); border-radius: var(--r-lg); color: var(--muted);
}
.empty-state h3 { color: var(--ink); margin-bottom: 8px; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.pagination button {
  min-width: 40px; padding: 9px 12px; border: 1px solid var(--border);
  border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 600;
  background: var(--surface); transition: all var(--ease);
}
.pagination button:hover { border-color: var(--brand); color: var(--brand); }
.pagination button[aria-current="page"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination button[disabled] { opacity: .4; pointer-events: none; }

/* -------------------------------------------------------- 11. Page hero */
.page-hero { position: relative; background: var(--brand-800); color: #fff; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  /* neutral scrim so each category's own band colour still reads through */
  background: linear-gradient(90deg, rgb(26 22 24 / 84%) 0%, rgb(26 22 24 / 58%) 55%, rgb(26 22 24 / 34%) 100%);
}
[dir="rtl"] .page-hero::after {
  background: linear-gradient(270deg, rgb(26 22 24 / 84%) 0%, rgb(26 22 24 / 58%) 55%, rgb(26 22 24 / 34%) 100%);
}
.page-hero-inner { position: relative; z-index: 2; padding: 56px 0 60px; max-width: 640px; }
.page-hero h1 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 10px; }
.page-hero p { color: rgb(255 255 255 / 86%); font-size: var(--fs-lg); }
.breadcrumb { font-size: var(--fs-xs); color: rgb(255 255 255 / 76%); margin-bottom: 14px; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* ---------------------------------------------------- 12. Promo / split */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: center; }
.split-media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.split-copy h2 { font-size: var(--fs-h2); margin-bottom: 14px; }
.split-copy p { color: var(--ink-2); margin-bottom: 14px; }
.promo-code {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1.5px dashed var(--brand); background: var(--brand-tint);
  color: var(--brand-700); border-radius: var(--r-md);
  padding: 11px 16px; font-weight: 700; letter-spacing: .1em; margin-bottom: 20px;
}

.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.brand-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 20px; text-align: center;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.brand-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.brand-card img { margin: 0 auto 12px; border-radius: var(--r-sm); }
.brand-card h3 { font-size: var(--fs-sm); }
.brand-card span { font-size: 11px; color: var(--muted); }

/* ----------------------------------------------------- 13. Trust strip */
.trust-strip { background: var(--ink); color: #fff; }
.trust-strip .container {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px; padding-top: 26px; padding-bottom: 26px;
}
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item .icon {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: rgb(255 255 255 / 10%); display: grid; place-items: center; font-size: 18px;
}
.trust-item strong { display: block; font-size: var(--fs-sm); }
.trust-item span { font-size: var(--fs-xs); color: rgb(255 255 255 / 68%); }

/* --------------------------------------------------------- 14. Footer */
.site-footer { background: var(--brand-800); color: #fff; padding-top: 56px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px; padding-bottom: 40px;
}
/* the official lockup is supplied as a knockout, so it sits straight on the teal */
.footer-logo { width: 196px; height: auto; margin-bottom: 20px; }
.footer-brand .brand-sub { color: rgb(255 255 255 / 66%); }
.footer-brand p { color: rgb(255 255 255 / 74%); font-size: var(--fs-sm); margin: 16px 0 18px; max-width: 320px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgb(255 255 255 / 10%); display: grid; place-items: center;
  font-size: 15px; transition: background var(--ease);
}
.footer-social a:hover { background: rgb(255 255 255 / 22%); }
.footer-col h4 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { color: rgb(255 255 255 / 76%); font-size: var(--fs-sm); transition: color var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / 14%); padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; font-size: var(--fs-xs); color: rgb(255 255 255 / 66%);
}
.pay-methods { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pay-methods span {
  background: rgb(255 255 255 / 12%); border-radius: var(--r-xs);
  padding: 4px 9px; font-size: 10px; font-weight: 700; letter-spacing: .06em;
}
.pay-logo {
  display: inline-block;
  height: 24px;
  width: 36px;
  vertical-align: middle;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  flex-shrink: 0;
  cursor: default;
}
.pay-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.28);
}

.footer-payments-bar {
  border-top: 1px solid rgb(255 255 255 / 12%);
  padding: 24px 0 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-payments-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  color: rgb(255 255 255 / 90%);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-payments-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

/* --------------------------------------------------------- 15. Drawers */
.scrim {
  position: fixed; inset: 0; background: rgb(24 16 19 / 52%);
  opacity: 0; visibility: hidden; transition: opacity var(--ease), visibility var(--ease);
  z-index: 200; backdrop-filter: blur(2px);
}
.scrim.open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; inset-inline-end: 0; height: 100%;
  width: min(420px, 92vw); background: var(--surface);
  display: flex; flex-direction: column; z-index: 210;
  transform: translateX(100%); transition: transform 260ms cubic-bezier(.4, 0, .2, 1);
  box-shadow: var(--shadow-lg);
}
[dir="rtl"] .drawer { transform: translateX(-100%); }
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 20px; border-bottom: 1px solid var(--border);
}
.drawer-head h2 { font-size: var(--fs-h4); }
.drawer-close {
  width: 36px; height: 36px; border-radius: 50%; font-size: 20px; line-height: 1;
  display: grid; place-items: center; color: var(--ink-2);
  transition: background var(--ease), color var(--ease);
}
.drawer-close:hover { background: var(--surface-2); color: var(--ink); }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px; }
.drawer-foot { border-top: 1px solid var(--border); padding: 20px; background: var(--cream); }

.cart-line { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cart-line:first-child { padding-top: 0; }
.cart-line img { width: 72px; height: 72px; border-radius: var(--r-sm); object-fit: cover; flex: none; background: var(--surface-2); }
.cart-line-info { flex: 1; min-width: 0; }
.cart-line-brand { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cart-line-name { font-size: var(--fs-sm); font-weight: 500; line-height: 1.35; margin: 2px 0 8px; }
.cart-line-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.qty {
  display: inline-flex; align-items: center; border: 1px solid var(--border);
  border-radius: var(--r-pill); overflow: hidden;
}
.qty button {
  width: 30px; height: 30px; font-size: 15px; line-height: 1; color: var(--ink-2);
  transition: background var(--ease), color var(--ease);
}
.qty button:hover { background: var(--brand-tint); color: var(--brand-700); }
.qty input {
  width: 38px; text-align: center; border: 0; outline: none;
  font-size: var(--fs-sm); font-weight: 600; background: transparent;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty:focus-within { box-shadow: 0 0 0 2px var(--brand-tint-2); }
.qty input:focus-visible { outline: 2px solid var(--brand-700); outline-offset: 2px; }
.cart-line-price { font-weight: 700; color: var(--brand-700); font-size: var(--fs-sm); }
.cart-remove { font-size: 11px; color: var(--muted); text-decoration: underline; }
.cart-remove:hover { color: var(--sale); }

.cart-summary { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.cart-row { display: flex; justify-content: space-between; font-size: var(--fs-sm); color: var(--ink-2); }
.cart-row.total { font-size: 18px; font-weight: 700; color: var(--ink); padding-top: 10px; border-top: 1px solid var(--border); }
.cart-progress { margin-bottom: 16px; }
.cart-progress p { font-size: var(--fs-xs); color: var(--ink-2); margin-bottom: 8px; }
.cart-progress p strong { color: var(--brand-700); }
.progress-track { height: 7px; background: var(--surface-2); border-radius: var(--r-pill); overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-700)); border-radius: var(--r-pill); transition: width 320ms ease; }
.cart-empty { text-align: center; padding: 48px 12px; color: var(--muted); }
.cart-empty .big { font-size: 44px; margin-bottom: 12px; }
.cart-note { font-size: 11px; color: var(--muted); text-align: center; margin-top: 12px; }

/* mobile nav drawer */
.drawer--left { inset-inline-end: auto; inset-inline-start: 0; transform: translateX(-100%); }
[dir="rtl"] .drawer--left { transform: translateX(100%); }
.drawer--left.open { transform: translateX(0); }
.mobile-nav a {
  display: block; padding: 15px 4px; font-weight: 600;
  border-bottom: 1px solid var(--border); font-size: var(--fs-base);
}
.mobile-nav a.active { color: var(--brand-700); }
.mobile-nav a.is-sale { color: var(--sale); }
.mobile-nav .mobile-sub { padding: 4px 0 18px; }

/* --------------------------------------------------------- 16. Toasts */
.toasts {
  position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 300;
  display: flex; flex-direction: column; gap: 10px; pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 11px;
  background: var(--ink); color: #fff; padding: 12px 18px;
  border-radius: var(--r-pill); box-shadow: var(--shadow-lg);
  font-size: var(--fs-sm); font-weight: 500;
  animation: toast-in 260ms cubic-bezier(.2, .9, .3, 1.2);
}
.toast .tick { color: #6fe0a8; font-size: 15px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------- 17. Quick view */
.modal {
  position: fixed; inset: 0; z-index: 220; display: grid; place-items: center;
  padding: 20px; opacity: 0; visibility: hidden; transition: opacity var(--ease), visibility var(--ease);
}
.modal.open { opacity: 1; visibility: visible; }
.modal-card {
  position: relative; background: var(--surface); border-radius: var(--r-lg);
  width: min(880px, 100%); max-height: 88vh; overflow-y: auto;
  box-shadow: var(--shadow-lg); transform: translateY(12px) scale(.98);
  transition: transform 240ms cubic-bezier(.4, 0, .2, 1);
}
.modal.open .modal-card { transform: none; }
.modal-card--narrow { width: min(420px, 100%); }
.modal-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding: 28px; }

/* account / sign-in modal */
.account-panel { padding: 30px 28px; text-align: center; }
.account-panel .product-brand { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.account-form { display: flex; flex-direction: column; gap: 12px; margin: 18px 0 14px; text-align: left; }
.account-form input {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--border); border-radius: var(--r-md);
  font-size: var(--fs-sm); font-family: inherit; background: var(--surface); color: var(--ink);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.account-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.account-note { font-size: var(--fs-xs); color: var(--muted); margin: 0; }
.modal-grid img { width: 100%; border-radius: var(--r-md); background: var(--surface-2); }
.modal-close {
  position: absolute; top: 12px; inset-inline-end: 12px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%; background: var(--surface);
  box-shadow: var(--shadow-sm); font-size: 20px; display: grid; place-items: center;
}
.modal-close:hover { background: var(--surface-2); }
.modal-body h2 { font-size: var(--fs-h3); margin: 6px 0 10px; }
.modal-price { font-size: 24px; font-weight: 700; color: var(--brand-700); margin-bottom: 14px; }
.modal-desc { color: var(--ink-2); font-size: var(--fs-sm); margin-bottom: 18px; }
.option-row { margin-bottom: 16px; }
.option-row > span { display: block; font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.option-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.option-pill {
  padding: 8px 14px; border: 1.5px solid var(--border); border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: 600; transition: all var(--ease);
}
.option-pill:hover { border-color: var(--brand); color: var(--brand); }
.option-pill.selected { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-700); }
.spec-list { display: grid; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.spec-list div { display: flex; justify-content: space-between; font-size: var(--fs-sm); }
.spec-list dt { color: var(--muted); }
.spec-list dd { font-weight: 500; }

/* ------------------------------------------------------- 18. Forms ---- */
.form-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--border);
  border-radius: var(--r-sm); background: var(--surface); font-size: var(--fs-sm);
  outline: none; transition: border-color var(--ease), box-shadow var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand); box-shadow: var(--ring);
}
.field textarea { min-height: 84px; resize: vertical; }
.field .hint { font-size: 11px; color: var(--muted); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 20px; }
.form-status {
  font-size: var(--fs-sm); font-weight: 600; color: #2f8a4a;
  opacity: 0; transition: opacity var(--ease);
}
.form-status.show { opacity: 1; }

/* ------------------------------------------- 18b. SEO content blocks --- */
.section--tight { padding-top: 28px; padding-bottom: 28px; }

/* heading that opens a product listing (keeps the h1 -> h2 -> h3 order) */
.collection-heading {
  font-size: var(--fs-h3);
  margin-bottom: 16px;
}

.prose { max-width: 860px; margin: 0 auto; }
.prose p { color: var(--ink-2); margin-bottom: 14px; font-size: var(--fs-base); }
.prose p:last-child { margin-bottom: 0; }

/* standalone breadcrumb (product pages, on a light background) */
.breadcrumb--page {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: var(--fs-xs);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.breadcrumb--page a { color: var(--brand-700); }
.breadcrumb--page a:hover { text-decoration: underline; }
.breadcrumb--page span[aria-current] { color: var(--ink-2); }

/* FAQ */
.faq-list { max-width: 880px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 18px 20px; display: flex; align-items: center; gap: 14px;
  transition: background var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; margin-inline-start: auto; flex: none;
  font-size: 20px; line-height: 1; color: var(--brand);
  transition: transform var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { background: var(--brand-tint); }
.faq-item summary h3 { font-size: var(--fs-base); font-weight: 600; margin: 0; }
.faq-answer { padding: 0 20px 20px; }
.faq-answer p { color: var(--ink-2); font-size: var(--fs-sm); margin: 0; }

/* product detail page */
.pdp, .pdp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.pdp-media, .pdp-gallery {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
}
.pdp-media img, .pdp-main-img-wrap img { width: 100%; height: auto; display: block; }
.pdp-main-img-wrap {
  position: relative; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
  background: var(--surface); overflow: hidden;
}
.pdp-badge { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2; }
.pdp-info h1, .pdp-title { font-size: var(--fs-h2); margin: 6px 0 12px; }
.pdp-price { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.pdp-price .price-now { font-size: 30px; font-weight: 700; color: var(--brand-700); }
.pdp-price .price-was { font-size: var(--fs-base); color: var(--muted); text-decoration: line-through; }
.pdp-rating { font-size: var(--fs-sm); color: var(--brand); font-weight: 600; margin-bottom: 16px; display: flex; align-items: center; gap: 6px; }
.pdp-rating .stars { color: #f59e0b; }
.pdp-rating span { color: var(--muted); font-weight: 400; }
.pdp-blurb { color: var(--ink-2); margin-bottom: 20px; line-height: 1.6; }
.pdp-options { margin: 18px 0; }
.pdp-opt-label { display: block; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin-bottom: 8px; }
.pdp-opt-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.opt-pill {
  padding: 8px 16px; border: 1.5px solid var(--border); border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: 600; background: var(--surface); color: var(--ink-2);
  cursor: pointer; transition: all var(--ease);
}
.opt-pill:hover, .opt-pill.selected { border-color: var(--brand); color: #fff; background: var(--brand); }
.pdp-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 24px; }

@media (max-width: 900px) {
  .pdp, .pdp-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* PDP gallery + video (imported products from the AliExpress importer) */
.pdp-thumbs { display: flex; gap: 10px; flex-wrap: wrap; padding: 12px; }
.pdp-thumb {
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  padding: 0; background: var(--surface); cursor: pointer; overflow: hidden;
  transition: border-color var(--ease);
}
.pdp-thumb:hover { border-color: var(--brand); }
.pdp-thumb img { display: block; width: 84px; height: 84px; object-fit: cover; }
.pdp-video { padding: 0 12px 14px; }
.pdp-video-label {
  display: block; font-size: var(--fs-xs); font-weight: 600;
  text-transform: uppercase; letter-spacing: .07em; color: var(--muted);
  margin-bottom: 8px;
}
.pdp-video video, .quick-video { display: block; width: 100%; border-radius: var(--r-md); background: #000; }
.quick-video { margin-top: 14px; }
.pdp-desc summary { cursor: pointer; }
.pdp-desc summary h2 { display: inline; font-size: var(--fs-h4); }
.pdp-desc p { color: var(--ink-2); line-height: 1.7; margin-top: 14px; }

/* ------------------------------------------------------- 19. Utilities */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 400;
  background: var(--brand); color: #fff; padding: 10px 18px; border-radius: var(--r-sm);
  transition: top var(--ease);
}
.skip-link:focus { top: 12px; }

/* ------------------------------------------------- 19. Breakpoints ---- */
@media (max-width: 1180px) {
  .product-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: 2 / -1; }
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 460px; }
  .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-layout { grid-template-columns: 1fr; }
  .filters {
    position: fixed; inset: 0 auto 0 0; width: min(340px, 90vw);
    height: 100%; border-radius: 0; z-index: 215;
    transform: translateX(-100%); transition: transform 260ms cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto; padding-bottom: 90px;
  }
  .filters.open { transform: translateX(0); }
  [dir="rtl"] .filters {
    inset: 0 0 0 auto; transform: translateX(100%);
  }
  [dir="rtl"] .filters.open { transform: translateX(0); }
  .filter-toggle { display: inline-flex; }
  .filter-actions {
    position: fixed; bottom: 0; inset-inline-start: 0; width: min(340px, 90vw);
    background: var(--surface); padding: 16px; border-top: 1px solid var(--border);
  }
  .trust-strip .container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  /* two-row header: menu toggle + brand + tools on top, full-width search below */
  .header-main, .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "menu logo tools" "search search search";
    row-gap: 10px; column-gap: 8px;
    padding-top: 10px; padding-bottom: 10px;
  }
  .menu-toggle { grid-area: menu; display: inline-flex; }
  .brand, .logo { grid-area: logo; min-width: 0; }
  .logo-img { max-height: 40px; max-width: 140px; object-fit: contain; }
  .header-tools { grid-area: tools; gap: 4px; }
  .search, .header-search { grid-area: search; width: 100%; }
  .header-main .brand { grid-area: logo; min-width: 0; }
  .header-main .search { grid-area: search; }
  .header-main .header-tools { grid-area: tools; }
  .brand-text { min-width: 0; }
  .brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .header-nav { display: none; }
  .header-tools .tool-label { display: none; }
  .hero-inner, .hero-grid { grid-template-columns: 1fr; gap: 28px; padding: 36px 0; }
  .hero-card-wrap { max-width: 100%; }
  .pdp, .pdp-grid { grid-template-columns: 1fr; gap: 24px; }
  .split { grid-template-columns: 1fr; }
  .modal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .product-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  :root { --gutter: 14px; --section: 36px; }
  /* currency + account move into the mobile menu drawer at this size */
  .header-tools .currency,
  .header-tools .tool-item:has(#currency-select),
  .header-tools .tool--account { display: none; }
  .search-submit, .search-btn { padding: 0 16px; font-size: 13px; }
  .header-main, .header-inner { column-gap: 8px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 11px; }
  .brand-mark img { width: 27px; height: 27px; }
  .brand-name { font-size: 15px; letter-spacing: .05em; }
  .product-grid, .product-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-grid--scroll { grid-auto-columns: 190px; }
  .product-body, .product-info { padding: 10px; }
  .product-name { font-size: 13px; line-height: 1.35; }
  .price-now { font-size: 15px; }
  .add-to-basket, .choose-options { padding: 8px 10px; font-size: 11px; min-height: 38px; }
  .tile-grid, .tiles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile--wide { grid-column: auto; aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid .footer-brand, .footer-col--brand { grid-column: 1 / -1; }
  .trust-strip .container { grid-template-columns: 1fr; gap: 14px; }
  .hero-facts, .hero-stats { gap: 16px; }
  .header-tools { gap: 2px; }
  .tool, .tool-btn, .cart-btn { padding: 6px 7px; min-width: 38px; min-height: 38px; }
  .tool-label { display: none; }
  .brand-sub { display: none; }
  .toasts { inset-inline: 12px; bottom: 12px; }
  .toast { justify-content: center; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .pdp-actions { flex-direction: column; }
  .pdp-actions .btn { width: 100%; justify-content: center; }
  .pdp-bnpl-teaser { font-size: 11.5px; padding: 8px 10px; }
  .shop-toolbar { flex-direction: column; align-items: stretch; gap: 10px; }
  .filter-chips { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; padding-bottom: 4px; }
  .filter-chips .chip { flex-shrink: 0; }
  .sort-wrap, #shop-sort { width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer-payments-logos { gap: 6px; }
}

@media (max-width: 380px) {
  :root { --gutter: 10px; }
  .header-inner, .header-main { column-gap: 6px; }
  .logo-img { max-height: 32px; max-width: 110px; }
  .menu-toggle { width: 38px; height: 38px; padding: 6px; }
  .product-grid, .product-grid--4 { grid-template-columns: 1fr; gap: 12px; }
  .tiles-grid, .tile-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-facts, .hero-stats { gap: 12px; }
  .pdp-thumbs .pdp-thumb img { width: 60px; height: 60px; }
  .pay-logo { height: 20px; width: 30px; }
}

/* -------------------------------------------------- payment badges ---- */
.pay-methods--pdp {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 16px 0 4px;
}
.pay-methods--pdp span {
  background: var(--surface); color: var(--muted);
  border: 1px solid var(--border); border-radius: var(--r-xs);
  padding: 3px 8px; font-size: 10px; font-weight: 700; letter-spacing: .06em;
}

.cart-pay-methods {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--border);
}
.cart-pay-methods .pay-methods {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.cart-pay-methods .pay-methods span {
  background: var(--surface); color: var(--muted);
  border: 1px solid var(--border); border-radius: var(--r-xs);
  padding: 3px 8px; font-size: 10px; font-weight: 700; letter-spacing: .06em;
}
.cart-pay-label {
  font-size: var(--fs-xs); color: var(--muted); margin-bottom: 6px;
}

/* ------------------------------------------------ product payment enhancements */
.pdp-bnpl-teaser {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 9px 14px; border-radius: var(--r-sm);
  background: rgba(38, 115, 77, 0.05); border: 1px solid rgba(38, 115, 77, 0.18);
  font-size: 12px; margin: 12px 0; color: var(--ink); line-height: 1.4;
}
.pdp-bnpl-teaser strong { color: var(--brand-700); font-weight: 700; }
.pdp-bnpl-badge {
  display: inline-block; padding: 2px 7px; border-radius: 4px;
  background: var(--brand); color: #fff; font-size: 10px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
}
.pdp-bnpl-badge--klarna {
  background: #ffb3c7 !important;
  color: #0a0a0a !important;
  font-weight: 900 !important;
}

.pdp-safe-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; color: var(--brand-700);
  margin-top: 14px; margin-bottom: 4px; letter-spacing: .02em;
}

/* ------------------------------------------------ interactive checkout modal */
.modal-card--checkout {
  width: min(680px, 100%); max-height: 90vh; overflow-y: auto;
  padding: 0; border-radius: var(--r-lg); background: var(--surface);
}
.checkout-header {
  padding: 24px 28px 16px; border-bottom: 1px solid var(--border);
  background: var(--surface); display: flex; align-items: center; justify-content: space-between;
}
.checkout-header h2 { font-size: 20px; font-weight: 700; color: var(--ink); margin: 0; }
.checkout-body { padding: 24px 28px; }

.checkout-summary {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 14px 18px; margin-bottom: 22px;
}
.checkout-summary-row {
  display: flex; justify-content: space-between; font-size: var(--fs-sm);
  margin-bottom: 6px; color: var(--ink-2);
}
.checkout-summary-row.total {
  font-size: 17px; font-weight: 700; color: var(--brand-700);
  border-top: 1px solid var(--border); padding-top: 10px; margin-top: 8px; margin-bottom: 0;
}

.checkout-sec-title {
  font-size: 14px; font-weight: 700; color: var(--ink);
  margin: 18px 0 12px; display: flex; align-items: center; gap: 8px;
}

.checkout-grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px;
}
@media (max-width: 580px) {
  .checkout-grid-2 { grid-template-columns: 1fr; }
  .checkout-body, .checkout-header { padding: 18px; }
}

.checkout-input {
  width: 100%; padding: 10px 14px; font-size: var(--fs-sm);
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink); transition: border-color .15s;
}
.checkout-input:focus { outline: none; border-color: var(--brand); }

.checkout-methods-list {
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px;
}
.checkout-method-option {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  background: var(--surface); cursor: pointer;
  transition: border-color .15s, background .15s;
  visibility: visible !important;
}
.checkout-method-option:hover { border-color: var(--brand); }
.checkout-method-option.selected {
  border-color: var(--brand); background: rgba(38, 115, 77, 0.04);
}
.checkout-method-option input[type="radio"] {
  width: 18px; height: 18px; accent-color: var(--brand); flex: none;
}
.checkout-method-text { flex: 1; min-width: 0; }
.checkout-method-name { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.checkout-method-desc { font-size: 11px; color: var(--muted); margin-top: 2px; }

.checkout-method-pane {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 16px; margin-top: 10px; margin-bottom: 18px;
}

.bank-detail-card {
  background: var(--surface-2); border: 1px dashed var(--border);
  border-radius: var(--r-sm); padding: 14px; font-size: 12.5px;
}
.bank-detail-row {
  display: flex; justify-content: space-between; margin-bottom: 6px;
  gap: 12px; flex-wrap: wrap;
}
.bank-detail-row strong { color: var(--ink); }

.checkout-success {
  text-align: center; padding: 32px 16px 20px;
}
.checkout-success-icon {
  width: 64px; height: 64px; border-radius: 50%; background: #e8f5e9;
  color: #2e7d32; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 32px; font-weight: bold;
}
.checkout-success h3 { font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.checkout-ref-pill {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  background: var(--surface-2); border: 1.5px solid var(--border);
  font-weight: 700; font-size: 14px; color: var(--brand-700); margin: 12px 0 20px;
}

/* ------------------------------------------------ homepage payment showcase */
.section--pay-showcase {
  padding: 56px 0;
  background: linear-gradient(180deg, var(--surface) 0%, rgba(38, 115, 77, 0.05) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.pay-showcase-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  background: rgba(38, 115, 77, 0.1);
  color: var(--brand-700);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}
.pay-showcase-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
}
.pay-showcase-desc {
  font-size: 14.5px;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.pay-showcase-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.pay-showcase-logos .pay-logo {
  height: 32px;
  width: 48px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.checkout-method-logos {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-inline-start: auto;
  flex-shrink: 0;
}
.checkout-method-logos .pay-logo {
  height: 22px;
  width: 33px;
  box-shadow: none;
  border: 1px solid rgba(0,0,0,0.08);
}

.drawer-pay-methods {
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}
.drawer-pay-methods-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .02em;
}
.drawer-pay-methods-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  align-items: center;
}
.drawer-pay-methods-logos .pay-logo {
  height: 22px;
  width: 33px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   CUSTOMER REVIEWS SECTION (STRICTLY 4 & 5 STARS POSITIVE FEEDBACK)
   ========================================================================== */
.pdp-reviews-section {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.pdp-reviews-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px;
}

.pdp-reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(16, 185, 129, 0.12));
  color: #065f46;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.pdp-reviews-title {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: var(--text-color, #111827);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.pdp-reviews-subtitle {
  color: var(--muted, #6b7280);
  font-size: 14px;
  line-height: 1.6;
}

/* Scorecard container */
.pdp-reviews-scorecard {
  display: grid;
  grid-template-columns: 240px 1fr 200px;
  gap: 28px;
  align-items: center;
  background: var(--surface-1, #ffffff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
  margin-bottom: 32px;
}

.scorecard-main {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-inline-end: 24px;
  border-inline-end: 1px solid var(--border, #e5e7eb);
}

.scorecard-big-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: #111827;
  line-height: 1;
  letter-spacing: -0.03em;
}

.scorecard-stars {
  color: #f59e0b;
  font-size: 1.35rem;
  letter-spacing: 2px;
  margin: 6px 0 4px;
}

.scorecard-count {
  font-size: 13px;
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 10px;
}

.scorecard-recommend {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #047857;
  background: #ecfdf5;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #a7f3d0;
}

/* Star progress bars */
.scorecard-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.star-row {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.star-row:hover:not(.star-row--zero) {
  background: rgba(0, 0, 0, 0.03);
}

.star-label {
  width: 90px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
}

.star-progress-bg {
  flex: 1;
  height: 9px;
  background: #f3f4f6;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.star-progress-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.star-progress-5 {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.star-progress-4 {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.star-pct {
  width: 38px;
  font-size: 12px;
  font-weight: 700;
  color: #4b5563;
  text-align: end;
}

.star-num {
  width: 32px;
  font-size: 12px;
  color: #9ca3af;
}

.star-row--zero {
  opacity: 0.45;
  cursor: default;
}

.scorecard-guarantee-note {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #059669;
}

.scorecard-action {
  text-align: center;
  padding-inline-start: 16px;
}

.btn-write-review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-write-review:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.35);
}

/* Filter chips bar */
.reviews-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.rev-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface-1, #ffffff);
  border: 1px solid var(--border, #e5e7eb);
  color: #4b5563;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.rev-chip:hover {
  border-color: #f59e0b;
  color: #111827;
  background: #fffbeb;
}

.rev-chip.active {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

.rev-chip .chip-count {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  font-size: 11px;
  font-weight: 700;
}

.rev-chip.active .chip-count {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.rev-chip .chip-star {
  color: #f59e0b;
}

/* Reviews grid / cards */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.review-card {
  background: var(--surface-1, #ffffff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  position: relative;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  border-color: #cbd5e1;
}

.new-review-highlight {
  animation: highlightNewReview 1.5s ease-out;
  border-color: #10b981;
}

@keyframes highlightNewReview {
  0% { background-color: #ecfdf5; }
  100% { background-color: #ffffff; }
}

.review-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.review-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(249, 115, 22, 0.25);
}

.review-user-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.review-user-name {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #111827;
}

.review-country-badge {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
}

.review-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid #a7f3d0;
  width: fit-content;
}

.review-date time {
  font-size: 12px;
  color: #9ca3af;
  white-space: nowrap;
}

.review-stars-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.review-stars {
  color: #f59e0b;
  font-size: 1.15rem;
  letter-spacing: 2px;
}

.review-rating-badge {
  font-size: 11px;
  font-weight: 700;
  color: #4b5563;
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 6px;
}

.review-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
  line-height: 1.4;
}

.review-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: #374151;
  margin: 0 0 16px;
  flex-grow: 1;
}

.review-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.btn-helpful {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid #e2e8f0;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-helpful:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

.btn-helpful.voted {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #2563eb;
  font-weight: 700;
  cursor: default;
}

.reviews-empty-state {
  text-align: center;
  padding: 40px 20px;
  background: var(--surface-1, #ffffff);
  border: 1px dashed var(--border, #e5e7eb);
  border-radius: 12px;
  color: #6b7280;
  font-size: 14px;
}

/* Review submission modal */
.pdp-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.pdp-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.pdp-modal-dialog {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 20px 40px -6px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  z-index: 10;
  animation: modalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.pdp-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
}

.pdp-modal-header h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #111827;
}

.pdp-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
}

.pdp-modal-close:hover {
  color: #111827;
}

.pdp-modal-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pdp-modal-body .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pdp-modal-body label {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
}

.pdp-modal-body .form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pdp-modal-body .form-control:focus {
  border-color: #ea580c;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

.pdp-modal-body .form-row {
  display: flex;
  gap: 14px;
}

.pdp-modal-body .form-col {
  flex: 1;
}

.pdp-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 8px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .pdp-reviews-scorecard {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 20px;
    gap: 24px;
  }
  .scorecard-main {
    padding-inline-end: 0;
    border-inline-end: none;
    border-bottom: 1px solid var(--border, #e5e7eb);
    padding-bottom: 20px;
  }
  .scorecard-action {
    padding-inline-start: 0;
  }
}

@media (max-width: 600px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .star-row {
    gap: 8px;
  }
  .star-label {
    width: 75px;
    font-size: 12px;
  }
  .pdp-modal-body .form-row {
    flex-direction: column;
  }
}

