/* ============ Base ============ */
:root {
  --bg: #FBF7F2;
  --bg-soft: #F4EDE4;
  --surface: #FFFFFF;
  --ink: #26221E;
  --ink-soft: #6A6259;
  --line: #E9E1D6;
  --rose: #F6DDE2;
  --rose-deep: #C97F8F;
  --blue: #DDEAF3;
  --blue-deep: #7FA6BE;
  --mint: #E0EEE4;
  --mint-deep: #6FA985;
  --butter: #F7ECCF;
  --gal-accent: #C97F8F;
  --gal-deep: #8F5561;
  --gal-soft: #F6DDE2;
  --gal-wash: #FBF1EF;
  --gal-glow: rgba(201, 127, 143, .22);
  --media-bg: color-mix(in srgb, var(--bg-soft) 62%, #fff);
  --shadow-sm: 0 2px 10px rgba(38, 34, 30, .05);
  --shadow-md: 0 18px 40px -22px rgba(38, 34, 30, .35);
  --shadow-lg: 0 30px 60px -30px rgba(38, 34, 30, .38);
  --radius: 26px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --wrap: 1180px;
  --header-h: 76px;
}

/* ============ Site themes ============ */
html[data-site-theme="terracota"] {
  --bg: #FBF5EE;
  --bg-soft: #F4E8DA;
  --line: #E9D9C8;
  --ink-soft: #6F6154;
  --rose: #F2DCCB;
  --rose-deep: #B4714E;
  --mint: #E5E9D9;
  --mint-deep: #74885F;
  --blue: #DDE7EA;
  --blue-deep: #6E8F98;
  --butter: #F6E6C9;
  --gal-accent: #B4714E;
  --gal-deep: #8A5135;
  --gal-soft: #F3E1D3;
  --gal-wash: #FBF3EC;
  --gal-glow: rgba(180, 113, 78, .22);
}
html[data-site-theme="jardin"] {
  --bg: #F7FAF4;
  --bg-soft: #EAF2E5;
  --line: #DCE7D5;
  --ink-soft: #5F6D59;
  --rose: #F1DFDA;
  --rose-deep: #BE7A67;
  --mint: #E0EEE4;
  --mint-deep: #6FA985;
  --blue: #DEE9EE;
  --blue-deep: #7A97A5;
  --butter: #F3ECD1;
  --gal-accent: #6FA985;
  --gal-deep: #4C7F60;
  --gal-soft: #E0EEE4;
  --gal-wash: #F0F7F2;
  --gal-glow: rgba(111, 169, 133, .22);
}
html[data-site-theme="cielo"] {
  --bg: #F5F8FB;
  --bg-soft: #E8EFF6;
  --line: #D9E3EE;
  --ink-soft: #596A7A;
  --rose: #F1DFE4;
  --rose-deep: #B8798B;
  --mint: #DCEBF0;
  --mint-deep: #5B8DA6;
  --blue: #DDEAF3;
  --blue-deep: #7FA6BE;
  --butter: #F4ECD8;
  --gal-accent: #5B82A6;
  --gal-deep: #40627F;
  --gal-soft: #DEE9F2;
  --gal-wash: #EFF4F9;
  --gal-glow: rgba(91, 130, 166, .22);
}
html[data-site-theme="marea"] {
  --bg: #F3F9F9;
  --bg-soft: #E2F0F0;
  --line: #D2E4E4;
  --ink-soft: #566A6A;
  --rose: #F5DED9;
  --rose-deep: #C07B6D;
  --mint: #D9EDEE;
  --mint-deep: #4E9AA6;
  --blue: #DCEBF2;
  --blue-deep: #6F97AC;
  --butter: #F5EDD4;
  --gal-accent: #4E9AA6;
  --gal-deep: #36727B;
  --gal-soft: #DCEFF1;
  --gal-wash: #EEF7F8;
  --gal-glow: rgba(78, 154, 166, .22);
}
html[data-site-theme="lavanda"] {
  --bg: #F8F5FC;
  --bg-soft: #EDE6F5;
  --line: #E0D5EC;
  --ink-soft: #665C75;
  --rose: #E9DFF3;
  --rose-deep: #8B79B0;
  --mint: #E2E9EF;
  --mint-deep: #7189A8;
  --blue: #DEE6F2;
  --blue-deep: #7C91B7;
  --butter: #F2E9D8;
  --gal-accent: #8B79B0;
  --gal-deep: #665388;
  --gal-soft: #E9E2F3;
  --gal-wash: #F5F1FA;
  --gal-glow: rgba(139, 121, 176, .22);
}
html[data-site-theme="miel"] {
  --bg: #FCF8EE;
  --bg-soft: #F6EDD9;
  --line: #EADFC6;
  --ink-soft: #6E6250;
  --rose: #F4E2CF;
  --rose-deep: #B98A3E;
  --mint: #E7EAD8;
  --mint-deep: #7E8C5C;
  --blue: #E2E8E0;
  --blue-deep: #7F9581;
  --butter: #F8EAC4;
  --gal-accent: #B98A3E;
  --gal-deep: #8F6728;
  --gal-soft: #F7EBD2;
  --gal-wash: #FCF6E9;
  --gal-glow: rgba(185, 138, 62, .22);
}
html[data-site-theme="bosque"] {
  --bg: #F5F8F3;
  --bg-soft: #E9EFE4;
  --line: #DAE4D4;
  --ink-soft: #5B6657;
  --rose: #EFE0DA;
  --rose-deep: #A8735D;
  --mint: #E0EBDF;
  --mint-deep: #6E8B6A;
  --blue: #DFE8E7;
  --blue-deep: #78928E;
  --butter: #F1EAD1;
  --gal-accent: #6E8B6A;
  --gal-deep: #4E694B;
  --gal-soft: #E4EDE0;
  --gal-wash: #F1F6EE;
  --gal-glow: rgba(110, 139, 106, .22);
}
html[data-site-theme="taller"] {
  --bg: #F9F6F1;
  --bg-soft: #F0E9DF;
  --line: #E4DACD;
  --ink-soft: #675F56;
  --rose: #EDE2D7;
  --rose-deep: #9A8775;
  --mint: #E7E6DA;
  --mint-deep: #858868;
  --blue: #E2E5E3;
  --blue-deep: #87948C;
  --butter: #F2E8D4;
  --gal-accent: #9A8775;
  --gal-deep: #74624F;
  --gal-soft: #EEE5DA;
  --gal-wash: #F8F3EC;
  --gal-glow: rgba(154, 135, 117, .22);
}

*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: clip;
}

body {
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
img,
video {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}
svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; padding: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

::selection { background: var(--rose); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--rose-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

[hidden] { display: none !important; }

body.no-scroll { overflow: hidden; }

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon { width: 1.15em; height: 1.15em; flex: none; }

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 300;
  background: var(--ink);
  color: #fff;
  padding: .7rem 1rem;
  border-radius: 999px;
  font-size: .85rem;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: .94rem;
  line-height: 1.1;
  white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .6rem .95rem; font-size: .84rem; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; box-shadow: var(--shadow-md); }
.btn-outline { background: rgba(255, 255, 255, .65); border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); background: #fff; }
.btn-wa { background: var(--mint); color: var(--ink); }
.btn-wa:hover { background: color-mix(in srgb, var(--mint) 72%, var(--mint-deep)); box-shadow: var(--shadow-sm); }
.btn-block { width: 100%; }
.btn .icon { width: 1.05em; height: 1.05em; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 76%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  box-shadow: 0 10px 34px -28px rgba(38, 34, 30, .55);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 1;
}
.brand-logo {
  display: block;
  width: auto;
  height: 52px;
  filter: drop-shadow(0 2px 6px rgba(38, 34, 30, .08));
}

.nav-desktop {
  display: flex;
  gap: 1.65rem;
  margin-inline: auto;
}
.nav-desktop a {
  position: relative;
  padding: .25rem 0;
  font-size: .92rem;
  color: var(--ink-soft);
  transition: color .2s;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--rose-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-desktop a:hover,
.nav-desktop a.is-active { color: var(--ink); }
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-left: auto;
}

/* ---- Theme picker ---- */
.theme-picker { position: relative; }
.theme-button {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .52rem .85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: .86rem;
  font-weight: 600;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.theme-button:hover { border-color: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.theme-button[aria-expanded="true"] { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.theme-button .icon { width: 18px; height: 18px; }
.theme-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--theme-accent, var(--rose-deep));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55);
  transition: background .35s var(--ease);
}

.theme-pop {
  position: absolute;
  top: calc(100% + .6rem);
  right: 0;
  z-index: 80;
  width: 316px;
  padding: .85rem .9rem .8rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 96%, var(--bg-soft));
  box-shadow: var(--shadow-lg);
  animation: theme-pop-in .24s var(--ease);
}
@keyframes theme-pop-in {
  from { opacity: 0; transform: translateY(-7px) scale(.985); }
}
.theme-pop-title {
  padding: .1rem .3rem .55rem;
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.theme-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .3rem;
}
.theme-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  padding: .55rem .2rem .5rem;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--ink-soft);
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.theme-option:hover { background: var(--bg-soft); color: var(--ink); transform: translateY(-1px); }
.theme-option.is-active {
  border-color: color-mix(in srgb, var(--swatch-accent) 45%, transparent);
  background: color-mix(in srgb, var(--swatch-soft) 55%, #fff);
  color: var(--ink);
}
.theme-swatch {
  width: 32px;
  height: 32px;
  margin-bottom: .15rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--swatch-soft) 47%, var(--swatch-accent) 53%);
  box-shadow: inset 0 0 0 1px rgba(38, 34, 30, .08);
  transition: box-shadow .25s, transform .25s var(--ease);
}
.theme-option:hover .theme-swatch { transform: scale(1.06); }
.theme-option.is-active .theme-swatch {
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--swatch-accent);
}
.theme-option-name { font-size: .72rem; font-weight: 700; line-height: 1.15; }
.theme-option-note { font-size: .6rem; line-height: 1.2; opacity: .8; }
.theme-pop-note {
  margin-top: .55rem;
  padding-top: .55rem;
  border-top: 1px solid var(--line);
  font-size: .64rem;
  text-align: center;
  color: var(--ink-soft);
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .52rem .85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: .86rem;
  font-weight: 600;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.cart-button:hover { border-color: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.cart-button .icon { width: 18px; height: 18px; }
.cart-count {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--rose);
  color: var(--ink);
  font-size: .7rem;
  font-weight: 700;
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  place-items: center;
  padding: 0;
}
.menu-button span {
  display: block;
  width: 16px;
  height: 1.6px;
  margin: 2.3px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s;
}
.menu-button.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-button.is-open span:nth-child(2) { opacity: 0; }
.menu-button.is-open span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: grid;
  padding: .5rem 1.25rem 1rem;
  background: var(--bg);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-.55rem);
  transition:
    opacity .22s var(--ease),
    transform .3s var(--ease),
    visibility 0s linear .3s;
}
.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition:
    opacity .2s var(--ease),
    transform .32s var(--ease),
    visibility 0s;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem .25rem;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(-.3rem);
  transition: opacity .24s var(--ease), transform .3s var(--ease), color .2s;
}
.mobile-nav a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose-deep);
  opacity: 0;
  transform: scale(.4);
  transition: opacity .2s var(--ease), transform .25s var(--ease);
}
.mobile-nav.is-open a {
  opacity: 1;
  transform: none;
}
.mobile-nav.is-open a:nth-child(2) { transition-delay: .02s; }
.mobile-nav.is-open a:nth-child(3) { transition-delay: .04s; }
.mobile-nav.is-open a:nth-child(4) { transition-delay: .06s; }
.mobile-nav.is-open a:nth-child(5) { transition-delay: .08s; }
.mobile-nav.is-open a:nth-child(6) { transition-delay: .1s; }
.mobile-nav a.is-active {
  color: var(--rose-deep);
  font-weight: 600;
}
.mobile-nav a.is-active::after {
  opacity: 1;
  transform: none;
}
.mobile-nav a:last-child { border-bottom: 0; }

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: clip;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(52rem 38rem at 88% -8%, color-mix(in srgb, var(--blue) 75%, transparent), transparent 62%),
    radial-gradient(38rem 30rem at -2% 8%, color-mix(in srgb, var(--rose) 65%, transparent), transparent 62%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .71rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint-deep);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--mint-deep) 18%, transparent);
}

.hero h1 {
  margin: 1rem 0 1.25rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.9rem, 6.2vw, 5rem);
  line-height: .98;
  letter-spacing: -.03em;
}
.highlight {
  font-style: italic;
  background: linear-gradient(transparent 64%, var(--rose) 64%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 .04em;
}

.lead {
  max-width: 36ch;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.65;
  color: var(--ink-soft);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.9rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1.25rem;
  margin-top: 2rem;
  font-size: .82rem;
  color: var(--ink-soft);
}
.hero-points li { display: flex; align-items: center; gap: .4rem; }
.hero-points .icon { width: 15px; height: 15px; color: var(--mint-deep); }

.hero-media {
  position: relative;
  isolation: isolate;
}
.hero-blob {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(48px);
}
.blob-rose { width: 60%; aspect-ratio: 1; top: -10%; right: -6%; background: var(--rose); opacity: .75; }
.blob-mint { width: 48%; aspect-ratio: 1; bottom: -12%; left: -8%; background: var(--mint); opacity: .8; }
.blob-blue { width: 38%; aspect-ratio: 1; top: 40%; right: -12%; background: var(--blue); opacity: .55; }

.hero-frame {
  padding: 9px;
  border-radius: 38px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.4deg);
}
.hero-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 30px;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .62rem .88rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  font-size: .78rem;
  color: var(--ink-soft);
  animation: float 6s ease-in-out infinite;
}
.float-card strong { color: var(--ink); }
.float-card .icon { width: 20px; height: 20px; }
.float-a { top: 6%; left: -4%; }
.float-a .icon { color: var(--rose-deep); }
.float-b { bottom: 5%; right: -3%; animation-delay: -3s; }
.float-b .icon { color: var(--mint-deep); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ============ Ticker ============ */
.ticker {
  overflow: hidden;
  padding: .85rem 0;
  background: var(--ink);
  color: var(--bg);
  border-block: 1px solid rgba(255, 255, 255, .08);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 30s linear infinite;
}
.ticker-group {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rose-deep);
}
@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ============ Sections ============ */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.section-head h2 {
  margin-top: .55rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.section-note {
  max-width: 36ch;
  padding-bottom: .3rem;
  font-size: .9rem;
  color: var(--ink-soft);
}
.section-head.center {
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  text-align: center;
}
.section-head.center .section-note { padding: 0; }

/* ============ Catalog ============ */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.7rem 0 1.9rem;
}
.filter {
  padding: .5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.filter:hover { border-color: var(--ink-soft); color: var(--ink); transform: translateY(-1px); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--ink-soft) 22%, var(--line));
  box-shadow: var(--shadow-lg);
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--media-bg);
}
.media-toggle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}
.media-toggle img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .6s var(--ease), transform .9s var(--ease);
}
.img-print { opacity: 0; }

.product-card:hover .img-print,
.product-card.is-showing-print .img-print { opacity: 1; }
.product-card:hover .img-blank,
.product-card.is-showing-print .img-blank { opacity: 0; }
.product-card:hover .media-toggle img { transform: scale(1.045); }

.media-tag {
  position: absolute;
  left: .9rem;
  bottom: .9rem;
  z-index: 2;
  padding: .33rem .68rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: opacity .35s, transform .35s;
}
.tag-print { opacity: 0; transform: translateY(4px); }
.product-card:hover .tag-blank,
.product-card.is-showing-print .tag-blank { opacity: 0; transform: translateY(-4px); }
.product-card:hover .tag-print,
.product-card.is-showing-print .tag-print { opacity: 1; transform: none; }

.product-badge {
  position: absolute;
  top: .9rem;
  left: .9rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .33rem .68rem;
  border-radius: 999px;
  background: var(--butter);
  color: var(--ink);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.product-badge .icon { width: 11px; height: 11px; }
.product-badge-soldout { background: rgba(38, 34, 30, .88); color: #fff; }
.product-card.is-soldout .media-toggle img { filter: grayscale(.62) saturate(.75); }
.occasion-thumb.is-soldout img { filter: grayscale(.85); opacity: .55; }

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: .5rem;
  padding: 1.15rem 1.25rem 1.3rem;
}
.product-occasion {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: .35rem;
  padding: .28rem .65rem;
  border-radius: 999px;
  background: var(--rose);
  color: var(--ink);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .05em;
}
.product-occasion .icon { width: 11px; height: 11px; }
.product-cat {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.product-title { font-size: 1.12rem; font-weight: 600; line-height: 1.25; }
.product-desc { font-size: .84rem; line-height: 1.55; color: var(--ink-soft); }

.variants {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .15rem;
}
.variant {
  padding: .32rem .7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: .76rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background .2s, color .2s, border-color .2s;
}
.variant:hover { border-color: var(--ink-soft); color: var(--ink); }
.variant.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: auto;
  padding-top: .9rem;
}
.price { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; }
.btn-add {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .58rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  transition: background .25s, transform .25s, box-shadow .25s;
}
.btn-add:hover { background: #000; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-add .icon { width: 14px; height: 14px; }
.btn-ask { background: var(--mint); color: var(--ink); }
.btn-ask:hover { background: color-mix(in srgb, var(--mint) 72%, var(--mint-deep)); }

.skeleton {
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  background: linear-gradient(100deg, var(--bg-soft) 30%, #fff 50%, var(--bg-soft) 70%);
  background-size: 220% 100%;
  animation: shimmer 1.5s infinite linear;
}
@keyframes shimmer {
  to { background-position: -220% 0; }
}

.catalog-error {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: .6rem;
  padding: 3rem 1.5rem;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 28px;
  color: var(--ink-soft);
}
.catalog-error h3 { color: var(--ink); font-size: 1.2rem; }
.catalog-error .btn { margin-top: .6rem; }

.catalog-empty {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: .9rem;
  padding: 3rem 1.5rem;
  border: 1px dashed var(--line);
  border-radius: 28px;
  text-align: center;
  color: var(--ink-soft);
}

.active-occasion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
  padding: .55rem .65rem .55rem 1rem;
  border-radius: 999px;
  background: var(--rose);
  font-size: .84rem;
}
.active-occasion strong { font-weight: 700; }
.active-occasion-count {
  display: inline-block;
  margin-left: .45rem;
  padding: .1rem .55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .68);
  color: var(--ink-soft);
  font-size: .72rem;
  font-weight: 700;
}
.active-occasion .link-button {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin: 0;
  padding: .38rem .7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.active-occasion .link-button:hover { background: #fff; }
.active-occasion .icon { width: 13px; height: 13px; }

.variant { display: inline-flex; align-items: center; gap: .38rem; }
.variant-dot {
  width: .72rem;
  height: .72rem;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: inset 0 0 0 1px rgba(38, 34, 30, .18);
}
.variant.is-active .variant-dot { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); }

/* ============ Occasions ============ */
.occasions {
  background: color-mix(in srgb, var(--bg-soft) 72%, #fff);
  border-block: 1px solid var(--line);
}
.occasion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.4rem;
}
.occasion-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding: 1.5rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.occasion-card:focus-within {
  outline: 3px solid var(--rose-deep);
  outline-offset: 3px;
}
.occasion-link:focus-visible { outline: none; }
.occasion-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.occasion-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--ink-soft) 22%, var(--line));
  box-shadow: var(--shadow-md);
}
.occasion-card.is-active { border-color: var(--rose-deep); box-shadow: var(--shadow-md); }
.occasion-season {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--rose-deep);
}
.occasion-season::before {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 99px;
  background: currentColor;
}
.occasion-card:nth-child(3n+2) .occasion-season { color: var(--blue-deep); }
.occasion-card:nth-child(3n) .occasion-season { color: var(--mint-deep); }
.occasion-card h3 {
  margin-top: .35rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -.015em;
}
.occasion-desc { margin-top: .45rem; font-size: .85rem; line-height: 1.55; color: var(--ink-soft); }
.occasion-thumbs {
  display: flex;
  align-items: center;
  margin-top: auto;
  padding-top: .35rem;
}
.occasion-thumb,
.occasion-more {
  width: 54px;
  height: 54px;
  margin-left: -12px;
  border: 3px solid #fff;
  border-radius: 16px;
  background: var(--media-bg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.occasion-thumb:first-child { margin-left: 0; }
.occasion-thumb img { width: 100%; height: 100%; object-fit: cover; }
.occasion-more {
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  font-size: .72rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.occasion-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
  font-size: .84rem;
  font-weight: 600;
}
.occasion-link .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.occasion-card:hover .occasion-link .icon { transform: translateX(3px); }
.occasion-link[aria-pressed="true"] { color: var(--rose-deep); }

.notice {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: var(--bg-soft);
  font-size: .9rem;
}
.notice a { text-decoration: underline; }

/* ============ Gallery ============ */
.gallery-stage {
  position: relative;
  margin-top: 2.2rem;
  padding: clamp(1rem, 2.4vw, 1.7rem);
  border: 1px solid var(--gal-soft);
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(85% 130% at 100% 0%, var(--gal-glow), transparent 64%),
    linear-gradient(180deg, var(--gal-wash), #fff 128%);
  transition: background .6s var(--ease), border-color .6s var(--ease);
}
.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1.4rem;
  flex-wrap: wrap;
}
.gallery-topics {
  display: flex;
  gap: .45rem;
  min-width: 0;
  overflow-x: auto;
  padding: .12rem .1rem .3rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gallery-topics::-webkit-scrollbar { display: none; }
.gallery-topic {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  flex: none;
  padding: .45rem .82rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s;
}
.gallery-topic:hover {
  border-color: var(--topic-accent, var(--gal-accent));
  color: var(--ink);
  transform: translateY(-1px);
}
.gallery-topic.is-active {
  border-color: var(--topic-accent, var(--gal-accent));
  background: var(--topic-accent, var(--gal-accent));
  color: #fff;
  box-shadow: 0 10px 20px -12px var(--topic-accent, var(--gal-accent));
}
.gallery-topic-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--topic-accent, var(--gal-accent));
  transition: background .25s;
}
.gallery-topic.is-active .gallery-topic-dot { background: rgba(255, 255, 255, .9); }
.gallery-topic-count {
  min-width: 20px;
  padding: .06rem .34rem;
  border-radius: 999px;
  background: rgba(38, 34, 30, .07);
  font-size: .64rem;
  font-weight: 700;
  text-align: center;
}
.gallery-topic.is-active .gallery-topic-count { background: rgba(255, 255, 255, .24); }
.gallery-theme-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  max-width: 46ch;
  font-size: .76rem;
  color: var(--ink-soft);
}
.gallery-theme-note:empty { display: none; }
.gallery-theme-name {
  padding: .2rem .55rem;
  border-radius: 999px;
  background: var(--gal-soft);
  color: var(--gal-deep);
  font-size: .59rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: background .4s, color .4s;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(120px, 12vw, 176px);
  gap: 1rem;
  margin-top: 1.15rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.gallery-tile {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  border-radius: 22px;
  background: var(--bg-soft);
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.gallery-tile.is-feature {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .85s var(--ease), filter .4s;
}
.gallery-tile:hover img { transform: scale(1.045); }
.gallery-tile:hover,
.gallery-tile:focus-visible { box-shadow: 0 22px 38px -28px var(--gal-accent); }
.gallery-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24, 20, 17, .74) 0%, rgba(24, 20, 17, .16) 46%, transparent 68%);
}
.gallery-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: .95rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .3rem;
  color: #fff;
}
.gallery-tag {
  padding: .2rem .55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.gallery-name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.01em;
  text-wrap: balance;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .3);
}
.gallery-tile.is-feature .gallery-caption { left: 1.35rem; right: 1.35rem; bottom: 1.25rem; gap: .4rem; }
.gallery-tile.is-feature .gallery-name { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.gallery-expand {
  position: absolute;
  top: .85rem;
  right: .85rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  opacity: 0;
  transform: scale(.86);
  transition: opacity .3s, transform .3s var(--ease);
}
.gallery-expand .icon { width: 15px; height: 15px; }
.gallery-tile:hover .gallery-expand,
.gallery-tile:focus-visible .gallery-expand { opacity: 1; transform: none; }
.gallery-play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .55);
  transition: transform .4s var(--ease), background .3s;
}
.gallery-play .icon { width: 18px; height: 18px; margin-left: 3px; }
.gallery-tile:hover .gallery-play,
.gallery-tile:focus-visible .gallery-play { transform: scale(1.09); background: #fff; }
.gallery-tile.is-feature .gallery-play { width: 68px; height: 68px; }
.gallery-tile.is-feature .gallery-play .icon { width: 23px; height: 23px; }
.gallery-grid .skeleton { height: 100%; aspect-ratio: auto; border-radius: 22px; }
.gallery-pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem 1.2rem;
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--gal-soft);
}
.gallery-range {
  justify-self: start;
  font-size: .76rem;
  color: var(--ink-soft);
}
.gallery-page-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
}
.gallery-page {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 .5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink-soft);
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.gallery-page:hover:not(:disabled) {
  border-color: var(--gal-accent);
  color: var(--ink);
  transform: translateY(-1px);
}
.gallery-page.is-current {
  border-color: var(--gal-accent);
  background: var(--gal-accent);
  color: #fff;
}
.gallery-page:disabled { opacity: .35; cursor: default; }
.gallery-page-arrow .icon {
  width: 14px;
  height: 14px;
  transform: rotate(180deg);
}
.gallery-page-next .icon { transform: none; }
.gallery-page-ellipsis {
  min-width: 18px;
  text-align: center;
  font-size: .8rem;
  color: var(--ink-soft);
}
.gallery-page-size {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: .5rem;
  font-size: .74rem;
  color: var(--ink-soft);
}
.gallery-page-size select {
  padding: .34rem 1.8rem .34rem .7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  appearance: none;
}
.gallery-page-size select:focus-visible {
  outline: 2px solid var(--gal-accent);
  outline-offset: 2px;
}

.gallery-dialog {
  width: min(980px, calc(100% - 2rem));
  max-width: 980px;
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 30px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .6);
  overflow: hidden;
}
.gallery-dialog::backdrop {
  background: rgba(28, 23, 19, .62);
  backdrop-filter: blur(6px);
}
.gallery-dialog[open] { animation: dialog-in .32s var(--ease); }
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
}
.gallery-dialog-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  max-height: calc(100dvh - 2rem);
}
.gallery-dialog-media { min-height: 0; background: var(--media-bg); }
.gallery-dialog-media img {
  width: 100%;
  height: 100%;
  max-height: calc(100dvh - 2rem);
  object-fit: cover;
}
.gallery-dialog-media video {
  width: 100%;
  height: 100%;
  max-height: calc(100dvh - 2rem);
  object-fit: contain;
  background: #14110F;
}
.gallery-dialog-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .8rem;
  padding: 2.4rem 2.1rem;
  overflow-y: auto;
}
.gallery-dialog-tag:empty { display: none; }
.gallery-dialog-tag {
  padding: .24rem .6rem;
  border-radius: 999px;
  background: var(--gal-soft);
  color: var(--gal-deep);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .4s, color .4s;
}
.gallery-dialog-copy h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.gallery-dialog-desc { font-size: .9rem; line-height: 1.6; color: var(--ink-soft); }
.gallery-dialog-copy .btn { margin-top: .35rem; }
.gallery-dialog-note { font-size: .76rem; color: var(--ink-soft); }
.gallery-dialog-close {
  position: absolute;
  top: .9rem;
  right: .9rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(38, 34, 30, .08);
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), background .25s;
}
.gallery-dialog-close:hover { transform: rotate(90deg); background: #fff; }
.gallery-dialog-close .icon { width: 18px; height: 18px; }

/* ============ How it works ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2.6rem;
}
.step {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: 28px;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-rose { background: var(--rose); }
.step-blue { background: var(--blue); }
.step-mint { background: var(--mint); }
.step-num {
  position: absolute;
  top: 1.1rem;
  right: 1.35rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.1rem;
  line-height: 1;
  color: rgba(38, 34, 30, .2);
}
.step-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .78);
}
.step-icon .icon { width: 24px; height: 24px; }
.step h3 { margin-bottom: .4rem; font-size: 1.08rem; }
.step p { font-size: .88rem; line-height: 1.55; color: rgba(38, 34, 30, .72); }

/* ============ Personalize ============ */
.personalize-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  overflow: hidden;
  padding: clamp(1.75rem, 4vw, 4rem);
  border: 1px solid rgba(38, 34, 30, .06);
  border-radius: 38px;
  background:
    radial-gradient(28rem 20rem at 92% 8%, color-mix(in srgb, var(--rose) 90%, transparent), transparent 62%),
    linear-gradient(140deg, color-mix(in srgb, var(--bg) 55%, #fff), color-mix(in srgb, var(--mint) 86%, #fff));
}
.personalize-copy h2 {
  margin: .55rem 0 1rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.checklist {
  display: grid;
  gap: .65rem;
  margin: 1.4rem 0 1.8rem;
  font-size: .92rem;
}
.checklist li { display: flex; align-items: center; gap: .6rem; }
.checklist .icon {
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
}

.personalize-media {
  position: relative;
  width: min(100%, 380px);
  justify-self: center;
}
.personalize-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 10px solid #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
}
.sticker {
  position: absolute;
  top: 6%;
  right: -3%;
  padding: .55rem .9rem;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: rotate(6deg);
}

/* ============ Footer ============ */
.site-footer {
  margin-top: 3rem;
  padding: clamp(3rem, 6vw, 5rem) 0 1.5rem;
  background: var(--ink);
  color: #F4EEE6;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr 1fr;
  gap: 2.5rem;
}
.brand-light { color: #F4EEE6; }
.brand-logo-footer {
  height: 88px;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .28));
}
.footer-brand p {
  max-width: 32ch;
  margin: 1rem 0 1.5rem;
  font-size: .92rem;
  line-height: 1.65;
  color: #C9C1B6;
}
.site-footer .btn-wa { background: var(--rose); color: var(--ink); }
.site-footer .btn-wa:hover { background: color-mix(in srgb, var(--rose) 74%, var(--rose-deep)); }
.footer-title {
  margin-bottom: 1rem;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #9E958A;
}
.footer-links {
  display: grid;
  gap: .65rem;
  font-size: .92rem;
  color: #D9D2C8;
}
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .78rem;
  color: #9E958A;
}

/* ============ WhatsApp float ============ */
.wa-float {
  position: fixed;
  right: clamp(14px, 3vw, 26px);
  bottom: clamp(14px, 3vw, 26px);
  z-index: 70;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 18px 36px -14px rgba(38, 34, 30, .6);
  transition: transform .25s var(--ease), background .5s var(--ease), color .4s var(--ease),
    box-shadow .5s var(--ease);
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1.5px solid rgba(201, 127, 143, 0);
  border-radius: 50%;
  opacity: 0;
  transform: scale(.86);
  pointer-events: none;
  transition: opacity .5s var(--ease), transform .55s var(--ease), border-color .5s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); background: #000; }
.wa-float .icon { width: 26px; height: 26px; }
.wa-float::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 3px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: #34C46B;
}
.wa-float.is-footer {
  background: var(--rose);
  color: var(--ink);
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .58);
  animation: wa-footer-settle .65s var(--ease);
}
.wa-float.is-footer::before {
  border-color: color-mix(in srgb, var(--rose-deep) 48%, transparent);
  opacity: 1;
  transform: scale(1);
}
.wa-float.is-footer:hover { background: color-mix(in srgb, var(--rose) 74%, var(--rose-deep)); color: var(--ink); }
.wa-float.is-footer::after { border-color: var(--ink); }
@keyframes wa-footer-settle {
  0% { transform: scale(.94); }
  55% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* ============ Back to top ============ */
.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 26px);
  bottom: calc(clamp(14px, 3vw, 26px) + 68px);
  z-index: 69;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(38, 34, 30, .08);
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  box-shadow: 0 14px 30px -16px rgba(38, 34, 30, .5);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px) scale(.9);
  transition: opacity .5s var(--ease), transform .55s var(--ease), visibility 0s .55s,
    background .25s, box-shadow .3s;
}
.to-top::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1.5px solid var(--rose-deep);
  border-radius: 50%;
  opacity: 0;
  transform: scale(.85);
  pointer-events: none;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}
.to-top:hover {
  transform: translateY(-4px) scale(1.05);
  background: #fff;
  box-shadow: 0 20px 36px -16px rgba(38, 34, 30, .55);
}
.to-top .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.to-top:hover .icon { transform: translateY(-2px); }
.to-top.is-launching { animation: to-top-lift .7s var(--ease); }
.to-top.is-launching::before { animation: to-top-ring .9s var(--ease); }
.to-top.is-launching .icon { animation: to-top-arrow .7s var(--ease); }
@keyframes to-top-lift {
  0%, 100% { transform: none; }
  30% { transform: translateY(-3px) scale(1.05); }
  62% { transform: translateY(1px) scale(.99); }
}
@keyframes to-top-ring {
  0% { opacity: .55; transform: scale(.85); }
  65% { opacity: .16; }
  100% { opacity: 0; transform: scale(1.95); }
}
@keyframes to-top-arrow {
  0%, 100% { transform: none; }
  38% { transform: translateY(-6px); }
  70% { transform: translateY(2px); }
}

/* ============ Toast ============ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 200;
  max-width: calc(100vw - 32px);
  padding: .8rem 1.2rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow-lg);
  font-size: .85rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity .3s, transform .3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1280px) {
  body.no-scroll .toast { bottom: 204px; }
}

/* ============ Cart drawer ============ */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(30, 26, 22, .45);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility 0s .35s;
}
.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  width: min(430px, 100%);
  height: 100dvh;
  background: var(--bg);
  box-shadow: -30px 0 70px -40px rgba(0, 0, 0, .55);
  visibility: hidden;
  transform: translateX(104%);
  transition: transform .42s var(--ease), visibility 0s .42s;
}
.cart-drawer.is-open {
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.4rem 1rem;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 {
  margin-top: .2rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 1.65rem;
}
.icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  transition: border-color .2s, transform .2s;
}
.icon-button:hover { border-color: var(--ink); transform: rotate(90deg); }
.icon-button .icon { width: 18px; height: 18px; }

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.1rem 1.4rem;
  overscroll-behavior: contain;
}

.cart-empty {
  display: grid;
  justify-items: center;
  gap: .5rem;
  padding: 3rem 1rem;
  text-align: center;
  color: var(--ink-soft);
}
.cart-empty .icon { width: 52px; height: 52px; margin-bottom: .4rem; color: var(--rose-deep); }
.cart-empty p { font-size: .9rem; }
.cart-empty .btn { margin-top: .7rem; }

.cart-list { display: grid; gap: 1rem; }
.cart-item {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: .9rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.cart-item:last-child { border-bottom: 0; padding-bottom: 0; }
.cart-thumb {
  width: 66px;
  height: 66px;
  border-radius: 16px;
  object-fit: cover;
  background: var(--bg-soft);
}
.cart-top { display: flex; justify-content: space-between; gap: .6rem; }
.cart-name { font-size: .92rem; font-weight: 600; line-height: 1.3; }
.cart-price { font-size: .88rem; font-weight: 600; white-space: nowrap; }
.cart-variant { margin-top: .1rem; font-size: .78rem; color: var(--ink-soft); }
.cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: .55rem;
}
.qty {
  display: inline-flex;
  align-items: center;
  gap: .1rem;
  padding: .12rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.qty button {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
  color: var(--ink-soft);
  transition: background .2s, color .2s;
}
.qty button:hover { background: var(--bg-soft); color: var(--ink); }
.qty output { min-width: 22px; text-align: center; font-size: .82rem; font-weight: 600; }
.cart-remove {
  font-size: .74rem;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s;
}
.cart-remove:hover { color: var(--ink); }

.drawer-foot {
  padding: 1.1rem 1.4rem 1.3rem;
  border-top: 1px solid var(--line);
  background: #fff;
}
.cart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: .35rem;
  font-size: .95rem;
}
.cart-total strong { font-size: 1.15rem; }
.cart-note { margin-bottom: .9rem; font-size: .76rem; color: var(--ink-soft); }
.link-button {
  display: block;
  margin: .75rem auto 0;
  font-size: .78rem;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-button:hover { color: var(--ink); }

/* ============ Reveal animations ============ */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: calc(var(--i, 0) * 75ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 1020px) {
  .theme-label { display: none; }
  .theme-button { padding: .52rem .7rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.75rem; }
  .hero-copy { max-width: 640px; }
  .hero-media { width: 100%; max-width: 620px; margin-inline: auto; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .occasion-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .nav-desktop { gap: 1rem; }
  .nav-desktop a { font-size: .86rem; }
  .personalize-panel { grid-template-columns: 1fr; }
  .personalize-media { max-width: 340px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  :root { --header-h: 68px; }
  .brand-logo { height: 46px; }
  .brand-logo-footer { height: 76px; }
  .nav-desktop { display: none; }
  .menu-button { display: grid; }
  .wa-label { display: none; }
  .header-actions { margin-left: auto; }
  .hero-frame { transform: none; }
}

@media (max-width: 700px) {
  .theme-pop {
    position: fixed;
    top: calc(var(--header-h) + .3rem);
    left: 1rem;
    right: 1rem;
    width: auto;
  }
  .gallery-stage { padding: .95rem .95rem 1.2rem; }
  .gallery-toolbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: .5rem; }
  .gallery-theme-note { max-width: none; }
  .gallery-pager { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .gallery-range,
  .gallery-page-size { justify-self: center; }
  .cart-label { display: none; }
  .cart-button { padding: .5rem .62rem; }
  .wa-float { display: none; }
  .to-top { bottom: calc(clamp(14px, 3vw, 26px) + 10px); }
  .toast { bottom: 88px; }
  .float-a { left: 2%; }
  .float-b { right: 2%; }
  .section-head { align-items: flex-start; }
  .sticker { right: 0; }
  .gallery-dialog-inner { grid-template-columns: 1fr; overflow-y: auto; }
  .gallery-dialog-media { max-height: 46dvh; }
  .gallery-dialog-media img,
  .gallery-dialog-media video { max-height: 46dvh; }
  .gallery-dialog-copy { padding: 1.5rem 1.35rem 1.7rem; }
}

@media (max-width: 620px) {
  .product-grid { grid-template-columns: 1fr; }
  .occasion-grid { grid-template-columns: 1fr; }
  .occasion-card { padding: 1.35rem; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: .8rem; }
  .gallery-tile.is-feature { grid-column: auto; grid-row: auto; }
  .gallery-tile.is-feature .gallery-caption { left: 1rem; right: 1rem; bottom: .95rem; gap: .3rem; }
  .gallery-tile.is-feature .gallery-name { font-size: 1rem; }
  .skeleton { aspect-ratio: 5 / 4; }
  .section-note { max-width: none; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 2rem); }
  .hero { padding-top: 2rem; }
  .hero-cta .btn { width: 100%; }
  .hero-points { gap: .4rem .9rem; font-size: .78rem; }
  .float-card { font-size: .72rem; padding: .5rem .7rem; }
  .filters { gap: .45rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { margin-top: 2rem; }
  .drawer-head, .drawer-body, .drawer-foot { padding-inline: 1.1rem; }
}

@media (max-width: 380px) {
  .brand-logo { height: 40px; }
  .brand-logo-footer { height: 68px; }
  .header-inner { gap: .75rem; }
  .header-actions { gap: .4rem; }
  .cart-button .icon { width: 17px; height: 17px; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
  .float-card { animation: none; }
  .product-card:hover .media-toggle img { transform: none; }
  .gallery-tile:hover img { transform: none; }
}
