/* ShopByLeoft shared styles */
:root {
  --navy-900: #061C58;
  --navy-800: #0A2273;
  --navy-700: #1A3591;
  --ink: #101A3D;
  --ink-soft: #3A4670;
  --muted: #5A6CA8;
  --line: #D9E0F2;
  --mist: #EEF1FA;
  --mist-2: #F6F8FD;
  --red: #D91A22;
  --red-dark: #B5141B;
  --white: #FFFFFF;
  --wa: #1FA855;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 6px rgba(6, 28, 88, .06);
  --shadow: 0 14px 40px -18px rgba(6, 28, 88, .35);
  --shadow-lg: 0 30px 70px -30px rgba(6, 28, 88, .5);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Outfit', 'Century Gothic', 'Questrial', system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 12px 26px -12px rgba(217, 26, 34, .8); }
.btn-red:hover { background: var(--red-dark); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-900); box-shadow: var(--shadow); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-outline { border-color: var(--line); color: var(--navy-800); background: #fff; }
.btn-outline:hover { border-color: var(--navy-800); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #178a45; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Announcement + header ---------- */
.announce {
  background: var(--navy-900); color: #C2CCEB; font-size: 13px; text-align: center;
  padding: 8px 16px; letter-spacing: .02em;
}
.announce a { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.4); }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(6, 28, 88, .45); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 50px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative; padding: 10px 14px; font-size: 15px; font-weight: 500; color: var(--ink-soft);
  border-radius: 999px; transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--navy-800); background: var(--mist); }
.main-nav a[aria-current="page"] { color: var(--navy-800); background: var(--mist); font-weight: 600; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  align-items: center; justify-content: center; color: var(--navy-800);
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s, opacity .3s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.nav-open .menu-toggle span { background: transparent; }
.nav-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .menu-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .main-nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: 12px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
  }
  .main-nav a { padding: 14px 16px; font-size: 17px; border-radius: 12px; }
  .nav-open .main-nav { opacity: 1; transform: none; pointer-events: auto; }
  .main-nav .nav-wa { display: flex; margin-top: 10px; background: var(--wa); color: #fff; justify-content: center; font-weight: 600; }
}
@media (min-width: 1021px) { .main-nav .nav-wa { display: none; } }

/* ---------- Section basics ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.bg-mist { background: var(--mist-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); color: var(--navy-800); margin-top: 14px; max-width: 18ch; }
.section-head p { color: var(--ink-soft); max-width: 46ch; font-size: 17px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy-800); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 85% -10%, #2847B8 0%, transparent 60%),
              radial-gradient(800px 500px at -10% 110%, #3A1260 0%, transparent 55%),
              linear-gradient(160deg, var(--navy-800), var(--navy-900));
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .25;
  background-image: radial-gradient(rgba(255,255,255,.35) 1px, transparent 1px); background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 92px 0 108px; }
.hero .eyebrow { color: #FFB3B6; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 700; margin: 18px 0 22px; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: transparent; background: linear-gradient(90deg, #FFB3B6, #fff 60%); -webkit-background-clip: text; background-clip: text; }
.hero-lead { font-size: 19px; color: #D3DBF3; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.15); }
.hero-stats strong { display: block; font-size: 34px; font-weight: 700; letter-spacing: -.02em; }
.hero-stats span { font-size: 14px; color: #C2CCEB; }
.hero-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 210px 210px; gap: 16px; }
.hero-mosaic .tile:nth-child(1) { grid-row: span 2; }
.tile {
  position: relative; overflow: hidden; border-radius: 22px; display: flex; align-items: flex-end; padding: 20px;
  background-color: var(--navy-700); background-size: cover; background-position: center;
  box-shadow: var(--shadow-lg); isolation: isolate; color: #fff;
  transition: transform .5s var(--ease);
}
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6,28,88,.85), rgba(6,28,88,.05) 60%); }
.tile:hover { transform: translateY(-6px) rotate(-.4deg); }
.tile .tile-icon { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); }
.tile .tile-icon svg { width: 24px; height: 24px; stroke: #fff; }
.tile strong { display: block; font-size: 20px; font-weight: 600; }
.tile small { color: #D3DBF3; font-size: 13px; }
.hero-float { animation: float 7s ease-in-out infinite; }
.hero-float:nth-child(2) { animation-delay: -2s; }
.hero-float:nth-child(3) { animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 64px 0 80px; gap: 44px; }
  .hero-mosaic { grid-template-rows: 160px 160px; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--red); color: #fff; overflow: hidden; padding: 14px 0; }
.marquee-track { display: flex; width: max-content; gap: 48px; animation: marquee 32s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; font-weight: 600; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.marquee-track span::after { content: "✦"; opacity: .7; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.cat-card {
  grid-column: span 2; position: relative; min-height: 340px; border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; color: #fff; isolation: isolate;
  background-color: var(--navy-800); background-size: cover; background-position: center;
  transition: transform .45s var(--ease), box-shadow .45s;
}
.cat-card:nth-child(1), .cat-card:nth-child(2) { grid-column: span 3; min-height: 400px; }
.cat-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6,28,88,.92) 10%, rgba(6,28,88,.15) 75%); transition: opacity .4s; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-card .num { position: absolute; top: 24px; left: 28px; font-size: 14px; font-weight: 600; letter-spacing: .14em; color: rgba(255,255,255,.7); }
.cat-card .cat-icon { position: absolute; top: 20px; right: 22px; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); transition: transform .45s var(--ease), background .3s; }
.cat-card .cat-icon svg { width: 28px; height: 28px; stroke: #fff; }
.cat-card:hover .cat-icon { transform: rotate(-8deg) scale(1.06); background: var(--red); }
.cat-card h3 { font-size: 28px; font-weight: 600; margin-bottom: 8px; }
.cat-card p { color: #D3DBF3; max-width: 34ch; }
.cat-card .meta { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.2); font-size: 14px; font-weight: 600; }
.cat-card .meta svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.cat-card:hover .meta svg { transform: translateX(6px); }
@media (max-width: 900px) {
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-card, .cat-card:nth-child(1), .cat-card:nth-child(2) { grid-column: span 1; min-height: 300px; }
  .cat-card:last-child { grid-column: span 2; }
}
@media (max-width: 600px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card, .cat-card:last-child { grid-column: span 1; min-height: 260px; }
}

/* Decorative photo fallbacks (used when no photo has been uploaded) */
.art-tech { background-image: url('../images/categories/tech.jpg'), radial-gradient(circle at 80% 20%, #3E63E0, transparent 55%), linear-gradient(135deg, #0A2273, #1A3591); }
.art-home { background-image: url('../images/categories/home-lifestyle.jpg'), radial-gradient(circle at 20% 20%, #7A5CE0, transparent 55%), linear-gradient(135deg, #1B2A7A, #3A2A8C); }
.art-beauty { background-image: url('../images/categories/beauty.jpg'), radial-gradient(circle at 80% 30%, #E05C8A, transparent 55%), linear-gradient(135deg, #4A1A6B, #0A2273); }
.art-fragrance { background-image: url('../images/categories/fragrance.jpg'), radial-gradient(circle at 30% 20%, #D9A33E, transparent 50%), linear-gradient(135deg, #5A1A2E, #0A2273); }
.art-gifting { background-image: url('../images/categories/corporate-gifting.jpg'), radial-gradient(circle at 70% 30%, #D91A22, transparent 55%), linear-gradient(135deg, #061C58, #0A2273); }
[class*="art-"] { background-size: cover, auto, auto; background-position: center; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.product-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.product-media {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: linear-gradient(145deg, var(--mist), #E3E8F7);
  border: 0; padding: 0; width: 100%; display: block; cursor: zoom-in;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .4s; opacity: 0; }
.product-media img.loaded { opacity: 1; }
.product-card:hover .product-media img { transform: scale(1.07); }
.product-ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: var(--muted); font-size: 13px; letter-spacing: .04em;
}
.product-ph svg { width: 64px; height: 64px; stroke: var(--muted); opacity: .8; transition: transform .5s var(--ease); }
.product-card:hover .product-ph svg { transform: scale(1.1) rotate(-6deg); }
.product-ph .ph-name { font-weight: 600; color: var(--navy-800); font-size: 15px; text-align: center; padding: 0 24px; letter-spacing: 0; }
.has-photo .product-ph { display: none; }
.product-tag {
  position: absolute; top: 14px; left: 14px; z-index: 1; background: rgba(255,255,255,.92); color: var(--navy-800);
  font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; box-shadow: var(--shadow-sm); backdrop-filter: blur(6px);
}
.quick-view {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--navy-800); color: #fff; font-size: 14px; font-weight: 600; padding: 11px; border-radius: 12px;
  transform: translateY(14px); opacity: 0; transition: transform .35s var(--ease), opacity .35s;
}
.quick-view svg { width: 16px; height: 16px; }
.product-card:hover .quick-view, .product-media:focus-visible .quick-view { transform: none; opacity: 1; }
@media (hover: none) { .quick-view { display: none; } }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; gap: 6px; }
.product-body h3 { font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.price { font-size: 20px; font-weight: 700; color: var(--navy-800); letter-spacing: -.01em; }
.product-body .btn { margin-top: auto; }
.product-actions { margin-top: auto; padding-top: 14px; }
.product-actions .btn { width: 100%; }
.product-new {
  position: absolute; top: 14px; right: 14px; z-index: 1; background: var(--red); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px;
}
.product-desc {
  color: var(--ink-soft); font-size: 14px; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.price-ask { font-size: 16px; color: var(--red); }
.modal-info .price-ask { font-size: 20px; }
.qv-desc { color: var(--ink); font-size: 16px; line-height: 1.55; }
.qv-desc:empty { display: none; }

/* ---------- Shop the scene ---------- */
.scene-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.scene {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s;
}
.scene:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.scene-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-800); isolation: isolate; color: #fff; }
.scene-media img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.scene:hover .scene-media img { transform: scale(1.06); }
.scene-media::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6,28,88,.9) 5%, rgba(6,28,88,.1) 65%); }
.scene-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; }
.scene-kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #FFB3B6; }
.scene-copy h3 { font-size: 24px; font-weight: 600; margin: 6px 0 4px; }
.scene-copy p { color: #D3DBF3; font-size: 15px; }
.scene-products { list-style: none; margin: 0; padding: 10px; display: grid; gap: 4px; }
.scene-products button {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 8px 10px; border: 0; border-radius: 12px;
  background: transparent; text-align: left; font: inherit; color: var(--ink); cursor: pointer; transition: background .2s;
}
.scene-products button:hover { background: var(--mist); }
.scene-products img { flex: none; width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--mist); }
.scene-products span { flex: 1; min-width: 0; }
.scene-products strong { display: block; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scene-products small { color: var(--navy-800); font-weight: 600; font-size: 14px; }
.scene-products svg { flex: none; width: 18px; height: 18px; stroke: var(--muted); transition: transform .25s var(--ease); }
.scene-products button:hover svg { transform: translateX(4px); stroke: var(--navy-800); }

/* ---------- Category page hero ---------- */
.page-hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; background-color: var(--navy-800); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,28,88,.94) 0%, rgba(6,28,88,.7) 50%, rgba(6,28,88,.3) 100%); }
.page-hero-inner { padding: 72px 0 84px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #C2CCEB; margin-bottom: 22px; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .5; }
.page-hero .eyebrow { color: #FFB3B6; }
.page-hero h1 { font-size: clamp(38px, 5.5vw, 64px); margin: 16px 0 18px; letter-spacing: -.035em; }
.page-hero p.lead { font-size: 18px; color: #D3DBF3; max-width: 38em; }
.page-hero-card {
  justify-self: end; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(14px);
  border-radius: var(--radius); padding: 24px 26px; min-width: 260px;
}
.page-hero-card strong { display: block; font-size: 40px; font-weight: 700; line-height: 1; }
.page-hero-card span { color: #D3DBF3; font-size: 14px; }
.page-hero-card .row { display: flex; gap: 28px; }
.page-hero-card .btn { margin-top: 20px; width: 100%; }
@media (max-width: 860px) {
  .page-hero-inner { grid-template-columns: 1fr; padding: 52px 0 64px; }
  .page-hero-card { justify-self: start; }
}

/* ---------- Toolbar ---------- */
.toolbar {
  position: sticky; top: 76px; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); padding: 14px 0;
}
.toolbar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.search { position: relative; flex: 1 1 240px; max-width: 360px; }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); stroke: var(--muted); }
.search input {
  width: 100%; padding: 12px 16px 12px 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--mist-2);
  font: inherit; font-size: 15px; color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s;
}
.search input:focus { outline: none; border-color: var(--navy-800); background: #fff; box-shadow: 0 0 0 4px rgba(10,34,115,.1); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
  font-size: 14px; font-weight: 500; transition: all .2s;
}
.chip:hover { border-color: var(--navy-800); color: var(--navy-800); }
.chip[aria-pressed="true"] { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.chip .count { opacity: .6; margin-left: 4px; }
.sort select {
  appearance: none; -webkit-appearance: none; padding: 11px 38px 11px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font: inherit; font-size: 14px; color: var(--ink); cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230A2273' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.results-meta { display: flex; justify-content: space-between; align-items: center; margin: 32px 0 20px; color: var(--ink-soft); font-size: 15px; }
.empty { text-align: center; padding: 64px 20px; color: var(--ink-soft); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty strong { display: block; font-size: 20px; color: var(--navy-800); margin-bottom: 6px; }
@media (max-width: 1020px) { .toolbar { top: 76px; } }

/* ---------- Feature / info blocks ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--mist); margin-bottom: 18px; }
.feature .ic svg { width: 26px; height: 26px; stroke: var(--navy-800); }
.feature h3 { font-size: 19px; color: var(--navy-800); margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 15px; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step); display: block; font-size: 44px; font-weight: 700; letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1.5px var(--red); margin-bottom: 14px;
}
.step h3 { font-size: 19px; color: var(--navy-800); margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Gifting ---------- */
.gift-band { position: relative; overflow: hidden; border-radius: 28px; color: #fff; isolation: isolate; padding: 64px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.gift-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(6,28,88,.96), rgba(6,28,88,.75) 60%, rgba(6,28,88,.4)); }
.gift-band h2 { font-size: clamp(30px, 4vw, 46px); margin: 14px 0 16px; }
.gift-band p { color: #D3DBF3; font-size: 17px; }
.gift-band .eyebrow { color: #FFB3B6; }
.gift-band .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.bundle-list { display: grid; gap: 14px; }
.bundle-mini { display: flex; gap: 16px; align-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 18px 20px; backdrop-filter: blur(10px); transition: background .3s, transform .3s var(--ease); }
.bundle-mini:hover { background: rgba(255,255,255,.18); transform: translateX(6px); }
.bundle-mini .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--red); display: grid; place-items: center; }
.bundle-mini .ic svg { width: 22px; height: 22px; stroke: #fff; }
.bundle-mini strong { display: block; font-size: 17px; }
.bundle-mini small { color: #C2CCEB; font-size: 14px; }
@media (max-width: 900px) { .gift-band { grid-template-columns: 1fr; padding: 40px 28px; } }

.bundle-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.bundle {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.bundle:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.bundle-media { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(145deg, var(--navy-800), var(--navy-700)); overflow: hidden; }
.bundle-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s, transform .7s var(--ease); }
.bundle-media img.loaded { opacity: 1; }
.bundle:hover .bundle-media img { transform: scale(1.06); }
.bundle-media .product-ph svg { stroke: #fff; opacity: .9; }
.bundle-media .product-ph { color: #C2CCEB; }
.bundle-body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bundle-body h3 { font-size: 22px; color: var(--navy-800); }
.bundle-items { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.bundle-items li { display: flex; gap: 10px; align-items: center; color: var(--ink-soft); font-size: 15px; }
.bundle-items li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
.bundle-body .note { font-size: 14px; color: var(--muted); margin-top: auto; padding-top: 12px; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 28px; padding: 56px 56px; color: #fff;
  background: radial-gradient(600px 300px at 90% 0%, rgba(217,26,34,.55), transparent 60%), linear-gradient(135deg, var(--navy-800), var(--navy-900));
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.cta h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 10px; }
.cta p { color: #D3DBF3; font-size: 17px; }
.cta .phone { margin-top: 10px; font-weight: 600; color: #fff; font-size: 18px; }
@media (max-width: 600px) { .cta { padding: 40px 28px; } }

/* ---------- Other collections strip ---------- */
.more-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.more-cat {
  position: relative; display: flex; align-items: flex-end; min-height: 160px; padding: 20px; border-radius: var(--radius); overflow: hidden; color: #fff; isolation: isolate;
  background-color: var(--navy-800); transition: transform .35s var(--ease);
}
.more-cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6,28,88,.9), rgba(6,28,88,.2)); }
.more-cat:hover { transform: translateY(-4px); }
.more-cat strong { font-size: 18px; display: block; }
.more-cat small { color: #D3DBF3; }

/* ---------- Notes ---------- */
.notes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.note-item { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); }
.note-item h3 { font-size: 17px; color: var(--navy-800); margin-bottom: 6px; }
.note-item p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #C2CCEB; padding: 72px 0 32px; margin-top: 96px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 56px; width: auto; background: #fff; border-radius: 12px; padding: 4px 10px; margin-bottom: 18px; }
.footer-brand p { max-width: 32ch; font-size: 15px; }
.site-footer h4 { color: #fff; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(31,168,85,.7);
  transition: transform .3s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2.4s ease-out infinite; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6,28,88,.6); backdrop-filter: blur(6px); }
.modal-dialog {
  position: relative; width: min(920px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 24px;
  display: grid; grid-template-columns: 1fr 1fr; box-shadow: var(--shadow-lg); transform: translateY(24px) scale(.98); transition: transform .4s var(--ease);
}
.modal.open .modal-dialog { transform: none; }
.modal-media { position: relative; background: linear-gradient(145deg, var(--mist), #E3E8F7); min-height: 360px; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.modal-info { padding: 40px 36px; display: flex; flex-direction: column; gap: 14px; }
.modal-info .eyebrow { font-size: 12px; }
.modal-info h2 { font-size: 30px; color: var(--navy-800); }
.modal-info .price { font-size: 28px; }
.modal-info .small { color: var(--ink-soft); font-size: 15px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; width: max-content; }
.qty button { width: 44px; height: 44px; border: 0; background: #fff; font-size: 20px; color: var(--navy-800); }
.qty button:hover { background: var(--mist); }
.qty output { min-width: 40px; text-align: center; font-weight: 600; }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff;
  box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--navy-800);
}
.modal-close svg { width: 20px; height: 20px; }
.assure { display: grid; gap: 8px; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
.assure span { display: flex; gap: 8px; align-items: center; }
.assure svg { width: 16px; height: 16px; stroke: var(--wa); flex: none; }
@media (max-width: 720px) {
  .modal-dialog { grid-template-columns: 1fr; }
  .modal-media { min-height: 0; aspect-ratio: 1 / 1; }
  .modal-info { padding: 28px 24px; }
}
body.modal-lock { overflow: hidden; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   Responsive refinements (desktop → tablet → phone)
   ========================================================== */

/* Real product photos are often promo shots with text near the edges,
   so show the whole image on a clean white tile instead of cropping it. */
.product-media.has-photo { background: #fff; }
.product-media.has-photo img { object-fit: contain; }
.modal-media.has-photo { background: #fff; }
.modal-media.has-photo img { object-fit: contain; }
.modal-media.has-photo .product-ph { display: none; }

/* Wide desktop */
@media (min-width: 1400px) {
  :root { --max: 1320px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
}

/* Tablet */
@media (max-width: 1020px) {
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 32px; }
  .site-footer { margin-top: 72px; }
}

/* Phone & small tablet */
@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .section-tight { padding: 40px 0; }
  .section-head { margin-bottom: 24px; gap: 12px; }
  .section-head h2 { max-width: none; font-size: clamp(26px, 7.4vw, 34px); }
  .section-head p { font-size: 16px; }
  .eyebrow { font-size: 12px; letter-spacing: .12em; }

  .announce { font-size: 12px; padding: 7px 12px; }
  .header-inner { height: 64px; }
  .brand img { height: 40px; }
  .main-nav { inset: 64px 0 auto 0; max-height: calc(100vh - 64px); overflow-y: auto; }
  .menu-toggle { width: 42px; height: 42px; }

  .hero-inner { padding: 44px 0 56px; gap: 32px; }
  .hero h1 { font-size: clamp(34px, 10vw, 46px); margin: 14px 0 16px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { margin-top: 26px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats { gap: 22px; margin-top: 32px; padding-top: 22px; justify-content: space-between; }
  .hero-stats strong { font-size: 26px; }
  .hero-stats span { font-size: 12px; }
  .hero-mosaic { grid-template-rows: 130px 130px; gap: 12px; }
  .tile { padding: 14px; border-radius: 16px; }
  .tile strong { font-size: 16px; }
  .tile small { display: none; }
  .tile .tile-icon { width: 36px; height: 36px; top: 12px; right: 12px; border-radius: 10px; }
  .tile .tile-icon svg { width: 18px; height: 18px; }
  .hero-float { animation: none; }

  .marquee { padding: 10px 0; }
  .marquee-track span { font-size: 13px; gap: 32px; }
  .marquee-track { gap: 32px; }

  .cat-card { padding: 22px; }
  .cat-card h3 { font-size: 23px; }
  .cat-card .num { top: 20px; left: 22px; }

  /* Two products per row on phones */
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-card { border-radius: 14px; }
  .product-card:hover { transform: none; }
  .product-tag { top: 8px; left: 8px; font-size: 10.5px; padding: 4px 8px; }
  .product-ph svg { width: 44px; height: 44px; }
  .product-ph .ph-name { font-size: 13px; padding: 0 10px; }
  .product-body { padding: 12px 12px 14px; gap: 4px; }
  .product-body h3 { font-size: 14px; }
  .price { font-size: 16px; }
  .product-actions { padding-top: 10px; }
  .product-actions .btn { padding: 10px 8px; font-size: 13px; gap: 6px; white-space: normal; line-height: 1.2; }
  .product-actions .btn svg { width: 15px; height: 15px; }

  .page-hero-inner { padding: 36px 0 44px; gap: 24px; }
  .page-hero h1 { font-size: clamp(32px, 9vw, 44px); margin: 12px 0 12px; }
  .page-hero p.lead { font-size: 16px; }
  .crumbs { margin-bottom: 14px; font-size: 13px; }
  .page-hero-card { justify-self: stretch; min-width: 0; padding: 18px 20px; }
  .page-hero-card strong { font-size: 30px; }
  .page-hero-card .row { justify-content: space-between; }

  .toolbar { top: 64px; padding: 10px 0; }
  .toolbar-inner { gap: 10px; }
  .search { flex: 1 1 0; max-width: none; min-width: 0; }
  .search input { font-size: 16px; padding: 10px 14px 10px 40px; } /* 16px stops iOS zooming in */
  .sort select { padding: 10px 32px 10px 14px; font-size: 14px; max-width: 150px; }
  .chips { order: 3; flex: 1 1 100%; margin: 0 -18px; padding: 0 18px; }
  .chip { padding: 7px 13px; font-size: 13px; }
  .results-meta { margin: 20px 0 14px; font-size: 14px; }

  .feature, .step { padding: 22px; }
  .step::before { font-size: 36px; margin-bottom: 8px; }
  .notes-grid { grid-template-columns: 1fr; }
  .note-item { padding: 18px 0; }

  .gift-band { padding: 32px 20px; border-radius: 20px; gap: 28px; }
  .gift-band .actions .btn { flex: 1 1 100%; }
  .bundle-mini { padding: 14px 16px; }
  .bundle-body { padding: 20px; }

  .cta { padding: 32px 22px; border-radius: 20px; gap: 20px; }
  .cta .btn { width: 100%; }
  .more-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .more-cat { min-height: 120px; padding: 14px; }
  .more-cat strong { font-size: 15px; }
  .more-cat small { font-size: 12px; }

  .site-footer { padding: 52px 0 calc(88px + env(safe-area-inset-bottom)); margin-top: 56px; }
  .footer-grid { gap: 28px; }
  .footer-bottom { margin-top: 36px; flex-direction: column; }

  .wa-float { width: 54px; height: 54px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
  .wa-float svg { width: 26px; height: 26px; }

  /* Quick view becomes a bottom sheet */
  .modal { place-items: end center; padding: 0; }
  .modal-dialog { border-radius: 22px 22px 0 0; max-height: 92vh; transform: translateY(40px); }
  .modal-media { aspect-ratio: 4 / 3; }
  .modal-info { padding: 22px 20px calc(24px + env(safe-area-inset-bottom)); gap: 12px; }
  .modal-info h2 { font-size: 24px; }
  .modal-info .price { font-size: 24px; }
}

/* Very small phones */
@media (max-width: 380px) {
  .hero-stats div:last-child { display: none; }
  .product-grid { gap: 10px; }
  .product-body h3 { font-size: 13px; }
  .more-cats { grid-template-columns: 1fr; }
}
