/* =========================================================
   ReyVika Collections — theme (maroon · crimson · gold · cream)
   ========================================================= */
:root {
  --maroon: #7a0e2e;
  --maroon-dark: #4a061a;
  --rose: #d6175f;
  --gold: #c9a14a;
  --gold-light: #ecd497;
  --cream: #fdf7ee;
  --blush: #fbeee8;
  --ink: #2b1a1f;
  --muted: #76636a;
  --line: #eedfd2;
  --white: #fff;
  --wa: #1fa855;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(74, 6, 26, .08);
  --shadow-lg: 0 14px 40px rgba(74, 6, 26, .16);
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-script: "Dancing Script", "Brush Script MT", cursive;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 15px/1.6 var(--font-body);
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--maroon-dark); }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 20px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.script { font-family: var(--font-script); font-weight: 600; color: var(--rose); }
.hide-sm { display: inline-flex; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--maroon); color: var(--white);
  font-weight: 600; font-size: .95rem; line-height: 1.2; white-space: nowrap;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--maroon-dark); }
.btn-wa { background: var(--wa); }
.btn-wa:hover { background: #18914a; }
.btn-ghost { background: transparent; color: var(--maroon); border-color: var(--maroon); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-sm { padding: .6em 1em; font-size: .85rem; }
.btn-lg { padding: 1em 1.8em; font-size: 1.05rem; }

/* ---------- Top bar & header ---------- */
.topbar {
  display: flex; justify-content: center; gap: 28px; flex-wrap: wrap;
  padding: 7px 16px; background: var(--maroon-dark); color: var(--gold-light);
  font-size: .8rem; letter-spacing: .02em;
}
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar b { color: var(--white); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 247, 238, .94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 52px; height: 52px; border-radius: 50%; }
.brand span { display: flex; flex-direction: column; line-height: 1; }
.brand b { font-family: var(--font-head); font-size: 1.45rem; color: var(--maroon); }
.brand small { font-size: .62rem; letter-spacing: .35em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav > a:not(.btn) { font-weight: 500; color: var(--ink); position: relative; padding: 6px 0; }
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transition: transform .2s;
}
.nav > a:not(.btn):hover::after, .nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav > a[aria-current="page"] { color: var(--maroon); }
.menu-btn { display: none; background: none; border: 0; color: var(--maroon); padding: 8px; }
.menu-btn .icon { width: 28px; height: 28px; }

/* ---------- Sections ---------- */
section { padding-block: 64px; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 36px; }
.section-head .script { font-size: 1.5rem; display: block; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.section-head p { color: var(--muted); }
.divider { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--gold); margin-bottom: 10px; }
.divider::before, .divider::after { content: ""; width: 48px; height: 1px; background: var(--gold); }
.center { text-align: center; margin-top: 32px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(circle at 80% 30%, rgba(214, 23, 95, .45), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(201, 161, 74, .25), transparent 45%),
    linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  padding-block: 72px 80px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background-image: radial-gradient(var(--gold-light) 1px, transparent 1px);
  background-size: 22px 22px;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; }
.hero .script { color: var(--gold-light); font-size: clamp(1.5rem, 3vw, 2rem); display: block; margin-bottom: 4px; }
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 5.2vw, 3.8rem); }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero p.lead { font-size: 1.08rem; color: rgba(255,255,255,.85); max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.price-tag {
  display: inline-flex; align-items: baseline; gap: 10px; margin-top: 8px;
  padding: 10px 20px; border: 1.5px dashed var(--gold); border-radius: 12px;
  background: rgba(0,0,0,.15);
}
.price-tag span { font-size: .9rem; color: var(--gold-light); }
.price-tag b { font-family: var(--font-head); font-size: 2.1rem; color: var(--white); }
.hero-logo { position: relative; justify-self: center; width: min(400px, 80vw); }
.hero-logo::before {
  content: ""; position: absolute; inset: -8%; border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 212, 151, .45), transparent 65%);
}
.hero-logo img { position: relative; width: 100%; height: auto; border-radius: 50%; box-shadow: 0 20px 60px rgba(0,0,0,.35); }

/* ---------- Trust strip ---------- */
.trust { padding-block: 0; margin-top: -36px; position: relative; z-index: 2; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.trust-item { display: flex; align-items: center; gap: 12px; padding: 20px 22px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item .icon { width: 30px; height: 30px; color: var(--rose); }
.trust-item b { display: block; font-size: .95rem; color: var(--maroon-dark); }
.trust-item small { color: var(--muted); font-size: .8rem; }

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cat {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: 26px 12px; background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold-light); }
.cat-icon {
  --icon-fill: var(--blush);
  display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%;
  background: var(--blush); color: var(--maroon);
  border: 2px solid var(--gold); box-shadow: inset 0 0 0 4px var(--white);
}
.cat-icon .icon { width: 34px; height: 34px; }
.cat b { font-size: 1rem; color: var(--maroon-dark); }
.cat small { font-size: .74rem; color: var(--muted); line-height: 1.4; }

/* ---------- Coming soon ---------- */
.soon {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--maroon-dark);
  font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}
.cat { position: relative; }
.cat.is-soon .soon { position: absolute; top: 10px; right: 10px; }
.cat.is-soon .cat-icon { opacity: .55; }
.cat.is-soon b { color: var(--muted); }
.site-footer a.is-soon { flex-wrap: wrap; }
.site-footer a.is-soon .soon { padding: 1px 8px; font-size: .6rem; }
.chip-soon { font-size: .68rem; font-weight: 600; color: var(--gold); margin-left: 2px; }
.chip.active .chip-soon { color: var(--gold-light); }
.soon-line {
  display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px;
  background: rgba(0,0,0,.18); color: rgba(255,255,255,.85); font-size: .88rem;
}
.soon-line b { color: var(--gold-light); font-weight: 600; }
.coming-soon {
  grid-column: 1 / -1; text-align: center; max-width: 560px; margin: 10px auto 30px;
  padding: 40px 28px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.coming-soon .cat-icon { margin: 0 auto 14px; }
.coming-soon .script { display: block; font-size: 1.35rem; }
.coming-soon h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin: .2em 0 .5em; }
.coming-soon p { color: var(--muted); }
.cs-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.card {
  display: flex; flex-direction: column; background: var(--white);
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--blush); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.05); }
.card.is-out .card-media { opacity: .6; }
.badge {
  position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px;
  background: var(--rose); color: var(--white); font-size: .75rem; font-weight: 600;
}
.badge-out { left: auto; right: 12px; background: var(--ink); }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.card-body h3 { font-family: var(--font-body); font-size: .98rem; font-weight: 600; color: var(--ink); margin: 0; }
.card-body h3 a:hover { color: var(--maroon); }
.card-body .btn { margin-top: auto; }
.card-body .price { margin-bottom: 8px; }
.card-cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); font-weight: 600; }

.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.price strong { font-size: 1.15rem; color: var(--maroon); }
.price s { color: var(--muted); font-size: .88rem; }
.price em { font-style: normal; color: var(--wa); font-weight: 600; font-size: .85rem; }

/* Placeholder shown when a product has no photos yet */
.ph {
  --icon-fill: transparent;
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(145deg, #fdf3ea, #f6dfe4); color: var(--maroon);
}
.ph-icon { width: 34%; height: auto; stroke-width: 1.2; opacity: .85; }
.ph span { font-family: var(--font-script); font-size: 1.4rem; color: var(--rose); }
.ph-wallets { background: linear-gradient(145deg, #fdf3ea, #f3e3c4); }
.ph-clothing { background: linear-gradient(145deg, #fdf3ea, #e3efe6); }
.ph-cosmetics { background: linear-gradient(145deg, #fdf3ea, #f9d9e2); }
.ph-toys { background: linear-gradient(145deg, #fdf3ea, #e6e4f4); }
.ph-gifts { background: linear-gradient(145deg, #fdf3ea, #f6e1cf); }

/* ---------- Wholesale band ---------- */
.band {
  background: linear-gradient(120deg, var(--maroon-dark), var(--maroon) 60%, #a3124a);
  color: var(--white); border-radius: 24px; padding: 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  border-radius: 50%; border: 2px solid rgba(236, 212, 151, .35);
}
.band h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .3em; }
.band p { color: rgba(255,255,255,.85); margin: 0; max-width: 560px; }
.band .script { color: var(--gold-light); font-size: 1.4rem; }

/* ---------- Visit / offer ---------- */
.visit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.flyer { border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 4px solid var(--white); }
.visit-info .addr { display: flex; gap: 12px; font-size: 1.05rem; margin: 18px 0 24px; }
.visit-info .addr .icon { width: 24px; height: 24px; color: var(--rose); margin-top: 3px; }
.visit-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.check-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: center; }
.check-list .icon { color: var(--wa); }

/* ---------- Page header (shop/contact) ---------- */
.page-head {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--white); padding-block: 40px; text-align: center;
}
.page-head h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; }
.page-head .script { color: var(--gold-light); font-size: 1.4rem; }

/* ---------- Shop toolbar ---------- */
.toolbar { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.search {
  flex: 1 1 260px; display: flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 0 16px;
}
.search .icon { color: var(--muted); }
.search input { border: 0; outline: 0; background: none; padding: 12px 0; width: 100%; font: inherit; color: var(--ink); }
.search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,161,74,.2); }
select {
  font: inherit; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); color: var(--ink);
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.chip {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); color: var(--ink); font-size: .9rem; font-weight: 500;
}
.chip:hover { border-color: var(--gold); }
.chip.active { background: var(--maroon); color: var(--white); border-color: var(--maroon); }
.chip-sm { padding: 6px 13px; font-size: .82rem; }
.result-count { color: var(--muted); font-size: .88rem; margin: 6px 0 18px; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); grid-column: 1 / -1; }
.empty .icon { width: 42px; height: 42px; margin: 0 auto 10px; color: var(--gold); }
.error { background: #fde8ec; color: var(--maroon); padding: 14px 20px; border-radius: 12px; margin-top: 20px; }
.error a { text-decoration: underline; }

/* ---------- Product detail ---------- */
.crumbs { font-size: .85rem; color: var(--muted); margin: 24px 0; }
.crumbs a:hover { color: var(--maroon); }
.crumbs span { color: var(--ink); }
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.gallery-main { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--blush); border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb { width: 72px; height: 72px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: none; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active { border-color: var(--gold); }
.pdp-info h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-top: 6px; }
.pdp-info .price strong { font-size: 1.8rem; }
.pdp-info .price s { font-size: 1.05rem; }
.save { color: var(--wa); font-weight: 600; font-size: .9rem; margin: 4px 0 16px; }
.colors { margin: 18px 0; }
.color-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.stock { display: flex; align-items: center; gap: 6px; font-weight: 500; font-size: .9rem; }
.stock.in { color: var(--wa); }
.stock.out { color: var(--rose); }
.pdp-actions { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 26px; max-width: 420px; }
.desc { border-top: 1px solid var(--line); padding-top: 18px; }
.desc h3 { font-size: 1.1rem; }
.desc p { color: var(--muted); }
.perks { list-style: none; padding: 18px; margin: 18px 0 0; background: var(--white); border-radius: 12px; border: 1px solid var(--line); display: grid; gap: 10px; font-size: .9rem; }
.perks li { display: flex; gap: 10px; align-items: center; }
.perks .icon { color: var(--gold); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 26px 14px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.contact-card small { color: var(--muted); }
.map-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: stretch; }
.map-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); padding: 28px; }
.map-frame { border: 0; width: 100%; height: 100%; min-height: 340px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
.site-footer { background: var(--maroon-dark); color: rgba(255,255,255,.78); margin-top: 40px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-block: 52px 36px; }
.site-footer img { border-radius: 50%; margin-bottom: 8px; }
.site-footer .script { color: var(--gold-light); font-size: 1.4rem; margin-bottom: 6px; }
.site-footer h4 { color: var(--gold-light); font-family: var(--font-head); font-size: 1.1rem; margin: 0 0 14px; }
.site-footer a { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.site-footer a:hover { color: var(--white); }
.site-footer .addr { display: flex; gap: 10px; }
.site-footer .addr .icon { margin-top: 3px; color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); text-align: center; padding: 16px 20px; font-size: .8rem; color: rgba(255,255,255,.55); }

/* ---------- Floating WhatsApp ---------- */
.wa-fab {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: var(--white); box-shadow: 0 8px 24px rgba(31,168,85,.45);
  transition: transform .2s;
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab .icon { width: 30px; height: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 8px 20px 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav > a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 16px; }
  .hero-inner, .visit-grid, .pdp, .map-grid { grid-template-columns: 1fr; }
  .hero { padding-block: 48px 72px; text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-logo { order: -1; width: min(240px, 60vw); }
  .pdp { gap: 24px; }
  .pdp-actions { max-width: none; }
}
@media (max-width: 560px) {
  body { font-size: 14.5px; }
  .wrap { padding-inline: 16px; }
  .hide-sm, .topbar .hide-sm { display: none; }
  section { padding-block: 44px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat { padding: 20px 8px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 14px; flex-direction: column; text-align: center; gap: 6px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 10px 12px 12px; }
  .card-body h3 { font-size: .88rem; }
  .card-body .btn { font-size: .78rem; padding: .6em .7em; }
  .price strong { font-size: 1rem; }
  .band { padding: 30px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .brand b { font-size: 1.25rem; }
  .brand img { width: 44px; height: 44px; }
}
