/*
Theme Name:        Shtrili Store
Theme URI:         https://shtrili.com
Author:            Shtrili
Author URI:        https://shtrili.com
Description:       Luxury fashion WooCommerce theme replicating shtrili.com. Here You Will Shine Like a Star ✨
Version:           4.2.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 — exact from shtrili.com
   ════════════════════════════════════════════════════ */
: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; }
.header-lang, .header-currency { font-size: 10px; font-weight: 600; }
.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-lang, .header-currency { display: none; }
  .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 — matches shtrili.com exactly
   ════════════════════════════════════════════════════ */
.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; }
.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__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 — exact from shtrili.com
   ════════════════════════════════════════════════════ */
.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); }
.footer__bottom-meta { display: flex; align-items: center; gap: 12px; }
.footer__bottom-meta .sep { opacity: .3; }
.footer__bottom-socials { display: flex; gap: 12px; }
.footer__bottom-social { color: rgba(255,255,255,.5); transition: color var(--dur-fast); }
.footer__bottom-social:hover { color: var(--color-accent); }

/* ════════════════════════════════════════════════════
   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 — matches shtrili.com exactly
   ════════════════════════════════════════════════════ */
.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 CARDS — smaller default, expand on click
   ════════════════════════════════════════════════════ */

/* Smaller default card */
.product-grid {
  grid-template-columns: repeat(4, 1fr) !important; /* 4 cols = smaller cards */
  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; } }

/* Default (collapsed) card — compact */
.product-card {
  cursor: pointer;
  transition: box-shadow .2s, transform .2s;
  border: 1px solid transparent;
}
.product-card__image-wrap {
  aspect-ratio: 3/4 !important; /* taller but compact */
}
.product-card__info {
  padding: 8px 6px 6px !important;
  overflow: hidden;
  max-height: 52px; /* collapsed: show title only, hide price */
  transition: max-height .3s ease, padding .3s ease;
}
.product-card__title {
  font-size: 11px !important;
  -webkit-line-clamp: 1 !important; /* single line when collapsed */
  margin-bottom: 3px !important;
}
.product-card__price {
  font-size: 11px !important;
  opacity: 0;
  transition: opacity .25s ease;
}

/* Expanded card — click reveals full info + price */
.product-card.is-expanded {
  box-shadow: 0 6px 28px rgba(0,0,0,.14);
  transform: scale(1.03);
  z-index: 10;
  position: relative;
  border-color: var(--color-border);
  background: var(--color-bg);
}
.product-card.is-expanded .product-card__info {
  max-height: 120px !important;
  padding: 10px 8px 10px !important;
}
.product-card.is-expanded .product-card__title {
  font-size: 12px !important;
  -webkit-line-clamp: 2 !important;
}
.product-card.is-expanded .product-card__price {
  opacity: 1;
  font-size: 13px !important;
}

/* Remove any add-to-cart hover button on collapsed cards */
.product-card:not(.is-expanded) .product-card__atc {
  display: none !important;
}
