/* Jelly's Lane LK — storefront theme
   Palette taken from the logo: blush paper, dusty rose monogram, antique gold ring, cocoa lettering. */
:root {
  --blush-50: #FEF8F6;
  --blush-100: #FBEDEA;
  --blush-200: #F6DDD7;
  --rose-300: #E6B5B0;
  --rose-400: #D69894;
  --rose-500: #C27D7B;
  --rose-600: #A9625F;
  --rose-700: #8A4A4A;
  --gold-300: #E2C99B;
  --gold-500: #B8925A;
  --gold-600: #9A7744;
  --cocoa-900: #2E1F1C;
  --cocoa-700: #4B3632;
  --cocoa-500: #7A6460;
  --cocoa-300: #A8958F;
  --line: #EDDCD6;
  --white: #FFFFFF;
  --success: #5B8A67;
  --success-bg: #E8F2EA;
  --warn: #B7822C;
  --warn-bg: #FBF0DC;
  --danger: #B14B4B;
  --danger-bg: #F9E3E1;

  --bg: var(--blush-50);
  --surface: var(--white);
  --text: var(--cocoa-900);
  --muted: var(--cocoa-500);
  --primary: var(--rose-500);
  --primary-strong: var(--rose-600);
  --accent: var(--gold-500);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(46, 31, 28, .06);
  --shadow: 0 8px 28px rgba(138, 74, 74, .10);
  --shadow-lg: 0 24px 60px rgba(46, 31, 28, .18);
  --container: 1240px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, .order-id, .totals, .card-title, .l-name { font-variant-numeric: lining-nums; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--cocoa-900); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.eyebrow { font-size: .74rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-600); font-weight: 500; }
.muted { color: var(--muted); }
.center { text-align: center; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  border: 1px solid transparent; border-radius: 999px; padding: .8em 1.6em;
  font-size: .82rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s, transform .1s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 6px 18px rgba(194, 125, 123, .35); }
.btn-primary:hover { background: var(--primary-strong); }
.btn-dark { background: var(--cocoa-900); color: var(--blush-100); }
.btn-dark:hover { background: var(--cocoa-700); }
.btn-outline { border-color: var(--cocoa-900); color: var(--cocoa-900); background: transparent; }
.btn-outline:hover { background: var(--cocoa-900); color: var(--blush-100); }
.btn-ghost { background: transparent; color: var(--cocoa-700); padding: .5em .8em; letter-spacing: .06em; }
.btn-ghost:hover { color: var(--primary-strong); }
.btn-block { width: 100%; }
.btn-lg { padding: 1em 2em; font-size: .88rem; }
.link { color: var(--primary-strong); border-bottom: 1px solid currentColor; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: transparent; position: relative; transition: background .2s;
}
.icon-btn:hover { background: var(--blush-100); }
.icon-btn svg { width: 22px; height: 22px; }
.badge-count {
  position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--primary); color: #fff; font-size: .68rem; font-weight: 600;
  display: grid; place-items: center; border: 2px solid var(--white);
}
.badge-count[hidden] { display: none; }

/* ---------- header ---------- */
.announce {
  background: var(--cocoa-900); color: var(--blush-200); text-align: center;
  font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; padding: .55em 1em;
}
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(254, 248, 246, .92);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--gold-300); }
.brand-name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1; }
.brand-name small { display: block; font-family: var(--font-body); font-size: .56rem; letter-spacing: .38em; color: var(--gold-600); margin-top: 5px; font-weight: 500; }
.main-nav { display: flex; gap: 26px; margin-left: 12px; }
.main-nav a { white-space: nowrap; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; position: relative; padding: 6px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold-500); transition: right .25s; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.main-nav .soon { color: var(--cocoa-300); }
.main-nav .soon sup { font-size: .55rem; color: var(--gold-600); letter-spacing: .1em; margin-left: 3px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.search-box { position: relative; }
.search-box input {
  width: 240px; border: 1px solid var(--line); background: var(--white); border-radius: 999px;
  padding: .55em 1em .55em 2.4em; font-size: .9rem; transition: border-color .2s, width .25s;
}
.search-box input:focus { outline: none; border-color: var(--rose-400); width: 290px; }
.search-box > svg { position: absolute; left: .85em; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--cocoa-500); }
.suggest {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; min-width: 300px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px; z-index: 50;
}
.suggest a { display: flex; gap: 10px; align-items: center; padding: 6px 8px; border-radius: var(--radius-sm); }
.suggest a:hover, .suggest a.active { background: var(--blush-100); }
.suggest img { width: 38px; height: 48px; object-fit: cover; border-radius: 6px; background: var(--blush-100); }
.suggest .s-name { font-size: .9rem; line-height: 1.3; }
.suggest .s-meta { font-size: .78rem; color: var(--muted); }
.suggest .s-all { justify-content: center; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-strong); }
.menu-toggle { display: none; }

@media (max-width: 1100px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: var(--blush-50); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; gap: 6px; box-shadow: var(--shadow);
  }
  .main-nav.open a { padding: 10px 0; }
  .menu-toggle { display: inline-grid; }
  .search-box { display: none; }
  .search-box.open { display: block; position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); }
  .search-box.open input, .search-box.open input:focus { width: 100%; }
  .search-toggle { display: inline-grid; }
}
@media (min-width: 1101px) { .search-toggle { display: none !important; } }
@media (max-width: 520px) {
  :root { --header-h: 64px; }
  .brand img { width: 42px; height: 42px; }
  .brand-name { font-size: 1.1rem; }
  .brand-name small { font-size: .5rem; }
  .header-inner { gap: 8px; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 80px; background:
  radial-gradient(1000px 500px at 85% 20%, var(--blush-200), transparent 60%),
  radial-gradient(700px 400px at 0% 100%, #F9E6DF, transparent 60%), var(--blush-100); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-weight: 500; }
.hero h1 em { font-style: italic; color: var(--primary-strong); }
.hero p.lead { font-size: 1.1rem; color: var(--cocoa-700); max-width: 30em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-art { position: relative; aspect-ratio: 4 / 5; max-width: 440px; justify-self: center; width: 100%; }
.hero-art .arch {
  position: absolute; inset: 0; border-radius: 999px 999px 24px 24px; overflow: hidden;
  background: var(--blush-200); box-shadow: var(--shadow-lg); border: 6px solid var(--white);
}
.hero-art .arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .ring { position: absolute; inset: -18px; border: 1.5px solid var(--gold-500); border-radius: 999px 999px 34px 34px; opacity: .7; }
.hero-art .chip {
  position: absolute; left: -28px; bottom: 36px; background: var(--white); border-radius: 999px; padding: 10px 18px 10px 12px;
  display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow); font-size: .85rem;
}
.hero-art .chip b { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.hero-art .chip i { width: 36px; height: 36px; border-radius: 50%; background: var(--blush-100); display: grid; place-items: center; font-style: normal; color: var(--primary-strong); }
.sprig { position: absolute; right: -40px; bottom: -30px; width: 360px; opacity: .55; pointer-events: none; }
@media (max-width: 860px) {
  .hero { padding: 36px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-art { max-width: 300px; order: -1; }
  .hero-art .chip { left: -10px; }
}

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section-sm { padding: 44px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 4px 0 0; }
.divider-title { display: flex; align-items: center; gap: 16px; justify-content: center; text-align: center; }
.divider-title::before, .divider-title::after { content: ""; height: 1px; width: 70px; background: var(--gold-500); opacity: .6; }

.cat-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 18px; }
.cat-tile { text-align: center; }
.cat-tile .circle {
  aspect-ratio: 1; border-radius: 50%; background: var(--blush-100); border: 1px solid var(--line);
  display: grid; place-items: center; overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.cat-tile .circle img { width: 78%; height: 78%; object-fit: contain; }
.cat-tile:hover .circle { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--rose-300); }
.cat-tile span { display: block; margin-top: 10px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.value i { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--blush-100); display: grid; place-items: center; color: var(--primary-strong); }
.value i svg { width: 22px; height: 22px; }
.value b { display: block; font-weight: 500; }
.value span { font-size: .88rem; color: var(--muted); }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

.soon-banner {
  border-radius: 24px; padding: 48px; background: linear-gradient(120deg, var(--cocoa-900), #5A3D38);
  color: var(--blush-100); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.soon-banner h2 { color: var(--blush-100); margin: 6px 0; }
.soon-banner .eyebrow { color: var(--gold-300); }
.soon-banner::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 1px solid rgba(226, 201, 155, .4); }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 20px; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; } }
.card { position: relative; display: flex; flex-direction: column; }
.card-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--blush-100); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s, transform .6s; }
.card-media img.alt { opacity: 0; }
.card:hover .card-media img.main { transform: scale(1.04); }
.card:hover .card-media img.alt { opacity: 1; }
.card-tags { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 1; }
.tag { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; padding: .35em .8em; border-radius: 999px; background: var(--white); color: var(--cocoa-700); box-shadow: var(--shadow-sm); }
.tag-sale { background: var(--primary); color: #fff; }
.tag-out { background: var(--cocoa-900); color: var(--blush-100); }
.quick-add {
  position: absolute; left: 10px; right: 10px; bottom: 10px; opacity: 0; transform: translateY(8px);
  transition: opacity .25s, transform .25s; z-index: 1;
}
.card:hover .quick-add, .card:focus-within .quick-add { opacity: 1; transform: none; }
.quick-add .sizes { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; background: rgba(255,255,255,.95); border-radius: 12px; padding: 8px; box-shadow: var(--shadow); }
.quick-add .sizes small { width: 100%; text-align: center; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.quick-add button { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: .25em .7em; font-size: .78rem; min-width: 36px; }
.quick-add button:hover { background: var(--cocoa-900); color: #fff; border-color: var(--cocoa-900); }
@media (hover: none) { .quick-add { display: none; } }
.card-body { padding: 12px 2px 0; }
.card-cat { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.card-title { font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; line-height: 1.25; margin: 2px 0 4px; }
.card-title a:hover { color: var(--primary-strong); }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price .now { font-weight: 500; letter-spacing: .02em; }
.price .was { color: var(--cocoa-300); text-decoration: line-through; font-size: .88em; }
.price .off { color: var(--primary-strong); font-size: .78em; font-weight: 600; }
.swatches { display: flex; gap: 4px; margin-top: 6px; font-size: .75rem; color: var(--muted); }

.skeleton { background: linear-gradient(90deg, var(--blush-100), var(--blush-200), var(--blush-100)); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: var(--radius); }
@keyframes shimmer { to { background-position: -200% 0; } }
.card.skeleton-card .card-media { background: none; }
.skeleton-line { height: 12px; margin-top: 10px; border-radius: 6px; }

.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty svg { width: 64px; height: 64px; color: var(--rose-300); margin: 0 auto 12px; }
.empty h3 { color: var(--cocoa-900); }

/* ---------- shop ---------- */
.page-head { padding: 40px 0 24px; background: var(--blush-100); border-bottom: 1px solid var(--line); }
.crumbs { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.crumbs a:hover { color: var(--primary-strong); }
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 36px; padding-block: 32px 72px; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; }
.filter-group { border-bottom: 1px solid var(--line); padding: 18px 0; }
.filter-group:first-child { padding-top: 0; }
.filter-group h4 { font-family: var(--font-body); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; }
.check { display: flex; align-items: center; gap: 10px; padding: 4px 0; cursor: pointer; font-size: .94rem; }
.check input { accent-color: var(--primary); width: 16px; height: 16px; }
.check .count { margin-left: auto; color: var(--cocoa-300); font-size: .8rem; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: .4em .95em;
  font-size: .85rem; min-width: 44px; transition: all .15s;
}
.pill:hover { border-color: var(--cocoa-700); }
.pill.active, .pill[aria-pressed="true"] { background: var(--cocoa-900); color: var(--blush-100); border-color: var(--cocoa-900); }
.pill[disabled] { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.price-range { display: flex; gap: 8px; align-items: center; }
.price-range input { width: 100%; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.filter-toggle { display: none; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.active-filters button { border: 0; background: var(--blush-200); border-radius: 999px; padding: .3em .8em; font-size: .8rem; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pager button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); }
.pager button.active { background: var(--cocoa-900); color: #fff; border-color: var(--cocoa-900); }
@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }
  .filter-toggle { display: inline-flex; }
  .filters {
    position: fixed; inset: 0 30% 0 0; min-width: 280px; background: var(--blush-50); z-index: 70; padding: 24px 20px;
    overflow: auto; transform: translateX(-102%); transition: transform .3s; box-shadow: var(--shadow-lg);
  }
  .filters.open { transform: none; }
}

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--cocoa-700); }
.field label .opt { text-transform: none; letter-spacing: 0; color: var(--cocoa-300); font-weight: 400; }
.input, .field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); background: var(--white); border-radius: 10px; padding: .75em .95em;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rose-400); box-shadow: 0 0 0 3px rgba(214, 152, 148, .2); }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.field .err { color: var(--danger); font-size: .82rem; }
.field .hint { color: var(--muted); font-size: .8rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%237A6460'%3E%3Cpath d='M5.5 7.5 10 12l4.5-4.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8em center; background-size: 16px; padding-right: 2.4em !important; }
.hp { position: absolute; left: -9999px; }

/* ---------- product page ---------- */
.product-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; padding-block: 32px 64px; }
.gallery { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-self: start; position: sticky; top: calc(var(--header-h) + 20px); }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumbs button { padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; aspect-ratio: 4/5; background: var(--blush-100); }
.thumbs button.active { border-color: var(--cocoa-900); box-shadow: 0 0 0 1px var(--cocoa-900); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.main-image { aspect-ratio: 4/5; border-radius: 18px; overflow: hidden; background: var(--blush-100); }
.main-image img { width: 100%; height: 100%; object-fit: cover; }
.p-info h1 { font-size: clamp(2rem, 3.4vw, 2.7rem); margin-bottom: 10px; }
.p-info .price { font-size: 1.35rem; margin-bottom: 18px; }
.p-info .sku { font-size: .78rem; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.opt-label { display: flex; justify-content: space-between; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin: 22px 0 10px; }
.stock-note { font-size: .88rem; margin-top: 10px; min-height: 1.4em; }
.stock-note.low { color: var(--warn); }
.buy-row { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.buy-row .btn { flex: 1; min-width: 160px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.qty button { width: 38px; height: 38px; border: 0; background: none; font-size: 1.1rem; border-radius: 50%; }
.qty button:hover:not([disabled]) { background: var(--blush-100); }
.qty button[disabled] { opacity: .35; cursor: not-allowed; }
.qty input { width: 36px; border: 0; text-align: center; background: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.sm button { width: 30px; height: 30px; font-size: 1rem; }
.qty.sm input { width: 28px; font-size: .9rem; }
.perks { margin-top: 28px; border-top: 1px solid var(--line); }
.perks div { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.perks svg { width: 20px; height: 20px; color: var(--gold-600); flex-shrink: 0; }
details.acc { border-bottom: 1px solid var(--line); }
details.acc summary { cursor: pointer; list-style: none; padding: 16px 0; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; display: flex; justify-content: space-between; }
details.acc summary::after { content: "+"; font-size: 1.2rem; line-height: 1; }
details.acc[open] summary::after { content: "–"; }
details.acc > div { padding-bottom: 16px; color: var(--cocoa-700); }
details.acc ul { padding-left: 1.1em; margin: 0; }
@media (max-width: 860px) {
  .product-layout { grid-template-columns: 1fr; gap: 24px; padding-block-start: 16px; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; overflow-x: auto; }
  .thumbs button { width: 64px; flex-shrink: 0; }
}

/* ---------- cart drawer ---------- */
.overlay { position: fixed; inset: 0; background: rgba(46, 31, 28, .4); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .3s; }
.overlay.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--blush-50); z-index: 80;
  display: flex; flex-direction: column; transform: translateX(102%); transition: transform .35s cubic-bezier(.2,.8,.2,1); box-shadow: var(--shadow-lg);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 20px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 20px; background: var(--white); }
.free-bar { font-size: .85rem; margin-bottom: 14px; }
.free-bar .track { height: 6px; background: var(--blush-200); border-radius: 999px; overflow: hidden; margin-top: 8px; }
.free-bar .fill { height: 100%; background: linear-gradient(90deg, var(--rose-400), var(--gold-500)); border-radius: 999px; transition: width .4s; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line:last-child { border-bottom: 0; }
.line img { width: 76px; aspect-ratio: 4/5; object-fit: cover; border-radius: 10px; background: var(--blush-100); }
.line .l-name { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; line-height: 1.25; }
.line .l-meta { font-size: .82rem; color: var(--muted); margin: 2px 0 8px; }
.line .l-price { font-weight: 500; text-align: right; }
.line .l-remove { border: 0; background: none; color: var(--muted); font-size: .78rem; text-decoration: underline; padding: 0; margin-top: 8px; }
.line .l-remove:hover { color: var(--danger); }
.line .l-warn { color: var(--danger); font-size: .8rem; margin-top: 6px; }
.totals { display: grid; gap: 8px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 1.15rem; font-weight: 600; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.totals .grand span:last-child { font-family: var(--font-display); font-size: 1.5rem; }

/* ---------- cart & checkout pages ---------- */
.two-col { display: grid; grid-template-columns: 1fr 400px; gap: 40px; padding-block: 36px 72px; align-items: start; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.panel h3 { margin-bottom: 16px; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); }
.cod-note { display: flex; gap: 12px; background: var(--blush-100); border: 1px dashed var(--rose-300); border-radius: 12px; padding: 14px; font-size: .9rem; margin: 16px 0; }
.cod-note svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--primary-strong); }
.steps { display: flex; gap: 8px; align-items: center; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cocoa-300); margin-bottom: 10px; }
.steps b { color: var(--cocoa-900); font-weight: 600; }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } .summary { position: static; } }

.success { max-width: 620px; margin: 40px auto 80px; text-align: center; }
.success .tick { width: 84px; height: 84px; border-radius: 50%; background: var(--success-bg); color: var(--success); display: grid; place-items: center; margin: 0 auto 16px; }
.success .tick svg { width: 40px; height: 40px; }
.order-id { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; letter-spacing: .06em; background: var(--white); border: 1px dashed var(--gold-500); border-radius: 12px; padding: 8px 18px; margin: 8px 0 18px; }

/* ---------- tracking ---------- */
.timeline { list-style: none; padding: 0; margin: 12px 0 0; position: relative; }
.timeline li { position: relative; padding: 0 0 22px 36px; }
.timeline li::before { content: ""; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); background: var(--white); }
.timeline li.done .dot { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 4px var(--blush-200); }
.timeline li.done::before { background: var(--rose-300); }
.timeline li.bad .dot { background: var(--danger); border-color: var(--danger); }
.timeline b { font-weight: 500; }
.timeline small { display: block; color: var(--muted); }

.status { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; padding: .35em .8em; border-radius: 999px; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-pending { background: var(--warn-bg); color: var(--warn); }
.st-confirmed { background: #E7EEF8; color: #4F6E99; }
.st-packed { background: #EFE7F6; color: #7A5A9A; }
.st-shipped { background: #E3F1F2; color: #3F7F86; }
.st-delivered { background: var(--success-bg); color: var(--success); }
.st-cancelled, .st-returned { background: var(--danger-bg); color: var(--danger); }

/* ---------- footer ---------- */
.site-footer { background: var(--cocoa-900); color: var(--blush-200); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: var(--blush-100); font-family: var(--font-body); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }
.site-footer a { display: block; padding: 3px 0; color: var(--blush-200); opacity: .85; font-size: .92rem; }
.site-footer a:hover { opacity: 1; color: var(--gold-300); }
.site-footer a.social { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; }
.site-footer a.social svg { width: 20px; height: 20px; }
#header-fb { color: var(--cocoa-700); }
#header-fb:hover { color: var(--primary-strong); background: var(--blush-100); }
.site-footer .f-brand { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blush-100); }
.site-footer .f-tag { font-size: .66rem; letter-spacing: .36em; text-transform: uppercase; color: var(--gold-300); }
.footer-bottom { border-top: 1px solid rgba(246, 221, 215, .15); margin-top: 36px; padding-top: 20px; font-size: .8rem; opacity: .7; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- toast ---------- */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; width: min(420px, calc(100% - 32px)); }
.toast { background: var(--cocoa-900); color: var(--blush-100); border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow-lg); font-size: .92rem; display: flex; gap: 10px; align-items: center; animation: toast-in .3s; }
.toast.error { background: var(--danger); color: #fff; }
.toast.success::before { content: "✓"; color: var(--gold-300); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

@media (max-width: 600px) {
  .cat-row { grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
  .cat-tile span { font-size: .66rem; letter-spacing: .08em; }
}

/* ================================================================ motion & polish */
/* page-to-page cross-fade (Chrome, Edge, Safari 18+); other browsers just navigate */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; animation-timing-function: cubic-bezier(.2,.8,.2,1); }
.site-header { view-transition-name: site-header; }
.announce { view-transition-name: announce; }

/* images fade in once loaded instead of popping */
.js-fade img { transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.js-fade .card-media img.main:not(.is-loaded), .js-fade .main-image img:not(.is-loaded),
.js-fade .cat-tile img:not(.is-loaded), .js-fade .line img:not(.is-loaded) { opacity: 0; }

/* header gains a soft shadow when scrolled */
.site-header { transition: box-shadow .3s ease, background .3s ease; }
.is-scrolled .site-header { box-shadow: 0 6px 24px rgba(46,31,28,.08); background: rgba(254,248,246,.97); }

/* tactile controls */
.btn, .pill, .icon-btn, .qty button { -webkit-tap-highlight-color: transparent; }
.btn { transition: background .25s, color .25s, border-color .25s, transform .15s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.btn:hover:not([disabled]) { transform: translateY(-1px); }
.btn:active:not([disabled]) { transform: translateY(1px) scale(.985); }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(194,125,123,.42); }
.pill { transition: background .2s, color .2s, border-color .2s, transform .15s; }
.pill:active:not([disabled]) { transform: scale(.95); }
.card-media { transition: box-shadow .35s ease, transform .35s cubic-bezier(.2,.8,.2,1); }
.card:hover .card-media { box-shadow: 0 14px 34px rgba(138,74,74,.16); transform: translateY(-3px); }
.card-media img.main { transition: opacity .5s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.drawer { transition: transform .45s cubic-bezier(.16,1,.3,1); }
.overlay { transition: opacity .35s ease; backdrop-filter: blur(2px); }
.toast { animation: toast-in .35s cubic-bezier(.16,1,.3,1); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

/* ================================================================ price slider */
.price-filter .values { display: flex; justify-content: space-between; font-size: .92rem; margin: 2px 2px 18px; font-variant-numeric: tabular-nums; }
.price-filter .values b { font-weight: 500; }
.price-filter .noUi-target { height: 4px; border: 0; border-radius: 999px; background: var(--blush-200); box-shadow: none; margin: 0 11px 6px; }
.price-filter .noUi-connect { background: linear-gradient(90deg, var(--rose-400), var(--gold-500)); }
.price-filter .noUi-horizontal .noUi-handle { width: 22px; height: 22px; right: -11px; top: -9px; border-radius: 50%; border: 2px solid var(--white); background: var(--cocoa-900); box-shadow: 0 2px 8px rgba(46,31,28,.25); cursor: grab; transition: transform .15s; }
.price-filter .noUi-handle:active { cursor: grabbing; transform: scale(1.12); }
.price-filter .noUi-handle::before, .price-filter .noUi-handle::after { display: none; }
.price-filter .noUi-handle:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }
.price-filter .hint { font-size: .78rem; color: var(--muted); margin-top: 10px; }

/* ================================================================ product gallery */
.gallery.swiper-ready { display: block; }
.gallery .main-swiper { border-radius: 18px; overflow: hidden; background: var(--blush-100); aspect-ratio: 4/5; }
.gallery .main-swiper .swiper-slide a { display: block; width: 100%; height: 100%; overflow: hidden; cursor: zoom-in; }
.gallery .main-swiper .swiper-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); will-change: transform; }
@media (hover: hover) and (pointer: fine) {
  .gallery .main-swiper .swiper-slide a:hover img { transform: scale(1.35); transition-duration: .35s; }
}
.gallery .thumbs-swiper { margin-top: 12px; }
.gallery .thumbs-swiper .swiper-slide { width: 72px; aspect-ratio: 4/5; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); opacity: .6; cursor: pointer; transition: opacity .2s, border-color .2s; }
.gallery .thumbs-swiper .swiper-slide-thumb-active { opacity: 1; border-color: var(--cocoa-900); box-shadow: 0 0 0 1px var(--cocoa-900); }
.gallery .thumbs-swiper img { width: 100%; height: 100%; object-fit: cover; }
.gallery .swiper-pagination-bullet-active { background: var(--cocoa-900); }
.gallery .swiper-button-prev, .gallery .swiper-button-next { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--cocoa-900); box-shadow: var(--shadow-sm); opacity: 0; transition: opacity .25s; }
.gallery .swiper-button-prev svg, .gallery .swiper-button-next svg { width: 14px; height: 14px; }
.gallery:hover .swiper-button-prev, .gallery:hover .swiper-button-next { opacity: 1; }
.gallery .swiper-button-disabled { opacity: 0 !important; }
.zoom-hint { position: absolute; right: 12px; bottom: 12px; z-index: 2; background: rgba(255,255,255,.9); border-radius: 999px; padding: 6px 12px; font-size: .75rem; letter-spacing: .08em; pointer-events: none; }
.pswp { --pswp-bg: #2E1F1C; }

/* ================================================================ size guide */
.size-guide-link { background: none; border: 0; padding: 0; color: var(--primary-strong); text-decoration: underline; text-underline-offset: 3px; font-size: .78rem; letter-spacing: .06em; text-transform: none; font-weight: 500; cursor: pointer; }
dialog.sheet { border: 0; padding: 0; border-radius: 20px; width: min(560px, calc(100% - 24px)); max-height: 86vh; background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); }
dialog.sheet::backdrop { background: rgba(46,31,28,.45); backdrop-filter: blur(3px); }
dialog.sheet[open] { animation: sheet-in .35s cubic-bezier(.16,1,.3,1); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.sheet-head h3 { margin: 0; }
.sheet-body { padding: 18px 22px 22px; overflow: auto; }
.chart-table { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
.chart-table th { background: var(--blush-100); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.chart-table th, .chart-table td { padding: 10px 12px; text-align: center; border-bottom: 1px solid var(--line); }
.chart-table tr:last-child td { border-bottom: 0; }
.chart-table tbody tr:hover td { background: var(--blush-50); }
.unit-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; margin-bottom: 14px; }
.unit-toggle button { border: 0; background: none; border-radius: 999px; padding: .3em .9em; font-size: .8rem; }
.unit-toggle button.active { background: var(--cocoa-900); color: #fff; }
.how-to-measure { margin-top: 16px; font-size: .88rem; color: var(--cocoa-700); background: var(--blush-50); border-radius: 12px; padding: 12px 14px; }

/* ================================================================ sticky mobile buy bar */
.buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; gap: 12px; align-items: center; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(46,31,28,.08); transform: translateY(110%); transition: transform .35s cubic-bezier(.16,1,.3,1); }
.buy-bar.show { transform: none; }
.buy-bar .bb-info { flex: 1; min-width: 0; line-height: 1.25; }
.buy-bar .bb-name { font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.buy-bar .bb-price { font-weight: 600; }
@media (max-width: 860px) { .buy-bar { display: flex; } }
@media (min-width: 861px) { .gallery .thumbs-swiper ~ * , .gallery:has(.thumbs-swiper) .swiper-pagination { display: none; } }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ================================================================ sticky footer
   Short pages (track order, empty bag…) push the footer to the bottom of the window. */
body:not(.admin) { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
body:not(.admin) > main { flex: 1 0 auto; }
body:not(.admin) > .site-footer { margin-top: auto; flex-shrink: 0; }
body:not(.admin) > main { padding-bottom: 40px; }
.product-layout > *, .two-col > *, .shop-layout > * { min-width: 0; }

.footer-bottom .credit a { display: inline; padding: 0; color: var(--gold-300); opacity: 1; border-bottom: 1px solid rgba(226,201,155,.4); transition: border-color .2s, color .2s; }
.footer-bottom .credit a:hover { color: var(--blush-100); border-color: var(--blush-100); }
/* reCAPTCHA v3: Google allows hiding the floating badge when this notice is shown instead */
.grecaptcha-badge { visibility: hidden !important; }
.captcha-note { font-size: .74rem; color: var(--muted); text-align: center; margin: 0 0 12px; }
.captcha-note a { text-decoration: underline; }

/* verification code dialog */
dialog.verify { width: min(420px, calc(100% - 24px)); }
.otp-input { width: 100%; text-align: center; font-size: 1.9rem; letter-spacing: .55em; padding: .45em 0 .45em .55em; border: 1px solid var(--line); border-radius: 14px; background: var(--blush-50); font-variant-numeric: tabular-nums; margin: 6px 0 4px; }
.otp-input:focus { outline: none; border-color: var(--rose-400); box-shadow: 0 0 0 3px rgba(214,152,148,.2); background: #fff; }
.otp-input::placeholder { color: var(--cocoa-300); letter-spacing: .55em; }
dialog.verify .err { color: var(--danger); font-size: .88rem; min-height: 1.3em; margin: 4px 0 10px; }
.vd-links { display: flex; justify-content: space-between; margin-top: 14px; }
.vd-links button[disabled] { color: var(--cocoa-300); text-decoration: none; cursor: default; }
.verified-tag { color: var(--success); font-size: .78rem; font-weight: 600; margin-left: 6px; }

/* ================================================================ home hero
   Real photos left (flowers, recoloured to the theme) and right (dress rail) fade into a blush centre
   that holds crisp text. */
.hero2 {
  --font-script: "Allura", "Great Vibes", cursive;
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(470px, 42vw, 620px); display: grid; place-items: center; padding: 36px 16px 44px;
  background:
    radial-gradient(60% 80% at 50% 45%, #FFF7F2 0%, rgba(255,247,242,0) 70%),
    radial-gradient(40% 60% at 0% 100%, #F3D3CB 0%, rgba(243,211,203,0) 70%),
    radial-gradient(35% 55% at 100% 0%, #F6DDD5 0%, rgba(246,221,213,0) 70%),
    linear-gradient(180deg, #FBEDE7 0%, var(--bg) 100%);
}
.hero2-photo { position: absolute; top: 0; bottom: 0; height: 100%; object-fit: cover; z-index: -1; pointer-events: none; }
.hero2-flowers { left: 0; width: 44%; object-position: 30% 55%;
  -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 98%), linear-gradient(180deg, #000 80%, transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, #000 45%, transparent 98%), linear-gradient(180deg, #000 80%, transparent); mask-composite: intersect; }
.hero2-rack { right: 0; width: 46%; object-position: 62% 50%;
  -webkit-mask-image: linear-gradient(270deg, #000 50%, transparent 98%), linear-gradient(180deg, #000 80%, transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(270deg, #000 50%, transparent 98%), linear-gradient(180deg, #000 80%, transparent); mask-composite: intersect; }
.hero2-content { position: relative; text-align: center; max-width: 640px; }
.hero2-content::before { content: ""; position: absolute; inset: -12% -22%; z-index: -1;
  background: radial-gradient(closest-side, rgba(253,244,239,.96) 0%, rgba(253,244,239,.85) 55%, rgba(253,244,239,0) 100%); }
.hero2-hanger { width: clamp(64px, 6.5vw, 90px); height: auto; display: block; margin: 0 auto clamp(10px, 1.6vw, 20px); }
.hero2-title {
  font-family: var(--font-script); font-weight: 400; color: var(--cocoa-900);
  font-size: clamp(4rem, 10vw, 8.4rem); line-height: .9; margin: 0; letter-spacing: 0;
  position: relative; display: inline-block; padding-right: .35em;
}
.hero2-lk { position: absolute; right: -.1em; bottom: -.12em; font-family: var(--font-body); font-size: .26em; font-weight: 500; letter-spacing: .08em; }
.hero2-divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 18px auto 8px; }
.hero2-divider span { height: 1.5px; width: clamp(60px, 12vw, 150px); background: linear-gradient(90deg, transparent, var(--cocoa-500)); }
.hero2-divider span:last-child { transform: scaleX(-1); }
.hero2-divider svg { width: 20px; height: 18px; }
.hero2-tagline { font-size: clamp(.8rem, 1.5vw, 1.05rem); letter-spacing: .38em; text-transform: uppercase; color: var(--cocoa-700); margin: 0 0 22px; padding-left: .38em; }
.hero2-features { list-style: none; padding: 0; margin: 0 auto; display: flex; justify-content: center; }
.hero2-features li { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cocoa-700); line-height: 1.5; padding: 0 clamp(12px, 2.2vw, 26px); }
.hero2-features li + li { border-left: 1px solid rgba(122,100,96,.35); }
.hero2-features i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 8px; background: radial-gradient(circle, #F7DCD6 0%, rgba(247,220,214,.35) 70%); }
.hero2-features svg { width: 22px; height: 22px; fill: none; stroke: var(--cocoa-900); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.hero2-features li:first-child svg { fill: #D69894; stroke: #B06F6C; }
.hero2-cta { justify-content: center; margin-top: 26px; }

@media (max-width: 1100px) {
  .hero2-flowers { width: 40%; } .hero2-rack { width: 42%; }
  .hero2-content::before { inset: -8% -12%; }
}
@media (max-width: 760px) {
  /* phones: both photos side by side on top, text below */
  .hero2 { min-height: 0; padding: 200px 12px 34px; background: linear-gradient(180deg, #FBEDE7 0, #FDF4EF 240px, var(--bg) 100%); }
  .hero2-photo { height: 250px; bottom: auto; width: 55%; }
  .hero2-flowers { object-position: 32% 45%;
    -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent), linear-gradient(180deg, #000 55%, transparent);
    mask-image: linear-gradient(90deg, #000 60%, transparent), linear-gradient(180deg, #000 55%, transparent); }
  .hero2-rack { object-position: 70% 50%;
    -webkit-mask-image: linear-gradient(270deg, #000 60%, transparent), linear-gradient(180deg, #000 55%, transparent);
    mask-image: linear-gradient(270deg, #000 60%, transparent), linear-gradient(180deg, #000 55%, transparent); }
  .hero2-content::before { inset: -60px -40px -10px; background: linear-gradient(180deg, rgba(253,244,239,0) 0, rgba(253,244,239,.94) 70px, rgba(253,244,239,0) 100%); }
  .hero2-features li { padding: 0 8px; font-size: .58rem; letter-spacing: .1em; }
  .hero2-features i { width: 36px; height: 36px; }
  .hero2-features svg { width: 18px; height: 18px; }
  .hero2-cta { gap: 8px; }
  .hero2-cta .btn { flex: 1; min-width: 0; padding: .9em .6em; font-size: .72rem; letter-spacing: .08em; white-space: normal; }
}

/* cookie consent bar */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 95; max-width: 560px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 16px 18px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  transform: translateY(20px); opacity: 0; transition: transform .4s cubic-bezier(.16,1,.3,1), opacity .4s; }
.consent.show { transform: none; opacity: 1; }
.consent.hide { transform: translateY(20px); opacity: 0; }
.consent p { margin: 0; flex: 1 1 260px; font-size: .88rem; color: var(--cocoa-700); }
.consent-actions { display: flex; gap: 6px; margin-left: auto; }
.consent .btn { padding: .6em 1.2em; font-size: .74rem; }

/* ================================================================ touch devices: native, cheap scrolling
   Blur (backdrop-filter) on fixed/sticky layers is repainted on every scroll frame on iOS Safari. */
.is-touch .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(254,248,246,.98); }
.is-touch .overlay, .is-touch .buy-bar, .is-touch dialog.sheet::backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; }
.is-touch .buy-bar { background: #fff; }
.is-touch .card:hover .card-media { transform: none; box-shadow: none; }
.is-touch .card:hover .card-media img.main { transform: none; }
.is-touch .site-header { transition: none; }
@media (hover: none) {
  html { scroll-behavior: auto; }
  .hero2::before { display: none; }  /* large animated-looking light streak layer: not worth the paint cost on phones */
}

/* never let anything make the page wider than the screen (causes sideways drift while scrolling
   on iPhone). "clip" keeps the sticky header working, unlike overflow: hidden. */
/* clip sideways overflow inside the content areas, never on html/body: overflow on the root
   scroller makes iOS Safari shake during momentum scrolling while its toolbar resizes */
main, .site-footer { overflow-x: clip; }
@media (max-width: 520px) {
  #header-fb { display: none; }                 /* the Facebook link is in the footer on phones */
  .header-actions { gap: 0; }
  .header-inner .icon-btn { width: 38px; height: 38px; }
  .brand { gap: 8px; min-width: 0; }
  .brand-name { font-size: 1.02rem; letter-spacing: .1em; }
  .brand-name small { letter-spacing: .26em; }
}

/* closed off-canvas panels: no shadow bleeding onto the page edge, and out of the way of taps */
.drawer:not(.open) { box-shadow: none; visibility: hidden; transition: transform .45s cubic-bezier(.16,1,.3,1), visibility 0s .45s; }
.drawer.open { visibility: visible; transition: transform .45s cubic-bezier(.16,1,.3,1), visibility 0s; }
@media (max-width: 900px) {
  .filters:not(.open) { box-shadow: none; visibility: hidden; transition: transform .3s, visibility 0s .3s; }
  .filters.open { visibility: visible; transition: transform .3s, visibility 0s; }
}

/* phones: no image fade-in, so nothing repaints while the page glides */
.is-touch .js-fade img, .is-touch.js-fade img { transition: none !important; }
.is-touch .js-fade .card-media img.main:not(.is-loaded), .is-touch.js-fade .card-media img.main:not(.is-loaded),
.is-touch.js-fade .main-image img:not(.is-loaded), .is-touch.js-fade .cat-tile img:not(.is-loaded),
.is-touch.js-fade .line img:not(.is-loaded) { opacity: 1; }

/* ================================================================ go to top */
.to-top {
  position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 44;
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6);
  background: var(--cocoa-900); color: var(--blush-100); box-shadow: 0 8px 22px rgba(46,31,28,.28);
  display: grid; place-items: center; align-content: center; gap: 1px; cursor: pointer;
  opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility 0s .25s, background .2s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .25s ease, transform .25s ease, visibility 0s, background .2s; }
.to-top:hover { background: var(--primary-strong); }
.to-top svg { width: 18px; height: 18px; }
.to-top span { font-size: .52rem; letter-spacing: .14em; font-weight: 600; line-height: 1; }
body.has-buy-bar .to-top { bottom: calc(86px + env(safe-area-inset-bottom)); }
@media (max-width: 520px) { .to-top { right: 12px; width: 48px; height: 48px; } }

/* iOS Safari zooms the whole page into any field whose text is smaller than 16px (and the page
   then overflows sideways). Keep every field at 16px or larger on touch devices. */
@media (hover: none), (pointer: coarse) {
  input, select, textarea { font-size: max(16px, 1em) !important; }
  .search-box input { font-size: 16px !important; }
}

/* ================================================================ wishlist hearts */
.card { position: relative; }
.wish-btn { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.92); color: var(--cocoa-700); display: grid; place-items: center;
  box-shadow: var(--shadow-sm); transition: transform .15s, color .2s; }
.wish-btn svg { width: 19px; height: 19px; }
.wish-btn:active { transform: scale(.88); }
.wish-btn.on { color: var(--primary-strong); }
.wish-btn.big { position: static; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--line); box-shadow: none; }
.wish-btn.big svg { width: 22px; height: 22px; }
.title-row { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.title-row h1 { margin-bottom: 10px; }
.nav-wish { display: none; }
.main-nav.open .nav-wish { display: inline; }
.nav-wish .wish-count { font-size: .7rem; background: var(--primary); color: #fff; border-radius: 999px; padding: 0 6px; margin-left: 4px; }
@media (max-width: 520px) { .header-wish { display: none !important; } }

/* ================================================================ WhatsApp */
.btn-wa { background: transparent; color: var(--cocoa-900); border: 1px solid var(--cocoa-900); margin-top: 12px; letter-spacing: .06em; }
.btn-wa:hover { background: var(--cocoa-900); color: var(--blush-100); }
.btn-wa svg { width: 20px; height: 20px; }
.wa-float { position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 44;
  display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px 0 14px; border-radius: 999px;
  background: var(--primary-strong); color: #fff; font-weight: 500; font-size: .86rem; letter-spacing: .04em; box-shadow: 0 8px 22px rgba(160,90,86,.35); transition: background .2s; }
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { background: var(--cocoa-900); }
body.has-wa .to-top { bottom: calc(82px + env(safe-area-inset-bottom)); }
body.has-buy-bar .wa-float { bottom: calc(86px + env(safe-area-inset-bottom)); }
body.has-wa.has-buy-bar .to-top { bottom: calc(150px + env(safe-area-inset-bottom)); }
@media (max-width: 520px) {
  .wa-float { width: 52px; padding: 0; justify-content: center; right: 12px; }
  .wa-float span { display: none; }
}

/* ================================================================ delivery estimate */
.eta-select { border: 0; border-bottom: 1px dashed var(--cocoa-300); background: transparent; padding: 0 1.4em 0 2px !important;
  font: inherit; color: var(--primary-strong); background-position: right 0 center; background-size: 14px; cursor: pointer; }
.eta-line { color: var(--success); font-size: .92rem; }

/* ================================================================ sale */
.main-nav .nav-sale { color: var(--primary-strong); font-weight: 600; }
.sale-eyebrow { color: var(--primary-strong); }

/* phones: hero buttons stacked full width so each label stays on one line */
@media (max-width: 760px) {
  .hero2-cta { flex-direction: column; align-items: stretch; gap: 10px; max-width: 360px; margin-left: auto; margin-right: auto; }
  .hero2-cta .btn { flex: none; width: 100%; white-space: nowrap; padding: 1em 1.2em; font-size: .8rem; letter-spacing: .14em; }
}

/* sold-out sizes stay tappable (for "text me when it's back") but look crossed out */
.pill[data-sold] { color: var(--muted); text-decoration: line-through; opacity: .7; }
.pill[data-sold].active { opacity: 1; }
.notify-me { margin-top: 10px; padding: 14px 16px; border: 1px dashed var(--line); border-radius: 12px; background: var(--surface, transparent); font-size: .9rem; }
.notify-me p { margin: 0 0 10px; }
.notify-me p:last-child { margin: 0; }
.notify-row { display: flex; gap: 8px; }
.notify-row input { flex: 1; min-width: 0; font-size: 16px; }

/* ---- checkout: coupon + payment methods */
.coupon-box { margin: 12px 0 4px; font-size: .9rem; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row .input { flex: 1; min-width: 0; font-size: 16px; text-transform: uppercase; letter-spacing: .08em; }
.coupon-msg { margin-top: 6px; }
.coupon-msg .good { color: var(--success); }
.coupon-msg .bad { color: var(--danger); }
.totals .disc-line { color: var(--success); }
.pay-options { display: grid; gap: 10px; margin-bottom: 14px; }
.pay-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .2s, background .2s; }
.pay-opt input { margin-top: 4px; accent-color: var(--primary-strong); flex-shrink: 0; }
.pay-opt b { display: block; font-weight: 500; }
.pay-opt small { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.pay-opt.on { border-color: var(--rose-400); background: var(--blush-100); }
.pay-details { display: grid; gap: 6px; padding: 14px 16px; border-radius: var(--radius); background: var(--blush-100); border: 1px dashed var(--rose-300); font-size: .92rem; }
.pay-details > div { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pay-details span { color: var(--muted); }
.pay-details b { font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.pay-details .qr-img { width: 200px; max-width: 100%; margin: 4px auto 6px; border-radius: 8px; background: #fff; padding: 8px; }
.copy-mini { font: inherit; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 2px 10px; margin-left: 6px; cursor: pointer; color: var(--text); }
.pay-box { text-align: left; margin: 0 0 24px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.pay-box p { margin: 6px 0 12px; }
.pay-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pay-state { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--blush-100); color: var(--cocoa-700, var(--text)); }
.pay-state.ps-collected { background: var(--success-bg); color: var(--success); }
.pay-state.ps-unpaid { background: #FBEBDD; color: #9A5B22; }

/* ---- policy pages */
.policy-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.policy-nav a { padding: .45em 1em; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; color: var(--muted); }
.policy-nav a.active { background: var(--cocoa-900); border-color: var(--cocoa-900); color: #fff; }
.prose { max-width: 760px; line-height: 1.75; }
.prose h2 { font-size: 1.6rem; margin: 36px 0 10px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--primary-strong); text-decoration: underline; text-underline-offset: 3px; }
.policy-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 10px; }
.policy-cards > div { background: var(--blush-100); border-radius: var(--radius); padding: 16px 18px; display: grid; gap: 4px; }
.policy-cards b { font-family: "Cormorant Garamond", serif; font-size: 1.3rem; font-weight: 600; }
.policy-cards span { font-size: .92rem; }
.policy-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.policy-table th, .policy-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.policy-table th { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.table-wrap { overflow-x: auto; }
.footer-bottom span a { display: inline; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.pay-opt.blocked { opacity: .55; cursor: not-allowed; }
.pay-opt .blocked-why { color: var(--danger); }

/* ---- tracking page: cancel / returns */
.order-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 20px; }
.order-actions[hidden] { display: none; }
.return-card { margin-top: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.return-card p { margin: 8px 0 0; }
.return-items { margin: 8px 0 0; padding-left: 1.2em; font-size: .92rem; }
.return-card.rs-completed .pay-state { background: var(--success-bg); color: var(--success); }
.return-card.rs-rejected .pay-state { background: #F3ECEA; color: var(--danger); }
.credit-code { margin-top: 10px; padding: 10px 14px; border: 1px dashed var(--rose-400); border-radius: 10px; background: var(--blush-100); }
.credit-code b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; }
.return-form { margin-top: 20px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.return-form h3 { margin-top: 0; }
.rf-step { margin-bottom: 18px; }
.rf-label { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; margin-bottom: 8px; }
.rf-item { display: grid; grid-template-columns: auto 48px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.rf-item img { width: 48px; aspect-ratio: 3/4; object-fit: cover; border-radius: 6px; }
.rf-item b { display: block; font-weight: 500; }
.rf-item small { color: var(--muted); }
.rf-item select, #rf-sizes select { font-size: 16px; padding: .4em .6em; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.rf-item input, .rf-options input { accent-color: var(--primary-strong); width: 18px; height: 18px; }
.rf-options { display: grid; gap: 8px; }
.rf-options label { display: flex; gap: 10px; align-items: center; cursor: pointer; }
#rf-sizes { margin-top: 12px; }
#rf-refund { margin-top: 12px; }

/* ---- WhatsApp greeting bubble */
.wa-greet { position: fixed; right: 16px; bottom: calc(82px + env(safe-area-inset-bottom)); z-index: 45; max-width: min(300px, calc(100vw - 32px));
  background: var(--surface); color: var(--text); border-radius: 16px 16px 4px 16px; box-shadow: 0 12px 32px rgba(46,31,28,.18); border: 1px solid var(--line);
  opacity: 0; transform: translateY(10px) scale(.96); transform-origin: bottom right; transition: opacity .3s, transform .3s; }
.wa-greet.show { opacity: 1; transform: none; }
.wa-greet a { display: grid; gap: 4px; padding: 14px 34px 14px 16px; color: inherit; font-size: .9rem; line-height: 1.45; }
.wa-greet b { font-weight: 600; font-size: .82rem; color: var(--primary-strong); }
.wa-greet-x { position: absolute; top: 6px; right: 8px; border: 0; background: none; font-size: 1.2rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px; }
body.has-buy-bar .wa-greet { bottom: calc(150px + env(safe-area-inset-bottom)); }
body.has-wa .wa-greet ~ .to-top, body:has(.wa-greet.show) .to-top { opacity: 0; pointer-events: none; }

/* ---- star ratings + reviews */
.stars { position: relative; display: inline-block; font-size: .95em; line-height: 1; letter-spacing: 1px; color: var(--line); vertical-align: middle; }
.stars::before { content: "★★★★★"; }
.stars > span { position: absolute; inset: 0 auto 0 0; width: var(--r); overflow: hidden; white-space: nowrap; color: var(--gold-500, #C9A15B); }
.card-rating { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); margin-top: 4px; }
.p-rating { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); margin: -4px 0 10px; }
.p-rating .stars { font-size: 1.05rem; }
.rv-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
@media (max-width: 760px) { .rv-layout { grid-template-columns: 1fr; gap: 20px; } }
.rv-summary { background: var(--blush-100); border-radius: var(--radius); padding: 20px; text-align: center; }
.rv-avg { font-family: "Cormorant Garamond", serif; font-size: 3rem; line-height: 1; }
.rv-summary .stars { font-size: 1.3rem; margin: 6px 0; }
.rv-dist { display: grid; gap: 4px; margin-top: 14px; font-size: .8rem; }
.rv-dist div { display: grid; grid-template-columns: 26px 1fr 22px; gap: 8px; align-items: center; }
.rv-dist i { height: 6px; border-radius: 99px; background: var(--white); overflow: hidden; }
.rv-dist b { display: block; height: 100%; background: var(--gold-500, #C9A15B); }
.rv-list { display: grid; gap: 14px; }
.rv { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.rv-head { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: .88rem; }
.rv-head b { font-weight: 500; }
.rv-badge { font-size: .72rem; color: var(--success); background: var(--success-bg); border-radius: 99px; padding: 1px 8px; }
.rv p { margin: 8px 0 0; }
.rv-photos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.rv-photos img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; }
.rv-reply { margin-top: 10px; padding: 10px 14px; border-left: 3px solid var(--rose-400); background: var(--blush-100); border-radius: 0 10px 10px 0; font-size: .9rem; }

/* ---- product video */
.p-video { position: relative; margin-top: 12px; border-radius: var(--radius); overflow: hidden; background: var(--blush-100); }
.p-video video { display: block; width: 100%; max-height: 520px; object-fit: cover; }
.p-video span { position: absolute; top: 10px; left: 10px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; background: rgba(255,255,255,.85); padding: 3px 10px; border-radius: 99px; pointer-events: none; }

/* ---- size finder (inside the size guide) */
.size-finder { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--blush-100); }
.size-finder p { margin: 4px 0 10px; font-size: .86rem; }
.sf-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 10px; }
.sf-row label { display: grid; gap: 4px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.sf-row input { font-size: 16px; padding: .5em .6em; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); width: 100%; }
.sf-result { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; min-height: 1.4em; }
.sf-result .btn { padding: .5em 1em; font-size: .75rem; }

/* ---- tracking page: reviews */
.review-ask { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.review-ask h3 { margin: 0; }
.ra-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ra-item img { width: 48px; aspect-ratio: 3/4; object-fit: cover; border-radius: 6px; }
.ra-item b { display: block; font-weight: 500; }
.ra-item small { color: var(--muted); }
.review-form, .ra-item .good-note { grid-column: 1 / -1; display: grid; gap: 10px; }
.review-form textarea { font: inherit; font-size: 16px; padding: .7em .8em; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.star-pick { display: flex; gap: 4px; }
.star-pick button { border: 0; background: none; font-size: 2rem; line-height: 1; color: var(--line); cursor: pointer; padding: 0 2px; }
.star-pick button.on { color: var(--gold-500); }
.rf-photo-label { display: grid; gap: 6px; font-size: .85rem; }
.good-note { color: var(--success); }

/* ---- my orders */
.mo-signin { max-width: 440px; }
.mo-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 18px; }
.mo-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin-bottom: 8px; transition: border-color .2s; }
.mo-row:hover { border-color: var(--rose-400); }
.mo-row b { display: block; font-weight: 500; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92rem; }
.mo-row small { color: var(--muted); }
.mo-credits { margin-bottom: 18px; display: grid; gap: 8px; }
#mo h3 { margin: 22px 0 10px; }

/* ================================================================ themed dropdowns (assets/js/select.js) */
.jl-select-native { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: 0 !important;
  border: 0 !important; opacity: 0 !important; pointer-events: none !important; overflow: hidden; clip-path: inset(50%); }
.jl-select-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-width: 0;
  font: inherit; color: var(--text); text-align: left; cursor: pointer; line-height: 1.3;
  border: 1px solid var(--line); background: var(--white); border-radius: 10px; padding: .75em .8em .75em .95em;
  transition: border-color .2s, box-shadow .2s, background .2s; -webkit-tap-highlight-color: transparent; }
.jl-select-btn:hover { border-color: var(--rose-300); }
.jl-select-btn:focus-visible, .jl-select-btn.is-open { outline: none; border-color: var(--rose-400); box-shadow: 0 0 0 3px rgba(214, 152, 148, .2); }
.jl-select-btn:disabled { opacity: .55; cursor: not-allowed; }
.jl-select-btn.is-placeholder .jl-select-value { color: var(--muted); }
.field.invalid .jl-select-btn { border-color: var(--danger); }
.jl-select-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jl-select-chev { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: var(--primary-strong);
  background: var(--blush-100); transition: transform .25s cubic-bezier(.2,.8,.2,1), background .2s; }
.jl-select-chev svg { width: 15px; height: 15px; }
.jl-select-btn.is-open .jl-select-chev { transform: rotate(180deg); background: var(--rose-300); color: #fff; }
/* compact variants that used to be small selects */
.jl-select-btn.input[style*="width:auto"], #sort + .jl-select-btn { width: auto; }
.rf-item .jl-select-btn { width: auto; padding: .4em .5em .4em .7em; border-radius: 8px; }
.bulk-bar .jl-select-btn { width: auto; padding: .45em .6em .45em .8em; }
/* inline "to [district]" on the product page */
.jl-select-btn.eta-select { display: inline-flex; width: auto; gap: 4px; border: 0; border-bottom: 1px dashed var(--cocoa-300); border-radius: 0;
  background: transparent; padding: 0 0 1px 2px !important; color: var(--primary-strong); box-shadow: none; vertical-align: baseline; }
.jl-select-btn.eta-select .jl-select-chev { width: 16px; height: 16px; background: transparent; }
.jl-select-btn.eta-select.is-open .jl-select-chev { background: transparent; color: var(--primary-strong); }

.jl-select-list { position: fixed; z-index: 1000; overflow-y: auto; overscroll-behavior: contain; padding: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 40px rgba(46, 31, 28, .16), 0 2px 6px rgba(46, 31, 28, .06);
  opacity: 0; transform: translateY(-4px) scale(.98); transform-origin: top center; transition: opacity .16s, transform .18s cubic-bezier(.2,.8,.2,1); }
.jl-select-list.is-up { transform-origin: bottom center; transform: translateY(4px) scale(.98); }
.jl-select-list.is-open { opacity: 1; transform: none; }
.jl-select-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: .62em .8em; border-radius: 9px;
  cursor: pointer; font-size: .92rem; color: var(--text); user-select: none; }
.jl-select-opt span { min-width: 0; overflow-wrap: anywhere; }
.jl-select-opt.is-active { background: var(--blush-100); }
.jl-select-opt.is-selected { color: var(--primary-strong); font-weight: 500; }
.jl-select-opt svg { width: 16px; height: 16px; flex: none; color: var(--primary-strong); }
.jl-select-opt.is-disabled { color: var(--muted); opacity: .5; cursor: not-allowed; }
.jl-select-list::-webkit-scrollbar { width: 8px; }
.jl-select-list::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; border: 2px solid var(--surface); }
@media (prefers-reduced-motion: reduce) { .jl-select-list, .jl-select-chev { transition: none; } }

/* ================================================================ themed date picker (assets/js/datepicker.js) */
.jl-date-btn .jl-select-chev svg { width: 14px; height: 14px; }
.jl-date-btn.is-open .jl-select-chev { transform: none; }
.jl-date-clear { flex: none; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); font-size: 1rem; line-height: 1; }
.jl-date-clear:hover { background: var(--blush-100); color: var(--danger); }
.jl-date-clear[hidden] { display: none; }
.jl-date-pop { position: fixed; z-index: 999; width: 292px; max-width: calc(100vw - 16px); padding: 14px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px rgba(46, 31, 28, .16), 0 2px 6px rgba(46, 31, 28, .06);
  opacity: 0; transform: translateY(-4px) scale(.98); transform-origin: top left; transition: opacity .16s, transform .18s cubic-bezier(.2,.8,.2,1); }
.jl-date-pop.is-up { transform-origin: bottom left; transform: translateY(4px) scale(.98); }
.jl-date-pop.is-open { opacity: 1; transform: none; }
.jl-date-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.jl-date-head b { font-family: "Cormorant Garamond", serif; font-size: 1.2rem; font-weight: 600; }
.jl-date-nav { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--blush-100); color: var(--primary-strong); cursor: pointer; }
.jl-date-nav:hover { background: var(--rose-300); color: #fff; }
.jl-date-nav svg { width: 16px; height: 16px; }
.jl-date-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.jl-dow { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 4px 0 6px; }
.jl-day { aspect-ratio: 1; border: 0; border-radius: 50%; background: none; font: inherit; font-size: .88rem; color: var(--text); cursor: pointer;
  display: grid; place-items: center; transition: background .15s, color .15s; }
.jl-day:hover:not(:disabled) { background: var(--blush-100); }
.jl-day.is-out { color: var(--muted); opacity: .55; }
.jl-day.is-today { box-shadow: inset 0 0 0 1.5px var(--rose-400); }
.jl-day.is-focus { background: var(--blush-100); }
.jl-day.is-selected, .jl-day.is-selected:hover { background: var(--primary-strong); color: #fff; font-weight: 500; opacity: 1; }
.jl-day:disabled { color: var(--line); cursor: not-allowed; text-decoration: line-through; opacity: .7; }
.jl-date-time { display: flex; align-items: center; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.jl-date-time > span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: auto; }
.jl-date-time .jl-select-btn { width: auto; padding: .4em .45em .4em .7em; gap: 6px; border-radius: 8px; font-size: .9rem; }
.jl-date-time .jl-select-chev { width: 18px; height: 18px; }
.jl-date-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.jl-date-link { border: 0; background: none; font: inherit; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-strong); cursor: pointer; padding: .4em .2em; }
.jl-date-link:hover { text-decoration: underline; }
.jl-date-done { border: 0; border-radius: 999px; background: var(--primary-strong); color: #fff; font: inherit; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; padding: .6em 1.2em; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .jl-date-pop { transition: none; } }

/* ================================================================ themed file upload (assets/js/filepicker.js) */
.jl-file { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; cursor: pointer;
  border: 1.5px dashed var(--rose-300); border-radius: 14px; background: var(--blush-50, #FDF7F5); color: var(--text);
  transition: border-color .2s, background .2s, box-shadow .2s; text-transform: none; letter-spacing: normal; font-weight: 400; }
.jl-file:hover, .jl-file:focus-within { border-color: var(--rose-400); background: var(--blush-100); }
.jl-file:focus-within { box-shadow: 0 0 0 3px rgba(214, 152, 148, .2); }
.jl-file.is-drag { border-style: solid; border-color: var(--primary-strong); background: var(--blush-100); }
.jl-file.is-disabled { opacity: .55; cursor: not-allowed; }
.jl-file-native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 0; }
.jl-file.is-disabled .jl-file-native { cursor: not-allowed; }
.jl-file-icon { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--primary-strong); box-shadow: 0 2px 8px rgba(169, 98, 95, .15); }
.jl-file-icon svg { width: 22px; height: 22px; }
.jl-file-text { display: grid; gap: 2px; min-width: 0; }
.jl-file-text b { font-weight: 500; font-size: .95rem; color: var(--primary-strong); }
.jl-file-text small { font-size: .8rem; color: var(--muted); }
.jl-file-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.jl-file-chips:empty { display: none; }
.jl-file-chip { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 6px 6px 6px 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.jl-file-chip > img, .jl-file-chip > svg { flex: none; width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.jl-file-chip > svg { padding: 8px; background: var(--blush-100); color: var(--primary-strong); }
.jl-file-chip span { display: grid; min-width: 0; }
.jl-file-chip b { font-weight: 500; font-size: .84rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 200px; }
.jl-file-chip small { font-size: .74rem; color: var(--muted); }
.jl-file-chip button { flex: none; width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--blush-100); color: var(--muted); font-size: 1rem; line-height: 1; cursor: pointer; }
.jl-file-chip button:hover { background: var(--danger); color: #fff; }

/* ================================================================ send as a gift */
.gift-toggle { margin: 4px 0 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .25s, background .25s, box-shadow .25s; }
.gift-toggle.on { border-color: var(--rose-400); background: linear-gradient(135deg, var(--blush-100), var(--surface)); box-shadow: 0 6px 18px rgba(169, 98, 95, .12); }
.gift-toggle.off { opacity: .7; }
.gt-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; }
.gift-toggle.off .gt-row { cursor: not-allowed; }
.gt-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blush-100); color: var(--primary-strong); transition: background .25s, color .25s, transform .35s cubic-bezier(.3,1.6,.5,1); }
.gt-icon svg { width: 24px; height: 24px; }
.gift-toggle.on .gt-icon { background: var(--primary-strong); color: #fff; transform: rotate(-8deg) scale(1.05); }
.gt-text { flex: 1; display: grid; gap: 2px; min-width: 0; }
.gt-text b { font-family: "Cormorant Garamond", serif; font-size: 1.3rem; font-weight: 600; line-height: 1.1; }
.gt-text small { color: var(--muted); font-size: .84rem; line-height: 1.4; }
.gift-note { margin: 0; padding: 0 16px 14px 74px; font-size: .84rem; color: var(--muted); }
/* the switch itself (the real checkbox is invisible but still focusable) */
.switch-input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.switch { flex: none; position: relative; width: 48px; height: 28px; border-radius: 999px; background: var(--line); transition: background .25s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 5px rgba(46, 31, 28, .2); transition: transform .28s cubic-bezier(.3,1.4,.5,1); }
.switch-input:checked + .switch { background: var(--primary-strong); }
.switch-input:checked + .switch::after { transform: translateX(20px); }
.switch-input:focus-visible + .switch { box-shadow: 0 0 0 3px rgba(214, 152, 148, .35); }
.switch-input:disabled + .switch { opacity: .5; }
#gift-fields { padding: 4px 0 2px; }
.gift-h { font-size: 1.25rem; margin: 18px 0 10px; }
#gift-fields .gift-h:first-child { margin-top: 0; }
/* live preview of the printed card */
.gift-card { position: relative; margin: 4px 0 8px; padding: 22px 24px 18px; border-radius: 12px; background: #FFFDFB;
  border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(46, 31, 28, .08); text-align: center; }
.gift-card::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--blush-200, #F6DDD7); border-radius: 8px; pointer-events: none; }
.gc-to { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.gc-to b { color: var(--primary-strong); font-weight: 500; }
.gift-card p { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.35rem; line-height: 1.35; margin: 10px 0 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.gc-from { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-500); }
@media (max-width: 560px) { .gt-text small { font-size: .8rem; } .gift-note { padding-left: 16px; } }
.wrap-toggle { margin-top: -12px; }
.wrap-price { font-family: Jost, sans-serif; font-size: .8rem; font-weight: 500; color: var(--primary-strong); background: var(--blush-100); border-radius: 999px; padding: 2px 9px; margin-left: 6px; vertical-align: middle; letter-spacing: .02em; }
.wrap-toggle.on .wrap-price { background: var(--white); }
.order-actions .btn { margin: 0; }   /* keep the tracking-page buttons on one line (btn-wa has a top margin elsewhere) */
/* gift wrap styles */
.wrap-options { display: grid; gap: 8px; padding: 0 16px 16px; }
.wrap-opt { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.wrap-opt input { position: absolute; opacity: 0; pointer-events: none; }
.wrap-opt.on { border-color: var(--primary-strong); box-shadow: 0 0 0 3px rgba(214, 152, 148, .2); }
.wrap-opt:focus-within { border-color: var(--rose-400); }
.wrap-opt img, .wrap-swatch { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.wrap-swatch { position: relative; background: var(--blush-100); }
.wrap-swatch::before, .wrap-swatch::after { content: ""; position: absolute; background: var(--primary-strong); opacity: .8; }
.wrap-swatch::before { left: 50%; top: 0; bottom: 0; width: 6px; transform: translateX(-50%); }
.wrap-swatch::after { top: 50%; left: 0; right: 0; height: 6px; transform: translateY(-50%); }
.wrap-swatch.wrap-kraft { background: #CDA67A; } .wrap-swatch.wrap-kraft::before, .wrap-swatch.wrap-kraft::after { background: #F4EBDD; }
.wrap-swatch.wrap-luxury { background: #2E1F1C; } .wrap-swatch.wrap-luxury::before, .wrap-swatch.wrap-luxury::after { background: var(--gold-300); opacity: 1; }
.wo-text { display: grid; gap: 2px; min-width: 0; }
.wo-text b { font-weight: 500; }
.wo-text small { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.wo-price { font-weight: 500; color: var(--primary-strong); white-space: nowrap; }
.wrap-opt.on .wo-price::before { content: "✓ "; }
