/*
 * Jithr — Storefront (loud-ecommerce) stylesheet.
 * Sourced from the Rasin design spec; tokens mirror theme.json exactly.
 * Loaded by functions.php on front-end + editor.
 */
/* ============================================================
   RASIN — homepage stylesheet (WordPress / Gutenberg + theme.json)
   All tokens below mirror theme.json preset/custom names exactly.
   Build everything on top of these — do not invent a parallel set.
   ============================================================ */
:root{
  /* --- color presets --- */
  --wp--preset--color--base:#FBFBFC; --wp--preset--color--surface:#FFFFFF;
  --wp--preset--color--surface-alt:#F5F5F7; --wp--preset--color--ink:#0B0B0F;
  --wp--preset--color--text:#43434C; --wp--preset--color--muted:#8B8B95;
  --wp--preset--color--line:#ECECEF; --wp--preset--color--accent:#2F6BFF;
  --wp--preset--color--accent-strong:#1E54E6; --wp--preset--color--accent-contrast:#FFFFFF;
  --wp--preset--color--success:#16A34A; --wp--preset--color--warning:#D97706; --wp--preset--color--danger:#E5484D;

  /* --- font families --- */
  --wp--preset--font-family--sans:'IBM Plex Sans Arabic',system-ui,sans-serif;
  --wp--preset--font-family--mono:'JetBrains Mono',ui-monospace,monospace;

  /* --- font sizes --- */
  --wp--preset--font-size--small:.875rem; --wp--preset--font-size--medium:1rem;
  --wp--preset--font-size--large:1.25rem; --wp--preset--font-size--x-large:1.5rem;
  --wp--preset--font-size--xx-large:1.875rem; --wp--preset--font-size--huge:2.5rem;
  --wp--preset--font-size--display:3.5rem;

  /* --- spacing --- */
  --wp--preset--spacing--20:.25rem; --wp--preset--spacing--30:.5rem; --wp--preset--spacing--40:.75rem;
  --wp--preset--spacing--50:1rem; --wp--preset--spacing--60:1.5rem; --wp--preset--spacing--70:2rem;
  --wp--preset--spacing--80:3rem; --wp--preset--spacing--90:4rem; --wp--preset--spacing--100:6rem;

  /* --- radii --- */
  --wp--custom--radius--small:8px; --wp--custom--radius--medium:12px; --wp--custom--radius--large:16px;

  /* --- shadows --- */
  --wp--preset--shadow--small:0 1px 2px rgba(11,11,15,.05);
  --wp--preset--shadow--medium:0 6px 20px rgba(11,11,15,.07),0 1px 3px rgba(11,11,15,.04);
  --wp--preset--shadow--large:0 20px 50px rgba(11,11,15,.12);

  /* --- derived accent tints (NOT theme.json tokens — add to theme.json custom if reused) --- */
  --wp--custom--accent-soft:color-mix(in oklab, var(--wp--preset--color--accent) 12%, var(--wp--preset--color--surface));
  --wp--custom--accent-line:color-mix(in oklab, var(--wp--preset--color--accent) 32%, var(--wp--preset--color--surface));
  --wp--custom--accent-text:color-mix(in oklab, var(--wp--preset--color--accent) 72%, var(--wp--preset--color--ink));
  --wp--custom--ring:color-mix(in oklab, var(--wp--preset--color--accent) 38%, transparent);

  /* --- intermediate font sizes used by this design that are off the preset scale --- */
  /* (candidates for theme.json: 0.6875rem=11px, 0.75rem=12px, 0.8125rem=13px, 0.84375rem=13.5px,
     0.9375rem=15px, 1.125rem=18px, 1.625rem=26px, 1.75rem=28px, 2rem=32px, 3.375rem=54px) */
}

*{box-sizing:border-box;}
body{
  margin:0;
  background:var(--wp--preset--color--base);
  color:var(--wp--preset--color--text);
  font-family:var(--wp--preset--font-family--sans);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{text-decoration:none;color:inherit;}
::selection{background:var(--wp--custom--accent-soft);}

/* shared layout primitive: every content section centers an 1180px container */
.container{
  max-width:1180px;
  margin:0 auto;
  padding-inline:var(--wp--preset--spacing--60);
}

/* image placeholders — gray slots that keep each slot's exact ratio/radius */
.ph{
  background:var(--wp--preset--color--surface-alt);
  display:flex;align-items:center;justify-content:center;
  color:var(--wp--preset--color--muted);
  font-family:var(--wp--preset--font-family--mono);
  font-size:.75rem;letter-spacing:.06em;text-align:center;
}

/* ---- buttons (core/button) ---- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-family:inherit;font-weight:600;cursor:pointer;border:none;
  border-radius:var(--wp--custom--radius--medium);
  transition:background-color .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease,opacity .2s ease;
}
.btn-primary{
  background:var(--wp--preset--color--accent);color:var(--wp--preset--color--accent-contrast);
  font-size:.9375rem;padding:14px 28px;box-shadow:var(--wp--preset--shadow--small);
}
.btn-primary:hover{background:var(--wp--preset--color--accent-strong);}
.btn-ghost{
  background:transparent;color:var(--wp--preset--color--ink);
  font-size:.9375rem;padding:14px 22px;border:1px solid var(--wp--preset--color--line);
}
.btn-ghost:hover{border-color:var(--wp--preset--color--ink);}
.btn-dark{
  background:var(--wp--preset--color--ink);color:var(--wp--preset--color--base);
  font-size:.9375rem;padding:13px 26px;
}
.btn-dark:hover{opacity:.88;}

/* shared section rhythm */
.section{padding-block:var(--wp--preset--spacing--80);}          /* 48px */
.section--divided{border-top:1px solid var(--wp--preset--color--line);}
.section-head{
  display:flex;align-items:flex-end;justify-content:space-between;
  flex-wrap:wrap;gap:12px;margin-bottom:28px;
}
.eyebrow{
  font-family:var(--wp--preset--font-family--mono);
  font-size:.75rem;color:var(--wp--custom--accent-text);
  letter-spacing:.1em;margin-bottom:8px;
}
.section-title{
  font-size:1.75rem;font-weight:700;color:var(--wp--preset--color--ink);margin:0;
}
.link-more{
  font-size:var(--wp--preset--font-size--small);font-weight:600;
  color:var(--wp--custom--accent-text);cursor:pointer;
}

/* ============================================================
   1. HEADER  —  STATIC
   ============================================================ */
/* dark top utility bar */
.utility-bar{background:var(--wp--preset--color--ink);color:var(--wp--preset--color--base);}
.utility-bar .container{
  display:flex;align-items:center;justify-content:space-between;
  gap:20px;flex-wrap:wrap;
  padding-block:9px;font-size:.78125rem;
}
.utility-links{display:flex;align-items:center;gap:18px;}
.utility-links span{cursor:pointer;opacity:.82;}
.utility-links span:hover{opacity:1;}

/* main header bar (sticky) */
.site-header{
  position:sticky;top:0;z-index:50;
  background:color-mix(in oklab, var(--wp--preset--color--surface) 88%, transparent);
  backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--wp--preset--color--line);
}
.header-inner{
  display:flex;align-items:center;gap:28px;
  padding-block:16px;
}
.brand{display:flex;align-items:center;gap:11px;flex-shrink:0;}
.brand-mark{
  width:34px;height:34px;border-radius:var(--wp--custom--radius--small);
  background:var(--wp--preset--color--accent);color:var(--wp--preset--color--accent-contrast);
  display:flex;align-items:center;justify-content:center;
  font-weight:700;font-size:1.125rem;box-shadow:var(--wp--preset--shadow--small);
}
.brand-name{font-size:var(--wp--preset--font-size--large);font-weight:700;color:var(--wp--preset--color--ink);}

.search{
  flex:1;display:flex;align-items:center;max-width:560px;
  background:var(--wp--preset--color--surface-alt);
  border:1px solid var(--wp--preset--color--line);
  border-radius:var(--wp--custom--radius--medium);overflow:hidden;
}
.search:focus-within{border-color:var(--wp--preset--color--accent);box-shadow:0 0 0 4px var(--wp--custom--ring);}
.search-icon{padding-inline:14px;color:var(--wp--preset--color--muted);font-size:.9375rem;}
.search input{
  font:inherit;flex:1;border:none;background:transparent;
  padding-block:11px;font-size:.9375rem;outline:none;color:var(--wp--preset--color--ink);
}

.header-actions{
  display:flex;align-items:center;gap:22px;flex-shrink:0;
  font-size:.8125rem;color:var(--wp--preset--color--text);
}
.header-actions .action{display:flex;align-items:center;gap:7px;cursor:pointer;}
.cart-btn{
  display:inline-flex;align-items:center;gap:8px;font:inherit;cursor:pointer;border:none;
  background:var(--wp--preset--color--accent);color:var(--wp--preset--color--accent-contrast);
  padding:9px 16px;border-radius:var(--wp--custom--radius--medium);font-weight:600;font-size:.8125rem;
  transition:background-color .2s ease;
}
.cart-btn:hover{background:var(--wp--preset--color--accent-strong);}
.cart-count{background:rgba(255,255,255,.25);border-radius:999px;padding:0 7px;font-size:.75rem;}

/* category nav row */
.site-nav{border-top:1px solid var(--wp--preset--color--line);}
.site-nav .container{
  display:flex;align-items:center;gap:26px;height:46px;
  font-size:var(--wp--preset--font-size--small);font-weight:500;
}
.site-nav a{color:var(--wp--preset--color--text);cursor:pointer;white-space:nowrap;}
.site-nav a:hover{color:var(--wp--custom--accent-text);}
.site-nav .nav-promo{color:var(--wp--custom--accent-text);font-weight:600;margin-inline-start:auto;}

/* ============================================================
   2. HERO  —  STATIC
   ============================================================ */
.hero{
  display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;
  padding-block:var(--wp--preset--spacing--90) 3.5rem;  /* 64px top / 56px bottom */
}
.hero-title{
  font-size:3.375rem;line-height:1.15;font-weight:700;   /* 54px */
  color:var(--wp--preset--color--ink);margin:0 0 22px;
}
.hero-text{
  font-size:1.125rem;line-height:1.8;                     /* 18px */
  color:var(--wp--preset--color--text);margin:0 0 32px;max-width:480px;
}
.hero-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:36px;}
.hero-stats{display:flex;gap:32px;flex-wrap:wrap;}
.stat-num{font-size:var(--wp--preset--font-size--x-large);font-weight:700;color:var(--wp--preset--color--ink);}
.stat-label{font-size:.8125rem;color:var(--wp--preset--color--muted);}
.stat-rule{width:1px;background:var(--wp--preset--color--line);}

.hero-media{position:relative;}
.hero-image{
  aspect-ratio:4/3;border-radius:var(--wp--custom--radius--large);
  border:1px solid var(--wp--preset--color--line);overflow:hidden;
}
.discount-badge{
  position:absolute;bottom:-18px;inset-inline-start:-18px;
  background:var(--wp--preset--color--surface);
  border:1px solid var(--wp--preset--color--line);
  border-radius:var(--wp--custom--radius--medium);
  box-shadow:var(--wp--preset--shadow--large);
  padding:16px 20px;display:flex;align-items:center;gap:14px;
}
.discount-badge .pct{
  width:42px;height:42px;border-radius:var(--wp--custom--radius--small);
  background:var(--wp--custom--accent-soft);color:var(--wp--custom--accent-text);
  display:flex;align-items:center;justify-content:center;font-weight:700;
}
.discount-badge .b-title{font-size:.9375rem;font-weight:700;color:var(--wp--preset--color--ink);}
.discount-badge .b-sub{font-size:.75rem;color:var(--wp--preset--color--muted);}

/* ============================================================
   3. CATEGORIES  —  STATIC  (6-up grid; tiles repeat)
   ============================================================ */
.category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:var(--wp--preset--spacing--50);}
.category-tile{
  background:var(--wp--preset--color--surface);
  border:1px solid var(--wp--preset--color--line);
  border-radius:var(--wp--custom--radius--large);
  padding:22px 16px;text-align:center;cursor:pointer;
  box-shadow:var(--wp--preset--shadow--small);
  transition:border-color .2s ease,box-shadow .2s ease;
}
.category-tile:hover{border-color:var(--wp--custom--accent-line);box-shadow:var(--wp--preset--shadow--medium);}
.category-badge{
  width:56px;height:56px;border-radius:999px;
  background:var(--wp--custom--accent-soft);color:var(--wp--custom--accent-text);
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 14px;font-size:var(--wp--preset--font-size--large);font-weight:700;
}
.category-name{font-size:var(--wp--preset--font-size--small);font-weight:600;color:var(--wp--preset--color--ink);margin-bottom:3px;}
.category-count{font-family:var(--wp--preset--font-family--mono);font-size:.6875rem;color:var(--wp--preset--color--muted);}

/* ============================================================
   4. FEATURED PRODUCTS  —  DYNAMIC / WooCommerce
   The .product-card block below is the SINGLE unit repeated inside
   the WooCommerce product loop. Everything else here is static chrome.
   ============================================================ */
.filter-pills{display:flex;gap:8px;}
.pill{
  font:inherit;font-weight:600;font-size:.8125rem;cursor:pointer;
  border:1px solid var(--wp--preset--color--line);
  background:var(--wp--preset--color--surface);color:var(--wp--preset--color--text);
  padding:8px 16px;border-radius:999px;transition:all .2s ease;
}
.pill:hover{border-color:var(--wp--custom--accent-line);}
.pill.is-active{
  border-color:var(--wp--preset--color--accent);
  background:var(--wp--custom--accent-soft);
  color:var(--wp--custom--accent-text);
}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;} /* 20px gap */

/* ---- SINGLE PRODUCT CARD (WooCommerce loop unit) ---- */
.product-card{
  background:var(--wp--preset--color--surface);
  border:1px solid var(--wp--preset--color--line);
  border-radius:var(--wp--custom--radius--large);
  overflow:hidden;box-shadow:var(--wp--preset--shadow--small);
  transition:box-shadow .2s ease,border-color .2s ease;
}
.product-card:hover{box-shadow:var(--wp--preset--shadow--medium);border-color:var(--wp--custom--accent-line);}
.product-media{
  position:relative;aspect-ratio:1;
  background:var(--wp--preset--color--surface-alt);
  border-bottom:1px solid var(--wp--preset--color--line);
}
.product-badge{
  position:absolute;top:12px;inset-inline-start:12px;
  font-size:.6875rem;font-weight:600;padding:4px 9px;
  border-radius:var(--wp--custom--radius--small);
  background:var(--wp--preset--color--ink);color:var(--wp--preset--color--base);
}
.product-wish{
  position:absolute;top:10px;inset-inline-end:10px;
  width:30px;height:30px;border-radius:999px;
  background:var(--wp--preset--color--surface);
  border:1px solid var(--wp--preset--color--line);
  display:flex;align-items:center;justify-content:center;
  color:var(--wp--preset--color--muted);font-size:.875rem;cursor:pointer;
}
.product-body{padding:var(--wp--preset--spacing--50);}
.product-brand{font-size:.6875rem;color:var(--wp--preset--color--muted);margin-bottom:8px;}
.product-name{
  font-size:.9375rem;font-weight:600;color:var(--wp--preset--color--ink);
  line-height:1.5;margin-bottom:10px;min-height:46px;
}
.product-rating{display:flex;align-items:center;gap:6px;margin-bottom:14px;font-size:.8125rem;}
.product-rating .star{color:var(--wp--preset--color--warning);}
.product-rating .score{font-weight:600;color:var(--wp--preset--color--ink);}
.product-rating .count{color:var(--wp--preset--color--muted);}
.product-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;}
.product-price{display:flex;align-items:baseline;gap:7px;}
.product-price .now{font-size:1.125rem;font-weight:700;color:var(--wp--preset--color--ink);}
.product-price .was{font-size:.8125rem;color:var(--wp--preset--color--muted);text-decoration:line-through;}
.add-btn{
  font:inherit;font-weight:600;font-size:.8125rem;cursor:pointer;
  border:1px solid var(--wp--preset--color--line);
  background:var(--wp--preset--color--surface);color:var(--wp--preset--color--ink);
  padding:8px 14px;border-radius:var(--wp--custom--radius--medium);transition:all .2s ease;
}
.add-btn:hover{
  background:var(--wp--preset--color--accent);color:var(--wp--preset--color--accent-contrast);
  border-color:var(--wp--preset--color--accent);
}
/* ---- end single product card ---- */

/* ============================================================
   5. SMART-HOME PROMO SPLIT  —  STATIC
   ============================================================ */
.promo{
  display:grid;grid-template-columns:1.1fr 1fr;
  border:1px solid var(--wp--preset--color--line);
  border-radius:var(--wp--custom--radius--large);overflow:hidden;
  background:var(--wp--preset--color--surface);box-shadow:var(--wp--preset--shadow--small);
}
.promo-copy{padding:52px;display:flex;flex-direction:column;justify-content:center;}
.promo-title{font-size:2rem;font-weight:700;color:var(--wp--preset--color--ink);line-height:1.3;margin:0 0 14px;} /* 32px */
.promo-text{font-size:var(--wp--preset--font-size--medium);line-height:1.8;color:var(--wp--preset--color--text);margin:0 0 28px;max-width:420px;}
.promo-copy .btn{align-self:flex-start;}
.promo-media{
  background:var(--wp--preset--color--surface-alt);
  border-inline-start:1px solid var(--wp--preset--color--line);
  min-height:300px;
}

/* ============================================================
   6. BEST SELLERS  —  STATIC (2-col numbered cards)
   ============================================================ */
.bestseller-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--wp--preset--spacing--50);}
.bestseller-card{
  background:var(--wp--preset--color--surface);
  border:1px solid var(--wp--preset--color--line);
  border-radius:var(--wp--custom--radius--large);
  padding:var(--wp--preset--spacing--50);
  display:flex;gap:var(--wp--preset--spacing--50);align-items:center;
  box-shadow:var(--wp--preset--shadow--small);transition:border-color .2s ease;
}
.bestseller-card:hover{border-color:var(--wp--custom--accent-line);}
.bestseller-rank{
  width:92px;height:92px;flex-shrink:0;
  border-radius:var(--wp--custom--radius--medium);
  background:var(--wp--preset--color--surface-alt);
  border:1px solid var(--wp--preset--color--line);
  padding:8px;
  font-family:var(--wp--preset--font-family--mono);font-size:.8125rem;font-weight:600;
  color:var(--wp--custom--accent-text);
}
.bestseller-info{flex:1;min-width:0;}
.bestseller-info .b-brand{font-size:.6875rem;color:var(--wp--preset--color--muted);margin-bottom:4px;}
.bestseller-info .b-name{font-size:.9375rem;font-weight:600;color:var(--wp--preset--color--ink);line-height:1.5;margin-bottom:6px;}
.bestseller-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;}
.bestseller-meta .price{font-size:var(--wp--preset--font-size--medium);font-weight:700;color:var(--wp--preset--color--ink);}
.bestseller-meta .sold{font-family:var(--wp--preset--font-family--mono);font-size:.6875rem;color:var(--wp--preset--color--muted);}
.bestseller-add{
  width:40px;height:40px;flex-shrink:0;
  border-radius:var(--wp--custom--radius--medium);
  background:var(--wp--custom--accent-soft);color:var(--wp--custom--accent-text);
  border:none;font-size:var(--wp--preset--font-size--large);cursor:pointer;
  transition:background-color .2s ease,color .2s ease;
}
.bestseller-add:hover{background:var(--wp--preset--color--accent);color:var(--wp--preset--color--accent-contrast);}

/* ============================================================
   7. VALUE PROPS  —  STATIC (4-up)
   ============================================================ */
.values{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;}
.value-icon{
  width:42px;height:42px;border-radius:var(--wp--custom--radius--medium);
  background:var(--wp--custom--accent-soft);color:var(--wp--custom--accent-text);
  display:flex;align-items:center;justify-content:center;font-size:1.125rem;margin-bottom:14px;
}
.value-title{font-size:var(--wp--preset--font-size--medium);font-weight:600;color:var(--wp--preset--color--ink);margin-bottom:6px;}
.value-desc{font-size:.84375rem;line-height:1.7;color:var(--wp--preset--color--muted);}

/* ============================================================
   8. TESTIMONIALS  —  STATIC (3-up star cards)
   ============================================================ */
.testimonials{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;}
.testimonial{
  background:var(--wp--preset--color--surface);
  border:1px solid var(--wp--preset--color--line);
  border-radius:var(--wp--custom--radius--large);
  padding:28px;box-shadow:var(--wp--preset--shadow--small);
}
.testimonial-stars{font-size:var(--wp--preset--font-size--small);color:var(--wp--preset--color--warning);margin-bottom:14px;}
.testimonial-quote{font-size:.9375rem;line-height:1.8;color:var(--wp--preset--color--text);margin:0 0 22px;}
.testimonial-author{display:flex;align-items:center;gap:12px;}
.testimonial-avatar{
  width:42px;height:42px;border-radius:999px;
  background:var(--wp--custom--accent-soft);color:var(--wp--custom--accent-text);
  display:flex;align-items:center;justify-content:center;font-weight:700;font-size:var(--wp--preset--font-size--medium);
}
.testimonial-name{font-size:var(--wp--preset--font-size--small);font-weight:600;color:var(--wp--preset--color--ink);}
.testimonial-city{font-size:.75rem;color:var(--wp--preset--color--muted);}

/* ============================================================
   9. NEWSLETTER  —  STATIC
   ============================================================ */
.newsletter{
  background:var(--wp--preset--color--surface-alt);
  border:1px solid var(--wp--preset--color--line);
  border-radius:var(--wp--custom--radius--large);
  padding:var(--wp--preset--spacing--80);
  display:grid;grid-template-columns:1fr auto;gap:32px;align-items:center;
}
.newsletter-title{font-size:1.625rem;font-weight:700;color:var(--wp--preset--color--ink);margin:0 0 10px;} /* 26px */
.newsletter-text{font-size:.9375rem;line-height:1.7;color:var(--wp--preset--color--text);margin:0;max-width:440px;}
.newsletter-form{display:flex;gap:10px;min-width:380px;}
.newsletter-form input{
  font:inherit;flex:1;border:1px solid var(--wp--preset--color--line);
  border-radius:var(--wp--custom--radius--medium);padding:13px 16px;font-size:.9375rem;
  outline:none;background:var(--wp--preset--color--surface);color:var(--wp--preset--color--ink);
}
.newsletter-form input:focus{border-color:var(--wp--preset--color--accent);box-shadow:0 0 0 4px var(--wp--custom--ring);}
.newsletter-form .btn{white-space:nowrap;padding:13px 26px;}

/* ============================================================
   10. FOOTER  —  STATIC
   ============================================================ */
.site-footer{border-top:1px solid var(--wp--preset--color--line);background:var(--wp--preset--color--surface);}
.site-footer .container{padding-block:56px 32px;}
.footer-grid{
  display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:40px;
  padding-bottom:36px;border-bottom:1px solid var(--wp--preset--color--line);
}
.footer-brand .brand{margin-bottom:16px;}
.footer-brand-mark{
  width:30px;height:30px;border-radius:var(--wp--custom--radius--small);
  background:var(--wp--preset--color--accent);color:var(--wp--preset--color--accent-contrast);
  display:flex;align-items:center;justify-content:center;font-weight:700;font-size:var(--wp--preset--font-size--medium);
}
.footer-about{font-size:var(--wp--preset--font-size--small);line-height:1.8;color:var(--wp--preset--color--muted);margin:0 0 18px;max-width:300px;}
.social{display:flex;gap:8px;}
.social-link{
  width:36px;height:36px;border-radius:var(--wp--custom--radius--small);
  border:1px solid var(--wp--preset--color--line);
  display:flex;align-items:center;justify-content:center;
  font-size:.875rem;color:var(--wp--preset--color--text);cursor:pointer;transition:all .2s ease;
}
.social-link:hover{border-color:var(--wp--preset--color--accent);color:var(--wp--custom--accent-text);}
.footer-col-title{font-size:.8125rem;font-weight:600;color:var(--wp--preset--color--ink);margin-bottom:14px;}
.footer-col a{display:block;font-size:var(--wp--preset--font-size--small);margin-bottom:11px;color:var(--wp--preset--color--muted);cursor:pointer;}
.footer-col a:hover{color:var(--wp--custom--accent-text);}
.footer-bottom{
  padding-top:24px;display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:14px;
}
.copyright{font-size:.8125rem;color:var(--wp--preset--color--muted);}
.payments{display:flex;gap:8px;align-items:center;}
.payments-label{font-size:.75rem;color:var(--wp--preset--color--muted);margin-inline-end:6px;}
.pay-mark{
  border:1px solid var(--wp--preset--color--line);
  border-radius:var(--wp--custom--radius--small);
  padding:6px 11px;font-family:var(--wp--preset--font-family--mono);
  font-size:.6875rem;font-weight:600;color:var(--wp--preset--color--text);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1024px){
  .hero{grid-template-columns:1fr;gap:40px;}
  .category-grid{grid-template-columns:repeat(3,1fr);}
  .product-grid{grid-template-columns:repeat(2,1fr);}
  .promo{grid-template-columns:1fr;}
  .promo-media{border-inline-start:none;border-top:1px solid var(--wp--preset--color--line);}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .newsletter{grid-template-columns:1fr;}
  .newsletter-form{min-width:0;}
}
@media (max-width:640px){
  .header-inner{flex-wrap:wrap;}
  .search{order:3;flex-basis:100%;max-width:none;}
  .site-nav .container{overflow-x:auto;}
  .hero-title{font-size:2.5rem;}                       /* 40px */
  .category-grid{grid-template-columns:repeat(2,1fr);}
  .product-grid{grid-template-columns:repeat(2,1fr);}
  .bestseller-grid{grid-template-columns:1fr;}
  .values{grid-template-columns:1fr 1fr;}
  .testimonials{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;}
  .promo-copy{padding:32px;}
  .newsletter{padding:var(--wp--preset--spacing--70);}
}

/* ============================================================
   TOKEN ALIASES — short names used by the design exports
   resolve to the theme.json tokens.
   ============================================================ */
:root{
  --bg:var(--wp--preset--color--base);
  --surface:var(--wp--preset--color--surface);
  --surface-2:var(--wp--preset--color--surface-alt);
  --ink:var(--wp--preset--color--ink);
  --text:var(--wp--preset--color--text);
  --muted:var(--wp--preset--color--muted);
  --line:var(--wp--preset--color--line);
  --accent:var(--wp--preset--color--accent);
  --accent-strong:var(--wp--preset--color--accent-strong);
  --accent-contrast:var(--wp--preset--color--accent-contrast);
  --accent-soft:var(--wp--custom--accent-soft);
  --accent-line:var(--wp--custom--accent-line);
  --accent-text:var(--wp--custom--accent-text);
  --ring:var(--wp--custom--ring);
  --r-sm:var(--wp--custom--radius--small);
  --r-md:var(--wp--custom--radius--medium);
  --r-lg:var(--wp--custom--radius--large);
  --shadow-sm:var(--wp--preset--shadow--small);
  --shadow-md:var(--wp--preset--shadow--medium);
  --shadow-lg:var(--wp--preset--shadow--large);
  --mono:var(--wp--preset--font-family--mono);
}

/* ============================================================
   GLOBAL CORE-BLOCK POLISH — any core Gutenberg block/widget
   added later renders on-brand (theme.json covers color/type/buttons).
   ============================================================ */
.wp-block-search__input,
input[type="text"],input[type="email"],input[type="tel"],input[type="url"],
input[type="search"],input[type="number"],input[type="password"],textarea,select{
  font-family:inherit;font-size:var(--wp--preset--font-size--medium);color:var(--wp--preset--color--ink);
  background:var(--wp--preset--color--surface);border:1px solid var(--wp--preset--color--line);
  border-radius:var(--wp--custom--radius--medium);padding:.7rem 1rem;outline:none;
  transition:border-color .2s ease,box-shadow .2s ease;
}
input:focus,textarea:focus,select:focus,.wp-block-search__input:focus{
  border-color:var(--wp--preset--color--accent);box-shadow:0 0 0 4px var(--wp--custom--ring);
}
.wp-block-table table{border-collapse:collapse;width:100%;font-size:var(--wp--preset--font-size--small);}
.wp-block-table th,.wp-block-table td{border:1px solid var(--wp--preset--color--line);padding:.7rem 1rem;text-align:start;}
.wp-block-table thead th{background:var(--wp--preset--color--surface-alt);color:var(--wp--preset--color--ink);font-weight:600;}
.wp-block-table tbody tr:nth-child(even){background:var(--wp--preset--color--surface-alt);}
.wp-block-quote{border-inline-start:3px solid var(--wp--preset--color--accent);padding-inline-start:var(--wp--preset--spacing--60);margin-inline:0;color:var(--wp--preset--color--ink);}
.wp-block-quote cite,.wp-block-pullquote cite{color:var(--wp--preset--color--muted);font-style:normal;}
.wp-block-pullquote{border-top:1px solid var(--wp--preset--color--line);border-bottom:1px solid var(--wp--preset--color--line);padding:var(--wp--preset--spacing--70) 0;}
.wp-block-list li{margin-block:.35em;}
.wp-block-separator:not(.is-style-wide):not(.is-style-dots){border-color:var(--wp--preset--color--line);}
.wp-block-image img{border-radius:var(--wp--custom--radius--medium);}
.wp-block-image figcaption,figcaption{color:var(--wp--preset--color--muted);font-size:var(--wp--preset--font-size--small);}
.wp-block-code,.wp-block-preformatted{background:var(--wp--preset--color--surface-alt);border:1px solid var(--wp--preset--color--line);border-radius:var(--wp--custom--radius--small);padding:var(--wp--preset--spacing--50);font-family:var(--wp--preset--font-family--mono);font-size:var(--wp--preset--font-size--small);}
.wp-block-navigation a:hover{color:var(--wp--custom--accent-text);}
