:root {
  --ivory: #faf8f5;
  --paper: #ffffff;
  --ink: #1d1d22;
  --muted: #6b6b74;
  --line: #e7e3dd;
  --accent: #1f4e5a;
  --accent-soft: #e6eff0;
  --rose: #b5576b;
  --silver-1: #f4f5f7;
  --silver-2: #c9ccd3;
  --silver-3: #8e939c;
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--ivory); color: var(--ink); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Announcement */
.announcement { background: var(--accent); color: #fff; font-size: 13px; letter-spacing: .04em; overflow: hidden; white-space: nowrap; }
.announcement-track { display: inline-flex; gap: 64px; padding: 8px 0; animation: marquee 28s linear infinite; }
.announcement-track span::before { content: "✦"; margin-right: 12px; opacity: .7; }
@keyframes marquee { from { transform: translateX(100vw); } to { transform: translateX(-100%); } }

/* Header */
.header { position: sticky; top: 0; z-index: 40; background: rgba(250, 248, 245, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 14px 24px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo-mark { font-family: var(--serif); font-size: 34px; font-weight: 700; letter-spacing: .18em;
  background: linear-gradient(135deg, #6f747d, #d9dce1 45%, #7e838c 70%, #c3c7cd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-sub { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.search { display: flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; max-width: 520px; width: 100%; justify-self: center; }
.search svg { width: 18px; height: 18px; color: var(--muted); }
.search input { border: 0; outline: 0; background: transparent; width: 100%; font: inherit; font-size: 14px; }
.header-icons { display: flex; gap: 6px; }
.icon-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; }
.icon-btn:hover { background: var(--accent-soft); }
.badge { position: absolute; top: 2px; right: 0; background: var(--rose); color: #fff; font-size: 10px; min-width: 17px; height: 17px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.menu-toggle { display: none; }
.nav { max-width: 1280px; margin: 0 auto; padding: 0 24px 10px; display: flex; gap: 26px; overflow-x: auto; font-size: 14px; scrollbar-width: none; }
.nav a { white-space: nowrap; color: var(--muted); padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { color: var(--ink); border-color: var(--accent); }

/* Placeholder art when an image is missing */
.fill { width: 100%; height: 100%; }
.ph { background: radial-gradient(circle at 30% 25%, #fff 0, var(--silver-1) 35%, var(--silver-2) 100%); position: relative; }
.ph::after { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 18px; color: var(--silver-3); letter-spacing: .1em; text-align: center; padding: 12px; }

/* Hero */
.hero { position: relative; max-width: 1280px; margin: 20px auto 0; padding: 0 24px; }
.hero-slides { position: relative; aspect-ratio: 16 / 6; border-radius: var(--radius); overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; display: flex; align-items: center; }
.hero-slide.active { opacity: 1; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 28, 32, .72), rgba(20, 28, 32, .1) 65%); z-index: 1; }
.hero-copy { position: relative; z-index: 2; color: #fff; padding: 0 6%; max-width: 560px; }
.hero-copy .eyebrow { color: #dfe7e9; }
.hero-copy h1 { font-family: var(--serif); font-size: clamp(32px, 4.5vw, 60px); line-height: 1.05; font-weight: 600; margin: 8px 0 14px; }
.hero-copy p { font-weight: 300; margin-bottom: 22px; }
.hero-dots { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.hero-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--silver-2); }
.hero-dots button.active { background: var(--accent); width: 22px; border-radius: 4px; }

.eyebrow { text-transform: uppercase; letter-spacing: .25em; font-size: 12px; color: var(--accent); }
.btn { display: inline-block; padding: 12px 26px; border-radius: 999px; font-size: 14px; letter-spacing: .05em; transition: transform .15s ease, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-dark { background: var(--accent); color: #fff; }
.btn-outline { border: 1px solid var(--ink); }

/* Sections */
.section { max-width: 1280px; margin: 0 auto; padding: 56px 24px 0; }
.section-title { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3vw, 38px); text-align: center; margin-bottom: 26px; }
.section-sub { text-align: center; color: var(--muted); margin: -16px 0 24px; }
.section-sub a { color: var(--accent); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.section-head .section-title { text-align: left; }
.sort { font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.sort select { font: inherit; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }

/* Categories */
.category-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(110px, 1fr); gap: 18px; overflow-x: auto; padding-bottom: 6px; }
.category { text-align: center; font-size: 14px; }
.category-img { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--line); margin-bottom: 10px; transition: box-shadow .2s; }
.category:hover .category-img { box-shadow: 0 0 0 2px var(--accent); }
.category-img img { width: 100%; height: 100%; object-fit: cover; }

/* Trust strip */
.trust { max-width: 1280px; margin: 48px auto 0; padding: 22px 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; background: var(--accent-soft); border-radius: var(--radius); }
.trust-item { text-align: center; }
.trust-item strong { display: block; font-family: var(--serif); font-size: 26px; color: var(--accent); }
.trust-item span { font-size: 13px; color: var(--muted); }

/* Products */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip { padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; background: var(--paper); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, .07); transform: translateY(-2px); }
.card-media { position: relative; aspect-ratio: 1; overflow: hidden; cursor: pointer; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-tag { position: absolute; top: 10px; left: 10px; background: rgba(255, 255, 255, .92); font-size: 11px; padding: 3px 9px; border-radius: 999px; letter-spacing: .04em; z-index: 1; }
.card-wish { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; z-index: 1; }
.card-wish svg { width: 18px; height: 18px; }
.card-wish.on svg { fill: var(--rose); stroke: var(--rose); }
.card-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-rating { font-size: 12px; color: var(--muted); }
.card-rating b { color: var(--accent); }
.card-name { font-size: 15px; font-weight: 500; }
.price { display: flex; gap: 8px; align-items: baseline; }
.price .now { font-weight: 600; font-size: 16px; }
.price .mrp { color: var(--muted); text-decoration: line-through; font-size: 13px; }
.price .off { color: var(--rose); font-size: 13px; font-weight: 500; }
.card .btn { margin-top: auto; text-align: center; border: 1px solid var(--accent); color: var(--accent); padding: 9px; }
.card .btn:hover { background: var(--accent); color: #fff; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Gifting */
.gift-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gift-card { aspect-ratio: 4 / 5; border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.gift-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(15, 30, 35, .78)); }
.gift-card > * { position: relative; }
.gift-card span { font-family: var(--serif); font-size: 28px; font-weight: 600; }
.gift-card small { opacity: .85; }

/* Story */
.story { max-width: 1280px; margin: 64px auto 0; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.story-image { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.story-text h2 { font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); line-height: 1.1; margin: 10px 0 16px; }
.story-text p { color: var(--muted); margin-bottom: 14px; }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.review .stars { color: #c99a3b; letter-spacing: 2px; }
.review p { margin: 10px 0 14px; color: #3d3d44; }
.review b { font-weight: 500; }
.review-source { display: block; margin-top: 8px; font-size: 12px; color: var(--accent); text-decoration: underline; }
.review-cta { text-align: center; margin-top: 24px; }
.section-sub b { color: var(--accent); }

/* Instagram */
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.insta-grid a { aspect-ratio: 1; border-radius: 8px; overflow: hidden; }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.insta-grid a:hover img { opacity: .82; }

/* Newsletter */
.newsletter { max-width: 1280px; margin: 64px auto 0; padding: 48px 24px; text-align: center; background: linear-gradient(135deg, var(--silver-1), #fff 50%, var(--silver-1)); border-radius: var(--radius); }
.newsletter h2 { font-family: var(--serif); font-size: 34px; }
.newsletter p { color: var(--muted); margin-bottom: 18px; }
.newsletter form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.newsletter input { padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; min-width: 280px; font: inherit; }

/* Footer */
.footer { background: #14262b; color: #c8d3d6; margin-top: 72px; padding: 56px 24px 24px; }
.footer-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: #fff; font-weight: 500; margin-bottom: 12px; }
.footer a { display: block; padding: 3px 0; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer p { font-size: 14px; margin-top: 10px; }
.logo-footer .logo-sub { color: #93a4a8; }
.copyright { max-width: 1280px; margin: 36px auto 0; padding-top: 18px; border-top: 1px solid #26404a; font-size: 13px; text-align: center; }

/* Drawer + modal */
.drawer, .modal { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.drawer.open, .modal.open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); opacity: 0; transition: opacity .25s; }
.open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: var(--serif); font-size: 24px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 12px 20px; }
.drawer-foot { padding: 18px 20px; border-top: 1px solid var(--line); }
.line-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line-item .thumb { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; }
.line-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; margin-top: 6px; }
.qty button { width: 28px; height: 28px; }
.qty span { min-width: 22px; text-align: center; line-height: 28px; font-size: 14px; }
.remove { color: var(--muted); font-size: 12px; text-decoration: underline; }
.total-row { display: flex; justify-content: space-between; font-size: 17px; margin-bottom: 14px; }
.drawer-foot .btn { width: 100%; text-align: center; }

.modal-panel { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -46%); opacity: 0; transition: all .25s; width: min(880px, 94vw); max-height: 90vh; overflow: auto; background: var(--paper); border-radius: var(--radius); display: grid; grid-template-columns: 1fr 1fr; }
.modal.open .modal-panel { transform: translate(-50%, -50%); opacity: 1; }
.qv-media { aspect-ratio: 1; }
.qv-media img { width: 100%; height: 100%; object-fit: cover; }
.qv-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.qv-body h3 { font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.qv-body .close-x { position: absolute; top: 10px; right: 10px; }
.qv-specs { font-size: 14px; color: var(--muted); list-style: none; display: grid; gap: 4px; }
.qv-specs li::before { content: "✦ "; color: var(--accent); }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-size: 14px; opacity: 0; transition: all .25s; z-index: 80; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 900px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .menu-toggle { display: grid; }
  .search { grid-column: 1 / -1; order: 3; max-width: none; }
  .nav { display: none; flex-direction: column; gap: 8px; }
  .nav.open { display: flex; }
  .hero-slides { aspect-ratio: 4 / 5; }
  .hero-slide::before { background: linear-gradient(0deg, rgba(20, 28, 32, .8), transparent 70%); }
  .hero-slide { align-items: flex-end; padding-bottom: 32px; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .gift-grid { grid-template-columns: repeat(2, 1fr); }
  .story { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .modal-panel { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
