/* Bee U 2 the Fullest — storefront styles */
:root {
  --cream: #fbf6ec;
  --paper: #fffdf8;
  --ink: #2b2420;
  --muted: #6f655c;
  --honey: #e9a514;
  --honey-dark: #b57e06;
  --line: #e9dfcf;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(60, 40, 10, 0.08);
  --display: "Fraunces", Georgia, serif;
  --body: "Nunito", system-ui, -apple-system, sans-serif;

  /* page accent (overridden per theme) */
  --accent: var(--honey);
  --accent-dark: var(--honey-dark);
  --accent-soft: #fdf0cf;
}

/* Theme palettes */
.t-ocean  { --accent:#1f6f8b; --accent-dark:#124b60; --accent-soft:#dff0f4; --grad:linear-gradient(160deg,#0f4c6b 0%,#1f7fa0 45%,#7cc6d6 100%); }
.t-jungle { --accent:#2f7a3d; --accent-dark:#1d5228; --accent-soft:#e2f1dc; --grad:linear-gradient(160deg,#173f22 0%,#2f7a3d 50%,#9bc77a 100%); }
.t-beach  { --accent:#c08a3e; --accent-dark:#8d6223; --accent-soft:#f8ecd6; --grad:linear-gradient(160deg,#5fb3c4 0%,#e9cf9c 50%,#c9955a 100%); }
.t-sunset { --accent:#d9573b; --accent-dark:#a93a22; --accent-soft:#fde3d8; --grad:linear-gradient(160deg,#4b2a6b 0%,#d9573b 50%,#f7b44c 100%); }
.t-river  { --accent:#3f8a7a; --accent-dark:#286356; --accent-soft:#dff0ea; --grad:linear-gradient(160deg,#2d4f57 0%,#3f8a7a 50%,#a9d3c2 100%); }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.wrap { width: min(1120px, 92vw); margin: 0 auto; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 246, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-size: 1.3rem; font-weight: 700; }
.brand .bee { font-size: 1.5rem; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a.active { background: var(--accent-soft); color: var(--accent-dark); }
.cart-link { position: relative; }
.cart-count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--honey); color: #fff; font-size: .75rem; margin-left: 4px;
}
.menu-btn { display: none; margin-left: auto; background: none; border: 0; font-size: 1.6rem; cursor: pointer; }
.social-icons { display: flex; gap: 6px; }
.social-icons a { padding: 6px; display: grid; place-items: center; border-radius: 999px; }
.social-icons svg { width: 22px; height: 22px; fill: currentColor; }

@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: stretch; padding: 10px 4vw 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 500px at 85% -10%, #ffe2a1 0%, transparent 60%),
              radial-gradient(900px 500px at -10% 110%, #f9d6c4 0%, transparent 55%), var(--cream);
  padding: clamp(56px, 9vw, 110px) 0 clamp(40px, 7vw, 80px);
}
.hero .eyebrow { text-transform: uppercase; letter-spacing: .16em; font-weight: 800; font-size: .8rem; color: var(--honey-dark); }
.hero p.lead { font-size: 1.2rem; max-width: 640px; color: var(--muted); }
.hero .honeycomb { position: absolute; right: -40px; top: 20px; width: 340px; opacity: .18; pointer-events: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: 2px solid transparent;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 1rem; text-decoration: none; cursor: pointer;
  font-family: var(--body); transition: transform .12s ease, background .12s ease;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn.secondary { background: transparent; color: var(--accent-dark); border-color: var(--accent); }
.btn.secondary:hover { background: var(--accent-soft); }
.btn.whatsapp { background: #25d366; }
.btn.whatsapp:hover { background: #1da851; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* Theme tiles */
.section { padding: clamp(40px, 7vw, 80px) 0; }
.themes-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 900px) { .themes-grid { grid-template-columns: repeat(2, 1fr); } .themes-grid .tile:last-child { grid-column: span 2; } }
.tile {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden;
  background: var(--grad); color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px; box-shadow: var(--shadow); transition: transform .18s ease;
}
@media (max-width: 900px) { .tile { aspect-ratio: 4 / 3; } }
.tile:hover { transform: translateY(-4px); }
.tile::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.35)); pointer-events: none; }
.tile h3, .tile span { position: relative; z-index: 1; }
.tile .emoji { font-size: 2.4rem; position: absolute; top: 14px; left: 16px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.2)); }
.tile h3 { font-size: 1.6rem; margin: 0; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.tile span { font-size: .9rem; opacity: .95; }

/* Theme page banner */
.theme-banner { background: var(--grad); color: #fff; padding: clamp(50px, 9vw, 100px) 0 clamp(36px, 6vw, 60px); }
.theme-banner p { font-size: 1.15rem; max-width: 620px; opacity: .95; }
.theme-banner .emoji { font-size: 3rem; }

/* Products */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ph { aspect-ratio: 1; background: var(--accent-soft); position: relative; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .ph .noimg { width: 100%; height: 100%; display: grid; place-items: center; font-size: 3rem; }
.card .body { padding: 14px 16px 18px; }
.card h3 { font-family: var(--body); font-size: 1.05rem; font-weight: 800; margin: 0 0 4px; }
.price { font-weight: 800; color: var(--accent-dark); }
.badge { position: absolute; top: 10px; left: 10px; background: rgba(43,36,32,.85); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 800; }
.badge.theme { background: rgba(255,255,255,.9); color: var(--ink); left: auto; right: 10px; }
.empty { padding: 40px; text-align: center; background: var(--paper); border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* Product page */
.product-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(22px, 4vw, 54px); align-items: start; }
@media (max-width: 820px) { .product-layout { grid-template-columns: 1fr; } }
.gallery .main { border-radius: var(--radius); overflow: hidden; background: var(--accent-soft); aspect-ratio: 1; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { width: 74px; height: 74px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: none; }
.thumbs button.on { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info .price { font-size: 1.6rem; }
.desc { white-space: pre-line; color: #4a413a; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.chip { background: var(--accent-soft); color: var(--accent-dark); padding: 5px 12px; border-radius: 999px; font-weight: 700; font-size: .88rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.qty button { width: 40px; height: 44px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; }
.qty input { width: 44px; text-align: center; border: 0; font-size: 1rem; background: none; font-family: var(--body); }

/* Cart */
.cart-row { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-row img, .cart-row .noimg { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; background: var(--accent-soft); display: grid; place-items: center; font-size: 2rem; }
.cart-row .remove { background: none; border: 0; color: var(--muted); cursor: pointer; text-decoration: underline; font-size: .9rem; padding: 0; }
.cart-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 820px) { .cart-layout { grid-template-columns: 1fr; } }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 2px solid var(--line); border-radius: 14px; margin-bottom: 10px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--honey); background: #fff8e6; }
.choice input { margin-top: 5px; accent-color: var(--honey-dark); }
.totals div { display: flex; justify-content: space-between; padding: 4px 0; }
.totals .grand { font-weight: 800; font-size: 1.15rem; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; }
.notice { background: #fff4d6; border: 1px solid #f0d48a; padding: 12px 14px; border-radius: 12px; margin: 12px 0; font-size: .95rem; }
.notice.error { background: #fde8e4; border-color: #f2b4a6; }

/* About / contact */
.prose { max-width: 720px; font-size: 1.1rem; }
.prose p { white-space: pre-line; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--ink); display: block; transition: transform .15s ease; }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-card .ic { font-size: 1.8rem; }
.contact-card b { display: block; margin-top: 6px; font-size: 1.05rem; }

/* Footer */
.site-footer { margin-top: 60px; background: #2b2420; color: #eadfcd; padding: 44px 0 30px; }
.site-footer a { color: #ffd77a; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--display); font-size: 1.2rem; margin: 0 0 10px; color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer .fine { margin-top: 30px; font-size: .85rem; opacity: .7; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

.skeleton { background: linear-gradient(90deg, #f1e8d8 0%, #f8f1e4 50%, #f1e8d8 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: var(--radius); height: 320px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Vigía Recon badge + free-scan link (footer) */
.vigia { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(234, 223, 205, .15); }
.vigia-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 12px; background: #3a2314; border: 1px solid #5a3a22; text-decoration: none; color: #f6e7c8; line-height: 1.15; }
.vigia-badge:hover { border-color: #e0a526; }
.vigia-badge svg { width: 30px; height: 30px; flex: none; }
.vigia-badge small { display: block; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.vigia-badge b { font-size: .98rem; color: #f6e7c8; }
.site-footer a.vigia-scan { color: #eadfcd; font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; }
.site-footer a.vigia-scan:hover { color: #ffd77a; }
