/* =========================================================
   EON — public/assets/css/style.css
   Standalone PHP/MySQL site. Plain static CSS, no template engine.

   Table of contents:
   1. Variables / Reset
   2. Typography
   3. Layout / Utility
   4. Buttons & Forms
   5. Announcement bar / Header / Mobile nav
   6. Hero
   7. Section headers / Editorial / Promo / Newsletter
   8. Footer
   9. Animations
   10. Responsive

   NOTE: Product grid, cart drawer, product page, collection/filter, and
   quick-view styles from the original theme are intentionally left out of
   this Phase 1 foundation — they'll be reintroduced in the phase that adds
   the matching PHP feature (catalog, cart, product detail) so this file
   doesn't carry dead CSS for markup that doesn't exist yet.
   ========================================================= */

/* ---------- 1. Variables / Reset ---------- */
/*
  NOTE: These are STATIC FALLBACK DEFAULTS ONLY.
  The live values driven by Theme Editor settings (colors, fonts, spacing,
  page width) are injected as a :root override in an inline <style> block in
  layout/theme.liquid, placed AFTER this stylesheet's <link> tag so it wins
  the cascade. This file is intentionally plain, static CSS — Shopify does
  not parse Liquid inside files served via asset_url, so no {{ }} or {% %}
  may ever appear below.
*/
:root{
  --color-bg: #FFFFFF;
  --color-text: #111111;
  --color-accent: #111111;
  --color-accent-text: #FFFFFF;
  --color-border: #E5E5E5;
  --color-sale: #C0392B;
  --color-muted: #767676;

  --font-heading: 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Helvetica Neue', Arial, sans-serif;
  --heading-letter-spacing: -0.5px;

  --page-width: 1440px;
  --gutter: 24px;
  --header-height: 78px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 140px;

  --ease: cubic-bezier(.25,.1,.25,1);
  --transition-fast: 180ms var(--ease);
  --transition-medium: 320ms var(--ease);
  --transition-slow: 600ms var(--ease);

  --radius-sm: 2px;
  --radius-md: 4px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, select, textarea{ font-family: inherit; font-size: 100%; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4,h5,h6{ font-family: var(--font-heading); letter-spacing: var(--heading-letter-spacing); margin: 0; font-weight: 500; }

.visually-hidden{
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
.skip-to-content-link{
  position: absolute; top: -100%; left: var(--space-3); z-index: 999;
  background: var(--color-accent); color: var(--color-accent-text);
  padding: var(--space-2) var(--space-3);
  transition: top var(--transition-fast);
}
.skip-to-content-link:focus{ top: var(--space-3); position: fixed; }

:focus-visible{ outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* ---------- 3. Layout / Utility ---------- */
.container{
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow{ max-width: 760px; }
.section{ padding: var(--space-7) 0; }
@media (max-width: 749px){
  .section{ padding: var(--space-6) 0; }
}

.section-header{ margin-bottom: var(--space-5); display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3); }
.section-header--center{ flex-direction: column; text-align: center; align-items: center; }
.section-eyebrow{
  font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--color-muted); margin: 0 0 var(--space-2);
}
.section-heading{ font-size: clamp(24px, 3vw, 34px); }
.section-header__link{
  font-size: 13px; text-transform: uppercase; letter-spacing: 1px;
  border-bottom: 1px solid var(--color-text); padding-bottom: 2px;
  transition: opacity var(--transition-fast);
}
.section-header__link:hover{ opacity: 0.6; }

/* ---------- 4. Buttons & Forms ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 32px;
  font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), opacity var(--transition-fast);
  cursor: pointer;
}
.btn--primary{ background: var(--color-accent); color: var(--color-accent-text); }
.btn--primary:hover{ opacity: 0.85; }
.btn--outline{ background: transparent; color: var(--color-text); border-color: var(--color-text); }
.btn--outline:hover{ background: var(--color-text); color: var(--color-bg); }
.btn--light{ border-color: #fff; color: #fff; }
.btn--light.btn--primary{ background: #fff; color: #111; }
.btn--light.btn--outline{ background: transparent; color: #fff; }
.btn--light.btn--outline:hover{ background: #fff; color: #111; }
.btn--full{ width: 100%; }
.btn[disabled]{ opacity: 0.4; cursor: not-allowed; }

input[type="text"], input[type="email"], input[type="search"], input[type="number"]{
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition-fast);
}
input:focus{ border-color: var(--color-text); }

/* ---------- 5. Announcement bar / Header / Mobile nav ---------- */
.announcement-bar{ font-size: 12px; letter-spacing: .5px; }
.announcement-bar__inner{ display: flex; justify-content: center; padding: 9px var(--gutter); text-align: center; }
.announcement-bar__item{ margin: 0; }
.announcement-bar__slider{ display: flex; }
.announcement-bar__slider .announcement-bar__item:not(:first-child){ display: none; }

.site-header{
  position: sticky; top: 0; z-index: 60;
  background: var(--color-bg);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.site-header.is-scrolled{
  border-color: var(--color-border);
  box-shadow: 0 1px 12px rgba(0,0,0,0.04);
}
.site-header__inner{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-height);
  gap: var(--space-4);
}
.site-header__logo{ text-align: center; }
.site-header__logo-link{ display: inline-block; }
.site-header__logo-text{ font-family: var(--font-heading); font-size: 20px; letter-spacing: 3px; text-transform: uppercase; }

.site-header__menu-toggle{ display: none; align-items: center; }
.site-header__nav{ justify-self: start; }
.site-header__nav-list{ display: flex; gap: var(--space-5); }
.site-header__nav-item{ position: relative; }
.site-header__nav-link{
  display: flex; align-items: center; gap: 4px;
  font-size: 13px; text-transform: uppercase; letter-spacing: .8px;
  padding: var(--space-3) 0;
  position: relative;
}
.site-header__nav-link::after{
  content:''; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition-fast);
}
.site-header__nav-link:hover::after{ transform: scaleX(1); }
.icon-chevron{ transition: transform var(--transition-fast); }
.has-dropdown:hover .icon-chevron{ transform: rotate(180deg); }

.site-header__dropdown{
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  background: var(--color-bg); border: 1px solid var(--color-border);
  min-width: 200px; padding: var(--space-3);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.has-dropdown:hover .site-header__dropdown{
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.site-header__dropdown li{ padding: 6px 0; }

.site-header__icons{ justify-self: end; display: flex; align-items: center; gap: var(--space-3); }
.site-header__icon-btn{ position: relative; display: flex; align-items: center; padding: 6px; transition: opacity var(--transition-fast); }
.site-header__icon-btn:hover{ opacity: .6; }
.site-header__cart-count{
  position: absolute; top: -2px; right: -2px;
  background: var(--color-accent); color: var(--color-accent-text);
  font-size: 10px; min-width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.mobile-nav{ position: fixed; inset: 0; z-index: 90; }
.mobile-nav[hidden]{ display: none; }
.mobile-nav__overlay{ position: absolute; inset: 0; background: rgba(0,0,0,0.4); opacity: 0; transition: opacity var(--transition-medium); }
.mobile-nav__panel{
  position: absolute; top: 0; left: 0; bottom: 0; width: min(360px, 88vw);
  background: var(--color-bg); transform: translateX(-100%);
  transition: transform var(--transition-medium);
  display: flex; flex-direction: column; padding: var(--space-4);
  overflow-y: auto;
}
.mobile-nav.is-open .mobile-nav__overlay{ opacity: 1; }
.mobile-nav.is-open .mobile-nav__panel{ transform: translateX(0); }
.mobile-nav__header{ display: flex; align-items: center; justify-content: space-between; padding-bottom: var(--space-4); border-bottom: 1px solid var(--color-border); }
.mobile-nav__nav{ padding: var(--space-4) 0; flex: 1; }
.mobile-nav__item{ border-bottom: 1px solid var(--color-border); }
.mobile-nav__item a, .mobile-nav__toggle{
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: var(--space-3) 0; font-size: 15px; text-transform: uppercase; letter-spacing: .5px;
}
.mobile-nav__submenu{ padding-left: var(--space-3); padding-bottom: var(--space-3); }
.mobile-nav__submenu li{ padding: var(--space-2) 0; font-size: 14px; color: var(--color-muted); }
.mobile-nav__footer{ border-top: 1px solid var(--color-border); padding-top: var(--space-3); }

/* ---------- 6. Hero ---------- */
.hero{ position: relative; overflow: hidden; display: flex; align-items: flex-end; }
.hero--full{ height: calc(100vh - var(--header-height)); min-height: 480px; }
.hero--large{ height: 80vh; min-height: 440px; }
.hero--medium{ height: 60vh; min-height: 360px; }
.hero__media{ position: absolute; inset: 0; }
.hero__image, .hero__video{ width: 100%; height: 100%; object-fit: cover; }
.hero__image--placeholder svg{ width: 100%; height: 100%; }
.hero__overlay{ position: absolute; inset: 0; background: #000; }
.hero__content{ position: relative; width: 100%; padding: var(--space-6) 0; color: #fff; z-index: 2; }
.hero__content--center{ text-align: center; align-self: center; margin: auto 0; }
.hero__content--left{ align-self: center; margin: auto 0; text-align: left; }
.hero__content--bottom-left{ text-align: left; }
.hero__eyebrow{ text-transform: uppercase; letter-spacing: 2px; font-size: 12px; margin-bottom: var(--space-3); opacity: .9; }
.hero__heading{ font-size: clamp(36px, 6vw, 76px); line-height: 1.02; margin-bottom: var(--space-3); max-width: 16ch; }
.hero__subheading{ font-size: 16px; max-width: 46ch; margin-bottom: var(--space-4); opacity: .92; }
.hero__actions{ display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* ---------- 7. Editorial / Promo / Newsletter / Instagram ---------- */
.editorial{ display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.editorial--image-right{ direction: rtl; }
.editorial--image-right > *{ direction: ltr; }
.editorial__media{ overflow: hidden; }
.editorial__media img, .editorial__media svg{ width: 100%; height: 100%; object-fit: cover; }
.editorial__content{ display: flex; align-items: center; padding: var(--space-6); }
.editorial__content-inner{ max-width: 460px; }
.editorial__heading{ font-size: clamp(26px, 3vw, 40px); margin-bottom: var(--space-3); }
.editorial__text{ color: var(--color-muted); margin-bottom: var(--space-4); }
.editorial__text p{ margin: 0 0 var(--space-2); }

.promo-banner{ position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.promo-banner__media{ position: absolute; inset: 0; }
.promo-banner__media img, .promo-banner__media svg{ width: 100%; height: 100%; object-fit: cover; }
.promo-banner__overlay{ position: absolute; inset: 0; background: rgba(0,0,0,0.35); }
.promo-banner__content{ position: relative; z-index: 2; text-align: center; color: #fff; padding: var(--space-4); }
.promo-banner__heading{ font-size: clamp(28px, 4vw, 48px); margin-bottom: var(--space-2); }
.promo-banner__subheading{ margin-bottom: var(--space-4); font-size: 16px; }

.newsletter{ text-align: center; background: #f7f6f4; }
.newsletter__heading{ font-size: clamp(24px, 3vw, 32px); margin-bottom: var(--space-2); }
.newsletter__text{ color: var(--color-muted); margin-bottom: var(--space-4); }
.newsletter__field{ display: flex; max-width: 420px; margin: 0 auto; gap: var(--space-2); }
.newsletter__field input{ flex: 1; }
.newsletter__success{ margin-top: var(--space-3); }
.newsletter__error{ margin-top: var(--space-3); color: var(--color-sale); }

.instagram-grid{ display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-2); }
.instagram-grid__item{ aspect-ratio: 1/1; overflow: hidden; display: block; }
.instagram-grid__item img, .instagram-grid__item svg{ width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-medium); }
.instagram-grid__item:hover img{ transform: scale(1.05); }

/* ---------- 13. Footer ---------- */
.site-footer{ border-top: 1px solid var(--color-border); padding: var(--space-7) 0 var(--space-4); }
.site-footer__grid{ display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: var(--space-5); margin-bottom: var(--space-6); }
.site-footer__description{ color: var(--color-muted); font-size: 13px; margin: var(--space-3) 0; max-width: 32ch; }
.site-footer__social{ display: flex; gap: var(--space-3); font-size: 12px; text-transform: uppercase; }
.site-footer__col-heading{ font-size: 13px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: var(--space-3); }
.site-footer__col li{ padding: 5px 0; font-size: 13px; color: var(--color-muted); }
.site-footer__bottom{ display: flex; justify-content: space-between; align-items: center; padding-top: var(--space-4); border-top: 1px solid var(--color-border); font-size: 12px; color: var(--color-muted); flex-wrap: wrap; gap: var(--space-2); }
.payment-icon{ height: 22px; margin-left: 6px; }

/* ---------- 14. Animations ---------- */
[data-reveal] [data-reveal-item], [data-reveal].reveal-self{
  opacity: 0; transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}
[data-reveal].is-visible [data-reveal-item]{ opacity: 1; transform: translateY(0); }
[data-reveal].is-visible [data-reveal-item]:nth-child(1){ transition-delay: 0ms; }
[data-reveal].is-visible [data-reveal-item]:nth-child(2){ transition-delay: 80ms; }
[data-reveal].is-visible [data-reveal-item]:nth-child(3){ transition-delay: 160ms; }
[data-reveal].is-visible [data-reveal-item]:nth-child(4){ transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- 15. Responsive ---------- */
@media (max-width: 989px){
  .site-footer__grid{ grid-template-columns: 1fr 1fr; }
}

/* ---------- 16. Phase 2 — Shop / Product / Cart / Checkout / Account ---------- */
.shop-header{ padding-bottom: 0; }
.shop-filters{ display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-4); }
.shop-filters__link{ font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--color-muted); padding-bottom: 4px; border-bottom: 2px solid transparent; }
.shop-filters__link.is-active, .shop-filters__link:hover{ color: var(--color-text); border-color: var(--color-text); }
.shop-empty{ color: var(--color-muted); text-align: center; padding: var(--space-6) 0; }

.product-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.product-card{ display: block; }
.product-card__media{ position: relative; aspect-ratio: 3/4; background: #f2f0ea; overflow: hidden; margin-bottom: var(--space-2); }
.product-card__media img{ width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-medium); }
.product-card:hover .product-card__media img{ transform: scale(1.04); }
.product-card__media--placeholder{ width: 100%; height: 100%; background: #e8e1d3; }
.product-card__badge{ position: absolute; top: 10px; left: 10px; background: #111; color: #fff; font-size: 10px; text-transform: uppercase; letter-spacing: .5px; padding: 4px 8px; border-radius: var(--radius-sm); }
.product-card__name{ font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.product-card__price{ font-size: 13px; color: var(--color-muted); margin: 0; }

.pagination{ display: flex; justify-content: center; gap: 8px; margin-top: var(--space-6); }
.pagination__link{ padding: 6px 13px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: 13px; }
.pagination__link.is-active{ background: var(--color-accent); color: var(--color-accent-text); border-color: var(--color-accent); }

.product-detail__grid{ display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-6); }
.product-detail__media img, .product-detail__media--placeholder{ width: 100%; aspect-ratio: 1; object-fit: cover; background: #f2f0ea; }
.product-detail__thumbs{ display: flex; gap: var(--space-2); margin-top: var(--space-2); }
.product-detail__thumb{ width: 64px; height: 64px; object-fit: cover; cursor: pointer; opacity: .7; }
.product-detail__thumb:hover{ opacity: 1; }
.product-detail__name{ font-size: clamp(22px, 3vw, 30px); margin-bottom: var(--space-2); }
.product-detail__price{ font-size: 18px; color: var(--color-muted); margin-bottom: var(--space-4); }
.product-detail__error{ color: var(--color-sale); font-size: 13px; margin-bottom: var(--space-3); }
.product-detail__unavailable{ color: var(--color-muted); }
.product-form{ display: flex; flex-direction: column; gap: var(--space-1); margin-bottom: var(--space-5); }
.product-form label{ font-size: 12px; text-transform: uppercase; letter-spacing: .5px; margin-top: var(--space-3); }
.product-form select, .product-form input[type="number"]{ padding: 12px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.product-form button{ margin-top: var(--space-4); }
.product-detail__description{ color: var(--color-text); font-size: 14px; }

.cart-lines{ display: flex; flex-direction: column; gap: var(--space-4); margin-bottom: var(--space-5); }
.cart-line{ display: grid; grid-template-columns: 1fr auto auto auto; gap: var(--space-3); align-items: center; padding-bottom: var(--space-3); border-bottom: 1px solid var(--color-border); }
.cart-line__name{ font-weight: 500; margin: 0; }
.cart-line__variant, .cart-line__price{ font-size: 12.5px; color: var(--color-muted); margin: 2px 0 0; }
.cart-line__qty-form input{ width: 60px; padding: 6px 8px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); text-align: center; }
.cart-line__total{ font-weight: 500; }
.cart-line__remove{ font-size: 20px; color: var(--color-muted); line-height: 1; }
.cart-line__remove:hover{ color: var(--color-sale); }
.cart-flash{ padding: 10px 14px; border-radius: var(--radius-sm); font-size: 13px; margin-bottom: var(--space-3); }
.cart-flash--success{ background: #eaf7ee; color: #256b3a; }
.cart-flash--error{ background: #fdecea; color: #a33; }

.cart-summary{ max-width: 360px; margin-left: auto; }
.cart-summary__row{ display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.cart-summary__row--total{ font-weight: 700; font-size: 17px; border-top: 1px solid var(--color-border); margin-top: var(--space-2); padding-top: var(--space-3); }
.cart-summary .btn{ margin-top: var(--space-4); }

.checkout-grid{ display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-6); align-items: start; }
.checkout-form{ display: flex; flex-direction: column; gap: var(--space-1); }
.checkout-form__heading{ font-size: 15px; text-transform: uppercase; letter-spacing: .5px; margin: var(--space-5) 0 var(--space-2); }
.checkout-form label{ font-size: 12px; text-transform: uppercase; letter-spacing: .5px; margin-top: var(--space-3); }
.checkout-form input, .checkout-form textarea{ padding: 12px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); width: 100%; }
.checkout-form__row{ display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--space-2); }
.checkout-form__row--two{ grid-template-columns: 1fr 1fr; }
.checkout-account-hint{ font-size: 13px; color: var(--color-muted); margin-bottom: var(--space-3); }
.checkout-summary-col{ background: #faf9f6; padding: var(--space-4); border-radius: var(--radius-md); }
.checkout-summary-line{ display: flex; justify-content: space-between; font-size: 13px; color: var(--color-muted); padding: 6px 0; border-bottom: 1px solid var(--color-border); }

.auth-form{ display: flex; flex-direction: column; gap: var(--space-1); max-width: 420px; }
.auth-form label{ font-size: 12px; text-transform: uppercase; letter-spacing: .5px; margin-top: var(--space-3); }
.auth-form input{ padding: 12px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.auth-form button{ margin-top: var(--space-4); }
.auth-form__switch{ font-size: 13px; color: var(--color-muted); margin-top: var(--space-4); }
.container--narrow-section{ padding-top: var(--space-6); }

.account-header{ display: flex; justify-content: space-between; align-items: center; }
.account-orders{ display: flex; flex-direction: column; gap: 0; }
.account-order-row{ display: grid; grid-template-columns: 1fr 1fr auto auto; gap: var(--space-3); align-items: center; padding: var(--space-3) 0; border-bottom: 1px solid var(--color-border); font-size: 13.5px; }

/* ---------- 17. Phase 2 responsive ---------- */
@media (max-width: 989px){
  .product-grid{ grid-template-columns: repeat(3, 1fr); }
  .product-detail__grid{ grid-template-columns: 1fr; }
  .checkout-grid{ grid-template-columns: 1fr; }
  .checkout-summary-col{ order: -1; }
}

@media (max-width: 749px){
  .product-grid{ grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
  .cart-line{ grid-template-columns: 1fr auto; grid-template-rows: auto auto; }
  .cart-line__total{ grid-column: 2; grid-row: 1; }
  .cart-line__qty-form{ grid-column: 1; grid-row: 2; }
  .cart-line__remove{ grid-column: 2; grid-row: 2; justify-self: end; }
  .cart-summary{ max-width: none; }
  .checkout-form__row, .checkout-form__row--two{ grid-template-columns: 1fr; }
  .account-order-row{ grid-template-columns: 1fr 1fr; row-gap: 4px; }
  .shop-filters{ overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
}

@media (max-width: 480px){
  .product-grid{ grid-template-columns: 1fr 1fr; gap: var(--space-2); }
}

/* ---------- 19. Utility classes (keep inline style="" out of views for CSP) ---------- */
.u-center{ text-align: center; }
.u-muted{ color: var(--color-muted); }
.u-narrow{ max-width: 640px; margin-left: auto; margin-right: auto; }
.u-mt-2{ margin-top: var(--space-2); }
.u-mt-3{ margin-top: var(--space-3); }
.u-mt-4{ margin-top: var(--space-4); }
.u-mt-6{ margin-top: var(--space-6); }
.u-mb-2{ margin-bottom: var(--space-2); }
.u-mb-3{ margin-bottom: var(--space-3); }
.u-mb-4{ margin-bottom: var(--space-4); }
.address-block{ font-style: normal; color: var(--color-muted); line-height: 1.7; }
.lead-muted{ color: var(--color-muted); margin-top: var(--space-3); }
.page-title-lg{ font-size: clamp(28px, 4vw, 44px); margin-bottom: var(--space-4); }
.rte--body{ color: var(--color-text); line-height: 1.7; }
.error-title--lg{ font-size: 64px; margin-bottom: var(--space-3); }
.error-title--md{ font-size: 48px; margin-bottom: var(--space-3); }
.error-lead{ color: var(--color-muted); margin-bottom: var(--space-4); }
.hero__image--dark{ background: #111; }
.hero__overlay--light{ opacity: .2; }
.editorial__media--placeholder{ background: #e8e1d3; }
.product-card__badge--new{ background: #1c4fa3; }
.product-card__badge--sale{ background: #a33; }
.product-card__price--strike, .product-detail__price--strike{ color: var(--color-muted); text-decoration: line-through; margin-right: 6px; font-size: 0.9em; }
.product-detail__short-description{ color: var(--color-muted); margin-bottom: var(--space-3); }
.shop-filters__thumb{ width: 18px; height: 18px; border-radius: 50%; object-fit: cover; margin-right: 6px; vertical-align: middle; }

.cart-discount-applied{ display: flex; justify-content: space-between; align-items: center; background: #eaf7ee; color: #256b3a; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 13px; margin: var(--space-3) 0; }
.checkout-discount-form{ display: flex; gap: 8px; margin: var(--space-3) 0; }
.checkout-discount-form input{ flex: 1; padding: 10px 12px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.checkout-payment-option{ display: block; font-size: 13px; margin: var(--space-2) 0; }
.checkout-payment-instructions{ background: #faf9f6; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 13px; color: var(--color-muted); white-space: pre-line; }

.coming-soon-hero {
    width: 100%;
    height: 75vh;
    overflow: hidden;
}

.coming-soon-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}