/* =====================================================================
   MODERN E-COMMERCE PLATFORM — Core Stylesheet
   Aesthetic: refined editorial luxury. Warm paper white, near-black ink,
   a champagne-metal accent. Generous negative space, a serif display
   face (Marcellus) against a quiet grotesk (Jost). Fully responsive,
   mobile-first. Theme colors are overridable per-site via :root vars
   injected from site_settings.
   ===================================================================== */

/* ---- Design tokens (defaults; overridden inline by includes/head.cfm) -- */
:root{
  --ink:#101010;
  --accent:#b08d57;
  --paper:#ffffff;

  --bg:#faf8f4;
  --surface:#ffffff;
  --line:#e7e2d8;
  --muted:#8a8478;
  --ink-soft:#3a3a37;
  /* --text and --text-soft are the body-text colors; they default to --ink/--ink-soft
     for a light theme. The admin Theme tab can override them for dark themes. */
  --text:var(--ink);
  --text-soft:var(--ink-soft);

  --shadow-sm:0 1px 2px rgba(20,18,14,.04), 0 2px 8px rgba(20,18,14,.05);
  --shadow-md:0 8px 30px -8px rgba(20,18,14,.18);
  --shadow-lg:0 24px 60px -16px rgba(20,18,14,.28);

  --r-sm:6px; --r-md:12px; --r-lg:20px;
  --maxw:1480px;
  --gutter:clamp(1rem, 4vw, 3rem);

  --font-display:'Marcellus', Georgia, 'Times New Roman', serif;
  --font-body:'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease:cubic-bezier(.22,.61,.36,1);
}

/* ---- Reset --------------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  font-family:var(--font-body);
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  font-size:16px;
  font-weight:300;
  letter-spacing:.01em;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none;transition:color .25s var(--ease)}
button,input,select,textarea{font-family:inherit;font-size:inherit;color:inherit}
button{cursor:pointer;background:none;border:none}
ul{list-style:none}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

/* ---- Typography ---------------------------------------------------- */
h1,h2,h3,h4{font-family:var(--font-display);font-weight:400;line-height:1.12;letter-spacing:-.01em}
h1{font-size:clamp(2.4rem,5.5vw,4.4rem)}
h2{font-size:clamp(1.8rem,3.5vw,2.8rem)}
h3{font-size:clamp(1.3rem,2vw,1.7rem)}
.eyebrow{
  font-family:var(--font-body);font-weight:500;
  font-size:.72rem;letter-spacing:.28em;text-transform:uppercase;
  color:var(--accent);
}
.lead{font-size:1.12rem;color:var(--text-soft)}
.serif-italic{font-family:var(--font-display);font-style:italic}

/* ---- Layout helpers ------------------------------------------------ */
.wrap{max-width:var(--maxw);margin:0 auto;padding-inline:var(--gutter)}
.wrap--wide{max-width:min(2000px, 96vw)}
.section{padding-block:clamp(2rem,4vw,3.5rem)}
.section--tight{padding-block:clamp(1.4rem,3vw,2.4rem)}
.center{text-align:center}
.stack-sm > * + *{margin-top:.6rem}
.stack > * + *{margin-top:1.2rem}
.divider{height:1px;background:var(--line);border:0;margin-block:clamp(2rem,5vw,4rem)}

/* =====================================================================
   ANNOUNCEMENT BAR
   ===================================================================== */
.announce{
  background:var(--ink);color:#f4efe6;
  font-size:.74rem;letter-spacing:.18em;text-transform:uppercase;
  text-align:center;padding:.65rem 1rem;font-weight:400;
}

/* =====================================================================
   HEADER  /  NAVIGATION
   ===================================================================== */
.site-header{
  position:sticky;top:0;z-index:200;
  background:rgba(250,248,244,.94);
  backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid #e7e2d8;
  transition:box-shadow .3s var(--ease);
  color:#1c1b17;
}
.site-header .nav-link,
.site-header .icon-btn,
.site-header .util-left a,
.site-header .util-right a,
.site-header .search-inline input,
.site-header .search-inline button{color:#1c1b17}
.site-header .header-utility{color:#6f6a5e;border-bottom-color:#e7e2d8}
.site-header.is-scrolled{box-shadow:var(--shadow-sm)}

.header-utility{
  display:flex;align-items:center;justify-content:space-between;
  font-size:.78rem;
  padding:.5rem var(--gutter);
  border-bottom:1px solid var(--line);
}
.header-utility a:hover{color:var(--accent)}
.header-utility .util-left{display:flex;gap:1.4rem;align-items:center}
.header-utility .util-right{display:flex;gap:1.2rem;align-items:center}

.header-main{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  column-gap:1rem;
  row-gap:0;
  padding:.85rem var(--gutter) .45rem;
}
.brand{
  grid-column:2;
  font-family:var(--font-display);
  font-size:clamp(1.4rem,2.6vw,2rem);
  letter-spacing:.02em;
  text-align:center;
  white-space:nowrap;
}
.brand img{max-height:62px;width:auto;margin-inline:auto}

.header-actions{
  grid-column:3;
  display:flex;align-items:center;justify-content:flex-end;
  gap:1.4rem;
}

/* ---- Reveal search (magnifier expands this panel under the logo) ---- */
.header-search-panel{
  display:grid;
  grid-column:1 / -1;
  grid-template-rows:0fr;
  min-height:0;
  overflow:hidden;
  padding:0;
  opacity:0;
  pointer-events:none;
  transition:grid-template-rows .35s var(--ease), opacity .25s var(--ease), padding .35s var(--ease);
}
.header-search-panel-inner{overflow:hidden;min-height:0}
.header-search-panel.is-open{
  display:grid;
  grid-template-rows:1fr;
  padding:.25rem 0 .85rem;
  opacity:1;
  pointer-events:auto;
}
.header-search-form{
  max-width:28rem;margin:0 auto;
}
.search-reveal{
  display:flex;align-items:center;
  border-bottom:1px solid var(--ink);
}
.search-reveal input{
  flex:1;min-width:0;background:none;border:none;
  padding:.55rem .2rem;font-size:.95rem;min-height:2.4rem;
  letter-spacing:.14em;text-transform:uppercase;
}
.search-reveal input:focus,
.search-reveal button:focus{outline:none;box-shadow:none}
.search-reveal input::placeholder{color:var(--muted);letter-spacing:.14em}
.search-reveal button{display:flex;color:var(--text-soft);flex-shrink:0;padding:.2rem}
.search-reveal button svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.5}
.icon-btn--search.is-active{background:rgba(176,141,87,.12);color:var(--accent)}

/* ---- Schedule an Appointment button (utility row, all breakpoints) ---- */
.btn-schedule{white-space:nowrap;color:var(--accent);font-weight:600}
.btn-schedule:hover{color:var(--accent)}

.icon-btn{
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  width:40px;height:40px;border-radius:50%;cursor:pointer;
  transition:background .25s var(--ease), color .25s var(--ease);
}
.icon-btn:hover{background:rgba(176,141,87,.12);color:var(--accent)}
.icon-btn svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.4;pointer-events:none}
.cart-badge{
  position:absolute;top:2px;right:0;
  min-width:18px;height:18px;padding:0 4px;
  background:var(--accent);color:#fff;
  font-size:.62rem;font-weight:600;letter-spacing:0;
  border-radius:9px;display:flex;align-items:center;justify-content:center;
}

/* ---- Search inline form ---- */
.search-inline{
  display:flex;align-items:center;
  border-bottom:1px solid var(--ink);
  min-width:0;
}
.search-inline input{
  background:none;border:none;padding:.45rem .2rem;
  font-size:.85rem;width:clamp(120px,14vw,210px);
}
.search-inline input:focus,
.search-inline button:focus{outline:none;box-shadow:none}
.search-inline input::placeholder{color:var(--muted);letter-spacing:.06em}
.search-inline button{display:flex;color:var(--text-soft)}
.search-inline button svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.5}

/* ---- Primary nav row ---- */
.nav-row{border-top:1px solid var(--line)}
.nav-primary{
  display:flex;justify-content:center;gap:clamp(1.5rem,3vw,3rem);
  padding:.7rem var(--gutter);
}
.nav-primary > li{position:static}
.nav-link{
  display:inline-block;padding:.55rem 0;
  font-size:.82rem;letter-spacing:.16em;text-transform:uppercase;
  font-weight:400;color:#1c1b17;
  position:relative;
}
.nav-link::after{
  content:"";position:absolute;left:0;right:0;bottom:.2rem;
  height:1px;background:var(--accent);
  transform:scaleX(0);transform-origin:right;
  transition:transform .35s var(--ease);
}
.nav-item:hover .nav-link,
.nav-link:hover{color:var(--accent)}
.nav-item:hover .nav-link::after{transform:scaleX(1);transform-origin:left}

/* ---- Mega dropdown ---- */
.mega{
  position:absolute;left:0;right:0;top:100%;
  background:var(--surface);
  border-top:1px solid var(--accent);
  box-shadow:var(--shadow-md);
  opacity:0;visibility:hidden;transform:translateY(-8px);
  transition:opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  z-index:190;
}
.nav-item:hover .mega,
.nav-item:focus-within .mega{
  opacity:1;visibility:visible;transform:translateY(0);
  transition:opacity .3s var(--ease), transform .3s var(--ease), visibility 0s;
}
.mega-inner{
  max-width:var(--maxw);margin:0 auto;
  display:grid;grid-template-columns:repeat(4,1fr);
  gap:2.5rem;padding:2.6rem var(--gutter) 3rem;
}
.mega-inner--no-feature{
  grid-template-columns:repeat(3,1fr);
}
.mega-col h4{
  font-family:var(--font-body);font-weight:500;
  font-size:.74rem;letter-spacing:.2em;text-transform:uppercase;
  color:var(--muted);margin-bottom:1rem;
  padding-bottom:.6rem;border-bottom:1px solid var(--line);
}
.mega-col li{margin-bottom:.55rem}
.mega-col a{
  font-size:.92rem;color:var(--text-soft);
  display:inline-block;padding:.12rem 0;
}
.mega-col a:hover{color:var(--accent);transform:translateX(3px)}
.mega-feature{
  position:relative;
  min-height:280px;
  display:block;
  text-decoration:none;
  border-radius:var(--r-md);overflow:hidden;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.mega-feature:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 28px rgba(0,0,0,.10);
}
.mega-feature .mega-feature-img-wrap{
  position:absolute;inset:0;overflow:hidden;
}
.mega-feature img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  transition:transform .55s var(--ease);
}
.mega-feature:hover img{transform:scale(1.04)}

.mega-feature .mega-feature-body{
  position:absolute;left:0;right:0;bottom:0;z-index:3;
  background:transparent;
  padding:1rem 1.1rem 1.05rem;
  display:flex;align-items:center;justify-content:space-between;gap:.8rem;
}
.mega-feature .mega-feature-text{display:flex;flex-direction:column;min-width:0}
.mega-feature .mega-feature-body > .mega-feature-text > span{
  font-size:.65rem;letter-spacing:.22em;text-transform:uppercase;
  color:var(--accent);font-weight:600;
  text-shadow:0 1px 3px rgba(255,255,255,.85), 0 0 8px rgba(255,255,255,.5);
}
.mega-feature .mega-feature-body strong{
  display:block;font-family:var(--font-display);font-weight:400;
  font-size:1.15rem;margin-top:.2rem;color:#1c1b17;line-height:1.2;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  text-shadow:0 1px 3px rgba(255,255,255,.85), 0 0 8px rgba(255,255,255,.5);
}
.mega-feature .mega-feature-arrow{
  flex-shrink:0;
  width:32px;height:32px;border-radius:50%;
  background:rgba(255,255,255,.7);color:#1c1b17;
  display:flex;align-items:center;justify-content:center;
  transition:background .25s var(--ease), transform .25s var(--ease), color .25s var(--ease);
}
.mega-feature .mega-feature-arrow svg{width:14px;height:14px}
.mega-feature:hover .mega-feature-arrow{
  background:var(--accent);color:#fff;transform:translateX(2px);
}

/* ---- Compact mega for static nav parents (Resources, etc.) ---- */
.nav-primary > .nav-item--flyout{position:relative}
.nav-item--flyout > .mega{
  left:auto;right:0;width:max-content;min-width:16rem;max-width:22rem;
}
.nav-item--flyout .mega-inner{
  display:block;max-width:none;margin:0;
  padding:1.05rem 1.35rem 1.2rem;
  grid-template-columns:none;gap:0;
}
.nav-item--flyout .mega-col h4{display:none}

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.55rem;
  padding:.95rem 2.2rem;
  font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;font-weight:400;
  border-radius:var(--r-sm);
  transition:transform .25s var(--ease), background .25s var(--ease),
             color .25s var(--ease), box-shadow .25s var(--ease);
  border:1px solid transparent;cursor:pointer;
}
.btn:active{transform:translateY(1px)}
.btn--primary{background:var(--ink);color:#f6f1e7}
.btn--primary:hover{background:var(--accent);color:#fff;box-shadow:var(--shadow-md)}
.btn--ghost{background:transparent;color:var(--ink);border-color:var(--ink)}
.btn--ghost:hover{background:var(--ink);color:#f6f1e7}
.btn--accent{background:var(--accent);color:#fff}
.btn--accent:hover{filter:brightness(1.06);box-shadow:var(--shadow-md)}
.btn--light{background:#fff;color:var(--ink);border-color:var(--line)}
.btn--light:hover{border-color:var(--ink)}
.btn--block{width:100%}
.btn--sm{padding:.6rem 1.3rem;font-size:.7rem}
.btn:disabled{opacity:.5;cursor:not-allowed}

.link-arrow{
  display:inline-flex;align-items:center;gap:.5rem;
  font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;
  border-bottom:1px solid currentColor;padding-bottom:3px;
}
.link-arrow svg{width:15px;height:15px;transition:transform .25s var(--ease)}
.link-arrow:hover{color:var(--accent)}
.link-arrow:hover svg{transform:translateX(4px)}

/* =====================================================================
   HERO  /  HOMEPAGE CAROUSEL
   ===================================================================== */
.hero{
  position:relative;overflow:hidden;
  background:var(--ink);
}
.hero-track{display:flex;transition:transform .8s var(--ease)}
.hero-slide{
  position:relative;flex:0 0 100%;
  min-height:clamp(440px,72vh,760px);
  display:flex;align-items:center;
}
.hero-slide img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
}
/* Mobile-specific slide image swap. Server adds .hero-slide--has-mobile
   to the slide wrapper when a mobile image exists. */
.hero-slide-img--mobile{display:none}
@media (max-width:760px){
  .hero-slide--has-mobile .hero-slide-img--desktop{display:none}
  .hero-slide--has-mobile .hero-slide-img--mobile{display:block}
}
.hero-slide::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(16,16,16,.2) 0%,rgba(16,16,16,.03) 55%,transparent 100%);
}
.hero-slide[data-align="center"]::after{
  background:linear-gradient(180deg,rgba(16,16,16,.05),rgba(16,16,16,.18))
}
.hero-slide[data-align="right"]::after{
  background:linear-gradient(270deg,rgba(16,16,16,.2) 0%,rgba(16,16,16,.03) 55%,transparent 100%)
}
.hero-content{
  position:relative;z-index:2;color:#fff;
  max-width:560px;padding:var(--gutter);
  margin-inline:0;
}
.hero-slide[data-align="center"] .hero-content{margin-inline:auto;text-align:center}
.hero-slide[data-align="right"] .hero-content{margin-left:auto;text-align:right}
.hero-content .eyebrow{color:#e3c9a0}
.hero-content h1{margin:.6rem 0 1rem;color:#fff}
.hero-content p{font-size:1.08rem;color:rgba(255,255,255,.82);margin-bottom:1.8rem}

.hero-dots{
  position:absolute;bottom:1.6rem;left:50%;transform:translateX(-50%);
  display:flex;gap:.6rem;z-index:3;
}
.hero-dot{
  width:8px;height:8px;border-radius:50%;
  background:rgba(255,255,255,.35);transition:all .3s var(--ease);
}
.hero-dot.is-active{background:#fff;width:26px;border-radius:4px}
.hero-arrow{
  position:absolute;top:50%;transform:translateY(-50%);z-index:3;
  width:48px;height:48px;border-radius:50%;
  background:rgba(255,255,255,.12);backdrop-filter:blur(6px);
  display:flex;align-items:center;justify-content:center;
  color:#fff;transition:background .25s var(--ease);
}
.hero-arrow:hover{background:rgba(255,255,255,.28)}
.hero-arrow svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.5}
.hero-arrow--prev{left:1.2rem}
.hero-arrow--next{right:1.2rem}

/* placeholder hero when no slides configured */
.hero-fallback{
  min-height:clamp(380px,55vh,560px);
  display:flex;align-items:center;justify-content:center;
  background:
    radial-gradient(120% 120% at 80% 10%, rgba(176,141,87,.22), transparent 60%),
    linear-gradient(160deg,#15140f 0%,#262219 100%);
  color:#fff;text-align:center;
}

/* =====================================================================
   MARQUEE / VALUE PROPS
   ===================================================================== */
.valueprops{
  display:grid;grid-template-columns:repeat(4,1fr);
  border-block:1px solid var(--line);
}
.valueprop{
  padding:1.6rem 1rem;text-align:center;
  border-right:1px solid var(--line);
}
.valueprop:last-child{border-right:0}
.valueprop svg{width:26px;height:26px;stroke:var(--accent);fill:none;stroke-width:1.3;margin-inline:auto}
.valueprop strong{display:block;font-size:.82rem;letter-spacing:.06em;margin-top:.6rem}
.valueprop span{font-size:.78rem;color:var(--muted)}

/* =====================================================================
   PRODUCT GRID  /  CARDS
   ===================================================================== */
.section-head{
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:1rem;margin-bottom:2.4rem;flex-wrap:wrap;
}
.section-head .titles .eyebrow{display:block;margin-bottom:.5rem}

.product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:clamp(.9rem,2vw,1.8rem);
}
.product-card{
  position:relative;background:var(--surface);
  border:1px solid var(--line);border-radius:var(--r-md);
  overflow:hidden;
  color:var(--ink);
  transition:transform .35s var(--ease), box-shadow .35s var(--ease),
             border-color .35s var(--ease);
}
.product-card:hover{
  transform:translateY(-5px);
  box-shadow:var(--shadow-lg);
  border-color:transparent;
}
.product-media{
  position:relative;aspect-ratio:1/1;overflow:hidden;
  background:#f1ece2;
}
.product-media img{
  width:100%;height:100%;object-fit:cover;
  transition:transform .7s var(--ease), opacity .4s var(--ease);
}
.product-card:hover .product-media img{transform:scale(1.06)}
.product-media img.product-alt{position:absolute;inset:0;opacity:0}
.product-card:hover .product-alt{opacity:1}
.product-media--empty{background:linear-gradient(135deg, #f3eee2, #e8e2d2)}
.product-img-placeholder{
  display:flex;align-items:center;justify-content:center;
  width:100%;height:100%;color:rgba(28,27,23,.18);
}
.product-img-placeholder svg{width:42%;height:42%}

.product-flags{position:absolute;top:.8rem;left:.8rem;display:flex;flex-direction:column;gap:.4rem;z-index:2}
.flag{
  font-size:.62rem;letter-spacing:.14em;text-transform:uppercase;
  padding:.3rem .6rem;border-radius:3px;font-weight:500;
}
.flag--new{background:var(--ink);color:#f6f1e7}
.flag--sale{background:#9c3b2e;color:#fff}
.flag--best{background:var(--accent);color:#fff}

.product-quickadd{
  position:absolute;left:.8rem;right:.8rem;bottom:.8rem;z-index:2;
  opacity:0;transform:translateY(8px);
  transition:opacity .3s var(--ease), transform .3s var(--ease);
}
.product-card:hover .product-quickadd{opacity:1;transform:translateY(0)}

.product-body{padding:1.1rem 1.1rem 1.3rem}
.product-cat{font-size:.68rem;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.product-title{
  font-family:var(--font-display);font-size:1.05rem;font-weight:400;
  margin:.3rem 0 .5rem;line-height:1.25;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.product-card:hover .product-title{color:var(--accent)}
.product-price{display:flex;align-items:baseline;gap:.5rem}
.product-price .now{font-size:1rem;font-weight:400}
.product-price .was{font-size:.85rem;color:var(--muted);text-decoration:line-through}
.product-price .save{font-size:.7rem;color:#9c3b2e;letter-spacing:.06em}

.wish-btn{
  position:absolute;top:.8rem;right:.8rem;z-index:2;
  width:36px;height:36px;border-radius:50%;
  background:rgba(255,255,255,.9);backdrop-filter:blur(4px);
  display:flex;align-items:center;justify-content:center;
  opacity:0;transform:scale(.8);
  transition:opacity .3s var(--ease), transform .3s var(--ease), background .25s;
}
.product-card:hover .wish-btn{opacity:1;transform:scale(1)}
.wish-btn:hover{background:#fff}
.wish-btn svg{width:17px;height:17px;stroke:var(--ink);fill:none;stroke-width:1.4;transition:fill .2s, stroke .2s}
.wish-btn.is-active{opacity:1;transform:scale(1);background:#fff}
.wish-btn.is-active svg{fill:var(--accent);stroke:var(--accent)}
/* Any wish-toggle button (e.g. the PDP wishlist button styled as btn btn--light)
   gets the same filled-heart treatment when active. */
[data-wish-toggle].is-active svg{fill:var(--accent);stroke:var(--accent)}

/* =====================================================================
   EDITORIAL / CATEGORY SPLIT BLOCKS
   ===================================================================== */
.split{
  display:grid;grid-template-columns:1fr 1fr;
  gap:clamp(1.5rem,4vw,4rem);align-items:center;
}
.split--reverse .split-media{order:2}
.split-media{
  border-radius:var(--r-lg);overflow:hidden;aspect-ratio:4/3;
  background:var(--line);box-shadow:var(--shadow-md);
}
.split-media img{width:100%;height:100%;object-fit:cover}
.split-body{padding-block:1rem}
.split-body h2{margin:.7rem 0 1rem}
.split-body p{color:var(--text-soft);margin-bottom:1.6rem}

.category-tiles{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
  gap:1.6rem 1.2rem;
  justify-content:center;
  max-width:1400px;margin-inline:auto;
}
.cat-tile{
  display:flex;flex-direction:column;align-items:center;text-align:center;
  text-decoration:none;color:inherit;
  /* override any inherited rectangle rules from older CSS revisions */
  position:static;background:transparent;border-radius:0;overflow:visible;aspect-ratio:auto;
}
.cat-tile::after{content:none}
.cat-tile-circle{
  position:relative;width:100%;max-width:260px;aspect-ratio:2/3;
  border-radius:var(--r-md);overflow:hidden;background:#f3eee2;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cat-tile-circle img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  transition:transform .7s var(--ease);
  display:block;
}
.cat-tile:hover .cat-tile-circle{
  transform:translateY(-3px);
  box-shadow:0 12px 30px rgba(0,0,0,.10);
}
.cat-tile:hover .cat-tile-circle img{transform:scale(1.05)}
.cat-tile-label{
  margin-top:.95rem;display:block;
  font-size:.78rem;letter-spacing:.22em;text-transform:uppercase;
  color:var(--ink);font-weight:500;
}
.cat-tile:hover .cat-tile-label{color:var(--accent)}

/* =====================================================================
   NEWSLETTER
   ===================================================================== */
.newsletter{
  background:
    radial-gradient(80% 140% at 15% 0%, rgba(176,141,87,.16), transparent 60%),
    var(--ink);
  color:#f4efe6;text-align:center;
}
.newsletter h2{color:#fff}
.newsletter p{color:rgba(244,239,230,.7);max-width:480px;margin:.8rem auto 2rem}
.newsletter-form{
  display:flex;gap:.6rem;max-width:460px;margin-inline:auto;
}
.newsletter-form input{
  flex:1;background:#fff;
  border:1px solid rgba(255,255,255,.2);
  border-radius:var(--r-sm);padding:.95rem 1.1rem;color:#1c1b17;
}
.newsletter-form input::placeholder{color:#555 !important;opacity:1 !important}
.newsletter-form input:focus{border-color:var(--accent);outline:none}
.newsletter-thanks{
  display:none;max-width:460px;margin:1rem auto 0;
  padding:.95rem 1.1rem;
  border:1px solid var(--accent);border-radius:var(--r-sm);
  color:var(--accent);text-align:center;font-size:.95rem;
  animation:npRise .35s var(--ease);
}
.newsletter-form.is-submitted{display:none}
.newsletter-form.is-submitted + .newsletter-thanks{display:block}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer{background:#15140f;color:#cdc6b6;font-size:.88rem}
.footer-top{
  display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;
  gap:2.5rem;padding-block:clamp(3rem,6vw,4.5rem);
}
.footer-brand .brand-name{
  font-family:var(--font-display);font-size:1.5rem;color:#f4efe6;margin-bottom:.8rem
}
.footer-brand p{color:#9a9484;max-width:300px;line-height:1.7}
.footer-contact{margin-top:1.2rem;line-height:1.9;color:#9a9484}
.footer-contact a:hover{color:var(--accent)}
.footer-col h4{
  font-family:var(--font-body);color:#f4efe6;font-weight:500;
  font-size:.76rem;letter-spacing:.18em;text-transform:uppercase;margin-bottom:1.1rem
}
.footer-col li{margin-bottom:.6rem}
.footer-col a{color:#9a9484}
.footer-col a:hover{color:var(--accent)}
.footer-social{display:flex;gap:.8rem;margin-top:1.3rem}
.footer-social a{
  width:38px;height:38px;border-radius:50%;
  border:1px solid rgba(255,255,255,.14);
  display:flex;align-items:center;justify-content:center;
  transition:all .25s var(--ease);
}
.footer-social a:hover{background:var(--accent);border-color:var(--accent);color:#fff}
.footer-social svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.5}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.08);
  padding-block:1.5rem;
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:1rem;
  font-size:.78rem;color:#6f6a5d;
}
.footer-bottom a:hover{color:var(--accent)}
.footer-credit{
  text-align:center;
  padding-block:.9rem 1.2rem;
  font-size:.72rem;letter-spacing:.06em;
  color:#4b4842;
  border-top:1px solid rgba(255,255,255,.05);
}
.footer-credit a{color:#a89e88;text-decoration:none;border-bottom:1px solid transparent;transition:border-color .15s, color .15s}
.footer-credit a:hover{color:var(--accent);border-bottom-color:currentColor}

/* =====================================================================
   FORMS  (account, contact, etc.)
   ===================================================================== */
.field{margin-bottom:1.1rem}
.field label{
  display:block;font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;
  color:#8a8478;margin-bottom:.4rem;
}
.field input,.field select,.field textarea{
  width:100%;background:#fff;color:#1c1b17;
  border:1px solid var(--line);border-radius:var(--r-sm);
  padding:.85rem 1rem;font-size:.95rem;transition:border-color .25s var(--ease);
}
.field input:focus,.field select:focus,.field textarea:focus{
  border-color:var(--accent);outline:none;
}
.field textarea{resize:vertical;min-height:130px}
.form-card{
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r-lg);padding:clamp(1.6rem,4vw,2.8rem);
  color:#1c1b17;
}
.form-card h1,.form-card h2,.form-card h3,.form-card h4,
.form-card p,.form-card a,.form-card label,.form-card span,
.form-card div,.form-card small{color:inherit}
.form-narrow{max-width:460px;margin-inline:auto}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.alert{
  padding:.85rem 1.1rem;border-radius:var(--r-sm);font-size:.88rem;margin-bottom:1.2rem;
}
.alert--error{background:#fbeae7;color:#9c3b2e;border:1px solid #e8c5bd}
.alert--success{background:#e9f2ea;color:#2f6b3c;border:1px solid #c2dcc6}
.alert--info{background:#f3eee2;color:#7a6a45;border:1px solid #e0d4b8}

/* =====================================================================
   PAGE HERO  (content pages, shop header)
   ===================================================================== */
.page-hero{
  background:
    radial-gradient(90% 160% at 100% 0%, rgba(176,141,87,.12), transparent 55%),
    var(--bg);
  border-bottom:1px solid var(--line);
  padding-block:clamp(1.3rem,2.5vw,2.1rem);text-align:center;
}
.page-hero .eyebrow{display:block;margin-bottom:.35rem}
.page-hero h1{font-size:clamp(1.6rem,3.2vw,2.4rem);line-height:1.15;margin:0}
.page-hero p{color:var(--muted);max-width:560px;margin:.45rem auto 0;font-size:.92rem}
.page-hero .breadcrumb{margin-bottom:.5rem}

/* Even tighter variant used by shop listing - no eyebrow, no tagline,
   single line of title beside breadcrumb */
.page-hero--compact{padding-block:.85rem 1rem}
.page-hero--compact h1{font-size:clamp(1.35rem,2.4vw,1.7rem)}
.page-hero--compact .breadcrumb{margin-bottom:.35rem}
.breadcrumb{
  font-size:.76rem;color:var(--muted);letter-spacing:.06em;margin-bottom:1rem;
}
.breadcrumb a:hover{color:var(--accent)}
.breadcrumb span{margin-inline:.4rem}

/* =====================================================================
   SHOP LAYOUT  (filters + grid)
   ===================================================================== */
.shop-layout{display:grid;grid-template-columns:260px 1fr;gap:2.2rem;align-items:start}
.shop-filters{
  position:sticky;top:140px;
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r-md);padding:1.4rem;
}
.filter-group{padding-block:1rem;border-bottom:1px solid var(--line)}
.filter-group:last-child{border-bottom:0}
.filter-group h4{
  font-family:var(--font-body);font-size:.76rem;letter-spacing:.14em;
  text-transform:uppercase;margin-bottom:.8rem;
}
.filter-group label{
  display:flex;align-items:center;gap:.5rem;font-size:.88rem;
  color:var(--text-soft);margin-bottom:.45rem;cursor:pointer;
}
.filter-group label:hover{color:var(--ink)}
.shop-toolbar{
  display:flex;justify-content:space-between;align-items:center;
  margin-bottom:1.6rem;flex-wrap:wrap;gap:1rem;
}
.shop-count{font-size:.85rem;color:var(--text-soft);opacity:.75}
.shop-sub{
  margin-top:.6rem;font-size:.95rem;color:var(--text-soft);
  font-style:italic;letter-spacing:.01em;
}
.shop-sort select{
  border:1px solid var(--line);border-radius:var(--r-sm);
  padding:.55rem 2rem .55rem .9rem;font-size:.84rem;background:var(--surface);
}
.pagination{display:flex;justify-content:center;gap:.4rem;margin-top:3rem}
.pagination a,.pagination span{
  min-width:42px;height:42px;display:flex;align-items:center;justify-content:center;
  border:1px solid var(--line);border-radius:var(--r-sm);font-size:.85rem;
}
.pagination a:hover{border-color:var(--ink)}
.pagination .is-current{background:var(--ink);color:#f6f1e7;border-color:var(--ink)}

/* Inline (toolbar) pagination -- compact prev/next + "Page X of Y" status */
.shop-toolbar-right{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.pagination--inline{
  margin-top:0;gap:.15rem;font-size:.84rem;color:var(--text-soft);
}
.pagination--inline .pg-arrow{
  min-width:32px;height:32px;border-radius:var(--r-sm);
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--line);background:var(--surface);
  color:var(--ink);text-decoration:none;font-size:1.1rem;line-height:1;
  transition:border-color .15s, background .15s;
}
.pagination--inline a.pg-arrow:hover{border-color:var(--ink);background:var(--bg)}
.pagination--inline .pg-arrow.is-disabled{
  color:var(--line);background:transparent;cursor:default;
}
.pagination--inline .pg-status{
  padding:0 .35rem;white-space:nowrap;letter-spacing:.01em;
  border:0;background:transparent;min-width:0;height:auto;
}

/* =====================================================================
   PRODUCT DETAIL
   ===================================================================== */
.pdp{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(1.5rem,4vw,4rem)}
.pdp-gallery{display:flex;flex-direction:column;gap:.8rem}
.pdp-main-img{
  position:relative;
  border-radius:var(--r-md);overflow:hidden;background:#fff;
  aspect-ratio:1/1;border:1px solid var(--line);
}
/* Each media element (image or video wrapper) is layered absolutely;
   only the .is-active one is visible. */
.pdp-media{
  position:absolute;inset:0;width:100%;height:100%;
  opacity:0;transition:opacity .25s var(--ease);
  pointer-events:none;
}
.pdp-media.is-active{opacity:1;pointer-events:auto}
.pdp-media img,
img.pdp-media{width:100%;height:100%;object-fit:cover}
.pdp-video{display:block;background:#fff}
.pdp-video iframe{
  position:absolute;top:0;left:0;width:100%;height:100%;border:0;
}

.pdp-thumbs{display:flex;gap:.6rem;flex-wrap:wrap}
.pdp-thumb{
  position:relative;width:72px;height:72px;border-radius:var(--r-sm);overflow:hidden;
  border:1px solid var(--line);cursor:pointer;transition:border-color .2s var(--ease);
  background:#f1ece2;padding:0;
}
.pdp-thumb.is-active,.pdp-thumb:hover{border-color:var(--accent)}
.pdp-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.pdp-thumb-video{
  display:flex;align-items:center;justify-content:center;
  width:100%;height:100%;
  background:linear-gradient(135deg, #1c1b17, #3a3a37);
  color:#fff;
}
.pdp-thumb-video svg{width:24px;height:24px}
.pdp-info .product-cat{margin-bottom:.5rem}
.pdp-info h1{font-size:clamp(1.8rem,3vw,2.6rem);margin-bottom:.7rem}
.pdp-price{display:flex;align-items:baseline;gap:.8rem;margin-bottom:1.4rem}
.pdp-price .now{font-size:1.5rem}
.pdp-price .was{font-size:1.05rem;color:var(--muted);text-decoration:line-through}
.pdp-desc{color:var(--text-soft);line-height:1.8;margin-bottom:1.8rem}
.pdp-options{display:flex;flex-wrap:wrap;gap:1.2rem;margin-bottom:1.8rem}
.pdp-attrs{
  border-top:1px solid var(--line);margin-top:2rem;padding-top:1.6rem;
  display:grid;grid-template-columns:1fr 1fr;gap:.7rem 2rem;font-size:.9rem;
}
.pdp-attrs dt{color:var(--muted);font-size:.78rem;letter-spacing:.06em;text-transform:uppercase}
.pdp-attrs dd{margin-bottom:.6rem}
.qty-stepper{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:var(--r-sm)}
.qty-stepper button{width:40px;height:44px;font-size:1.1rem;color:var(--text-soft)}
.qty-stepper button:hover{color:var(--accent)}
.qty-stepper input{width:48px;height:44px;text-align:center;border:none;border-inline:1px solid var(--line)}

/* =====================================================================
   CART
   ===================================================================== */
.cart-layout{display:grid;grid-template-columns:1fr 360px;gap:2.5rem;align-items:start}
.cart-line{
  display:grid;grid-template-columns:96px 1fr auto;gap:1.2rem;
  padding:1.3rem 0;border-bottom:1px solid var(--line);align-items:center;
}
.cart-line-img{
  width:96px;height:96px;border-radius:var(--r-sm);overflow:hidden;
  background:#f1ece2;border:1px solid var(--line);
}
.cart-line-img img{width:100%;height:100%;object-fit:cover}
.cart-line-title{font-family:var(--font-display);font-size:1.1rem}
.cart-line-meta{font-size:.82rem;color:var(--muted);margin-top:.25rem}
.cart-line-actions{display:flex;align-items:center;gap:1rem;margin-top:.7rem}
.cart-remove{font-size:.76rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.cart-remove:hover{color:#9c3b2e}
.cart-line-price{text-align:right;font-size:1.05rem}
.cart-summary{
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r-lg);padding:1.8rem;position:sticky;top:140px;
}
.cart-summary h3{margin-bottom:1.2rem}
.summary-row{display:flex;justify-content:space-between;padding:.5rem 0;font-size:.92rem;color:var(--text-soft)}
.summary-row.total{
  border-top:1px solid var(--line);margin-top:.6rem;padding-top:1rem;
  font-size:1.15rem;color:var(--ink);font-family:var(--font-display);
}
.empty-state{text-align:center;padding:clamp(3rem,8vw,6rem) 1rem}
.empty-state svg{width:54px;height:54px;stroke:var(--line);fill:none;stroke-width:1;margin-inline:auto}
.empty-state h2{margin:1.2rem 0 .6rem}
.empty-state p{color:var(--muted);margin-bottom:1.8rem}

/* =====================================================================
   ACCOUNT
   ===================================================================== */
.account-layout{display:grid;grid-template-columns:230px 1fr;gap:2.5rem;align-items:start}
.account-nav{
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r-md);padding:.6rem;
}
.account-nav a{
  display:block;padding:.75rem 1rem;border-radius:var(--r-sm);
  font-size:.88rem;color:var(--text-soft);
}
.account-nav a:hover{background:var(--bg)}
.account-nav a.is-active{background:var(--ink);color:#f6f1e7}
.order-row{
  display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:1rem;
  padding:1.1rem 0;border-bottom:1px solid var(--line);align-items:center;font-size:.9rem;
}
.status-pill{
  display:inline-block;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;
  padding:.3rem .7rem;border-radius:20px;background:var(--bg);border:1px solid var(--line);
}

/* =====================================================================
   TOAST  (add-to-cart confirmation)
   ===================================================================== */
.toast{
  position:fixed;bottom:1.6rem;right:1.6rem;z-index:500;
  background:var(--ink);color:#f4efe6;
  padding:1rem 1.4rem;border-radius:var(--r-md);
  box-shadow:var(--shadow-lg);
  display:flex;align-items:center;gap:.8rem;font-size:.88rem;
  transform:translateY(140%);opacity:0;
  transition:transform .45s var(--ease), opacity .45s var(--ease);
}
.toast.is-visible{transform:translateY(0);opacity:1}
.toast svg{width:20px;height:20px;stroke:var(--accent);fill:none;stroke-width:1.6}

/* =====================================================================
   MOBILE DRAWER NAV
   ===================================================================== */
.menu-toggle{display:none}
.mobile-drawer{
  position:fixed;inset:0 0 0 auto;width:min(86vw,380px);z-index:400;
  background:var(--surface);
  transform:translateX(100%);transition:transform .4s var(--ease);
  display:flex;flex-direction:column;
  box-shadow:var(--shadow-lg);
}
.mobile-drawer.is-open{transform:translateX(0)}
.drawer-overlay{
  position:fixed;inset:0;z-index:390;background:rgba(16,16,16,.5);
  opacity:0;visibility:hidden;transition:opacity .35s var(--ease), visibility 0s linear .35s;
}
.drawer-overlay.is-open{opacity:1;visibility:visible;transition:opacity .35s var(--ease)}
.drawer-head{
  display:flex;justify-content:space-between;align-items:center;
  padding:1.2rem var(--gutter);border-bottom:1px solid var(--line);
}
.drawer-head .brand-name{font-family:var(--font-display);font-size:1.3rem}
.drawer-body{flex:1;overflow-y:auto;padding:.6rem var(--gutter)}
.drawer-link{
  display:flex;justify-content:space-between;align-items:center;
  padding:1rem 0;border-bottom:1px solid var(--line);
  font-size:1rem;letter-spacing:.04em;
}
.drawer-sub{padding-left:1rem;display:none}
.drawer-sub.is-open{display:block}
.drawer-sub a{display:block;padding:.6rem 0;font-size:.92rem;color:var(--text-soft)}
.drawer-foot{padding:1.2rem var(--gutter);border-top:1px solid var(--line)}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width:1080px){
  .footer-top{grid-template-columns:1fr 1fr}
  .shop-layout{grid-template-columns:190px 1fr;gap:1.6rem}
}
@media (max-width:920px){
  .nav-row{display:none}
  .header-main{grid-template-columns:1fr auto;padding:.75rem var(--gutter) .35rem}
  .brand{grid-column:1;text-align:left;justify-self:start}
  .brand img{margin-inline:0}
  .header-actions{grid-column:2;gap:.25rem}
  .header-actions .icon-btn{width:36px;height:36px}
  .header-actions .icon-btn svg{width:19px;height:19px}
  /* Sign-in is available from the mobile drawer; hide the duplicate icon here. */
  .header-actions .icon-btn--account{display:none}
  .menu-toggle{display:inline-flex}
  .header-search-form{margin:0}
  .mega-inner{grid-template-columns:repeat(2,1fr)}
  .pdp{grid-template-columns:1fr}
  .cart-layout{grid-template-columns:1fr}
  .cart-summary{position:static}
  .account-layout{grid-template-columns:1fr}
  .shop-layout{grid-template-columns:1fr}
  .shop-filters{position:static;display:none}
  .shop-filters.is-open{display:block}
  .split{grid-template-columns:1fr}
  .split--reverse .split-media{order:0}
  .valueprops{grid-template-columns:1fr 1fr}
  .valueprop:nth-child(2){border-right:0}
}
@media (max-width:560px){
  body{font-size:15px}
  .header-utility .util-left{display:none}
  .footer-top{grid-template-columns:1fr;gap:2rem}
  .form-row{grid-template-columns:1fr}
  /* Value props: 2x2 grid on phones. Clear right border on the second
     item per row, and bottom border on the bottom row items. */
  .valueprops{grid-template-columns:1fr 1fr}
  .valueprop{padding:1.4rem .75rem;border-bottom:1px solid var(--line)}
  .valueprop:nth-child(2n){border-right:0}
  .valueprop:nth-last-child(-n+2){border-bottom:0}
  .valueprop strong{font-size:.78rem}
  .valueprop span{font-size:.74rem}
  /* Two-column product grid on phones (homepage rails, shop, search). */
  .product-grid{grid-template-columns:1fr 1fr;gap:.7rem}
  .product-card{border-radius:var(--r-sm)}
  .product-body{padding:.7rem .65rem}
  .product-title{font-size:.85rem;line-height:1.25}
  .product-price{font-size:.85rem}
  .product-cat{font-size:.65rem}
  .cart-line{grid-template-columns:72px 1fr;gap:.9rem}
  .cart-line-price{grid-column:2;text-align:left;margin-top:.5rem}
  .cart-line-img{width:72px;height:72px}
  .newsletter-form{flex-direction:column}
  .order-row{grid-template-columns:1fr 1fr;gap:.5rem}
  .pdp-attrs{grid-template-columns:1fr}
  .hero-content{max-width:100%}
  .toast{left:1rem;right:1rem;bottom:1rem}
}

/* reduced motion */
@media (prefers-reduced-motion:reduce){
  *{animation-duration:.01ms!important;transition-duration:.01ms!important}
  html{scroll-behavior:auto}
}

/* entrance animation utility */
.reveal{opacity:0;transform:translateY(24px)}
.reveal.is-in{opacity:1;transform:translateY(0);
  transition:opacity .7s var(--ease), transform .7s var(--ease)}

/* =====================================================================
   VARIANT SWATCHES  (metal + carat pills inside product cards)
   ===================================================================== */
.product-itemno{
  display:block;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;
  color:var(--muted);margin-bottom:.3rem;
}
.variant-swatches{margin:.5rem 0 .6rem;display:flex;flex-direction:column;gap:.3rem}
.swatch-row{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}
.swatch-label{
  font-size:.66rem;letter-spacing:.1em;text-transform:uppercase;
  color:var(--muted);min-width:42px;font-weight:500;
}
.swatch-pills{display:flex;gap:.28rem;flex-wrap:wrap}
.swatch-pill{
  font-family:var(--font-body);
  font-size:.66rem;letter-spacing:.04em;font-weight:500;
  border:1px solid #e7e2d8;background:#fff;color:#3a3a37;
  padding:.18rem .5rem;border-radius:999px;
  cursor:pointer;transition:all .15s ease;
  display:inline-flex;align-items:center;gap:.32rem;line-height:1.15;
  min-height:22px;
}
.swatch-pill:hover{border-color:#3a3a37;color:#1c1b17}
.swatch-pill.is-active{
  background:#1c1b17;color:#f6f1e7;
  border-color:#1c1b17;
}
.swatch-metal{padding-left:.28rem}
.swatch-metal::before{
  content:"";width:11px;height:11px;border-radius:50%;
  background:var(--swatch-color, var(--accent));
  border:1px solid rgba(0,0,0,.1);
  flex-shrink:0;
}

/* =====================================================================
   FILTERS  (multi-select checkbox style + show-more)
   ===================================================================== */
.filter-group{margin-bottom:1.4rem;padding-bottom:1.2rem;border-bottom:1px solid var(--line)}
.filter-group:last-child{border-bottom:none}
.filter-head{
  font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;
  color:var(--ink);margin-bottom:.6rem;
  display:flex;align-items:center;justify-content:space-between;font-weight:500;
}
.filter-count{
  background:var(--accent);color:#fff;font-size:.65rem;
  padding:.05rem .4rem;border-radius:999px;letter-spacing:0;
}
.filter-options{display:flex;flex-direction:column;gap:.2rem;max-height:none}
.filter-options[data-collapsible="1"].is-collapsed .filter-opt.is-extra.is-hidden{display:none}
.filter-opt{
  display:flex;align-items:center;gap:.5rem;
  font-size:.85rem;color:var(--text-soft);
  padding:.18rem .25rem;border-radius:4px;cursor:pointer;
  transition:background .12s;
}
.filter-opt:hover{background:var(--bg-alt, rgba(0,0,0,.03))}
.filter-opt input[type="checkbox"]{
  margin:0;flex-shrink:0;width:14px;height:14px;accent-color:var(--accent);cursor:pointer;
}
.filter-opt-label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.filter-opt-n{color:var(--muted);font-size:.76rem;flex-shrink:0}
.filter-more{
  font-size:.78rem;color:var(--accent);background:none;border:none;
  padding:.4rem 0 0;cursor:pointer;letter-spacing:.02em;
}
.filter-more:hover{text-decoration:underline}
.filter-actions{margin-top:1.4rem}

/* When a filter group has many options, allow the inner list to scroll
   after expansion rather than pushing the page enormously. */
.filter-options.is-expanded{
  max-height:340px;overflow-y:auto;padding-right:.3rem;
  scrollbar-width:thin;
}
.filter-options.is-expanded::-webkit-scrollbar{width:6px}
.filter-options.is-expanded::-webkit-scrollbar-thumb{background:var(--line);border-radius:4px}

/* =====================================================================
   CART DRAWER  (slide-out mini cart)
   ===================================================================== */
.cart-drawer{
  position:fixed;inset:0;z-index:1000;
  visibility:hidden;pointer-events:none;
}
.cart-drawer[data-open="true"]{visibility:visible;pointer-events:auto}
.cart-drawer-overlay{
  position:absolute;inset:0;background:rgba(28,27,23,.4);
  opacity:0;transition:opacity .3s var(--ease);
}
.cart-drawer[data-open="true"] .cart-drawer-overlay{opacity:1}
.cart-drawer-panel{
  position:absolute;top:0;right:0;bottom:0;
  width:min(420px, 100vw);
  background:var(--bg);
  color:var(--text);
  display:flex;flex-direction:column;
  transform:translateX(100%);
  transition:transform .35s var(--ease);
  box-shadow:-8px 0 32px rgba(0,0,0,.08);
}
.cart-drawer[data-open="true"] .cart-drawer-panel{transform:translateX(0)}
.cart-drawer-head{
  display:flex;justify-content:space-between;align-items:center;
  padding:1.2rem 1.4rem;border-bottom:1px solid var(--line);
  flex-shrink:0;
}
.cart-drawer-head h3{
  font-family:var(--font-display);font-weight:400;
  font-size:1.2rem;margin:0;letter-spacing:.01em;color:var(--text);
}
.cart-drawer-count{color:var(--text);opacity:.65;font-size:.85rem;font-family:var(--font-body)}
.cart-drawer-close{
  background:none;border:none;color:var(--text);cursor:pointer;
  width:32px;height:32px;display:flex;align-items:center;justify-content:center;
  border-radius:50%;transition:background .15s;
}
.cart-drawer-close:hover{background:rgba(127,127,127,.1)}
.cart-drawer-body{flex:1;overflow-y:auto;padding:.4rem 0;color:var(--text)}
.cart-drawer-empty{
  display:flex;flex-direction:column;align-items:center;gap:.9rem;
  padding:3rem 1.4rem;text-align:center;color:var(--text);opacity:.7;
}
.cart-drawer-empty svg{color:var(--text);opacity:.3}
.cart-drawer-empty p{margin:0;font-size:.95rem}
.cart-drawer-items{list-style:none;margin:0;padding:0}
.cart-drawer-line{
  display:grid;grid-template-columns:72px 1fr auto;gap:.9rem;
  padding:1rem 1.4rem;border-bottom:1px solid var(--line);
  align-items:start;
}
.cart-drawer-thumb{
  display:block;width:72px;height:72px;border-radius:6px;overflow:hidden;
  background:#f1ece2;flex-shrink:0;
}
.cart-drawer-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.cart-drawer-thumb--placeholder{
  display:block;width:100%;height:100%;
  background:linear-gradient(135deg, #f3eee2, #e8e2d2);
}
.cart-drawer-line-body{min-width:0}
.cart-drawer-line-title{
  display:block;color:var(--text);text-decoration:none;
  font-size:.92rem;line-height:1.3;margin-bottom:.3rem;
  font-family:var(--font-display);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden;
}
.cart-drawer-line-title:hover{color:var(--accent)}
.cart-drawer-line-meta{font-size:.74rem;color:var(--text);opacity:.6;margin-bottom:.35rem}
.cart-drawer-line-price{font-size:.9rem;color:var(--text);font-weight:500}
.cart-drawer-remove{
  background:none;border:none;color:var(--text);opacity:.55;cursor:pointer;
  padding:4px;align-self:flex-start;
  border-radius:4px;transition:opacity .15s, background .15s;
}
.cart-drawer-remove:hover{opacity:1;background:rgba(127,127,127,.1)}
.cart-drawer-foot{
  padding:1.2rem 1.4rem 1.4rem;
  border-top:1px solid var(--line);
  background:rgba(127,127,127,.04);
  color:var(--text);
  flex-shrink:0;
}
.cart-drawer-subtotal{
  display:flex;justify-content:space-between;align-items:baseline;
  margin-bottom:.4rem;font-size:.95rem;color:var(--text);
}
.cart-drawer-subtotal strong{
  font-family:var(--font-display);font-weight:400;font-size:1.15rem;color:var(--text);
}
.cart-drawer-note{
  font-size:.76rem;color:var(--text);opacity:.6;margin:0 0 1rem;text-align:center;
}

/* Checkout button inside the drawer is the primary CTA -- always dark
   bg with white text, regardless of theme. */
.cart-drawer-foot .btn--primary,
.cart-drawer-foot .btn--primary:link,
.cart-drawer-foot .btn--primary:visited{
  background:#1c1b17;color:#fff !important;border-color:#1c1b17;
}
.cart-drawer-foot .btn--primary:hover{
  background:#000;color:#fff !important;
}
/* "View Bag" secondary action -- bordered, follows theme text. */
.cart-drawer-foot .btn--light{
  background:transparent;color:var(--text);border-color:var(--text);
}
.cart-drawer-foot .btn--light:hover{
  background:rgba(127,127,127,.08);color:var(--text);
}

/* =====================================================================
   LOGIN MODAL
   ===================================================================== */
.modal{
  position:fixed;inset:0;z-index:1100;
  visibility:hidden;pointer-events:none;
}
.modal[data-open="true"]{visibility:visible;pointer-events:auto}
.modal-overlay{
  position:absolute;inset:0;background:rgba(28,27,23,.45);
  opacity:0;transition:opacity .25s var(--ease);
}
.modal[data-open="true"] .modal-overlay{opacity:1}
.modal-panel{
  position:absolute;top:50%;left:50%;
  transform:translate(-50%, calc(-50% + 20px));
  width:min(420px, 92vw);
  background:var(--bg);border-radius:10px;
  box-shadow:0 20px 60px rgba(0,0,0,.2);
  opacity:0;
  transition:transform .3s var(--ease), opacity .25s var(--ease);
  max-height:90vh;display:flex;flex-direction:column;
}
.modal[data-open="true"] .modal-panel{
  opacity:1;transform:translate(-50%, -50%);
}
.modal-head{
  display:flex;justify-content:space-between;align-items:center;
  padding:1.2rem 1.5rem .8rem;
}
.modal-head h3{
  font-family:var(--font-display);font-weight:400;font-size:1.4rem;
  margin:0;letter-spacing:.01em;
}
.modal-close{
  background:none;border:none;color:var(--ink);cursor:pointer;
  width:32px;height:32px;display:flex;align-items:center;justify-content:center;
  border-radius:50%;transition:background .15s;
}
.modal-close:hover{background:var(--surface)}
.modal-body{padding:0 1.5rem 1.5rem;overflow-y:auto}
.modal-body .fld{margin-bottom:.9rem}
.modal-body label{
  display:block;font-size:.74rem;letter-spacing:.08em;text-transform:uppercase;
  color:var(--muted);margin-bottom:.3rem;
}
.modal-body input[type="email"],
.modal-body input[type="password"],
.modal-body input[type="text"]{
  width:100%;padding:.7rem .9rem;
  border:1px solid var(--line);border-radius:6px;
  font-family:var(--font-body);font-size:.95rem;
  background:var(--surface);
}
.modal-body input:focus{outline:none;border-color:var(--accent)}
.modal-foot-links{
  display:flex;justify-content:space-between;align-items:center;
  margin-top:1rem;font-size:.85rem;
}
.modal-foot-links a{color:var(--accent);text-decoration:none}
.modal-foot-links a:hover{text-decoration:underline}
.modal-error{
  background:#fdecea;color:#a83c2d;
  padding:.6rem .8rem;border-radius:5px;
  font-size:.85rem;margin-bottom:.9rem;
}

/* =====================================================================
   CONTENT PAGES  (Terms, Privacy, About, Returns, Shipping, etc.)
   Tighter headings; comfortable reading column inside the wider wrap.
   ===================================================================== */
.content-body{max-width:880px;margin:0 auto}
.content-body h1{font-size:1.8rem;line-height:1.2;margin:2rem 0 .8rem}
.content-body h2{font-size:1.35rem;line-height:1.25;margin:2rem 0 .7rem;letter-spacing:-.005em}
.content-body h3{font-size:1.1rem;line-height:1.3;margin:1.6rem 0 .6rem}
.content-body h4{font-size:1rem;line-height:1.3;margin:1.4rem 0 .5rem;letter-spacing:.02em;text-transform:uppercase;font-family:var(--font-body);color:var(--ink)}
.content-body p{margin:0 0 1rem}
.content-body ul,.content-body ol{margin:0 0 1rem;padding-left:1.4rem}
.content-body li{margin-bottom:.4rem}
.content-body a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}
.content-body a:hover{text-decoration:none}

/* =====================================================================
   SURFACE TEXT GUARDS
   When the storefront uses a dark theme (theme_text = white), text
   should still render DARK inside any container with a white/cream
   background. These rules pin text inside known surface containers
   to dark, with explicit white backgrounds for form fields.
   ===================================================================== */

/* Anything inside a white surface card stays dark.
   .card is used by the auth pages (login, register, forgot-password),
   the contact form section, and the wishlist/cart line containers. */
.product-card,
.product-card .product-title,
.product-card .product-price .now,
.modal-panel,
.modal-panel *,
.mega,
.mega *,
.shop-filters,
.shop-filters *,
.shop-sort select,
.card,
.card *,
.form-card,
.form-card *{
  color:#1c1b17;
}

/* Primary buttons inside surface cards keep their dark background + light
   text -- the surface-text guard above would otherwise force dark text on
   a dark button, making the label unreadable. */
.card .btn--primary,
.card .btn--primary:link,
.card .btn--primary:visited,
.form-card .btn--primary,
.form-card .btn--primary:link,
.form-card .btn--primary:visited,
.modal-panel .btn--primary,
.modal-panel .btn--primary:link,
.modal-panel .btn--primary:visited{
  color:#f6f1e7 !important;
}
.card .btn--primary:hover,
.form-card .btn--primary:hover,
.modal-panel .btn--primary:hover{
  color:#fff !important;
}

/* Restore the muted secondary text inside surfaces (was being pinned to
   full dark by the rule above; soften back to the original warm gray). */
.product-card .product-cat,
.product-card .product-itemno,
.product-card .product-price .was,
.filter-group .filter-count,
.filter-more,
.mega-col h4,
.modal-body label,
.modal-foot-links a{
  color:#8a8478;
}

/* Accent-coloured items inside surfaces (links, hovers) keep using --accent. */
.modal-foot-links a:hover,
.mega-col a:hover,
.card a:hover{color:var(--accent)}

/* Form inputs always have white background + dark text. */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="url"],
select,
textarea{
  color:#1c1b17;
  background:#fff;
}

/* Header search: transparent background, dark text, dark icon -- always.
   Placed AFTER the generic rule so specificity wins. */
.search-inline input,
.search-inline input[type="text"],
.search-reveal input,
.search-reveal input[type="text"]{
  color:#1c1b17 !important;
  background:transparent !important;
}
.search-inline input::placeholder,
.search-reveal input::placeholder{color:#8a8478}
.search-inline button,
.search-reveal button{color:#1c1b17}

/* Modal close button stays dark on its white surface. */
.modal-close{
  color:#1c1b17;
}

/* On the wishlist page, the remove button overlays the white card so the
   icon needs an explicit dark colour. */
.wishlist-remove,
.wish-remove,
.cart-remove,
[data-wish-remove]{
  color:#8a8478;
}
.cart-remove:hover,
.wishlist-remove:hover{color:#9c3b2e}

/* Mega dropdown column links and titles. */
.mega-col a{color:#1c1b17}
.mega-col h4{color:#1c1b17;opacity:.7}

/* =====================================================================
   PDP VARIATION SWITCHER
   ===================================================================== */
.pdp-variants{
  margin:1.4rem 0;
  display:flex;flex-direction:column;gap:.9rem;
}
.pdp-variant-row{display:flex;align-items:center;gap:.9rem;flex-wrap:wrap}
.pdp-variant-label{
  font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;
  color:#8a8478;min-width:50px;
}
.pdp-variant-pills{display:flex;gap:.4rem;flex-wrap:wrap}
.pdp-variant-pill{
  display:inline-flex;align-items:center;gap:.4rem;
  padding:.4rem .8rem;
  border:1px solid #e0d9c8;
  border-radius:999px;
  background:#fff;color:#1c1b17;
  font-size:.78rem;letter-spacing:.04em;font-weight:500;
  text-decoration:none;
  transition:border-color .15s, background .15s, transform .15s;
  cursor:pointer;
  min-height:30px;
  line-height:1.1;
}
.pdp-variant-pill:hover{border-color:#1c1b17}
.pdp-variant-pill.is-active{
  background:#1c1b17;color:#f6f1e7;border-color:#1c1b17;
}
.pdp-variant-pill.swatch-metal::before{
  content:"";width:11px;height:11px;border-radius:50%;
  background:var(--swatch-color, #b08d57);
  border:1px solid rgba(0,0,0,.18);
  flex-shrink:0;
}
.pdp-variant-pill.is-active.swatch-metal::before{border-color:rgba(255,255,255,.3)}

/* =====================================================================
   HERO CAROUSEL: FADE MODE + WHOLE-SLIDE CLICK LINK
   ===================================================================== */
/* Whole-slide overlay link. Placed below .hero-content so any button or
   eyebrow inside content remains independently clickable, and below the
   carousel arrows/dots (which sit at higher z). */
.hero-slide-link{
  position:absolute;inset:0;z-index:1;
  display:block;text-decoration:none;
}

/* Fade transition: stack all slides absolutely; opacity-toggle .is-active. */
.hero[data-transition="fade"] .hero-track{
  position:relative;display:block;transition:none;transform:none !important;
}
.hero[data-transition="fade"] .hero-slide{
  position:absolute;inset:0;width:100%;
  opacity:0;transition:opacity .9s var(--ease);
  pointer-events:none;
}
.hero[data-transition="fade"] .hero-slide.is-active{
  opacity:1;pointer-events:auto;z-index:2;
}
/* In fade mode we need the .hero to retain its own height since slides are
   absolute; give it a min-height matching .hero-slide. */
.hero[data-transition="fade"]{
  min-height:clamp(440px,72vh,760px);
}

/* =====================================================================
   CONTACT PAGE — MULTI-LOCATION LAYOUT
   ===================================================================== */

/* Intro copy above the locations strip. Centered, narrow, reads like a
   page lead-in rather than competing with the location cards below. */
.contact-intro{
  max-width:680px;margin:0 auto 3rem;text-align:center;
  font-size:1.05rem;line-height:1.7;color:var(--text-soft);
}
.contact-intro p{margin:0 0 .8rem}
.contact-intro p:last-child{margin-bottom:0}

/* Vertical list of location rows. Each row alternates info/map sides. */
.locations-list{
  display:flex;flex-direction:column;gap:2.5rem;
  margin-bottom:4rem;
}
.location-row{
  display:grid;grid-template-columns:1fr 1.2fr;
  gap:0;
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  overflow:hidden;
  background:var(--surface);
}
.location-row--alt{grid-template-columns:1.2fr 1fr}
.location-row--alt .location-row-info{order:2}
.location-row--alt .location-row-map{order:1}

.location-row-info{
  padding:clamp(1.6rem, 3vw, 2.4rem);
  display:flex;flex-direction:column;justify-content:center;
  color:#1c1b17;
}
.location-row-info .eyebrow{
  font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;
  color:var(--accent);margin-bottom:.6rem;
}
.location-row-info h3{
  font-family:var(--font-display);font-weight:400;
  font-size:clamp(1.6rem, 2.4vw, 2rem);
  margin:0 0 1.4rem;color:#1c1b17;line-height:1.15;
}
.location-row-details{
  display:grid;grid-template-columns:1fr 1fr;gap:1.4rem;
}
@media (max-width:540px){
  .location-row-details{grid-template-columns:1fr}
}
.location-row-block p{
  margin:.15rem 0 0;font-size:.92rem;line-height:1.55;
  color:#3a3a37;
}
.location-row-block p a{
  color:#1c1b17;text-decoration:none;
  border-bottom:1px solid rgba(0,0,0,.18);
}
.location-row-block p a:hover{color:var(--accent);border-bottom-color:var(--accent)}
.location-label{
  display:block;font-size:.7rem;letter-spacing:.14em;
  text-transform:uppercase;color:#8a8478;font-weight:600;
}

.location-row-map{
  position:relative;min-height:340px;background:#f1ece2;
}
.location-row-map iframe{
  position:absolute;inset:0;width:100%;height:100%;
  border:0;display:block;
}

@media (max-width:760px){
  .location-row,
  .location-row--alt{grid-template-columns:1fr}
  .location-row--alt .location-row-info{order:1}
  .location-row--alt .location-row-map{order:2}
  .location-row-map{min-height:280px}
}

/* ----- Centered contact form section (multi-location layout) ----- */
.contact-form-wrap{
  max-width:720px;margin:0 auto;padding-top:2rem;
  border-top:1px solid var(--line);
}
.contact-form-head{
  text-align:center;margin-bottom:2rem;
}
.contact-form-head .eyebrow{
  font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;
  color:var(--accent);
}
.contact-form-head h2{
  font-family:var(--font-display);font-weight:400;
  font-size:clamp(1.8rem, 3vw, 2.4rem);margin:.6rem 0 .8rem;
}
.contact-form-head p{
  color:var(--text-soft);font-size:1rem;line-height:1.6;margin:0;
}

/* Instagram feed section (Elfsight or similar) — homepage bottom */
.instagram-section{border-top:1px solid var(--line)}
.instagram-section .section-head{margin-bottom:2rem}
.instagram-embed{min-height:200px}

/* =====================================================================
   PDP — main image arrow controls
   ===================================================================== */
.pdp-main-img{position:relative}
.pdp-arrow{
  position:absolute;top:50%;transform:translateY(-50%);
  width:42px;height:42px;border-radius:50%;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(0,0,0,.06);
  color:#1c1b17;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 16px rgba(0,0,0,.12);
  opacity:0;visibility:hidden;
  transition:opacity .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
  z-index:3;padding:0;
}
.pdp-main-img:hover .pdp-arrow,
.pdp-arrow:focus-visible{opacity:1;visibility:visible}
.pdp-arrow:hover{background:#fff;transform:translateY(-50%) scale(1.05)}
.pdp-arrow svg{width:20px;height:20px}
.pdp-arrow--prev{left:14px}
.pdp-arrow--next{right:14px}

@media (hover:none){
  /* On touch devices, always show the arrows -- no hover state to discover them. */
  .pdp-arrow{opacity:1;visibility:visible}
}

/* =====================================================================
   NEWSLETTER SIGNUP POPUP
   ===================================================================== */
.np-modal{
  position:fixed;inset:0;z-index:1100;
  display:none;align-items:center;justify-content:center;
}
.np-modal[data-open="true"]{display:flex}
.np-overlay{
  position:absolute;inset:0;background:rgba(20,18,15,.55);
  animation:npFade .25s var(--ease);
}
.np-panel{
  position:relative;z-index:2;
  width:min(440px, calc(100% - 32px));
  background:var(--surface);
  border-radius:var(--r-md);
  box-shadow:0 30px 80px rgba(0,0,0,.35);
  overflow:hidden;
  animation:npRise .35s var(--ease);
}
@keyframes npFade{from{opacity:0}to{opacity:1}}
@keyframes npRise{from{opacity:0;transform:translateY(20px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}

.np-close{
  position:absolute;top:12px;right:12px;z-index:3;
  width:34px;height:34px;border-radius:50%;
  background:transparent;border:0;color:#1c1b17;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  transition:background .2s var(--ease);
}
.np-close:hover{background:rgba(0,0,0,.06)}

.np-body{padding:2.4rem 2rem 2.1rem;text-align:center;color:#1c1b17}
.np-eyebrow{
  display:block;font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;
  color:var(--accent);margin-bottom:.6rem;font-weight:600;
}
.np-body h3{
  font-family:var(--font-display);font-weight:400;
  font-size:1.8rem;margin:0 0 .8rem;color:#1c1b17;line-height:1.15;
}
.np-body p{
  margin:0 0 1.4rem;color:#4a4642;line-height:1.55;font-size:.95rem;
}
.np-form{display:flex;flex-direction:column;gap:.6rem}
.np-form input[type="email"]{
  padding:.9rem 1rem;font-size:.95rem;
  border:1px solid var(--line);border-radius:var(--r-sm);
  background:#fff;color:#1c1b17;text-align:center;
}
.np-form input[type="email"]:focus{outline:none;border-color:var(--accent)}
.np-form input[type="email"]::placeholder{color:#8a8478}
.np-form button{width:100%;margin-top:.2rem}

.np-thanks{
  display:none;padding:1.2rem 1rem;text-align:center;
  color:var(--accent);font-size:1.05rem;line-height:1.5;
  border:1px solid var(--accent);border-radius:var(--r-sm);
  margin-top:.5rem;
}
.np-modal[data-success="true"] .np-form{display:none}
.np-modal[data-success="true"] .np-thanks{display:block}

@media (max-width:480px){
  .np-body{padding:2rem 1.4rem 1.8rem}
  .np-body h3{font-size:1.5rem}
}

/* =====================================================================
   CONTENT PAGE — BODY IMAGE LAYOUTS
   ===================================================================== */
.content-body-image{margin:0 auto 2.5rem;max-width:920px}
.content-body-image img{
  display:block;width:100%;height:auto;
  border-radius:var(--r-md);
  box-shadow:0 6px 20px rgba(0,0,0,.08);
}
.content-body-image--top{margin-top:0}

.content-with-image{
  display:grid;gap:3rem;align-items:start;
  grid-template-columns:1fr 1fr;
}
.content-with-image--right{grid-template-columns:1fr 1fr}
.content-with-image--left{grid-template-columns:1fr 1fr}
.content-with-image--left .content-body{order:2}
.content-with-image--left .content-body-image{order:1}
.content-with-image .content-body-image{margin:0;max-width:none;position:sticky;top:120px}

@media (max-width:760px){
  .content-with-image,
  .content-with-image--right,
  .content-with-image--left{
    grid-template-columns:1fr;gap:1.8rem;
  }
  .content-with-image--left .content-body{order:2}
  .content-with-image--left .content-body-image{order:1}
  .content-with-image--right .content-body{order:2}
  .content-with-image--right .content-body-image{order:1}
  .content-with-image .content-body-image{position:static}
}

/* =====================================================================
   BACK TO TOP
   ===================================================================== */
.back-to-top{
  position:fixed;left:24px;bottom:24px;z-index:900;
  width:46px;height:46px;border-radius:50%;
  background:var(--ink);color:#fff;border:0;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 18px rgba(0,0,0,.18);
  opacity:0;visibility:hidden;transform:translateY(10px);
  transition:opacity .25s var(--ease), transform .25s var(--ease), background .2s var(--ease), visibility 0s linear .25s;
}
.back-to-top.is-visible{
  opacity:1;visibility:visible;transform:translateY(0);
  transition:opacity .25s var(--ease), transform .25s var(--ease), background .2s var(--ease), visibility 0s linear 0s;
}
.back-to-top:hover{background:var(--accent)}
.back-to-top svg{width:20px;height:20px}
@media (max-width:560px){
  .back-to-top{left:16px;bottom:16px;width:42px;height:42px}
  .back-to-top svg{width:18px;height:18px}
}
