/* GiftStore storefront. Brand colours come from SITE.colours (set inline in the page head): maroon + navy since 29 Oct. */
:root {
  --ink: #171a26;
  --muted: #5d6272;
  --line: #e7e3e6;
  --bg: #ffffff;
  --soft: #f6f5f7;
  --soft2: #f7f1f3;
  --pink: #fdf1f3;
  --pink-line: #f4d8de;
  --ok: #12804a;
  --wa: #25d366;
  --wa-ink: #052e16;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(40, 10, 20, .05), 0 10px 28px rgba(40, 10, 20, .07);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.55; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.01em; }
h1, h2 { color: var(--navy); }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 24px; } }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.ic { width: 20px; height: 20px; flex: none; }
.ic-lg { width: 28px; height: 28px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px;
  border: 1.5px solid transparent; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { background: #1fbe5b; }
.btn-lg { padding: 15px 24px; font-size: 16px; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 0; background: transparent; cursor: pointer; position: relative; text-decoration: none; }
.icon-btn:hover { background: var(--soft); }
.link-btn { border: 0; background: none; padding: 0; color: var(--brand); font-weight: 600; cursor: pointer; text-decoration: underline; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row.center { justify-content: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.eyebrow .ic { width: 16px; height: 16px; }

.preview-bar { background: #fff4d6; color: #6b4e00; text-align: center; font-size: 12.5px; font-weight: 600; padding: 6px 16px; border-bottom: 1px solid #f2dfa4; }

/* offer bar + header (29 Oct layout: menu, logo in the middle, search and cart on phones; logo, centred menu, Wholesale + icons on PCs) */
.announce { background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 85%, #e0264f), var(--brand) 45%, var(--brand-dark)); color: #fff; font-size: 13px; font-weight: 500; }
.announce-row { display: flex; align-items: center; justify-content: center; gap: 8px 10px; padding-top: 7px; padding-bottom: 7px; text-align: center; flex-wrap: wrap; }
.announce .ic { width: 17px; height: 17px; }
.ann-code { background: #fff; color: var(--brand); font-weight: 800; font-size: 12px; letter-spacing: .04em; padding: 3px 10px; border-radius: 99px; }
@media (max-width: 599px) {
  .ann-extra, .ann-long { display: none; }
  .announce { font-size: 12px; }
  .announce-row { flex-wrap: nowrap; gap: 6px; white-space: nowrap; }
  .announce .ic { width: 15px; height: 15px; flex: none; }
  .ann-code { font-size: 11px; padding: 2px 8px; }
}
.site-header { position: sticky; top: 0; z-index: 45; /* open menu over the WhatsApp + back-to-top buttons (44) */ background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); box-shadow: 0 2px 10px rgba(40, 10, 20, .04); }
.head-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; height: 70px; }  /* equal sides = menu in the true centre */
.head-row > .logo { justify-self: start; }
.logo { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.logo-img { height: 44px; width: auto; max-width: none; }
.foot-logo { background: #fff; padding: 10px 14px; border-radius: 14px; }
.foot-logo .logo-img { height: 46px; }
.foot-social { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.foot-social a { text-decoration: underline; text-underline-offset: 3px; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 9px; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: 14.5px; color: var(--ink); white-space: nowrap; }
.main-nav a:hover { color: var(--brand); background: var(--pink); }
.main-nav a[aria-current] { color: var(--brand); background: var(--pink); }  /* not bolder: the centred row would move from page to page */
.main-nav .nav-try { color: var(--brand); font-weight: 600; }
.main-nav .nav-more, .main-nav .nav-wholesale { display: none; }
.main-nav .ic { width: 18px; height: 18px; }
.main-nav .nav-wholesale, .head-wholesale { align-items: center; justify-content: center; gap: 8px; border: 1.5px solid var(--brand); border-radius: 10px; color: var(--brand); font-weight: 600; text-decoration: none; white-space: nowrap; }
.head-wholesale { display: inline-flex; margin-right: 8px; padding: 7px 12px; font-size: 14.5px; }
.head-wholesale .ic { width: 18px; height: 18px; }
.head-wholesale:hover { background: var(--pink); }
.main-nav .nav-wholesale[aria-current], .head-wholesale[aria-current] { background: var(--brand); color: var(--on-brand); }
.head-actions { justify-self: end; display: flex; align-items: center; gap: 2px; }
.icon-btn .ic { width: 23px; height: 23px; }
.cart-count { position: absolute; top: 1px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; box-sizing: content-box; }
.nav-toggle { display: none; }
@media (max-width: 1199px) {
  .head-row { grid-template-columns: 1fr auto 1fr; height: 64px; gap: 8px; }
  .nav-toggle { display: inline-grid; margin-left: -8px; justify-self: start; }
  .head-row > .logo { justify-self: center; }
  .logo-img { height: 38px; }
  .head-wholesale { display: none; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 12px 16px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav > * { width: 100%; max-width: 420px; flex: none; }
  .main-nav a { justify-content: center; text-align: center; padding: 12px; font-size: 16px; }
  .main-nav .nav-more { display: inline-flex; color: var(--muted); }
  .main-nav .nav-wholesale { display: inline-flex; max-width: 300px; margin-top: 8px; }
}
@media (max-width: 899px) { .head-account, .head-wish { display: none; } }
@media (max-width: 380px) { .logo-img { height: 32px; } }

/* header "Products" (22 Nov 2026): one button that opens each main category with its sub-categories.
   A dropdown on PCs, a fold-out row in the phone menu; app.js opens/closes it (.open), CSS hover/focus without JS. */
.nav-drop { position: relative; }
.nav-products { display: inline-flex; align-items: center; gap: 4px; padding: 8px 9px; border: 0; border-radius: 10px; background: transparent;
  font-weight: 500; font-size: 14.5px; color: var(--ink); white-space: nowrap; cursor: pointer; }
.nav-products.is-current, .nav-drop.open > .nav-products { color: var(--brand); }
.nav-drop.open > .nav-products { background: var(--pink); }
@media (hover: hover) { .nav-products:hover { color: var(--brand); background: var(--pink); } }
.main-nav .nav-chev { width: 16px; height: 16px; transition: transform .2s ease; }
.nav-drop.open .nav-chev { transform: rotate(180deg); }
.nav-panel { display: none; }
.nav-drop.open > .nav-panel { display: block; animation: nav-drop .18s ease both; }
html:not(.js) .nav-drop:hover > .nav-panel, html:not(.js) .nav-drop:focus-within > .nav-panel { display: block; }
.nav-tree, .nav-subs { list-style: none; margin: 0; padding: 0; }
.main-nav .nav-tree a { display: flex; padding: 8px 12px; white-space: normal; line-height: 1.35; }
.main-nav .nav-tree .nav-cat { font-weight: 600; }
.nav-subs { margin: 0 0 4px 14px; padding-left: 6px; border-left: 2px solid var(--pink-line); }
.main-nav .nav-subs a { font-size: 14px; color: var(--muted); }
.main-nav .nav-tree a:hover, .main-nav .nav-tree a[aria-current] { color: var(--brand); background: var(--pink); }
.main-nav .nav-subs a[aria-current] { font-weight: 600; }
@media (min-width: 1200px) {
  .head-row > .logo { min-width: 0; max-width: 100%; }
  .head-row > .logo .logo-img { max-width: 100%; object-fit: contain; }  /* a very wide logo from the admin shrinks instead of covering the menu */
  .nav-panel { position: absolute; top: calc(100% + 16px); left: 0; z-index: 5; width: max-content; min-width: 240px; max-width: 380px;
    max-height: calc(100vh - 150px); overflow-y: auto; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
  .nav-drop.open::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px; }  /* the mouse can cross to the panel */
  .nav-panel.is-wide { width: 520px; max-width: none; }
  .nav-panel.is-wide .nav-tree { columns: 2; column-gap: 8px; }
  .nav-tree > li { break-inside: avoid; }
}
@media (max-width: 1199px) {
  .main-nav { max-height: calc(100vh - 164px); max-height: calc(100dvh - 164px); overflow-y: auto; overscroll-behavior: contain; }  /* 64 header + up to 100 preview + offer bars */
  .nav-products { width: 100%; justify-content: center; padding: 12px; font-size: 16px; }
  .nav-products::before { content: ""; width: 20px; }  /* as wide as the arrow, so the word itself is centred */
  .main-nav .nav-chev { width: 20px; height: 20px; }
  .nav-panel { margin: 2px 0 6px; padding: 6px; border-radius: 12px; background: var(--soft); }
  .main-nav .nav-tree a { padding: 10px 12px; font-size: 15px; }
  .nav-subs { margin: 0 0 4px; padding: 0; border: 0; }
  .main-nav .nav-subs a { font-size: 13.5px; }
}
@media (max-width: 899px) { .main-nav { max-height: calc(100vh - 228px); max-height: calc(100dvh - 228px); } }  /* + the bottom tab bar */
/* a product page's price bar (up to 80) lies over the header: the menu and the dropdown end above it */
@media (max-width: 1199px) { .page-product .main-nav { max-height: calc(100vh - 244px); max-height: calc(100dvh - 244px); } }
@media (min-width: 1200px) { .page-product .nav-panel { max-height: calc(100vh - 230px); } }

.lead { font-size: 18px; color: var(--muted); max-width: 560px; }
.pill { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 5px 12px; border-radius: 99px; background: var(--pink); border: 1px solid var(--pink-line); color: var(--brand); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* home (29 Oct layout): search bar, hero slides, stats strip, category circles, best sellers */
.home-search { display: flex; align-items: center; gap: 10px; margin-top: 14px; background: var(--soft); border: 1px solid var(--line); border-radius: 99px; padding: 4px 6px 4px 16px; }
.home-search > .ic { color: var(--muted); }
.home-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 9px 0; outline: none; font-size: 14.5px; }
.home-search button { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
@media (min-width: 1200px) { .home-search { display: none; } }

.hero2 { margin-top: 14px; position: relative; }
.hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 22px; scrollbar-width: none; overscroll-behavior-x: contain;
  background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--brand) 22%, #fff) 0%, transparent 55%), linear-gradient(135deg, #fff6f7 0%, var(--pink) 45%, #f8e2e7 100%);
  border: 1px solid var(--pink-line); box-shadow: var(--shadow); }
.hero-track::-webkit-scrollbar { display: none; }
.hero-track:focus-visible { outline-offset: 3px; }
.hero-slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: 1.08fr .92fr; gap: 12px; align-items: center; padding: 20px 16px 30px 18px; min-height: 250px; }
.hero-text { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.hero-text h1, .hero-text h2 { font-size: clamp(25px, 6.6vw, 54px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 2px 0 0; }
.hero-text h1 span { display: block; color: var(--brand); }
.hero-text p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; max-width: 440px; }
.hero-text .btn { align-self: flex-start; margin-top: 4px; padding: 10px 16px; font-size: 14px; border-radius: 12px; }
.hero-text .play-link { margin-top: 2px; }
.hero-pic { position: relative; align-self: stretch; display: grid; place-items: center; }
.hero-pic > img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; box-shadow: 0 14px 30px rgba(60, 10, 25, .18); }
.hero-mosaic { grid-template-columns: 1fr 1fr; gap: 8px; align-content: center; }
.hero-mosaic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; box-shadow: 0 8px 18px rgba(60, 10, 25, .14); }
.hero-mosaic img:nth-child(2), .hero-mosaic img:nth-child(4) { transform: translateY(12px); }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; pointer-events: none; }
/* a 30 px tap area around each small dot */
.hero-dots button { pointer-events: auto; display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 4px; border: 0; background: none; cursor: pointer; }
.hero-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--brand) 25%, #fff); transition: width .25s, background .25s; }
.hero-dots button[aria-current]::before { width: 22px; background: var(--brand); }
@media (min-width: 700px) { .hero-slide { padding: 32px 32px 40px 36px; min-height: 340px; gap: 28px; } .hero-text { gap: 14px; } .hero-text p { font-size: 16px; } .hero-text .btn { padding: 13px 22px; font-size: 15px; } }
@media (min-width: 1000px) { .hero2 { margin-top: 24px; } .hero-slide { grid-template-columns: 1.3fr .7fr; padding: 44px 56px 52px 60px; min-height: 420px; } .hero-pic > img, .hero-mosaic { max-width: 400px; } .hero-text h1, .hero-text h2 { font-size: clamp(36px, 3.5vw, 48px); } }

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 12px 6px; }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 0 4px; min-width: 0; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-ic { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--pink); color: var(--brand); flex: none; }
.stat b { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.stat span { display: block; font-size: 10.5px; color: var(--muted); line-height: 1.3; }
@media (min-width: 700px) { .stat-strip { padding: 16px 10px; margin-top: 18px; } .stat { flex-direction: row; text-align: left; gap: 12px; justify-content: center; } .stat-ic { width: 46px; height: 46px; padding: 11px; } .stat b { font-size: 17px; } .stat span { font-size: 12.5px; } }

.cat-circles { display: flex; gap: 14px; overflow-x: auto; padding-top: 22px; padding-bottom: 4px; scrollbar-width: none; scroll-snap-type: x proximity; }
.cat-circles::-webkit-scrollbar { display: none; }
.cat-c { flex: 1 0 78px; max-width: 132px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; text-align: center; scroll-snap-align: start; }
.cc-img { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--pink); border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--pink-line), 0 8px 18px rgba(60, 10, 25, .1); transition: transform .25s, box-shadow .25s; }
.cc-img img, .cc-img svg { width: 100%; height: 100%; object-fit: cover; }
.cat-c:hover .cc-img { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--brand), 0 12px 22px rgba(60, 10, 25, .14); }
.cat-c b { font-size: 12.5px; font-weight: 600; line-height: 1.25; color: var(--ink); }
@media (min-width: 700px) { .cat-circles { justify-content: center; gap: 36px; padding-top: 36px; } .cat-c { flex: 0 0 132px; } .cat-c b { font-size: 15px; } }
.best { padding-top: 28px; }

/* sections */
.section { padding: 48px 16px 0; }
.section-tight { padding-top: 8px; padding-bottom: 8px; }
@media (min-width: 768px) { .section { padding: 64px 24px 0; } }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head h2, .section > h2 { font-size: clamp(21px, 3vw, 32px); font-weight: 800; margin: 0; }
.section > h2 { margin-bottom: 20px; }
.section-head a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand); text-decoration: none; white-space: nowrap; }
.section-head a .ic { width: 16px; height: 16px; }

/* categories */
.cat-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.cat { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; background: #fff; transition: box-shadow .2s, border-color .2s; }
.cat:hover { box-shadow: var(--shadow); border-color: transparent; }
.cat-art { width: 92px; flex: none; background: var(--soft2); border-radius: 14px; }
.cat-art .print { display: none; }
.cat h3 { font-size: 16px; margin-bottom: 4px; }
.cat p { font-size: 13px; color: var(--muted); margin: 0 0 6px; }
.cat-count { font-size: 12px; font-weight: 700; color: var(--brand); }
@media (min-width: 1000px) { .cat { flex-direction: column; align-items: flex-start; } .cat-art { width: 100%; } }

/* product grid + cards (29 Oct layout: photo with a heart, name, price with MRP and % off, "Customize now") */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 1px 3px rgba(40, 10, 20, .05); transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--pink-line); }
.card-media { position: relative; display: block; aspect-ratio: 1; background: var(--soft2); overflow: hidden; }
.card-media svg, .card-media img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 10px; left: 10px; z-index: 1; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 8px; background: var(--brand); color: #fff; }
.card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.card-title { text-decoration: none; }
.card-title:hover h3 { color: var(--brand); }
.card h3 { font-size: 14.5px; font-weight: 700; color: var(--navy); margin: 0; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.card-sub { font-size: 12px; color: var(--muted); margin: 0 0 4px; }
.card-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; font-size: 14px; }
.card-price b { font-size: 17px; font-weight: 700; color: var(--ink); }
.card-price small { color: var(--muted); font-size: 12px; margin-left: -4px; }
.card-price s, .price-row s { color: var(--muted); font-size: .85em; }
.off { display: inline-block; font-size: 11px; font-weight: 700; color: var(--brand); background: var(--pink); border: 1px solid var(--pink-line); padding: 1px 7px; border-radius: 6px; white-space: nowrap; }
.card-min { margin: 2px 0 0; font-size: 11.5px; color: var(--muted); }
.card .card-cta { margin-top: auto; width: 100%; padding: 9px 8px; border-radius: 10px; font-size: 13px; font-weight: 600; gap: 6px; }
.card .card-body > .card-cta { margin-top: 10px; }
.card-cta .ic { width: 16px; height: 16px; }
.heart { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--brand); box-shadow: 0 2px 8px rgba(40, 10, 20, .15); cursor: pointer; transition: transform .15s; }
.heart .ic { width: 18px; height: 18px; }
.heart.on .ic { fill: currentColor; }
.heart:active { transform: scale(.88); }
.heart.pop .ic { animation: bump .45s ease; }
@media (max-width: 420px) { .card-body { padding: 9px 10px 10px; } .card-price b { font-size: 16px; } .card .card-cta { font-size: 12.5px; padding: 8px 6px; } .card-cta .ic-arrow { display: none; } }
.dots { display: flex; align-items: center; gap: 5px; margin-top: 8px; }
.dots i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.dots em { font-style: normal; font-size: 12px; color: var(--muted); }
.empty { color: var(--muted); padding: 32px 0; }

/* how it works */
.steps-band { background: var(--navy); color: #fff; margin-top: 64px; padding: 56px 0; }
.steps-band h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: #fff; }
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.steps li { counter-increment: s; display: flex; flex-direction: column; gap: 6px; padding-top: 52px; position: relative; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 700; box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); }
.steps li b { font-size: 17px; }
.steps li span { color: #c3c9dc; font-size: 15px; }
.steps-plain { margin: 28px 0; }
.steps-plain li span { color: var(--muted); }

/* wholesale band */
.ws-band { display: grid; gap: 24px; align-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: var(--on-brand); border-radius: 24px; padding: 32px 24px; }
.ws-band h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: inherit; }
.ws-band p { opacity: .9; margin: 0; max-width: 560px; }
.ws-band .eyebrow { color: inherit; opacity: .85; }
@media (min-width: 900px) { .ws-band { grid-template-columns: 1fr auto; padding: 44px 48px; } }

/* FAQ */
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list p { color: var(--muted); padding-bottom: 8px; }

/* collection */
.coll-head { padding-top: 32px; padding-bottom: 8px; }
.coll-head h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.coll-head p { color: var(--muted); max-width: 640px; }
.coll-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.chips, .opt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.chip:hover { border-color: var(--brand); }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip small { font-weight: 500; opacity: .75; }
.sort select { margin-left: 6px; padding: 8px 10px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; }
.sort label { font-size: 14px; font-weight: 600; color: var(--muted); }
.count { color: var(--muted); font-size: 14px; margin: 8px 0 14px; }
.big-search { display: flex; gap: 8px; margin-top: 12px; max-width: 640px; }
.big-search input { flex: 1; min-width: 0; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line); font-size: 16px; }

/* product page (29 Oct layout: gallery + features on the left, details on the right; a price + Add to cart bar at the bottom) */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; color: var(--muted); padding-top: 14px; padding-bottom: 10px; }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.crumbs .ic { width: 15px; height: 15px; }
.crumbs .sep { width: 13px; height: 13px; opacity: .6; }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }
@media (max-width: 599px) {
  .crumbs { flex-wrap: nowrap; white-space: nowrap; font-size: 12.5px; }
  .crumbs [aria-current] { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}
.pdp { display: grid; gap: 22px; padding-top: 4px; }
.pdp > * { min-width: 0; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; } }
.pdp-main { position: relative; background: var(--soft2); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; aspect-ratio: 1; touch-action: pan-y; }
.pdp-main .stage > img, .pdp-main .stage > svg { width: 100%; height: 100%; object-fit: cover; }
.ribbon { position: absolute; top: 0; left: 16px; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 10px 11px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; line-height: 1.1; text-align: center; max-width: 92px; border-radius: 0 0 10px 10px; box-shadow: 0 6px 14px rgba(60, 10, 25, .25); }
.ribbon .ic { width: 18px; height: 18px; fill: #fff; stroke: none; }
.heart-lg { top: 14px; right: 14px; width: 42px; height: 42px; }
.heart-lg .ic { width: 21px; height: 21px; }
.g-nav { position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; margin-top: -20px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--ink); box-shadow: 0 2px 10px rgba(40, 10, 20, .18); cursor: pointer; transition: transform .15s; }
.g-nav:active { transform: scale(.9); }
.g-prev { left: 12px; } .g-next { right: 12px; }
.g-dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 3; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.g-dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .8); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); transition: width .2s, background .2s; }
.g-dots i.on { width: 20px; background: var(--brand); }
.pdp-main.editing .g-nav, .pdp-main.editing .g-dots, .pdp-main.editing .ribbon { display: none; }
@media (min-width: 900px) { .g-dots { display: none; } }
.media-note { text-align: center; font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.feat-box { list-style: none; margin: 18px 0 0; padding: 18px 20px; background: var(--pink); border: 1px solid var(--pink-line); border-radius: 16px; display: grid; gap: 16px; }
.feat-box li { display: flex; align-items: center; gap: 14px; }
.feat-ic { width: 26px; height: 26px; color: var(--brand); flex: none; }
.feat-box b { display: block; font-size: 14.5px; font-weight: 600; color: var(--brand); }
.feat-box small { display: block; font-size: 13px; color: var(--muted); }
.feat-phone { display: none; }
@media (max-width: 899px) {
  .feat-pc { display: none; }
  .feat-phone { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; padding: 16px 14px; }
  .feat-phone li { gap: 10px; align-items: flex-start; }
  .feat-phone .feat-ic { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: #fff; }
  .feat-phone b { font-size: 13px; } .feat-phone small { font-size: 11.5px; }
}
.pdp-info { display: flex; flex-direction: column; }
.pdp-info > .pill { margin-bottom: 10px; }
.pdp-info h1 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.pdp-short { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.pdp-proof { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; margin: 0 0 8px; font-size: 14px; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 6px; }
.price-big { font-size: 34px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); line-height: 1.1; }
.price-row > small { color: var(--muted); font-weight: 500; margin-left: -6px; }
.price-row s { font-size: 18px; }
.price-row .off { font-size: 14px; padding: 4px 10px; border-radius: 8px; }
.price-total { font-size: 14px; color: var(--muted); margin: 4px 0 0; }
.price-total b { color: var(--ink); }
.ws-note { display: inline-flex; gap: 6px; align-items: center; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--brand); }
.opt { margin-top: 20px; }
.opt-label { font-size: 15px; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.opt-label b { color: var(--muted); font-weight: 500; }
.opt-label small { color: var(--muted); font-weight: 400; font-size: 13px; }
.opt-label-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.opt-label-row .link-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; text-decoration: none; }
.opt-label-row .link-btn .ic { width: 16px; height: 16px; }
.ws-link { font-size: 13px; font-weight: 600; color: var(--brand); margin-left: 4px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 36px; height: 36px; border-radius: 50%; background: var(--sw); border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; padding: 0; }
.swatch:hover { box-shadow: 0 0 0 1.5px var(--muted); }
.swatch.on { box-shadow: 0 0 0 2.5px var(--brand); }
.pdp-info .opt-chips { gap: 10px; }
.pdp-info .opt-chips .chip { border-radius: 10px; padding: 10px 16px; background: #fff; color: var(--ink); font-weight: 500; }
.pdp-info .opt-chips .chip.on { background: var(--pink); border-color: var(--brand); color: var(--brand); font-weight: 600; box-shadow: 0 0 0 1px var(--brand); }
.opt-cards { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); }
.opt-cards .chip { flex-direction: column; justify-content: center; gap: 6px; text-align: center; padding: 12px 8px !important; line-height: 1.2; }
.opt-ic { width: 28px; height: 28px; flex: none; }
.qty-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.qty { display: inline-flex; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.qty button { width: 46px; height: 50px; border: 0; background: #fff; font-size: 22px; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--pink); color: var(--brand); }
.qty input { width: 76px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font-weight: 600; font-size: 17px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bulk-btn { flex: 1 1 170px; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--pink-line); border-radius: 12px; background: var(--pink); color: var(--brand); cursor: pointer; text-align: left; font: inherit; }
.bulk-btn > .ic { width: 24px; height: 24px; flex: none; }
.bulk-btn span { flex: 1; display: grid; line-height: 1.25; }
.bulk-btn b { font-size: 14px; font-weight: 600; }
.bulk-btn small { font-size: 12px; color: var(--muted); }
.bulk-btn .chev { width: 16px; height: 16px; }
.qty-warn { color: #b42318; font-size: 14px; margin: 8px 0 0; }
.tiers { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-bottom: 8px; }
.tiers th { text-align: left; font-weight: 600; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tiers td { padding: 10px; border-bottom: 1px solid var(--line); }
.tiers tr:last-child td { border-bottom: 0; }
.tiers tbody tr { cursor: pointer; transition: background .15s; }
.tiers tbody tr:hover td { background: var(--soft); }
.tiers tr.on td { background: var(--pink); }
.tiers tr.on td:first-child { box-shadow: inset 3px 0 0 var(--brand); }
.customize { margin-top: 22px; display: grid; gap: 10px; }
.btn-custom { position: relative; justify-content: flex-start; gap: 14px; padding: 14px 18px; border-radius: 14px; text-align: left; white-space: normal; box-shadow: 0 10px 22px color-mix(in srgb, var(--brand) 30%, transparent); }
.btn-custom > span { display: grid; min-width: 0; line-height: 1.3; }
.btn-custom b { font-size: 17px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn-custom small { font-size: 12.5px; font-weight: 400; opacity: .9; }
.btn-custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 1; }
.customize.has-logo .btn-custom { background: var(--brand-dark); }
.customize .tick-sm { margin-top: 0; }
.customize .link-btn { justify-self: start; font-size: 13px; }
.notes-box summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--brand); list-style: none; }
.notes-box summary::-webkit-details-marker { display: none; }
.notes-box summary::before { content: "+ "; }
.notes-box[open] summary::before { content: "− "; }
.notes-box summary small { color: var(--muted); font-weight: 400; }
.notes-box textarea { display: block; width: 100%; margin-top: 8px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); resize: vertical; color: var(--ink); }
.notes-box textarea:focus { border-color: var(--brand); outline: none; }
.upload-help { font-size: 13px; color: var(--muted); margin: 0; }
.wa-link { display: inline-flex; align-items: center; gap: 6px; justify-self: start; font-size: 13.5px; font-weight: 600; color: #128c4b; text-decoration: none; }
.wa-link .ic { width: 18px; height: 18px; }
.wa-link:hover { text-decoration: underline; }
.trust-row { list-style: none; padding: 16px 0 0; margin: 18px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.trust-row li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; font-size: 12.5px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.trust-ic { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--pink); color: var(--brand); }
@media (max-width: 899px) { .trust-row { display: none; } }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.buy-row .btn { flex: 1 1 220px; }
.ws-hint { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.ws-hint a { color: var(--brand); font-weight: 700; }
.ws-hint .ic { width: 16px; height: 16px; }
.specs { width: 100%; border-collapse: collapse; font-size: 15px; }
.specs th { text-align: left; color: var(--muted); font-weight: 500; padding: 10px 12px 10px 0; vertical-align: top; width: 38%; border-bottom: 1px solid var(--line); }
.specs td { padding: 10px 0; border-bottom: 1px solid var(--line); }

/* details: an accordion on phones, tabs on PCs (app.js keeps the chosen tab's <details> open) */
.pdp-tabs { padding-top: 36px; }
.acc { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 10px; scroll-margin-top: 90px; }
.acc > summary { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; font-weight: 600; color: var(--navy); }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary span { flex: 1; }
.acc-ic { width: 20px; height: 20px; color: var(--brand); }
.acc-chev { width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
.acc[open] .acc-chev { transform: rotate(180deg); }
.acc-body { padding: 0 16px 16px; overflow-x: auto; }
.acc-body .prose p, .acc-body .prose li { font-size: 15px; }
.ws-link, .wa-link, .opt-label-row .link-btn { padding-top: 6px; padding-bottom: 6px; }
@media (max-width: 599px) {
  .qty input { width: 58px; }
  .qty button { width: 42px; }
  .bulk-btn { flex-basis: 140px; }
}
.acc[open] .acc-body { animation: fade-up .3s ease both; }
.tab-list { display: none; }
.checks { display: none; }
@media (min-width: 900px) {
  .tab-list { display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 22px; scrollbar-width: none; }
  .tab-list::-webkit-scrollbar { display: none; }
  .tab-list button { flex: none; border: 0; background: none; padding: 12px 18px; font-weight: 600; font-size: 15.5px; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
  .tab-list button:hover { color: var(--brand); }
  .tab-list button[aria-selected="true"] { color: var(--brand); border-color: var(--brand); }
  .acc { border: 0; border-radius: 0; margin: 0; background: none; }
  .acc > summary { display: none; }
  .acc:not(.sel) { display: none; }
  .acc-body { padding: 0; max-width: 900px; }
  .checks { list-style: none; padding: 14px 18px; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; background: var(--pink); border: 1px solid var(--pink-line); border-radius: 14px; }
  .checks li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--brand); }
  .checks .ic { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--brand); color: #fff; stroke-width: 3; }
}

/* price + Add to cart, always at the bottom of a product page */
.buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 46; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(40, 10, 20, .1); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); }
.buy-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.buy-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; min-width: 0; }
.buy-price b { font-size: 24px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.buy-price s { color: var(--muted); font-size: 14px; }
.buy-price small { flex-basis: 100%; color: var(--muted); font-size: 12px; }
.buy-bar .btn { flex: 0 1 340px; padding: 14px 22px; border-radius: 12px; font-size: 16px; }
.buy-bar .btn .ic { width: 20px; height: 20px; }
body.page-product { padding-bottom: 84px; }
@media (max-width: 599px) { .buy-price { flex: 1; } .buy-price b { font-size: 20px; } .buy-price .off { display: none; } .buy-bar .btn { flex: 0 0 auto; padding: 13px 18px; font-size: 15px; } }

/* info pages */
.info { padding-top: 40px; padding-bottom: 16px; }
.info h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.prose p, .prose li { font-size: 17px; color: #3a404c; }
.prose h3 { font-size: 19px; margin-top: 28px; }
.contact-list { padding-left: 18px; }
.contact-list li { margin-bottom: 8px; }

/* footer */
.site-footer { background: #1c0a10; color: #cdb9be; margin-top: 72px; padding-top: 48px; font-size: 14px; border-top: 4px solid var(--brand); }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.foot-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .foot-brand { grid-column: auto; } }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: #cdb9be; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-grid > div:not(.foot-brand) a { display: block; padding: 4px 0; }
.foot-contact { line-height: 1.8; }
.foot-base { display: flex; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid #3a1d25; margin-top: 36px; padding-top: 18px; padding-bottom: 24px; font-size: 13px; }

/* "Review us on Google" pill (22 Nov 2026): G on the left, the words over five gold stars, white on any background.
   .section-head a is named too, to beat that rule's padding and nowrap. In a heading it drops under the h2 when there is no room. */
a.g-review, .section-head a.g-review { display: inline-flex; align-items: center; gap: 11px; flex: none; max-width: 100%; min-height: 52px; padding: 7px 20px 7px 14px;
  border: 1px solid var(--line); border-radius: 99px; background: #fff; text-decoration: none; white-space: normal;
  box-shadow: 0 1px 2px rgba(40, 10, 20, .08), 0 4px 10px rgba(40, 10, 20, .08); transition: transform .15s, box-shadow .15s; }
.g-review-g { width: 24px; height: 24px; flex: none; }
.g-review-text { display: grid; justify-items: start; gap: 3px; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.3; }
.g-review-stars { width: 78px; height: 15px; }
a.g-review:hover { transform: translateY(-1px); box-shadow: 0 2px 4px rgba(40, 10, 20, .1), 0 8px 18px rgba(40, 10, 20, .14); }
.site-footer a.g-review { border-color: transparent; }
.site-footer a.g-review:focus-visible { outline-color: #fff; }
.section-head.review-head { flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.review-us { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }

/* floating WhatsApp */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 44; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: var(--wa-ink); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); transition: bottom .25s, transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float .ic { width: 30px; height: 30px; }
.page-product .wa-float { bottom: 96px; }
.page-product .to-top { bottom: 96px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* --- logo editor on the product photo / drawing --- */
.pdp-main .stage, .pdp-main .stage > * { width: 100%; height: 100%; }
.pdp-main .stage img { object-fit: cover; }
.print-area { position: absolute; border: 1.5px dashed rgba(0, 0, 0, .35); border-radius: 6px; pointer-events: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); }
.logo-box { position: absolute; cursor: move; touch-action: none; outline: 1.5px solid var(--brand); outline-offset: 2px; border-radius: 2px; }
.logo-box:focus-visible { outline-width: 3px; }
.logo-box img { width: 100%; height: 100%; display: block; pointer-events: none; user-select: none; }
.logo-box .h { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.logo-box .h-size { right: -13px; bottom: -13px; cursor: nwse-resize; }
.logo-box .h-turn { left: calc(50% - 11px); top: -34px; cursor: grab; }
.logo-box .h-turn::after { content: ""; position: absolute; left: 8px; top: 18px; width: 2px; height: 12px; background: var(--brand); }
.logo-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; justify-content: center; }
.logo-tools button { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 12px; font-weight: 600; font-size: 14px; cursor: pointer; }
.logo-tools button:hover { border-color: var(--ink); }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs .thumb { flex: 0 0 calc((100% - 40px) / 5); max-width: 96px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); padding: 0; cursor: pointer; background: var(--soft2); transition: box-shadow .2s, border-color .2s; }
.thumbs .thumb.on { border-color: var(--brand); box-shadow: 0 0 0 1.5px var(--brand); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.tick-sm { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-top: 10px; color: var(--muted); }
.tick-sm input { accent-color: var(--brand); width: 16px; height: 16px; }
.qty-note { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.crop-modal { position: fixed; inset: 0; z-index: 100; background: rgba(10, 12, 18, .6); display: grid; place-items: center; padding: 16px; }
.crop-card { background: #fff; border-radius: 18px; padding: 18px; width: min(560px, 100%); }
.crop-area { height: min(60vh, 440px); background: var(--soft2); }
.crop-area img { max-width: 100%; display: block; }
.crop-btns { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }

/* --- toast, notes, forms --- */
#toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 90; max-width: calc(100% - 32px); }
#toast.show { opacity: 1; transform: translateX(-50%); pointer-events: auto; }
#toast a { color: #ffc2c8; font-weight: 700; margin-left: 6px; }
.note-box { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 16px 0; }
.note-box.ok { background: #e9f8ef; border-color: #b9e6c8; }
.note-box.warn { background: #fff7e6; border-color: #f5d9a0; }
.card-form { display: grid; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin: 20px 0; }
.card-form h2 { margin: 0; font-size: 20px; }
.card-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.card-form label small { font-weight: 400; color: var(--muted); }
.card-form input:not([type=checkbox]):not([type=radio]), .card-form textarea, .card-form select { width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-weight: 400; }
.card-form input:focus, .card-form textarea:focus, .card-form select:focus { border-color: var(--brand); outline: none; }
.form-row { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } .form-row.three { grid-template-columns: 1fr 1fr 1fr; } }
.form-error { color: #b42318; font-weight: 600; margin: 0; }
.form-ok { color: var(--ok); font-weight: 700; margin: 0; }
.small { font-size: 13px; }
.dev-code { background: #fff7e6; border-radius: 10px; padding: 8px 12px; font-size: 14px; }
.login-box { max-width: 440px; margin: 20px auto; }
.login-box h1 { font-size: 28px; margin: 0; }
.login-box [data-step] { display: grid; gap: 14px; }
.login-box [data-step] p { margin: 0; }
.login-box [data-change] { padding: 8px 0; }
.login-box .btn:disabled { opacity: .55; cursor: default; transform: none; }

/* --- cart + checkout --- */
.cart-app, .checkout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .cart-app:has(.summary), .checkout { grid-template-columns: 1fr 360px; } }
.cart-lines { display: grid; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 8px 12px; align-items: center; border: 1px solid var(--line); border-radius: 16px; padding: 12px 36px 12px 12px; position: relative; }
.cart-line.bad { border-color: #f1b5ae; background: #fff6f5; }
.cart-line .thumb { grid-row: span 2; }
.cart-line .thumb img, .cart-line .thumb .ph { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: var(--soft2); display: block; }
.cart-line .info { display: grid; gap: 2px; min-width: 0; grid-column: 2 / 4; }
.cart-line .info small { color: var(--muted); }
.cart-line .info .err { color: #b42318; font-weight: 600; }
.cart-line .qty.small { grid-column: 2; justify-self: start; }
.qty.small button { width: 36px; height: 36px; font-size: 18px; }
.qty.small input { width: 64px; }
.cart-line .line-total { grid-column: 3; justify-self: end; }
.cart-line .x { position: absolute; top: 8px; right: 8px; border: 0; background: none; font-size: 16px; cursor: pointer; color: var(--muted); }
.summary { border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 10px; background: #fff; }
@media (min-width: 900px) { .summary { position: sticky; top: 90px; } }
.summary h2 { margin: 0 0 4px; font-size: 18px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.sum-row.total { font-size: 18px; border-top: 1px solid var(--line); padding-top: 10px; }
.sum-row.due b { color: #b45309; }
.summary .btn.disabled { opacity: .5; pointer-events: none; }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; min-width: 0; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; text-transform: uppercase; }
.summary .ok { color: var(--ok); margin: 0; }
.summary .err { color: #b42318; margin: 0; }
.mini-line { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; font-size: 14px; }
.mini-line img, .mini-line .ph { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: var(--soft2); display: block; }
.mini-line small { display: block; color: var(--muted); }
.pay-modes { display: grid; gap: 10px; }
.card-form .pay-mode { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer; }
.pay-mode:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 6%, #fff); }
.pay-mode input { accent-color: var(--brand); margin-top: 3px; }
.pay-mode span { display: grid; gap: 2px; }
.pay-mode small { color: var(--muted); font-weight: 400; }
.gst-box summary { cursor: pointer; font-weight: 600; color: var(--brand); }
.gst-box .form-row { margin-top: 12px; }
.empty-cart { text-align: center; padding: 40px 0; }

/* --- account, orders --- */
.account-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.orders-list { display: grid; gap: 8px; }
.order-row { display: grid; grid-template-columns: 1fr 1fr auto auto; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; }
@media (max-width: 640px) { .order-row { grid-template-columns: 1fr auto; } }
.status { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--soft2); }
.status.big { font-size: 14px; padding: 6px 14px; }
.s-placed, .s-design_sent, .s-approved, .s-printing { background: #fff4d6; color: #7a5200; }
.s-shipped { background: #e3efff; color: #1d4ed8; }
.s-delivered { background: #dcfce7; color: #14532d; }
.s-cancelled, .s-pending { background: #fde8e6; color: #9b1c12; }
.timeline { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-wrap: wrap; gap: 6px; counter-reset: t; }
.timeline li { counter-increment: t; font-size: 13px; padding: 6px 12px 6px 6px; border-radius: 99px; background: var(--soft); color: var(--muted); display: flex; gap: 6px; align-items: center; }
.timeline li::before { content: counter(t); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-weight: 700; font-size: 11px; }
.timeline li.done { background: color-mix(in srgb, var(--brand) 14%, #fff); color: var(--ink); }
.timeline li.done::before { content: "✓"; background: var(--brand); color: #fff; }
.order-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .order-grid { grid-template-columns: 1fr 340px; } }
.lines .line { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lines .line small { display: block; color: var(--muted); }
.events { padding-left: 18px; }
.events li { margin-bottom: 8px; }
.summary .btn { width: 100%; }

/* --- reviews, videos, blog, wall --- */
.reviews { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.review { margin: 0; border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 8px; background: #fff; }
.review blockquote { margin: 0; font-size: 15px; }
.review img { width: 100%; border-radius: 10px; max-height: 220px; object-fit: cover; }
.review figcaption { font-size: 13px; color: var(--muted); }
.stars { color: #f5a524; letter-spacing: 2px; }
.stars i { color: #d9dce3; font-style: normal; }
.review-form-box { margin-top: 18px; }
.review-form-box summary { display: inline-flex; list-style: none; cursor: pointer; }
.review-form-box summary::-webkit-details-marker { display: none; }
.videos { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.video { display: grid; gap: 8px; align-content: start; min-width: 0; }
.video .btn { white-space: normal; text-align: center; }
.chats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.chats img { width: 100%; height: auto; border-radius: 16px; border: 1px solid #e6e8ef; scroll-snap-align: start; }
.chats + .small { margin-top: 10px; }
.video iframe, .video .yt { width: 100%; aspect-ratio: 9 / 16; border: 0; border-radius: 16px; background: #000; }
.video .yt { position: relative; padding: 0; cursor: pointer; overflow: hidden; }
.video .yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.video .play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(0, 0, 0, .6); }
.video .play::after { content: ""; position: absolute; left: 26px; top: 20px; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.posts { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.post-card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; background: #fff; }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card > div { padding: 14px 16px; }
.post-card h3 { font-size: 17px; margin-bottom: 6px; }
.post-card p { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.post-cover { width: 100%; border-radius: 16px; margin: 12px 0 20px; }
.wall { columns: 2 180px; column-gap: 14px; margin-top: 20px; }
.wall figure { break-inside: avoid; margin: 0 0 14px; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.wall img { width: 100%; display: block; }
.wall figcaption { padding: 10px 12px; font-size: 14px; }
.is-in { color: var(--brand); }

/* ===== PrintMine-style sections in Crazemart's look (27 Oct) ===== */
.main-nav .nav-try { color: var(--brand); }
.hero-tile small { display: block; font-weight: 600; color: var(--muted); font-size: 12px; margin-top: 2px; }
.hero-stats { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.hero-stats li { display: grid; }
.hero-stats b { font-size: 22px; letter-spacing: -.02em; }
.hero-stats span { font-size: 13px; color: var(--muted); }
.play-link { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; font-weight: 700; color: var(--ink); cursor: pointer; padding: 0; }
.play-link .ic { width: 38px; height: 38px; padding: 10px; border-radius: 50%; background: var(--brand); color: #fff; fill: #fff; }

.preview-promo { display: grid; gap: 24px; align-items: center; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 10%, #fff), #fff); border: 1px solid color-mix(in srgb, var(--brand) 20%, #fff); border-radius: 24px; padding: 28px 22px; overflow: hidden; }
@media (min-width: 900px) { .preview-promo { grid-template-columns: 1.1fr .9fr; padding: 40px 44px; } }
.preview-promo h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; }
.mini-steps { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 10px; counter-reset: m; }
.mini-steps li { counter-increment: m; display: flex; gap: 10px; align-items: center; color: var(--muted); }
.mini-steps li > span { min-width: 0; }
.mini-steps li::before { content: counter(m); width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; font-size: 13px; }
.mini-steps b { color: var(--ink); }
.promo-art { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.promo-art span { background: #fff; border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; aspect-ratio: 1; }
.promo-art span:nth-child(2) { transform: translateY(-14px); }
.promo-art svg, .promo-art img { width: 100%; height: 100%; object-fit: cover; }

/* best sellers slide sideways on phones */
@media (max-width: 767px) {
  .grid.rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 4px 16px 10px; scrollbar-width: none; }
  .grid.rail::-webkit-scrollbar { display: none; }
  .grid.rail > .card { flex: 0 0 62%; scroll-snap-align: start; }
}
.card-rating { font-size: 13px; font-weight: 700; }
.stars-sm { color: #f5a524; letter-spacing: 1px; }

.why-grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-item { border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: #fff; display: grid; gap: 6px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.why-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.why-n { font-weight: 800; color: var(--brand); font-size: 14px; letter-spacing: .08em; }
.why-item b { font-size: 17px; }
.why-item p { margin: 0; color: var(--muted); font-size: 15px; }

.founder { display: grid; gap: 22px; align-items: center; background: var(--soft); border-radius: 24px; padding: 24px; }
@media (min-width: 800px) { .founder { grid-template-columns: 240px 1fr; padding: 36px; } }
.founder img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; }
.founder blockquote { margin: 0 0 12px; font-size: 20px; font-weight: 600; line-height: 1.4; }
.team { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.team figure { margin: 0; text-align: center; }
.team img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; }
.team figcaption { display: grid; margin-top: 8px; } .team figcaption span { color: var(--muted); font-size: 14px; }
.media-logos { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.media-logos a { padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-weight: 700; text-decoration: none; }
.media-logos img { height: 34px; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.media-logos a:hover img { filter: none; opacity: 1; }
.media-list { display: grid; gap: 12px; } .media-item { display: flex; gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: 16px; padding: 14px; text-decoration: none; } .media-item img { width: 120px; }

/* product page extras */
.pdp-proof { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; margin: -4px 0 8px; font-size: 14px; }
.rating-link { text-decoration: none; font-weight: 700; }
.sold { color: var(--ok); font-weight: 700; }
.slab-hint { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: var(--brand-dark); background: color-mix(in srgb, var(--brand) 9%, #fff); padding: 8px 12px; border-radius: 10px; }
.size-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 8px; }
.size-grid label { display: grid; gap: 4px; text-align: center; font-weight: 700; font-size: 14px; }
.size-grid input { width: 100%; padding: 9px 6px; text-align: center; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 700; }
.size-grid input:focus { border-color: var(--brand); outline: none; }
.size-sum { margin: 8px 0 0; font-size: 13px; font-weight: 700; color: var(--ok); }
.size-sum.bad { color: #b45309; }
.size-chart { width: 100%; border-collapse: collapse; font-size: 15px; }
.size-chart th, .size-chart td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.size-chart th { background: var(--soft); }
.share-btn { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--muted); font-weight: 600; cursor: pointer; padding: 4px 0; }
.share-btn:hover { color: var(--ink); }
.qty-fixed { grid-column: 2; font-weight: 700; font-size: 14px; } .qty-fixed a { font-weight: 600; margin-left: 6px; }
.cart-line .nudge { color: var(--brand-dark); font-weight: 700; }

/* dialogs: welcome offer, factory video, size chart */
dialog { border: 0; border-radius: 22px; padding: 26px; max-width: min(440px, calc(100% - 32px)); box-shadow: 0 30px 80px rgba(0, 0, 0, .25); }
dialog::backdrop { background: rgba(10, 12, 18, .5); }
dialog[open] { animation: pop-in .28s cubic-bezier(.2, .9, .3, 1.2) both; }
dialog[open]::backdrop { animation: fade .25s ease both; }
dialog .x { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--muted); }
.welcome { text-align: center; }
.welcome h3 { font-size: 26px; margin: 4px 0 8px; }
.welcome .btn { width: 100%; margin: 14px 0 6px; }
.video-dialog { padding: 0; background: #000; max-width: min(420px, calc(100% - 32px)); }
.video-dialog .x { color: #fff; z-index: 1; }
.video-dialog iframe, .video-dialog .yt { width: 100%; aspect-ratio: 9 / 16; border: 0; display: block; }
.chart-dialog { max-width: min(560px, calc(100% - 32px)); }

/* logo preview page */
.preview-head { max-width: 760px; }
.preview-head h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.preview-upload { max-width: 560px; }
.pv-grid { margin-top: 28px; }
.pv-media { position: relative; }
.pv-logo { position: absolute; height: auto !important; object-fit: contain !important; animation: pop-in .4s cubic-bezier(.2, .9, .3, 1.2) both; pointer-events: none; }
.html-sitemap { display: grid; gap: 24px; } @media (min-width: 800px) { .html-sitemap { grid-template-columns: repeat(3, 1fr); } }
.html-sitemap ul { padding-left: 18px; } .html-sitemap li { margin-bottom: 6px; }

/* phone toolbar + back to top */
.toolbar { display: none; }
@media (max-width: 899px) {
  .toolbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .toolbar a { position: relative; display: grid; justify-items: center; gap: 2px; font-size: 11px; font-weight: 500; color: var(--muted); text-decoration: none; padding: 4px 0; }
  .toolbar a[aria-current] { color: var(--brand); font-weight: 700; }
  .toolbar a[aria-current] .ic { fill: color-mix(in srgb, var(--brand) 18%, transparent); }
  .toolbar .ic { width: 23px; height: 23px; }
  .toolbar .cart-count { top: 0; right: calc(50% - 22px); }
  body { padding-bottom: 64px; }
  .wa-float { bottom: 80px; width: 50px; height: 50px; }
  #toast { bottom: 140px; }
  /* a product page has the price + Add to cart bar instead */
  .page-product .toolbar { display: none; }
  body.page-product { padding-bottom: 80px; }
  .page-product .wa-float, .page-product .to-top { bottom: 92px; }
}
.to-top { position: fixed; left: 16px; bottom: 16px; z-index: 44; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; animation: fade-up .3s ease both; }
@media (max-width: 899px) { .to-top { bottom: 80px; } }

/* ===== light motion ===== */
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop-in { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.hero-slide:first-child .hero-text > * { animation: fade-up .6s ease both; }
.hero-slide:first-child .hero-text > :nth-child(2) { animation-delay: .06s; } .hero-slide:first-child .hero-text > :nth-child(3) { animation-delay: .12s; }
.hero-slide:first-child .hero-text > :nth-child(4) { animation-delay: .18s; }
.hero-slide:first-child .hero-pic { animation: pop-in .7s ease .1s both; }
.stat-strip, .cat-c { animation: fade-up .6s ease .15s both; }
.promo-art span { animation: float 5s ease-in-out infinite; } .promo-art span:nth-child(2) { animation-delay: -1.6s; } .promo-art span:nth-child(3) { animation-delay: -3.2s; }
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal] .card, .js [data-reveal] .why-item, .js [data-reveal] .cat, .js [data-reveal] .review, .js [data-reveal] .steps li { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease, box-shadow .2s, border-color .2s; }
.js [data-reveal].in .card, .js [data-reveal].in .why-item, .js [data-reveal].in .cat, .js [data-reveal].in .review, .js [data-reveal].in .steps li { opacity: 1; transform: none; }
.js [data-reveal].in :is(.card, .why-item, .cat, .review, .steps li):nth-child(2) { transition-delay: .06s; }
.js [data-reveal].in :is(.card, .why-item, .cat, .review, .steps li):nth-child(3) { transition-delay: .12s; }
.js [data-reveal].in :is(.card, .why-item, .cat, .review, .steps li):nth-child(4) { transition-delay: .18s; }
.js [data-reveal].in :is(.card, .why-item, .cat, .review, .steps li):nth-child(5) { transition-delay: .24s; }
.js [data-reveal].in :is(.card, .why-item, .cat, .review, .steps li):nth-child(n+6) { transition-delay: .3s; }
.card-media > svg, .card-media > img { transition: transform .5s ease; }
.card:hover .card-media > svg, .card:hover .card-media > img:not(.pv-logo) { transform: scale(1.045); }
.btn { transition: background .2s, transform .12s, box-shadow .2s, border-color .2s; }
.btn:hover { box-shadow: 0 6px 18px rgba(16, 24, 40, .12); }
.btn:active, .chip:active, .swatch:active { transform: scale(.97); }
.chip, .swatch { transition: background .2s, border-color .2s, box-shadow .2s, transform .12s, color .2s; }
.cart-count.bump { animation: bump .45s ease; }
.logo-box:not([hidden]) { animation: pop-in .3s ease both; }
.note-box, .form-ok, .cart-line, .order-row { animation: fade-up .4s ease both; }
.faq-list details[open] p { animation: fade-up .3s ease both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js [data-reveal] * { opacity: 1 !important; transform: none !important; }
}

/* ===== buttons, page transitions, logo intro (28 Oct) ===== */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn:not(:disabled):hover { transform: translateY(-1px); }
.btn:not(:disabled):active { transform: translateY(0) scale(.97); }
.btn-primary::before, .btn-wa::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .3) 50%, transparent 70%); transform: translateX(-120%); transition: transform .65s ease; }
.btn-primary:hover::before, .btn-wa:hover::before { transform: translateX(120%); }
.btn .ic-arrow, .section-head a .ic-arrow { transition: transform .2s ease; }
.btn:hover .ic-arrow, .section-head a:hover .ic-arrow { transform: translateX(3px); }
.ripple { position: absolute; border-radius: 50%; background: currentColor; opacity: .22; transform: scale(0); pointer-events: none; animation: ripple .55s ease-out forwards; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
.icon-btn { transition: background .2s, transform .12s; }
.icon-btn:active { transform: scale(.9); }
.main-nav.open { animation: nav-drop .22s ease both; }
@keyframes nav-drop { from { opacity: 0; transform: translateY(-8px); } }

/* soft cross-fade between pages (Chrome, Edge, Safari 18+); the header stays put */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out .16s ease both; }
::view-transition-new(root) { animation: vt-in .3s ease both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

/* logo intro: once per browser session (inline script in <head> adds .no-intro after that); never blocks clicks */
.intro { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: #fff; pointer-events: none; animation: intro-out .4s ease 1.05s forwards; }
.intro img { width: min(78vw, 420px); height: auto; clip-path: inset(0 100% 0 0); animation: intro-wipe .75s cubic-bezier(.6, 0, .2, 1) .05s forwards; }
@keyframes intro-wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
.no-intro .intro { display: none; }
@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  @view-transition { navigation: none; }
}
.section-head a { padding: 8px 0; }

/* upload box on the "Try your logo" page */
.upload-box { margin-top: 20px; border: 2px dashed var(--pink-line); background: #fff; border-radius: 16px; padding: 14px 16px; transition: border-color .2s, background .2s; }
.upload-drop { display: flex; align-items: center; gap: 14px; cursor: pointer; position: relative; }
.upload-drop .ic { color: var(--brand); }
.upload-drop span { display: flex; flex-direction: column; min-width: 0; }
.upload-drop b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-drop small { color: var(--muted); font-size: 13px; }
.upload-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pv-card { text-decoration: none; }
.pv-card .card-cta { margin-top: 10px; }

/* ===== reels strip (Instagram loads only when a tile is tapped) ===== */
.reels { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 180px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.reel { display: grid; gap: 6px; align-content: start; scroll-snap-align: start; min-width: 0; }
.reel-tile { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; padding: 0; border-radius: 16px; overflow: hidden; cursor: pointer;
  background: radial-gradient(120% 80% at 50% 30%, #2a2d36 0%, #121318 75%); box-shadow: 0 6px 18px rgba(16, 24, 40, .14); transition: transform .2s ease, box-shadow .2s ease; }
.reel-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(16, 24, 40, .2); }
.reel-tile .reel-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.reel-tile .reel-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.reel-tile:hover .reel-cover { transform: scale(1.04); }
.reel-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, .3) 100%); }
.reel-tile .play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 6px rgba(255, 255, 255, .35), 0 6px 16px rgba(0, 0, 0, .35); transition: transform .2s ease; }
.reel-tile .play::after { content: ""; position: absolute; left: 21px; top: 16px; border-left: 17px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.reel-tile:hover .play { transform: scale(1.06); }
.reel-tag { position: absolute; z-index: 1; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 99px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 12px; font-weight: 700; backdrop-filter: blur(6px); }
.reel-tag .ic { width: 12px; height: 12px; }
.reel-tile iframe, .reel-tile .yt { width: 100%; height: 100%; border: 0; }
.reel b { font-size: 14px; }
.reel-shop { display: inline-flex; align-items: center; gap: 4px; padding: 6px 0; font-size: 13px; font-weight: 700; color: var(--brand); text-decoration: none; }
.reel-shop .ic { width: 14px; height: 14px; }
.reel-dialog { width: min(420px, 94vw); height: min(760px, 88vh); padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: #fff; }
.reel-dialog iframe { width: 100%; height: 100%; border: 0; }
.reel-dialog .x { position: absolute; top: 8px; right: 8px; z-index: 1; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .65); color: #fff; font-size: 16px; cursor: pointer; }

/* ===== QC fixes (29 Oct) ===== */
body { min-height: 100vh; display: flex; flex-direction: column; }
#main { flex: 1 0 auto; }
.cat-art img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.review-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; }
.review-cta > p { margin: 0; }
.review-cta details[open] { flex-basis: 100%; }
@media (max-width: 699px) {
  .why-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .why-item { padding: 14px; }
  .why-item p { font-size: 13px; }
}
@media (max-width: 899px) {
  .wa-float { right: 12px; bottom: 78px; width: 46px; height: 46px; }
  .wa-float .ic { width: 24px; height: 24px; }
}

/* 9 Nov 2026: sub-category chips under the main category chips */
.sub-chips { margin: 2px 0 4px; }
.sub-chips .chip { font-size: 13px; padding-block: 6px; background: var(--accent); }
.sub-chips .chip.on { background: var(--brand); color: var(--on-brand); }
