/*
Theme Name:        Shtrili Store
Theme URI:         https://shtrili.de
Author:            Shtrili
Author URI:        https://shtrili.de
Description:       Luxury fashion WooCommerce theme for Shtrili Store. Here You Will Shine Like a Star ✨
Version:           5.1.0
Requires at least: 6.0
Tested up to:      6.7
Requires PHP:      8.1
License:           Proprietary
Text Domain:       shtrili
Tags:              e-commerce, woocommerce, luxury, fashion, wide-blocks

WC requires at least: 6.0
WC tested up to:      9.6
*/

/* ════════════════════════════════════════════════════
   DESIGN TOKENS — Shtrili brand palette
   ════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════
   LOCAL FONTS — drop matching files into assets/fonts/
   to enable. Until then, the CSS stack falls back to
   Georgia (heading) and system-ui (body).
   ════════════════════════════════════════════════════ */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: local('Cormorant Garamond'),
       url('assets/fonts/CormorantGaramond-Variable.woff2') format('woff2-variations'),
       url('assets/fonts/CormorantGaramond-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: local('Cormorant Garamond Italic'),
       url('assets/fonts/CormorantGaramond-Italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: local('Inter'),
       url('assets/fonts/Inter-Variable.woff2') format('woff2-variations'),
       url('assets/fonts/Inter-Regular.woff2') format('woff2');
}
:root {
  --color-bg:          #FDFAF3;
  --color-bg-alt:      #F0EAD2;
  --color-bg-dark:     #0A0A0A;
  --color-text:        #0A0A0A;
  --color-text-light:  #5A5242;
  --color-accent:      #C9A227;
  --color-accent-dark: #9B7A1F;
  --color-border:      #D4C483;
  --color-sale:        #2D8C4E;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --header-h:      80px;
  --container-max: 1280px;

  --ease: cubic-bezier(.25,.1,.25,1);
  --dur-fast: .15s;
  --dur-base: .25s;
  --dur-slow: .4s;

  --shadow-sm: 0 1px 4px rgba(0,0,0,.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.15);
}

/* ════════════════════════════════════════════════════
   RESET / BASE
   ════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); font-size: 15px; line-height: 1.65; color: var(--color-text); background: var(--color-bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.drawer-open { overflow: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--color-accent); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
/* Every interactive element is always clickable — no cascade can remove this */
a, button, [role="button"] { cursor: pointer !important; pointer-events: auto !important; }
/* Only the decorative hero gradient is non-interactive */
.hero__overlay { pointer-events: none !important; }
ul, ol { list-style: none; }
input, select, textarea, button { font: inherit; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); line-height: 1.15; }

.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; }
.skip-link { position: absolute; left: -9999px; top: auto; background: var(--color-accent); color: #000; padding: 8px 16px; font-weight: 600; z-index: 10000; }
.skip-link:focus { left: 16px; top: 16px; }
.container { max-width: var(--container-max); margin-inline: auto; padding-inline: 24px; }

/* ════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background var(--dur-base), color var(--dur-base), border-color var(--dur-base);
}
.btn--primary { background: var(--color-text); color: #fff; border-color: var(--color-text); }
.btn--primary:hover { background: #333; border-color: #333; }
.btn--outline { background: transparent; color: var(--color-text); border-color: var(--color-text); }
.btn--outline:hover { background: var(--color-text); color: #fff; }
.btn--gold { background: var(--color-accent); color: #000; border-color: var(--color-accent); }
.btn--gold:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); }
.btn--ghost { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn--ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn--full { width: 100%; }
.btn--sm { padding: 9px 18px; font-size: 11px; }
.btn--lg { padding: 16px 36px; font-size: 13px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ════════════════════════════════════════════════════
   ANNOUNCEMENT BAR — always visible on every page
   ════════════════════════════════════════════════════ */
.announcement-bar {
  background: #0a0a0a; color: #fff;
  font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  text-align: center; padding: 10px 48px; position: relative;
  min-height: 38px; display: flex; align-items: center; justify-content: center;
}
.announcement-bar__prev,
.announcement-bar__next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,.5);
  font-size: 20px; padding: 4px 14px; cursor: pointer; transition: color .15s; line-height: 1;
}
.announcement-bar__prev { left: 0; }
.announcement-bar__next { right: 0; }
.announcement-bar__prev:hover,
.announcement-bar__next:hover { color: var(--color-accent); }
.announcement-bar__slides { flex: 1; text-align: center; }
.announcement-bar__item { display: none; }
.announcement-bar__item.active { display: block; }

/* ════════════════════════════════════════════════════
   HEADER — sticky, true 3-column balanced layout
   Matches reference: left icon | CENTER LOGO | right icons
   ════════════════════════════════════════════════════ */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky; top: 0; z-index: 900;
  transition: box-shadow var(--dur-base);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;  /* equal sides → logo truly centered */
  align-items: center;
  height: var(--header-h);
  padding-inline: 20px;
  max-width: var(--container-max);
  margin-inline: auto;
  gap: 0;
}
.header-left  { display: flex; align-items: center; justify-content: flex-start; }
.header-center { display: flex; justify-content: center; align-items: center; }
.header-right  { display: flex; align-items: center; justify-content: flex-end; gap: 0; }
.header-hamburger { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--color-text); flex-shrink: 0; }
.header-hamburger svg { flex-shrink: 0; }

/* Logo */
.site-logo-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}
.site-logo-name {
  font-family: var(--font-heading);
  font-size: 18px; /* mobile default */
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--color-text);
  line-height: 1.1;
  display: block;
  white-space: nowrap;
}
.site-logo-tagline {
  font-size: 7.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  display: block;
  white-space: nowrap;
  margin-top: 2px;
}
.site-logo-img { height: 34px; width: auto; }
/* Larger logo on desktop — matches reference head_bar.png */
@media (min-width: 1025px) {
  .site-logo-name    { font-size: 28px; letter-spacing: .06em; }
  .site-logo-tagline { font-size: 10px; letter-spacing: .16em; }
  .header-inner      { padding-inline: 32px; height: 80px; }
  .header-icon-label { display: block; }
}

/* Header icons */
.header-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1px; color: var(--color-text); text-decoration: none; position: relative; cursor: pointer; transition: color var(--dur-fast); flex-shrink: 0; }
.header-icon:hover { color: var(--color-accent); }
.header-icon-label { font-size: 7px; letter-spacing: .05em; text-transform: uppercase; line-height: 1; }

.cart-count-badge { position: absolute; top: 2px; right: 2px; background: var(--color-accent); color: #000; width: 16px; height: 16px; border-radius: 50%; font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* ── Hide secondary header icons on very small screens to save space ── */
@media (max-width: 400px) {
  
  .header-icon-label { display: none; }
  .site-logo-tagline { letter-spacing: .06em; font-size: 7px; }
}

/* Search overlay */
.search-overlay { position: fixed; inset: 0; background: rgba(10,10,10,.6); z-index: 1000; display: flex; align-items: flex-start; justify-content: center; padding: 120px 24px 0; opacity: 0; pointer-events: none; transition: opacity var(--dur-base); }
.search-overlay.open { opacity: 1; pointer-events: auto; }
.search-overlay__box { background: var(--color-bg); width: 100%; max-width: 640px; padding: 24px; display: flex; gap: 12px; }
.search-overlay__input { flex: 1; border: none; border-bottom: 2px solid var(--color-text); background: transparent; font-family: var(--font-heading); font-size: 24px; color: var(--color-text); outline: none; padding: 8px 0; }
.search-overlay__input::placeholder { color: var(--color-text-light); }
.search-overlay__close { color: var(--color-text); padding: 8px; display: flex; align-items: center; }

/* ════════════════════════════════════════════════════
   MOBILE DRAWER
   ════════════════════════════════════════════════════ */
.drawer-overlay { position: fixed; inset: 0; background: rgba(10,10,10,.5); z-index: 1100; opacity: 0; pointer-events: none; transition: opacity var(--dur-base); }
.drawer-overlay.active { opacity: 1; pointer-events: auto; }
.mobile-drawer { position: fixed; inset: 0 auto 0 0; width: min(360px,92vw); background: var(--color-bg); z-index: 1200; overflow-y: auto; transform: translateX(-100%); transition: transform var(--dur-slow) var(--ease); display: flex; flex-direction: column; }
.mobile-drawer.open { transform: translateX(0); }
.drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--color-border); }
.drawer-header__title { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: var(--color-text); }
.drawer-close { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: var(--color-text); font-size: 18px; }
.drawer-account { display: flex; align-items: center; gap: 12px; padding: 14px 20px; background: var(--color-bg-alt); text-decoration: none; color: var(--color-text); border-bottom: 1px solid var(--color-border); }
.drawer-account__avatar { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--color-accent); display: flex; align-items: center; justify-content: center; color: var(--color-accent); flex-shrink: 0; }
.drawer-account__sign { font-size: 14px; font-weight: 600; color: var(--color-accent); }
.drawer-account__create { font-size: 12px; color: var(--color-text-light); }
.drawer-coupon { background: var(--color-accent); color: #000; padding: 10px 20px; font-size: 12px; font-weight: 600; text-align: center; line-height: 1.5; }
.drawer-coupon strong { display: block; font-size: 14px; letter-spacing: .06em; }
.drawer-section-label { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--color-text-light); padding: 14px 20px 6px; }
.drawer-nav-item { display: flex; align-items: center; justify-content: space-between; padding: 13px 20px; border-bottom: 1px solid var(--color-bg-alt); font-size: 15px; font-weight: 500; color: var(--color-text); text-decoration: none; }
.drawer-nav-item:hover { color: var(--color-accent); }
.drawer-nav-item--parent { cursor: pointer; }
.drawer-nav-item--parent.open { color: var(--color-accent); }
.drawer-nav-item--parent.open .drawer-chevron { transform: rotate(180deg); }
.drawer-chevron { transition: transform var(--dur-fast); opacity: .5; flex-shrink: 0; }
.drawer-submenu { display: none; background: var(--color-bg-alt); }
.drawer-submenu.open { display: block; }
.drawer-submenu a { display: block; padding: 10px 20px 10px 32px; font-size: 13px; color: var(--color-text-light); border-bottom: 1px solid rgba(0,0,0,.04); text-decoration: none; }
.drawer-submenu a:hover { color: var(--color-accent); }
.drawer-submenu-divider { height: 1px; background: var(--color-accent); opacity: .3; margin: 2px 20px 2px 32px; }
.drawer-cat-item { display: flex; align-items: center; gap: 12px; padding: 13px 20px; border-bottom: 1px solid var(--color-bg-alt); font-size: 15px; color: var(--color-text); text-decoration: none; }
.drawer-cat-item:hover { color: var(--color-accent); }
.drawer-cat-icon { color: var(--color-text-light); opacity: .5; flex-shrink: 0; }
.drawer-bottom { margin-top: auto; border-top: 1px solid var(--color-border); padding: 16px 20px; }
.drawer-lang-currency { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--color-text-light); margin-bottom: 16px; }
.drawer-lang-currency .sep { opacity: .4; }
.drawer-socials { display: flex; gap: 10px; }
.drawer-social { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--color-border); display: flex; align-items: center; justify-content: center; color: var(--color-text); transition: border-color var(--dur-fast), color var(--dur-fast); }
.drawer-social:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ════════════════════════════════════════════════════
   CART DRAWER
   ════════════════════════════════════════════════════ */
.cart-overlay { position: fixed; inset: 0; background: rgba(10,10,10,.5); z-index: 1100; opacity: 0; pointer-events: none; transition: opacity var(--dur-base); }
.cart-overlay.active { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; inset: 0 0 0 auto; width: min(400px,100vw); background: var(--color-bg); z-index: 1200; transform: translateX(100%); transition: transform var(--dur-slow) var(--ease); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.cart-drawer.open { transform: translateX(0); }
.cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--color-border); flex-shrink: 0; }
.cart-drawer__title { font-family: var(--font-heading); font-size: 20px; font-weight: 700; }
.cart-drawer__close { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: var(--color-text); }
.cart-drawer__items { flex: 1; overflow-y: auto; padding: 20px 24px; }
.cart-drawer__empty { text-align: center; padding: 60px 0; color: var(--color-text-light); }
.cart-drawer__item { display: grid; grid-template-columns: 80px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--color-border); }
.cart-drawer__item-img { width: 80px; height: 104px; object-fit: cover; }
.cart-drawer__item-name { font-size: 13px; font-weight: 500; margin-bottom: 4px; line-height: 1.4; }
.cart-drawer__item-variant { font-size: 11px; color: var(--color-text-light); margin-bottom: 12px; }
.cart-item-qty-row { display: flex; align-items: center; gap: 10px; }
.cart-item-qty-btn { width: 28px; height: 28px; border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; font-size: 16px; cursor: pointer; transition: border-color var(--dur-fast); }
.cart-item-qty-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }
.cart-item-qty-value { font-size: 14px; font-weight: 600; min-width: 24px; text-align: center; }
.cart-drawer__item-price { font-size: 13px; font-weight: 600; margin-left: auto; }
.cart-drawer__item-remove { background: none; border: none; font-size: 11px; color: var(--color-text-light); text-decoration: underline; padding: 4px 0; margin-top: 8px; display: block; cursor: pointer; }
.cart-drawer__footer { border-top: 1px solid var(--color-border); padding: 20px 24px; flex-shrink: 0; }
.cart-drawer__subtotal { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cart-drawer__subtotal-label { font-size: 13px; color: var(--color-text-light); }
.cart-drawer__subtotal-price { font-size: 18px; font-weight: 700; }
.cart-drawer__ctas { display: flex; flex-direction: column; gap: 10px; }
.cart-drawer__payment-icons { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; opacity: .7; }
.payment-icon { font-size: 9px; font-weight: 700; letter-spacing: .06em; padding: 3px 7px; border: 1px solid var(--color-border); color: var(--color-text-light); }

/* ════════════════════════════════════════════════════
   TRACKING POPUP
   ════════════════════════════════════════════════════ */
.tracking-overlay { position: fixed; inset: 0; background: rgba(10,10,10,.6); z-index: 1300; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity var(--dur-base); }
.tracking-overlay.open { opacity: 1; pointer-events: auto; }
.tracking-box { background: var(--color-bg); width: 100%; max-width: 460px; padding: 40px; }
.tracking-title { font-family: var(--font-heading); font-size: 28px; margin-bottom: 20px; }
.tracking-form { display: flex; flex-direction: column; gap: 14px; }
.tracking-input { width: 100%; padding: 12px 16px; border: 1px solid var(--color-border); background: var(--color-bg); font-size: 14px; color: var(--color-text); outline: none; transition: border-color var(--dur-fast); }
.tracking-input:focus { border-color: var(--color-accent); }
.tracking-result { margin-top: 20px; padding: 16px; background: var(--color-bg-alt); font-size: 14px; }

/* ════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 72vh;
  max-height: 900px;
  display: flex; align-items: flex-end;
  background-size: cover;
  background-position: center 15%;  /* frame face + torso of the fashion model */
  background-repeat: no-repeat;
  background-attachment: local;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.08) 65%);
  pointer-events: none;
  z-index: 1;
}
.hero__content {
  position: relative; z-index: 10;
  padding: 60px 40px 80px; max-width: 640px; color: #fff;
  /* Always visible, always interactive */
  opacity: 1 !important; pointer-events: auto !important;
}
.hero__label { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 16px; display: block; }
.hero__title { font-family: var(--font-heading); font-size: clamp(48px,10vw,96px); font-weight: 700; line-height: 1; color: #fff; margin-bottom: 20px; }
.hero__subtitle { font-size: 14px; color: rgba(255,255,255,.8); line-height: 1.75; margin-bottom: 32px; max-width: 420px; }
.hero__cta { display: inline-block; }
.hero__badge { display: inline-block; margin-top: 20px; font-size: 11px; font-weight: 600; letter-spacing: .1em; color: rgba(255,255,255,.75); }

/* ════════════════════════════════════════════════════
   SPLIT SECTIONS — Streetwear, Summer, Accessories, Baby
   ════════════════════════════════════════════════════ */
.split-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 540px; }
.split-section--reversed .split-image { order: 2; }
.split-section--reversed .split-content { order: 1; }
.split-image { position: relative; overflow: hidden; min-height: 400px; }
.split-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform var(--dur-slow); }
.split-section:hover .split-image img { transform: scale(1.03); }
.split-content { display: flex; flex-direction: column; justify-content: center; padding: 60px 64px; background: var(--color-bg); }
.split-label { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 14px; display: block; }
.split-title { font-family: var(--font-heading); font-size: clamp(36px,4.5vw,68px); font-weight: 700; line-height: 1; color: var(--color-text); margin-bottom: 20px; }
.split-desc { font-size: 14px; color: var(--color-text-light); line-height: 1.75; margin-bottom: 32px; max-width: 380px; }
.split-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════
   PRODUCT SECTIONS
   ════════════════════════════════════════════════════ */
.product-section { padding: 72px 0; background: var(--color-bg); }
.product-section--alt { background: var(--color-bg-alt); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-label { display: block; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 12px; }
.section-title { font-family: var(--font-heading); font-size: clamp(28px,4vw,48px); font-weight: 700; margin-bottom: 16px; }
.section-desc { color: var(--color-text-light); font-size: 14px; line-height: 1.75; max-width: 500px; margin-inline: auto; }
.section-footer { text-align: center; margin-top: 40px; }
.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: var(--container-max); margin-inline: auto; padding-inline: 24px; }

/* Product Card */
.product-card { display: flex; flex-direction: column; border: 1.5px solid transparent; outline: 2px solid transparent; outline-offset: 0; transition: border-color .22s var(--ease), box-shadow .22s var(--ease), outline-color .22s var(--ease), transform .22s var(--ease); }
.product-card:hover { border-color: #111; outline-color: #111; box-shadow: 0 6px 24px rgba(0,0,0,.14); }
.product-card__image-wrap { position: relative; overflow: hidden; aspect-ratio: 2/3; background: var(--color-bg-alt); }
.product-card__image-link { display: block; height: 100%; }
.product-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card__image-wrap:hover .product-card__image { transform: scale(1.05); }
.product-card__atc {
  position: absolute; bottom: 0; inset-inline: 0;
  background: rgba(10,10,10,.88); color: #fff; border: none;
  padding: 12px; font-size: 10px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; text-align: center; cursor: pointer;
  transform: translateY(100%); transition: transform var(--dur-base) var(--ease);
}
.product-card__image-wrap:hover .product-card__atc { transform: translateY(0); }

/* ── Product card action buttons (wishlist + view) ── */
.product-card__actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
  z-index: 2;
}
.product-card__image-wrap:hover .product-card__actions { opacity: 1; transform: translateX(0); }
.product-card__action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,.92);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--color-text);
  transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
  text-decoration: none;
  pointer-events: auto !important;
}
.product-card__action:hover { background: #fff; color: var(--color-accent); transform: scale(1.1); }
/* Active/wishlisted heart → gold */
.product-card__action.btn-wishlist.active,
.product-card__action.btn-wishlist.active:hover { color: #C9A227; }
.product-card__action.btn-wishlist.active svg path { fill: #C9A227; stroke: #C9A227; }

.product-card__info { padding: 12px 0 0; }
.product-card__title { font-size: 13px; font-weight: 400; margin: 0 0 6px; color: var(--color-text); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__title a { color: var(--color-text); }
.product-card__title a:hover { color: var(--color-accent); }
.product-card__price { font-size: 14px; font-weight: 500; }
.product-card__price del { color: var(--color-text-light); font-weight: 400; margin-right: 6px; font-size: 12px; }
.product-card__price ins { color: var(--color-sale); text-decoration: none; }

/* ════════════════════════════════════════════════════
   NEWSLETTER — dark bg
   ════════════════════════════════════════════════════ */
.newsletter-section { background: var(--color-bg-dark); color: #fff; padding: 80px 24px; text-align: center; }
.newsletter-section .section-label { color: var(--color-accent); }
.newsletter-section .section-title { color: #fff; }
.newsletter-section .section-desc { color: rgba(255,255,255,.65); }
.newsletter-form { display: flex; max-width: 480px; margin: 32px auto 0; }
.newsletter-form__input { flex: 1; padding: 14px 16px; border: 1px solid rgba(255,255,255,.2); border-right: none; background: rgba(255,255,255,.08); font-size: 14px; color: #fff; outline: none; transition: border-color var(--dur-fast); }
.newsletter-form__input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form__input:focus { border-color: var(--color-accent); }
.newsletter-form .btn { border-radius: 0; min-width: 140px; }

/* ════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════ */
.site-footer { background: var(--color-bg-dark); color: rgba(255,255,255,.75); }
.footer__top { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; padding: 64px 0; max-width: var(--container-max); margin-inline: auto; padding-inline: 24px; }
.footer__brand { }
.footer__brand-name { font-family: var(--font-heading); font-size: 28px; font-weight: 700; color: var(--color-accent); margin-bottom: 10px; }
.footer__tagline { font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.65; margin-bottom: 20px; max-width: 340px; }
.footer__contact { font-size: 13px; line-height: 2.1; margin-bottom: 20px; }
.footer__contact a { color: rgba(255,255,255,.7); }
.footer__contact a:hover { color: var(--color-accent); }
.footer__track-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.2); padding: 9px 18px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.8); cursor: pointer; background: none; transition: border-color var(--dur-fast), color var(--dur-fast); }
.footer__track-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }
.footer__shop-col h3 { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer__shop-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer__shop-col a { font-size: 14px; color: rgba(255,255,255,.65); transition: color var(--dur-fast); }
.footer__shop-col a:hover { color: var(--color-accent); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; max-width: var(--container-max); margin-inline: auto; font-size: 12px; color: rgba(255,255,255,.4); }

/* ════════════════════════════════════════════════════
   GENERAL PAGE TEMPLATES
   ════════════════════════════════════════════════════ */
.main-content { min-height: 60vh; }

/* ── WooCommerce notices ── */
.woocommerce-message,.woocommerce-info { padding: 14px 20px; margin-bottom: 20px; border-left: 4px solid var(--color-accent); background: var(--color-bg-alt); font-size: 14px; }
.woocommerce-error { padding: 14px 20px; margin-bottom: 20px; border-left: 4px solid #c0392b; background: #fdf0ef; font-size: 14px; }

/* Scroll reveal — VISUAL only, pointer-events never touched */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
/* Hero content: always fully visible immediately — no animation above the fold */
.hero__content { opacity: 1 !important; transform: none !important; transition: none !important; }

/* Pagination */
.page-numbers { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.page-numbers li a,.page-numbers li span { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--color-border); font-size: 13px; color: var(--color-text); transition: background var(--dur-fast), border-color var(--dur-fast); }
.page-numbers li a:hover { border-color: var(--color-accent); color: var(--color-accent); }
.page-numbers li .current { background: var(--color-text); color: #fff; border-color: var(--color-text); }

/* ════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .split-section { grid-template-columns: 1fr; }
  .split-section--reversed .split-image,.split-section--reversed .split-content { order: unset; }
  .split-image { min-height: 320px; }
  .split-content { padding: 48px 32px; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .product-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  /* Header stays with auto-fit grid — no override needed */
}
@media (max-width: 768px) {
  .hero { min-height: 58vh; max-height: 620px; background-position: center 10%; }
  .hero__content { padding: 40px 24px 60px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form__input { border-right: 1px solid rgba(255,255,255,.2); border-bottom: none; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .product-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
}
/* Retina / HiDPI: ensure hero background isn't blurry */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero { background-size: cover; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .split-content { padding: 36px 20px; }
}

/* ════════════════════════════════════════════════════
   CHECKOUT PAGE — Shopping girl sidebar
   Works with WooCommerce Blocks and Classic checkout
   ════════════════════════════════════════════════════ */

/* Blocks checkout: the girl floats above the order summary in the sidebar */
.wc-block-checkout__sidebar #shtrili-checkout-girl,
.wc-block-checkout__order-summary-block #shtrili-checkout-girl {
  display: block !important;
  width: 100%;
  margin-bottom: 20px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
}

/* Fix: ensure the "Shtrili Store" top banner on checkout is NOT shown */
.shtrili-checkout-hero { display: none !important; }

/* Override WooCommerce Blocks sidebar background */
.wc-block-checkout__sidebar {
  background: transparent !important;
}

/* Ensure the girl image always links/shows on narrow screens */
@media (max-width: 780px) {
  #shtrili-checkout-girl img { height: 220px; }
}

/* ════════════════════════════════════════════════════
   FIX 1 — CHECKOUT ORDER SUMMARY: thumbnails only
   Block all full-size product images inside the checkout
   order summary — show only the small thumbnail badge.
   Matches image: item thumbnail (64px) + name + price.
   ════════════════════════════════════════════════════ */

/* WooCommerce Blocks checkout — order summary product images */
.wc-block-order-summary-item__image,
.wc-block-components-order-summary-item__image,
.wc-block-cart-item__image {
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
}
.wc-block-order-summary-item__image img,
.wc-block-components-order-summary-item__image img,
.wc-block-cart-item__image img {
  width: 64px !important;
  height: 64px !important;
  object-fit: cover !important;
  display: block !important;
}

/* Kill any full-size standalone images that WC Blocks injects
   into the order summary area (the third-item bug shown in screenshot) */
.wc-block-order-summary-item .wc-block-components-product-image,
.wp-block-woocommerce-checkout-order-summary-block figure,
.wc-block-order-summary-item figure:not(.wc-block-order-summary-item__image figure) {
  display: none !important;
}

/* Classic WooCommerce checkout order review images */
.woocommerce-checkout #order_review .product-thumbnail img,
.woocommerce-checkout table.woocommerce-checkout-review-order-table img {
  width: 60px !important;
  height: 60px !important;
  object-fit: cover !important;
}

/* Prevent variation/attribute image galleries from rendering in checkout */
.is-checkout .wc-block-components-product-image ~ img,
.is-checkout .wc-block-components-product-image + div img:not(:first-child) {
  display: none !important;
}

/* ════════════════════════════════════════════════════
   HEADER ALIGNMENT
   ════════════════════════════════════════════════════ */
.site-header,
.desktop-mega-nav { width: 100%; }

.header-inner,
.desktop-mega-nav__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  width: 100%;
  box-sizing: border-box;
}

/* ════════════════════════════════════════════════════
   PRODUCT GRID — responsive columns
   ════════════════════════════════════════════════════ */
.product-grid {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px !important;
}
@media (max-width: 1200px) { .product-grid { grid-template-columns: repeat(4,1fr) !important; gap:12px !important; } }
@media (max-width: 900px)  { .product-grid { grid-template-columns: repeat(3,1fr) !important; gap:10px !important; } }
@media (max-width: 640px)  { .product-grid { grid-template-columns: repeat(2,1fr) !important; gap: 8px !important; } }

/* ════════════════════════════════════════════════════
   LUXURY POLISH — v11 global enhancements
   Smooth, premium, consistent across all breakpoints.
   No layout changes — purely quality of motion & feel.
   ════════════════════════════════════════════════════ */

/* ── Scroll reveal — subtle upward fade ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Buttons — luxury press feedback ── */
.btn {
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .15s var(--ease),
              box-shadow .2s var(--ease);
}
.btn:hover  { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.btn:active { transform: translateY(0);    box-shadow: none; }

/* ── Product card ATC — smooth slide-up ── */
.product-card__atc {
  transition: transform .3s cubic-bezier(.22,.68,0,1.2), background .2s;
  letter-spacing: .12em;
}
.product-card__atc:hover { background: rgba(0,0,0,.96); }

/* ── Add-to-cart button active feedback ── */
.product-card__atc:active { transform: translateY(2px) !important; }

/* ── Action icons — refined size & transition ── */
.product-card__action {
  transition: background .2s var(--ease), color .2s var(--ease),
              transform .2s cubic-bezier(.34,1.56,.64,1),
              box-shadow .2s var(--ease);
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.product-card__action:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
}

/* ── Header — glass blur on scroll ── */
.site-header {
  transition: box-shadow .3s var(--ease), background .3s var(--ease), backdrop-filter .3s;
}
.site-header.scrolled {
  background: rgba(253,250,243,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

/* ── Mega nav dropdown — smoother entrance ── */
.mega-dropdown {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.mega-nav-item.is-open > .mega-dropdown {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ── Cart drawer — smooth slide ── */
.cart-drawer {
  transition: transform .35s cubic-bezier(.22,.68,0,1.05);
}

/* ── Mobile drawer — smooth slide ── */
.mobile-drawer {
  transition: transform .35s cubic-bezier(.22,.68,0,1.05);
}

/* ── Overlays — smooth fade ── */
.drawer-overlay,
.cart-overlay {
  transition: opacity .3s var(--ease);
}

/* ── Section headers — refined typographic spacing ── */
.section-label {
  letter-spacing: .18em;
  font-size: 11px;
}
.section-title {
  letter-spacing: -.01em;
}

/* ── Split section image — subtle zoom on hover ── */
.split-image img {
  transition: transform .7s var(--ease);
}
.split-section:hover .split-image img {
  transform: scale(1.02);
}

/* ── Product image hover — smoother ── */
.product-card__image {
  transition: transform .6s cubic-bezier(.25,.46,.45,.94);
}
.product-card__image-wrap:hover .product-card__image {
  transform: scale(1.06);
}

/* ── Category badges — luxury pill style ── */
.product-card__category {
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-text-light);
  display: block;
  margin-bottom: 4px;
}

/* ── Price — accent on sale ── */
.product-card__price ins {
  font-weight: 600;
}

/* ── Footer — refined link hover ── */
.footer__shop-col ul a {
  transition: color .2s var(--ease), padding-left .2s var(--ease);
  display: inline-block;
}
.footer__shop-col ul a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

/* ── Footer track button — gold hover ── */
.footer__track-btn {
  transition: background .2s var(--ease), color .2s var(--ease),
              transform .15s var(--ease), box-shadow .2s var(--ease);
}
.footer__track-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201,162,39,.25);
}

/* ── Input focus — gold outline ── */
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
  border-color: var(--color-accent) !important;
}

/* ── Search overlay input ── */
#search-overlay-input {
  transition: box-shadow .2s var(--ease);
}
#search-overlay-input:focus {
  box-shadow: 0 2px 0 var(--color-accent);
}

/* ── Announcement bar link ── */
.announcement-bar a {
  color: var(--color-accent);
  transition: opacity .15s;
}
.announcement-bar a:hover { opacity: .8; }

/* ── WooCommerce notices — styled ── */
.woocommerce-message,
.woocommerce-info {
  border-top-color: var(--color-accent) !important;
  background: var(--color-bg-alt) !important;
}
.woocommerce-error {
  border-top-color: #c0392b !important;
}

/* ── Page transitions — prevent flash of unstyled content ── */
@media (prefers-reduced-motion: no-preference) {
  .product-grid .product-card {
    animation: cardFadeIn .4s var(--ease) both;
  }
  @keyframes cardFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .product-grid .product-card:nth-child(2) { animation-delay: .05s; }
  .product-grid .product-card:nth-child(3) { animation-delay: .1s;  }
  .product-grid .product-card:nth-child(4) { animation-delay: .15s; }
  .product-grid .product-card:nth-child(5) { animation-delay: .2s;  }
  .product-grid .product-card:nth-child(6) { animation-delay: .25s; }
}

/* ════════════════════════════════════════════════════
   FOOTER SOCIAL ICONS
   ════════════════════════════════════════════════════ */
.footer__bottom {
  justify-content: space-between;
}
.footer__socials {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s var(--ease), border-color .2s var(--ease),
              background .2s var(--ease), transform .2s cubic-bezier(.34,1.56,.64,1);
}
.footer__social-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: rgba(201,162,39,.08);
  transform: translateY(-2px) scale(1.08);
}
@media (max-width: 640px) {
  .footer__bottom { flex-direction: column; align-items: center; gap: 16px; text-align: center; }
  .footer__socials { justify-content: center; }
}

/* ════════════════════════════════════════════════════
   FONT FIT — fluid type, no overflow, perfect sizing
   ════════════════════════════════════════════════════ */

/* Fluid body text — scales smoothly between 375px and 1440px */
html { font-size: clamp(14px, 0.9vw + 11px, 16px); }

/* Headings — fluid scale */
h1 { font-size: clamp(28px, 4vw + 10px, 56px); }
h2 { font-size: clamp(22px, 3vw + 8px,  40px); }
h3 { font-size: clamp(17px, 2vw + 7px,  28px); }
h4 { font-size: clamp(15px, 1.5vw + 6px, 22px); }

/* Section titles on homepage */
.section-title   { font-size: clamp(26px, 3.5vw + 8px, 46px); }
.section-label   { font-size: clamp(10px, 0.5vw + 9px, 12px); }
.section-subtitle{ font-size: clamp(14px, 1vw + 11px, 16px); }

/* Product card text — always legible */
.product-card__title { font-size: clamp(12px, 0.8vw + 9px, 14px); }
.product-card__price { font-size: clamp(13px, 0.9vw + 10px, 15px); }

/* Footer — no overflow on small screens */
.footer__brand-name { font-size: clamp(16px, 2vw + 8px, 22px); word-break: break-word; }
.footer__tagline    { font-size: clamp(12px, 0.6vw + 10px, 14px); line-height: 1.6; }

/* Hero text — fluid and impactful */
.hero__title    { font-size: clamp(32px, 5vw + 12px, 72px); line-height: 1.05; }
.hero__subtitle { font-size: clamp(13px, 1vw + 10px, 16px); }

/* Announcement bar — always single line */
.announcement-bar { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: clamp(11px, 0.7vw + 9px, 13px); }

/* Nav — never wraps */
.mega-nav-link     { font-size: clamp(11px, 0.5vw + 10px, 13px); white-space: nowrap; }

/* Prevent any text overflow globally */
* { max-width: 100%; }
img, video, svg { max-width: 100%; height: auto; }

/* TikTok fill-icon stays current-color on hover */
.footer__social-link--tiktok svg { opacity: .7; transition: opacity .2s; }
.footer__social-link--tiktok:hover svg { opacity: 1; }

/* ════════════════════════════════════════════════════
   CATALOG ARCHIVE LAYOUT — products + right-side filter rail
   ════════════════════════════════════════════════════ */

.shtrili-archive-layout {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 32px;
    align-items: start;
}
.shtrili-archive-layout__content     { min-width: 0; }
.shtrili-archive-layout__topbar      {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 24px;
    min-height: 44px;
}
.shtrili-archive-layout__count       {
    font-size: 12px;
    letter-spacing: .04em;
    color: var(--color-text-light);
}
.shtrili-archive-layout__mobile-toggle { display: none; }

/* ── The filter rail ───────────────────────────────── */
.shtrili-filter-rail {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: sticky;
    top: calc(var(--header-h) + 16px);
    align-self: start;
}
.shtrili-filter-box {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow .2s var(--ease);
}
.shtrili-filter-box:hover { box-shadow: 0 2px 12px rgba(0,0,0,.04); }

.shtrili-filter-box__head {
    width: 100%;
    background: transparent;
    border: 0;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    transition: background .2s var(--ease);
}
.shtrili-filter-box__head:hover { background: var(--color-bg-alt); }
.shtrili-filter-box__head svg { transition: transform .2s var(--ease); color: var(--color-text-light); }
.shtrili-filter-box.is-collapsed .shtrili-filter-box__head svg { transform: rotate(-90deg); }
.shtrili-filter-box.is-collapsed .shtrili-filter-box__body    { display: none; }

.shtrili-filter-box__body {
    padding: 10px 12px 12px;
}

/* ── Groups (Size / Color) ─────────────────────────── */
.shtrili-filter-group {
    border: 0;
    padding: 0;
    margin: 0 0 12px;
}
.shtrili-filter-group:last-of-type { margin-bottom: 0; }
.shtrili-filter-group__title {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin: 0 0 8px;
    padding: 0;
}
.shtrili-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ── The check itself ─────────────────────────────── */
.shtrili-check {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 12px;
    color: var(--color-text);
    padding: 3px 0;
    user-select: none;
}
.shtrili-check input[type="checkbox"] {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
}
.shtrili-check__box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px; height: 16px;
    background: var(--color-bg);
    border: 1.5px solid var(--color-border);
    border-radius: 3px;
    color: transparent;
    transition: all .15s var(--ease);
    flex: 0 0 16px;
}
.shtrili-check__box svg { display: block; opacity: 0; transition: opacity .15s var(--ease); }
.shtrili-check input[type="checkbox"]:checked ~ .shtrili-check__box {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}
.shtrili-check input[type="checkbox"]:checked ~ .shtrili-check__box svg { opacity: 1; }
.shtrili-check input[type="checkbox"]:focus-visible ~ .shtrili-check__box {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}
.shtrili-check__swatch {
    display: inline-block;
    width: 14px; height: 14px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    flex: 0 0 14px;
}
.shtrili-check__label {
    line-height: 1.3;
    flex: 1;
    min-width: 0;
    word-break: break-word;
}
.shtrili-check:hover .shtrili-check__box { border-color: var(--color-accent); }

/* ── Clear filters ─────────────────────────────────── */
.shtrili-filter-clear {
    margin-top: 12px;
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 7px 10px;
    cursor: pointer;
    width: 100%;
    transition: all .2s var(--ease);
}
.shtrili-filter-clear:hover {
    background: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
}

/* ── Sort box: compact the WC ordering form ────────── */
.shtrili-filter-box__body--sort .woocommerce-ordering {
    margin: 0;
    padding: 0;
}
.shtrili-filter-box__body--sort .woocommerce-ordering select {
    width: 100%;
    font-size: 12px;
    padding: 7px 28px 7px 10px;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 3px;
    color: var(--color-text);
    font-family: var(--font-body);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' stroke='%235A5242' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: border-color .2s var(--ease);
}
.shtrili-filter-box__body--sort .woocommerce-ordering select:hover,
.shtrili-filter-box__body--sort .woocommerce-ordering select:focus {
    border-color: var(--color-accent);
    outline: 0;
}

/* ── Loading state on grid ─────────────────────────── */
.product-grid.is-loading {
    opacity: .5;
    pointer-events: none;
    transition: opacity .2s var(--ease);
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 1024px) {
    .shtrili-archive-layout { grid-template-columns: 1fr 200px; gap: 24px; }
}
@media (max-width: 900px) {
    .shtrili-archive-layout {
        display: block;
    }
    .shtrili-archive-layout__mobile-toggle {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: var(--color-bg);
        border: 1px solid var(--color-border);
        border-radius: 4px;
        padding: 8px 14px;
        font-family: var(--font-body);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .14em;
        text-transform: uppercase;
        cursor: pointer;
        margin-bottom: 16px;
        color: var(--color-text);
    }
    .shtrili-archive-layout__mobile-toggle:hover { background: var(--color-bg-alt); }
    .shtrili-filter-rail {
        position: static;
        margin-top: 16px;
        display: none;
    }
    .shtrili-archive-layout.is-rail-open .shtrili-filter-rail { display: flex; }
}
@media (max-width: 560px) {
    .shtrili-archive-layout__mobile-toggle { width: 100%; justify-content: center; }
}
