/*
Theme Name: Shibam Porcelain
Theme URI: https://shibamstore.com
Author: Shibam Store
Description: A bespoke luxury WooCommerce theme for fine crockery and tableware. Porcelain white, delft cobalt, antique brass. Built around a gold-rimmed plate motif.
Version: 4.1.0
Requires PHP: 7.4
Tested up to: 7.0
License: GNU General Public License v2 or later
Text Domain: shibam-porcelain
Tags: e-commerce, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ============ TOKENS ============ */
:root {
  --cobalt: #24406B;
  --cobalt-deep: #16294A;
  --porcelain: #FBFAF6;
  --porcelain-deep: #F1EFE7;
  --ink: #1B2637;
  --brass: #A9853F;
  --brass-light: #D3B878;
  --emerald: #1F6E52;      /* the buying color: go, safe, positive */
  --emerald-deep: #14503B;
  --wa: #1EBE5D;           /* WhatsApp-native green */
  --mist: #E9EDF3;
  --line: #E6E3DA;
  --text: #4C5666;
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 2px 12px rgba(27, 38, 55, 0.05);
  --shadow-lift: 0 24px 48px rgba(27, 38, 55, 0.12);
}

/* ============ RESET / BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--porcelain);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); text-decoration: none; transition: color 0.25s var(--ease-lux); }
a:hover { color: var(--cobalt-deep); }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: 0.5px;
}
p { margin: 0 0 1.2em; }
::selection { background: var(--mist); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100000;
  background: var(--ink); color: #fff; padding: 12px 20px;
}
.skip-link:focus { left: 0; color: #fff; }

/* ============ SHARED DEVICES ============ */
/* Eyebrow: engraved label */
.eyebrow {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 18px;
}
/* Plate-rim rule: the double gold hairline, our monogram */
.rim-rule {
  width: 76px; height: 6px;
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
  margin: 22px 0 0;
}
.rim-rule.centered { margin-left: auto; margin-right: auto; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); }
.section { padding: 96px 0; }
.section.tinted { background: var(--porcelain-deep); }

/* Buttons */
.btn, .woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.wc-block-cart__submit-container a,
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
  display: inline-block;
  background: var(--cobalt);
  color: #fff !important;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 38px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  transition: background 0.3s var(--ease-lux), transform 0.3s var(--ease-lux), box-shadow 0.3s var(--ease-lux);
}
.btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce input.button:hover, .woocommerce a.button.alt:hover {
  background: var(--cobalt-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(36, 64, 107, 0.3);
  color: #fff !important;
}
.btn.ghost {
  background: transparent;
  color: var(--ink) !important;
  border: 1px solid var(--ink);
}
.btn.ghost:hover { background: var(--ink); color: #fff !important; box-shadow: none; }

/* ============ TOP BAR ============ */
.topbar {
  background: var(--ink);
  color: #DCE2EC;
  font-size: 13.5px;
  letter-spacing: 1px;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 42px; gap: 16px;
}
.topbar a { color: var(--brass-light); }
.topbar a:hover { color: #fff; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 999;
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.4s var(--ease-lux), backdrop-filter 0.4s, border-color 0.4s;
}
.site-header.is-stuck {
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(27, 38, 55, 0.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; min-height: 88px;
}
.site-brand { display: flex; align-items: center; gap: 14px; }
.site-brand img { max-height: 54px; width: auto; }
.site-title {
  font-family: 'Marcellus', serif;
  font-size: 25px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}
.site-title a { color: var(--ink); }
.site-tagline {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 2px;
}

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.main-nav li { position: relative; }
.main-nav a {
  display: block;
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
}
.main-nav > ul > li > a { position: relative; }
.main-nav > ul > li > a::after {
  content: "";
  position: absolute; left: 16px; right: 100%; bottom: 6px;
  border-top: 1px solid var(--brass);
  transition: right 0.35s var(--ease-lux);
}
.main-nav > ul > li > a:hover::after,
.main-nav > ul > li.current-menu-item > a::after { right: 16px; }
.main-nav ul ul {
  position: absolute; top: 100%; left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--brass);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 20px 44px rgba(27, 38, 55, 0.10);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.3s var(--ease-lux);
  display: block; z-index: 99;
}
.main-nav li:hover > ul, .main-nav li:focus-within > ul {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.main-nav ul ul a { text-transform: none; letter-spacing: 0.3px; font-weight: 400; padding: 12px 20px; }
.main-nav ul ul li + li { border-top: 1px solid var(--porcelain-deep); }
.main-nav ul ul a:hover { background: var(--mist); color: var(--cobalt); }

.header-actions { display: flex; align-items: center; gap: 22px; }
.header-actions a { color: var(--ink); font-size: 14px; letter-spacing: 1px; display: inline-flex; align-items: center; gap: 8px; }
.header-actions a:hover { color: var(--cobalt); }
.cart-link { position: relative; }
.cart-bubble {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--brass); color: #fff;
  border-radius: 20px; font-size: 11px; font-weight: 600;
}

/* Mobile nav */
.nav-close { display: none; }
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; cursor: pointer; color: var(--ink); font-size: 18px; line-height: 1;
}

/* ============ HERO ============ */
.hero { overflow: hidden; }
.hero-panel {
  background: var(--porcelain-deep);
  border-radius: 26px;
  margin: 22px 0 0;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  min-height: 620px;
  padding: 60px 64px;
}
.hero-copy h1 {
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.14;
  margin-bottom: 22px;
}
.hero-copy .accent { color: var(--cobalt); }
.hero-copy p.lede { font-size: 18px; max-width: 460px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* The signature: gold-rimmed porcelain plate */
.hero-plate {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1; max-width: 540px; margin: 0 auto;
}
.hero-plate::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center, #FFFFFF 0%, #FFFFFF 64%, transparent 65%);
  box-shadow: inset 0 0 60px rgba(27, 38, 55, 0.04), 0 30px 60px rgba(27, 38, 55, 0.08);
}
.hero-plate::after {
  content: "";
  position: absolute; inset: 4.5%;
  border-radius: 50%;
  border: 1.5px solid var(--brass-light);
  opacity: 0.9;
}
.hero-plate img {
  position: relative; z-index: 2;
  width: 78%; height: 78%; object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(27, 38, 55, 0.18));
}

/* Hero load choreography */
@media (prefers-reduced-motion: no-preference) {
  .hero .stage {
    opacity: 0; transform: translateY(26px);
    animation: rise 0.9s var(--ease-lux) forwards;
  }
  .hero .stage-1 { animation-delay: 0.05s; }
  .hero .stage-2 { animation-delay: 0.18s; }
  .hero .stage-3 { animation-delay: 0.31s; }
  .hero .stage-4 { animation-delay: 0.44s; }
  .hero-plate { opacity: 0; transform: scale(0.96); animation: settle 1.1s var(--ease-lux) 0.3s forwards; }
}
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes settle { to { opacity: 1; transform: scale(1); } }

/* Scroll reveals */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease-lux), transform 0.8s var(--ease-lux); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero .stage, .hero-plate { opacity: 1; transform: none; animation: none; }
}

/* ============ CATEGORY TILES ============ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.cat-tile {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--mist);
  display: block;
}
.cat-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-lux);
}
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(27, 38, 55, 0.62) 0%, rgba(27, 38, 55, 0.05) 45%, transparent 60%);
}
.cat-tile .cat-name {
  position: absolute; left: 26px; right: 26px; bottom: 22px; z-index: 2;
  color: #fff;
  font-family: 'Marcellus', serif;
  font-size: 23px;
  letter-spacing: 1.5px;
}
.cat-tile .cat-count {
  position: absolute; left: 26px; bottom: 58px; z-index: 2;
  color: var(--brass-light);
  font-size: 11.5px; letter-spacing: 3px; text-transform: uppercase;
}
.cat-tile .tile-initial {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Marcellus', serif; font-size: 110px; color: #fff;
  background: linear-gradient(160deg, var(--cobalt) 0%, var(--cobalt-deep) 100%);
}

/* ============ PRODUCT GRID (WooCommerce) ============ */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin: 0 !important; padding: 0 !important;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 16px 24px !important;
  text-align: center;
  position: relative;
  transition: transform 0.35s var(--ease-lux), box-shadow 0.35s var(--ease-lux), border-color 0.35s var(--ease-lux);
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: var(--brass-light);
}
.woocommerce ul.products li.product a img {
  border-radius: 12px;
  margin-bottom: 16px !important;
  transition: transform 0.6s var(--ease-lux);
}
.woocommerce ul.products li.product:hover a img { transform: scale(1.04); }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Marcellus', serif;
  font-size: 18px !important;
  color: var(--ink);
  padding: 0 !important;
}
.woocommerce ul.products li.product .price {
  color: var(--cobalt) !important;
  font-size: 17px !important;
  font-weight: 500;
}
.woocommerce ul.products li.product .price del { color: #C2BEB3; font-weight: 400; }
.woocommerce .star-rating span::before, .woocommerce .star-rating::before { color: var(--brass); }
.woocommerce ul.products li.product .star-rating { margin: 6px auto 10px !important; }

/* Gallery-clean: button surfaces on hover (always visible on touch) */
.woocommerce ul.products li.product .button {
  margin-top: 8px;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.3s var(--ease-lux), transform 0.3s var(--ease-lux), background 0.3s;
  font-size: 12px; padding: 12px 26px;
}
.woocommerce ul.products li.product:hover .button,
.woocommerce ul.products li.product .button:focus-visible { opacity: 1; transform: none; }
@media (hover: none) {
  .woocommerce ul.products li.product .button { opacity: 1; transform: none; }
}
.woocommerce ul.products li.product .onsale {
  background: var(--brass);
  border-radius: 30px;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 14px; line-height: 1.8;
  min-width: 0; min-height: 0;
  top: 26px !important; right: 26px !important; left: auto !important;
  margin: 0 !important;
}
a.added_to_cart.wc-forward { display: block; margin-top: 10px; font-size: 13px; letter-spacing: 1px; color: var(--brass); }

/* ============ TRUST STRIP ============ */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.trust-item {
  padding: 44px 36px;
  text-align: center;
}
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item h3 { font-size: 19px; letter-spacing: 1px; margin-bottom: 8px; }
.trust-item p { font-size: 15px; margin: 0; }
.trust-item .trust-mark {
  display: block; width: 40px; height: 6px; margin: 0 auto 20px;
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
}

/* ============ STORY ============ */
.story-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 72px;
  align-items: center;
}
.story-frame { position: relative; padding: 22px; }
.story-frame::before {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid var(--brass-light);
  border-radius: 20px;
  transform: translate(14px, 14px);
}
.story-frame img {
  position: relative; z-index: 2;
  border-radius: 16px;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow-lift);
}
.story-copy h2 { font-size: clamp(28px, 3.4vw, 40px); }
.story-copy p { font-size: 17px; }

/* ============ CTA BAND ============ */
.cta-band {
  background: var(--ink);
  border-radius: 26px;
  padding: 72px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; top: -140px; left: 50%; transform: translateX(-50%);
  width: 460px; height: 460px; border-radius: 50%;
  border: 1px solid rgba(211, 184, 120, 0.25);
}
.cta-band::after {
  content: "";
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid rgba(211, 184, 120, 0.14);
}
.cta-band h2 { color: #F4F1E9; font-size: clamp(26px, 3.4vw, 40px); position: relative; z-index: 2; }
.cta-band p { color: #A9B2C2; max-width: 520px; margin: 0 auto 30px; position: relative; z-index: 2; }
.cta-band .btn { background: var(--brass); position: relative; z-index: 2; }
.cta-band .btn:hover { background: var(--brass-light); color: var(--ink) !important; box-shadow: none; }

/* ============ SINGLE PRODUCT / SHOP CHROME ============ */
.woocommerce div.product .product_title { font-size: 34px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--cobalt); font-size: 24px; }
.woocommerce div.product div.images img { border-radius: 18px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent; border: none; border-radius: 0; margin: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a { letter-spacing: 1px; text-transform: uppercase; font-size: 13px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom: 2px solid var(--brass); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: var(--line); }
.woocommerce .quantity .qty {
  border: 1px solid var(--line); border-radius: 10px; padding: 13px; width: 5.2em;
  font-family: 'Jost', sans-serif; font-size: 15px;
}
.woocommerce nav.woocommerce-pagination ul { border: none; }
.woocommerce nav.woocommerce-pagination ul li { border: none; margin: 0 3px; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
  padding: 13px 18px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink);
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--cobalt); border-color: var(--cobalt); color: #fff;
}
.woocommerce-result-count { color: var(--text); }
.woocommerce .woocommerce-ordering select {
  padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; font-family: 'Jost', sans-serif;
}
.woocommerce-breadcrumb { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: #9AA2B0 !important; }
.woocommerce-breadcrumb a { color: var(--brass); }

/* Forms */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="search"], input[type="url"], input[type="number"], textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 14px 16px;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--cobalt);
  box-shadow: 0 0 0 3px var(--mist);
}
.search-form { display: flex; gap: 10px; }
.search-form input[type="search"] { flex: 1; }
.search-form .btn { padding: 14px 26px; }

/* ============ PAGE / BLOG CHROME ============ */
.page-hero {
  background: var(--porcelain-deep);
  border-radius: 0 0 26px 26px;
  padding: 64px 0 56px;
  margin-bottom: 56px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); margin: 0; }
.content-narrow { max-width: 820px; margin: 0 auto; }
article.post { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 40px; margin-bottom: 32px; }
article.post .entry-title a { color: var(--ink); }
article.post .entry-title a:hover { color: var(--cobalt); }
.entry-meta { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--brass); margin-bottom: 14px; }

/* ============ FOOTER ============ */
.site-footer { background: var(--ink); color: #A9B2C2; margin-top: 96px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 0 56px;
}
.footer-brand .site-title { color: #F4F1E9; font-size: 21px; }
.footer-brand p { font-size: 15px; margin-top: 16px; }
.site-footer h3, .site-footer .widget-title {
  color: #F4F1E9;
  font-size: 17px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 22px;
}
.site-footer h3::after, .site-footer .widget-title::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 40px; height: 5px;
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 6px 0; font-size: 15px; }
.site-footer a { color: #A9B2C2; }
.site-footer a:hover { color: var(--brass-light); }
.footer-bottom {
  border-top: 1px solid #2A3550;
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 13.5px;
  color: #7E8AA0;
}

/* WhatsApp float */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 998;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink);
  border: 1px solid var(--brass);
  border-radius: 50%;
  color: var(--brass-light) !important;
  font-size: 24px;
  box-shadow: 0 12px 30px rgba(27, 38, 55, 0.25);
  transition: transform 0.3s var(--ease-lux), background 0.3s;
}
.wa-float:hover { transform: translateY(-4px); background: var(--cobalt-deep); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; padding: 48px 36px; min-height: 0; text-align: center; }
  .hero-copy p.lede { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .rim-rule { margin-left: auto; margin-right: auto; }
  .hero-plate { max-width: 420px; margin-top: 24px; }
  .story-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--ink);
    padding: 90px 32px 40px;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease-lux);
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { color: #F4F1E9; font-size: 17px; padding: 16px 0; border-bottom: 1px solid #2A3550; }
  .main-nav > ul > li > a::after { display: none; }
  .main-nav ul ul {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; border: none; box-shadow: none; min-width: 0;
  }
  .main-nav ul ul a { color: #A9B2C2; font-size: 15px; padding-left: 18px; }
  .nav-close {
    display: block;
    position: absolute; top: 24px; right: 24px;
    background: none; border: none; color: #F4F1E9; font-size: 30px; cursor: pointer;
  }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cat-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: none; border-top: 1px solid var(--line); }
  .hero-panel { border-radius: 18px; }
  .hero-grid { padding: 40px 24px; }
  .cta-band { padding: 56px 28px; border-radius: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar .topbar-right { display: none; }
}

/* ============================================================
   v1.1 — PSYCHOLOGY OF BUYING + NEW FUNCTIONALITY
   Navy = trust. Ivory = comfort. Brass = premium.
   Emerald = the one color that means "buy", used nowhere else.
   ============================================================ */

/* Buying actions become emerald — the eye learns the pattern */
.woocommerce ul.products li.product .button,
.woocommerce a.button.add_to_cart_button,
.woocommerce button.button.alt.single_add_to_cart_button,
.woocommerce div.product form.cart .button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.wc-block-cart__submit-container a,
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button,
.woocommerce #payment #place_order {
  background: var(--emerald) !important;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce button.button.alt.single_add_to_cart_button:hover,
.woocommerce div.product form.cart .button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce #payment #place_order:hover {
  background: var(--emerald-deep) !important;
  box-shadow: 0 12px 28px rgba(31, 110, 82, 0.32);
}

/* ---------- WhatsApp order buttons ---------- */
.btn-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--wa); color: #fff !important;
  font-family: 'Jost', sans-serif; font-size: 14px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 15px 32px; border-radius: 40px;
  transition: background 0.3s var(--ease-lux), transform 0.3s var(--ease-lux), box-shadow 0.3s;
  margin-top: 14px;
}
.btn-wa:hover {
  background: #17A64F; transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(30, 190, 93, 0.32);
}
.btn-wa svg { flex: none; }

/* Small card version */
.card-wa {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--wa) !important; font-weight: 500;
  margin-top: 10px;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.3s var(--ease-lux) 0.05s, transform 0.3s var(--ease-lux) 0.05s, color 0.2s;
}
.woocommerce ul.products li.product:hover .card-wa { opacity: 1; transform: none; }
@media (hover: none) { .card-wa { opacity: 1; transform: none; } }
.card-wa:hover { color: #17A64F !important; }

/* Floating WhatsApp: now unmistakably WhatsApp, with a quiet pulse */
.wa-float {
  background: var(--wa);
  border: none;
  color: #fff !important;
}
.wa-float:hover { background: #17A64F; }
@media (prefers-reduced-motion: no-preference) {
  .wa-float::after {
    content: ""; position: absolute; inset: -5px;
    border-radius: 50%; border: 2px solid rgba(30, 190, 93, 0.45);
    animation: wa-pulse 2.6s ease-out infinite;
  }
}
@keyframes wa-pulse {
  0% { transform: scale(0.9); opacity: 1; }
  70%, 100% { transform: scale(1.35); opacity: 0; }
}

/* ---------- Product page trust list ---------- */
.product-assurances {
  list-style: none; margin: 22px 0 0; padding: 18px 0 0;
  border-top: 1px solid var(--line);
}
.product-assurances li {
  position: relative; padding: 5px 0 5px 26px;
  font-size: 14.5px; color: var(--text);
}
.product-assurances li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 12px; height: 12px; border-radius: 50%;
  border: 1.5px solid var(--brass);
}
.product-assurances li::after {
  content: ""; position: absolute; left: 3.5px; top: 16.5px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--emerald);
}

/* ---------- Free-delivery progress bar ---------- */
.ship-progress {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 24px; margin: 0 0 28px;
}
.ship-progress p { margin: 0 0 12px; font-size: 15px; color: var(--ink); }
.ship-progress p strong { color: var(--emerald); }
.ship-progress .bar {
  height: 8px; border-radius: 8px; background: var(--porcelain-deep);
  overflow: hidden;
}
.ship-progress .fill {
  height: 100%; border-radius: 8px;
  background: linear-gradient(90deg, var(--emerald) 0%, var(--wa) 100%);
  transition: width 0.6s var(--ease-lux);
}
.ship-progress.done p { color: var(--emerald); font-weight: 500; }

/* ---------- Header search ---------- */
.search-toggle {
  background: none; border: none; cursor: pointer;
  color: var(--ink); padding: 6px; display: inline-flex;
  transition: color 0.2s;
}
.search-toggle:hover { color: var(--cobalt); }
.header-search {
  max-height: 0; overflow: hidden;
  transition: max-height 0.45s var(--ease-lux), padding 0.45s var(--ease-lux);
  border-top: 1px solid transparent;
}
.header-search.is-open {
  max-height: 120px; padding: 18px 0;
  border-top-color: var(--line);
}
.header-search .search-form { max-width: 560px; margin: 0 auto; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 94px; z-index: 998;
  width: 46px; height: 46px;
  background: var(--porcelain); color: var(--ink);
  border: 1px solid var(--brass-light); border-radius: 50%;
  cursor: pointer; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.35s var(--ease-lux);
  box-shadow: var(--shadow-soft);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); color: var(--brass-light); }
@media (max-width: 768px) {
  .to-top { bottom: 92px; right: 26px; width: 42px; height: 42px; }
}

/* ============================================================
   v2.0 — ATELIER EDITION: cinema, atmosphere, motion
   ============================================================ */

/* ---------- Scroll progress line ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--brass) 0%, var(--brass-light) 100%);
  z-index: 10001;
}

/* ---------- Brand preloader: the ring draws itself ---------- */
.site-loader {
  position: fixed; inset: 0; z-index: 100000;
  background: var(--porcelain);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  transition: opacity 0.7s var(--ease-lux), visibility 0.7s;
}
.site-loader.is-done { opacity: 0; visibility: hidden; }
.site-loader svg { width: 92px; height: 92px; }
.site-loader circle {
  fill: none; stroke: var(--brass); stroke-width: 1.5;
  stroke-dasharray: 283; stroke-dashoffset: 283;
  transform: rotate(-90deg); transform-origin: center;
  animation: draw-ring 1.6s var(--ease-lux) forwards;
}
.site-loader circle.inner {
  stroke: var(--brass-light); stroke-width: 1;
  animation-delay: 0.25s;
}
.site-loader .loader-brand {
  font-family: 'Marcellus', serif; font-size: 15px;
  letter-spacing: 7px; text-transform: uppercase; color: var(--ink);
  opacity: 0; animation: fade-in 0.9s ease 0.7s forwards;
}
@keyframes draw-ring { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .site-loader { display: none; }
}
/* Failsafe: even with no JavaScript, the loader dissolves on its own */
.site-loader { animation: loader-failsafe 0.7s ease 3.5s forwards; }
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }

/* ---------- Header: retreats down-scroll, returns up-scroll ---------- */
.site-header { transition: transform 0.45s var(--ease-lux), box-shadow 0.4s var(--ease-lux),
               backdrop-filter 0.4s, border-color 0.4s; }
.site-header.is-hidden { transform: translateY(-110%); }

/* ---------- CINEMATIC DARK HERO ---------- */
.hero-panel.dark {
  background: radial-gradient(1200px 700px at 75% 40%, #22334F 0%, var(--ink) 55%, #131B2B 100%);
  overflow: hidden;
  isolation: isolate;
}
.hero-atmo { position: absolute; border-radius: 50%; filter: blur(90px); z-index: 0; }
.hero-atmo.a1 {
  width: 520px; height: 520px; right: -80px; top: -120px;
  background: rgba(36, 64, 107, 0.55);
  animation: drift-a 14s ease-in-out infinite alternate;
}
.hero-atmo.a2 {
  width: 380px; height: 380px; left: -120px; bottom: -140px;
  background: rgba(169, 133, 63, 0.22);
  animation: drift-b 18s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate(-60px, 50px) scale(1.12); } }
@keyframes drift-b { to { transform: translate(70px, -40px) scale(1.08); } }

/* Film grain */
.hero-grain {
  position: absolute; inset: 0; z-index: 1; opacity: 0.5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-panel.dark .hero-grid { position: relative; z-index: 2; }

.hero-panel.dark .hero-copy h1 { color: #F4F1E9; }
.hero-panel.dark .hero-copy .accent {
  color: transparent;
  background: linear-gradient(100deg, var(--brass-light) 0%, #F0DCA8 45%, var(--brass) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  animation: shimmer 5s ease-in-out infinite;
}
@keyframes shimmer { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.hero-panel.dark .hero-copy p.lede { color: #B7BFCE; }
.hero-panel.dark .btn.ghost { color: #F4F1E9 !important; border-color: #4A5670; }
.hero-panel.dark .btn.ghost:hover { background: #F4F1E9; color: var(--ink) !important; }
.hero-panel.dark .eyebrow { color: var(--brass-light); }

/* Masked word-by-word headline reveal */
.hero-copy h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero-copy h1 .w > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy h1 .w > span { transform: translateY(110%); animation: word-rise 0.85s var(--ease-lux) forwards; }
}
@keyframes word-rise { to { transform: translateY(0); } }

/* The floating plate: rotating gold orbit + parallax */
.hero-plate.v2::before { background: none; box-shadow: none; }
.hero-plate.v2::after { display: none; }
.hero-plate.v2 .ring { position: absolute; border-radius: 50%; }
.hero-plate.v2 .ring-static {
  inset: 6%;
  border: 1px solid rgba(211, 184, 120, 0.5);
  box-shadow: 0 0 80px rgba(169, 133, 63, 0.18), inset 0 0 60px rgba(169, 133, 63, 0.08);
}
.hero-plate.v2 .ring-rotate {
  inset: 0;
  border: 1.5px dashed rgba(211, 184, 120, 0.65);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-plate.v2 .ring-rotate { animation: orbit 40s linear infinite; }
}
@keyframes orbit { to { transform: rotate(360deg); } }
.hero-plate.v2 img { width: 72%; height: 72%; filter: drop-shadow(0 34px 44px rgba(0, 0, 0, 0.45)); }
.hero-plate .orb { position: absolute; border-radius: 50%; z-index: 3; }
.hero-plate .orb-1 {
  width: 14px; height: 14px; top: 12%; right: 16%;
  background: var(--brass-light);
  animation: float-orb 6s ease-in-out infinite alternate;
}
.hero-plate .orb-2 {
  width: 8px; height: 8px; bottom: 16%; left: 12%;
  border: 1px solid var(--brass-light);
  animation: float-orb 8s ease-in-out infinite alternate-reverse;
}
@keyframes float-orb { to { transform: translateY(-18px); } }
.hero-plate[data-parallax], .hero-plate .plate-inner { transition: transform 0.2s ease-out; will-change: transform; }

/* ---------- Marquee band ---------- */
.marquee {
  overflow: hidden; white-space: nowrap;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 20px 0; margin-top: 22px;
  background: var(--porcelain);
}
.marquee-track { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 30s linear infinite; }
}
.marquee span {
  display: inline-block; margin: 0 34px;
  font-family: 'Marcellus', serif; font-size: 19px;
  letter-spacing: 4px; text-transform: uppercase; color: var(--ink);
}
.marquee i {
  display: inline-block; width: 9px; height: 9px;
  border: 1px solid var(--brass); border-radius: 50%;
  vertical-align: middle;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 3D tilt on product cards ---------- */
.woocommerce ul.products li.product { transform-style: preserve-3d; will-change: transform; }
.woocommerce ul.products li.product.is-tilting { transition: box-shadow 0.35s var(--ease-lux), border-color 0.35s var(--ease-lux); }

/* ---------- Cinematic image reveal ---------- */
.reveal-img { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease-lux); }
.reveal-img.is-in { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { .reveal-img { clip-path: none; } }

/* Dark hero on mobile */
@media (max-width: 768px) {
  .hero-atmo.a1 { width: 300px; height: 300px; }
  .hero-atmo.a2 { width: 240px; height: 240px; }
  .hero-plate.v2 { max-width: 320px; }
}

/* ============================================================
   v3.0 — GALLERY EDITION
   The blend: editorial magazine layout (luxury standard),
   warm earth + mocha tones (ceramics vernacular), arch motif
   (kiln doorway / vessel), typography as the artwork.
   ============================================================ */
:root {
  --sand: #F3ECE1;
  --mocha: #9E7161;
  --clay-warm: #C89B72;
}

/* ---------- EDITORIAL HERO: type overlapping the arch ---------- */
.hero-ed {
  background: linear-gradient(180deg, var(--sand) 0%, var(--porcelain) 100%);
  padding: 56px 0 26px;
  overflow: hidden;
}
.ed-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: center;
  position: relative;
}
.ed-copy { position: relative; z-index: 2; margin-right: -110px; }
.ed-kicker {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--brass); margin-bottom: 22px;
}
.ed-kicker::before { content: ""; width: 44px; border-top: 1px solid var(--brass); }
.ed-title {
  font-size: clamp(46px, 7.4vw, 98px);
  line-height: 1.05;
  letter-spacing: 0;
  margin: 0 0 28px;
  color: var(--ink);
}
.ed-title .accent {
  color: transparent;
  background: linear-gradient(105deg, var(--mocha) 0%, var(--clay-warm) 55%, var(--brass) 100%);
  -webkit-background-clip: text; background-clip: text;
}
.hero-ed .lede { font-size: 18px; max-width: 400px; color: var(--text); }
.hero-ed .hero-ctas { margin-top: 30px; }

/* The arch: kiln doorway, vessel, gallery niche */
.ed-arch {
  position: relative; z-index: 1;
  margin: 0;
  border-radius: 999px 999px 26px 26px;
  overflow: hidden;
  aspect-ratio: 4 / 5.1;
  background: linear-gradient(165deg, var(--clay-warm) 0%, var(--mocha) 78%);
  box-shadow: 0 40px 80px rgba(27, 38, 55, 0.16);
}
.ed-arch::after {
  content: "";
  position: absolute; inset: 14px;
  border: 1px solid rgba(244, 241, 233, 0.55);
  border-radius: 999px 999px 16px 16px;
  z-index: 3; pointer-events: none;
}
.ed-arch img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
@media (prefers-reduced-motion: no-preference) {
  .ed-arch img { animation: kenburns 22s ease-in-out infinite alternate; }
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
.ed-arch figcaption {
  position: absolute; left: 0; right: 0; bottom: 18px; z-index: 4;
  text-align: center;
  color: #F7F2E9;
  font-size: 11px; letter-spacing: 3.5px; text-transform: uppercase;
}
/* Empty arch still looks intentional: a vessel of light */
.ed-arch.is-empty::before {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(circle at 50% 68%, rgba(247, 242, 233, 0.5) 0%, transparent 55%);
}

/* ---------- Numbered editorial sections ---------- */
.sec-num {
  display: block;
  font-family: 'Marcellus', serif;
  font-size: 14px; letter-spacing: 5px;
  color: var(--mocha);
  margin-bottom: 10px;
}

/* ---------- The shelf: horizontal gallery of products ---------- */
.shelf { position: relative; }
.shelf ul.products {
  display: flex !important;
  grid-template-columns: none !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 26px;
  padding: 6px 6px 22px !important;
  scrollbar-width: thin;
  scrollbar-color: var(--brass-light) transparent;
}
.shelf ul.products::-webkit-scrollbar { height: 4px; }
.shelf ul.products::-webkit-scrollbar-thumb { background: var(--brass-light); border-radius: 4px; }
.shelf ul.products::-webkit-scrollbar-track { background: transparent; }
.shelf ul.products li.product {
  flex: 0 0 285px;
  scroll-snap-align: start;
}
.shelf-hint {
  text-align: right;
  font-size: 11.5px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--mocha);
  margin: 10px 4px 0;
}

/* ---------- Statement band: typography as artwork ---------- */
.statement {
  padding: 120px 0 110px;
  text-align: center;
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(200, 155, 114, 0.10) 0%, transparent 70%),
    var(--porcelain);
}
.statement p {
  font-family: 'Marcellus', serif;
  font-size: clamp(30px, 4.8vw, 56px);
  line-height: 1.28;
  color: var(--ink);
  max-width: 20ch;
  margin: 0 auto;
}
.statement .gold {
  color: transparent;
  background: linear-gradient(105deg, var(--mocha) 0%, var(--brass) 100%);
  -webkit-background-clip: text; background-clip: text;
}
.statement .rim-rule { margin: 34px auto 0; }

/* ---------- Warmer, softer gallery cards ---------- */
.woocommerce ul.products li.product {
  border-color: transparent !important;
  box-shadow: 0 6px 26px rgba(27, 38, 55, 0.07);
}
.woocommerce ul.products li.product:hover { border-color: var(--brass-light) !important; }

/* Story image joins the arch family */
.story-frame img { border-radius: 999px 999px 16px 16px; aspect-ratio: 4 / 5.1; }
.story-frame::before { border-radius: 999px 999px 20px 20px; }

/* Category tiles: arched gallery niches */
.cat-tile { border-radius: 999px 999px 18px 18px; }
.cat-tile .tile-initial { font-size: 90px; background: linear-gradient(165deg, var(--clay-warm) 0%, var(--mocha) 100%); }

/* ---------- Editorial hero responsive ---------- */
@media (max-width: 1024px) {
  .ed-grid { grid-template-columns: 1fr; }
  .ed-copy { margin-right: 0; text-align: center; }
  .ed-kicker { justify-content: center; }
  .ed-kicker::before { display: none; }
  .hero-ed .lede { margin-left: auto; margin-right: auto; }
  .hero-ed .hero-ctas { justify-content: center; }
  .ed-arch { max-width: 420px; margin: 40px auto 0; }
}
@media (max-width: 768px) {
  .hero-ed { padding: 36px 0 16px; }
  .ed-title { font-size: clamp(38px, 11vw, 54px); }
  .shelf ul.products li.product { flex-basis: 240px; }
  .statement { padding: 80px 0; }
}

/* ============================================================
   v4.0 — EDITIONS: a new spine.
   Cover → Marquee → Bento spread → Sticky story → Finale.
   ============================================================ */

/* ---------- 1. THE COVER ---------- */
.cover {
  min-height: 100svh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  position: relative;
  padding: 130px 28px 100px;
  background:
    radial-gradient(900px 480px at 50% -10%, rgba(200, 155, 114, 0.16) 0%, transparent 65%),
    linear-gradient(180deg, var(--sand) 0%, var(--porcelain) 90%);
  overflow: hidden;
}
.cover-meta {
  position: absolute; top: 26px; left: 0; right: 0;
  display: flex; justify-content: space-between;
  padding: 0 42px;
  font-size: 11px; letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--mocha);
}
.cover h1 {
  font-size: clamp(52px, 9.2vw, 128px);
  line-height: 1.03;
  max-width: 13ch;
  margin: 0 0 30px;
  color: var(--ink);
}
.cover h1 .accent {
  color: transparent;
  background: linear-gradient(105deg, var(--mocha) 0%, var(--clay-warm) 50%, var(--brass) 100%);
  -webkit-background-clip: text; background-clip: text;
}
/* Image chip embedded in the sentence */
.cover .chip {
  display: inline-block;
  width: 1.7em; height: 1em;
  object-fit: cover;
  border-radius: 999px;
  border: 1px solid var(--brass-light);
  vertical-align: -0.08em;
  box-shadow: 0 10px 24px rgba(27, 38, 55, 0.16);
}
@media (prefers-reduced-motion: no-preference) {
  .cover .chip { transform: translateY(110%); animation: word-rise 0.85s var(--ease-lux) forwards; }
}
.cover-sub { font-size: 18px; color: var(--text); max-width: 470px; margin: 0 auto; }
.cover .hero-ctas { justify-content: center; margin-top: 30px; }
.scroll-cue {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  width: 1px; height: 58px;
  background: var(--line);
  overflow: hidden;
}
.scroll-cue::after {
  content: "";
  position: absolute; top: -40%; left: 0;
  width: 100%; height: 40%;
  background: var(--brass);
}
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue::after { animation: cue-drop 2s var(--ease-lux) infinite; }
}
@keyframes cue-drop { 0% { top: -40%; } 70%, 100% { top: 110%; } }

/* ---------- 2. THE BENTO SPREAD ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 128px;
  gap: 18px;
}
.tile {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  transition: transform 0.35s var(--ease-lux), box-shadow 0.35s var(--ease-lux);
}
a.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }

/* placement */
.b-cat1  { grid-column: 1 / 4;  grid-row: span 4; }
.b-quote { grid-column: 4 / 7;  grid-row: span 2; }
.b-p1    { grid-column: 4 / 6;  grid-row: span 2; }
.b-fact  { grid-column: 6 / 7;  grid-row: span 2; }
.b-p2    { grid-column: 1 / 3;  grid-row: span 2; }
.b-p3    { grid-column: 3 / 5;  grid-row: span 2; }
.b-cat2  { grid-column: 5 / 7;  grid-row: span 4; }
.b-p4    { grid-column: 1 / 3;  grid-row: span 2; }
.b-wa    { grid-column: 3 / 5;  grid-row: span 2; }

/* category tiles */
.tile-cat img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-lux); }
.tile-cat:hover img { transform: scale(1.06); }
.tile-cat::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(27, 38, 55, 0.62) 0%, transparent 52%);
}
.tile-void {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 65%, rgba(247, 242, 233, 0.45) 0%, transparent 55%),
    linear-gradient(165deg, var(--clay-warm) 0%, var(--mocha) 100%);
}
.tile-tag {
  position: absolute; left: 24px; bottom: 54px; z-index: 2;
  color: var(--brass-light);
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
}
.tile-title {
  position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 2;
  color: #fff;
  font-family: 'Marcellus', serif;
  font-size: 24px; letter-spacing: 1px;
}

/* quote tile */
.tile-quote {
  background: var(--ink);
  display: flex; align-items: center;
  padding: 34px 38px;
}
.tile-quote p {
  font-family: 'Marcellus', serif;
  font-size: clamp(19px, 1.8vw, 26px);
  line-height: 1.4;
  color: #F4F1E9;
  margin: 0;
}
.tile-quote .gold {
  color: transparent;
  background: linear-gradient(105deg, var(--brass-light) 0%, var(--brass) 100%);
  -webkit-background-clip: text; background-clip: text;
}

/* product tiles */
.tile-product {
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px;
  display: flex; flex-direction: column;
}
.tile-product .tp-img {
  flex: 1; min-height: 0;
  display: flex; align-items: center; justify-content: center;
}
.tile-product .tp-img img {
  max-height: 100%; width: auto; max-width: 80%;
  object-fit: contain;
  transition: transform 0.5s var(--ease-lux);
}
.tile-product:hover .tp-img img { transform: scale(1.06); }
.tile-product .tp-name {
  font-family: 'Marcellus', serif;
  color: var(--ink); font-size: 17px;
  margin-top: 12px;
}
.tile-product .tp-price { color: var(--cobalt); font-weight: 500; font-size: 15px; margin-top: 2px; }
.tile-product .tp-price del { color: #C2BEB3; font-weight: 400; margin-right: 6px; }

/* fact tile */
.tile-fact {
  background: linear-gradient(165deg, #EFE3CE 0%, #E4D2B2 100%);
  padding: 24px 22px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
}
.tile-fact-mark {
  width: 34px; height: 6px; margin-bottom: auto;
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
}
.tile-fact strong { font-family: 'Marcellus', serif; font-weight: 400; color: var(--ink); font-size: 17px; line-height: 1.25; }
.tile-fact span:not(.tile-fact-mark) { font-size: 13px; color: #7A6B4F; line-height: 1.5; }

/* WhatsApp tile */
.tile-wa {
  background: linear-gradient(165deg, #1EBE5D 0%, #149C4B 100%);
  color: #fff !important;
  padding: 24px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
}
.tile-wa svg { margin-bottom: auto; opacity: 0.9; }
.tile-wa strong { font-family: 'Marcellus', serif; font-weight: 400; font-size: 19px; }
.tile-wa span { font-size: 13px; opacity: 0.9; }

.spread-more { text-align: center; margin: 44px 0 0; }

/* ---------- 3. THE STICKY STORY ---------- */
.sticky-story { padding: 110px 0; background: var(--porcelain-deep); }
.ss-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}
.ss-pin-inner { position: sticky; top: 140px; }
.ss-pin h2 { font-size: clamp(30px, 3.6vw, 46px); }
.ss-img {
  width: 100%;
  border-radius: 999px 999px 18px 18px;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  box-shadow: var(--shadow-lift);
  margin-bottom: 40px;
}
.ss-lede { font-size: 19px; line-height: 1.85; color: var(--text); }
.ss-points { margin-top: 40px; display: grid; gap: 0; }
.ss-point {
  display: flex; gap: 26px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.ss-point:last-child { border-bottom: 1px solid var(--line); }
.ss-point-num {
  font-family: 'Marcellus', serif;
  font-size: 15px; color: var(--mocha); letter-spacing: 2px;
  padding-top: 3px;
}
.ss-point strong {
  display: block;
  font-family: 'Marcellus', serif; font-weight: 400;
  font-size: 20px; color: var(--ink);
  margin-bottom: 6px;
}
.ss-point p { margin: 0; font-size: 15.5px; }

/* ---------- 4. THE FINALE (full bleed) ---------- */
.finale {
  background:
    radial-gradient(700px 380px at 50% 115%, rgba(169, 133, 63, 0.22) 0%, transparent 70%),
    var(--ink);
  padding: 130px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.finale::before, .finale::after {
  content: "";
  position: absolute; left: 50%; transform: translateX(-50%);
  border-radius: 999px 999px 0 0;
  border: 1px solid rgba(211, 184, 120, 0.2);
  border-bottom: none;
  pointer-events: none;
}
.finale::before { width: 620px; height: 320px; bottom: 0; }
.finale::after { width: 480px; height: 250px; bottom: 0; border-color: rgba(211, 184, 120, 0.12); }
.finale-inner { position: relative; z-index: 2; max-width: 660px; margin: 0 auto; }
.finale .sec-num { color: var(--brass-light); }
.finale h2 { color: #F4F1E9; font-size: clamp(32px, 4.6vw, 54px); }
.finale p { color: #A9B2C2; font-size: 17px; margin-bottom: 34px; }
.btn.gold { background: var(--brass); }
.btn.gold:hover { background: var(--brass-light); color: var(--ink) !important; box-shadow: none; }
.site-footer { margin-top: 0; }

/* ---------- Responsive spine ---------- */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; }
  .b-cat1  { grid-column: 1 / 3; grid-row: span 3; }
  .b-quote { grid-column: 1 / 3; grid-row: span 2; }
  .b-p1, .b-p2, .b-p3, .b-p4 { grid-column: span 1; grid-row: span 2; }
  .b-fact  { grid-column: span 1; grid-row: span 2; }
  .b-cat2  { grid-column: span 1; grid-row: span 2; }
  .b-wa    { grid-column: span 1; grid-row: span 2; }
  .ss-grid { grid-template-columns: 1fr; gap: 40px; }
  .ss-pin-inner { position: static; }
}
@media (max-width: 768px) {
  .cover { padding: 110px 22px 90px; }
  .cover-meta { padding: 0 22px; }
  .cover-meta span:last-child { display: none; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 108px; gap: 12px; }
  .b-cat1, .b-quote { grid-column: 1 / 3; }
  .tile-quote { padding: 24px; }
  .sticky-story { padding: 70px 0; }
  .finale { padding: 90px 22px; }
}


/* v4.0.2 — sparse bento: with few/no products, tiles pack densely, no holes */
.bento-sparse { grid-auto-flow: dense; }
.bento-sparse .tile { grid-column: span 2 !important; grid-row: span 2 !important; }
.bento-sparse .tile-cat { grid-column: span 3 !important; grid-row: span 4 !important; }
.bento-sparse .tile-quote { grid-column: span 3 !important; grid-row: span 2 !important; }
@media (max-width: 1024px) {
  .bento-sparse .tile { grid-column: span 1 !important; }
  .bento-sparse .tile-cat, .bento-sparse .tile-quote { grid-column: span 2 !important; }
}

/* ============================================================
   v4.1 — THE MERCHANDISING LAYER
   ============================================================ */

/* Deal rail: dark stage, products glow on it */
.deal-band {
  background:
    radial-gradient(760px 380px at 85% 0%, rgba(169, 133, 63, 0.16) 0%, transparent 65%),
    var(--ink);
}
.deal-band .section-head h2 { color: #F4F1E9; }
.deal-band .eyebrow { color: var(--brass-light); }
.deal-band .sec-num { color: var(--mocha); }
.deal-band .shelf-hint { color: var(--brass-light); }
.deal-band .shelf ul.products { scrollbar-color: var(--brass) transparent; }
.deal-band .woocommerce ul.products li.product { border-color: transparent !important; }
.deal-band .woocommerce ul.products li.product .onsale {
  background: var(--brass-light);
  color: var(--ink);
}

/* Shop-by-need chips */
.chip-section { padding-top: 70px; padding-bottom: 70px; }
.chip-strip {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px;
  max-width: 880px; margin: 0 auto;
}
.chip-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Marcellus', serif;
  font-size: 17px; letter-spacing: 0.5px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 40px;
  padding: 14px 26px;
  transition: all 0.3s var(--ease-lux);
}
.chip-link:hover {
  background: var(--ink); color: #F4F1E9;
  border-color: var(--ink);
  transform: translateY(-2px);
}
.chip-count {
  font-family: 'Jost', sans-serif;
  font-size: 11px; letter-spacing: 1px;
  color: var(--mocha);
  border: 1px solid var(--brass-light);
  border-radius: 20px;
  padding: 2px 9px;
}
.chip-link:hover .chip-count { color: var(--brass-light); border-color: var(--brass); }
.chip-all { background: var(--brass); border-color: var(--brass); color: #fff; }
.chip-all:hover { background: var(--brass-light); border-color: var(--brass-light); color: var(--ink); }
