/* ============================================================
   Showtime · Design System
   Boutique festivo · paleta del logo · multi-color por seccion
   ============================================================ */

@import url('https://fonts.bunny.net/css?family=outfit:400,500,600,700,800|playfair-display:400i,600,600i,700,700i,800,800i|caveat:400,600,700&display=swap');

:root {
  /* Surfaces */
  --bg: #faf6ef;
  --bg-2: #f4ecdd;
  --paper: #fffcf5;
  --ink: #1d1410;
  --ink-2: #5a4a3e;
  --ink-3: #8c7a6a;
  --line: #e8dcc8;
  --line-strong: #d6c5a8;

  /* Brand — from the actual logotipo */
  --coral: #e6403d;
  --coral-deep: #b8262a;
  --teal:  #15a8a3;
  --teal-deep: #0c7c79;
  --yellow: #f4c83a;
  --yellow-deep: #c79c0a;
  --lime: #7fc23a;
  --pink: #ec5288;

  --accent: var(--coral);
  --accent-deep: var(--coral-deep);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; scrollbar-gutter: stable; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  margin: 0;
  overflow-x: hidden;
}

/* ============== Typography ============== */
.serif  { font-family: 'Playfair Display', serif; }
.serifi { font-family: 'Playfair Display', serif; font-style: italic; }
.hand   { font-family: 'Caveat', cursive; font-weight: 600; line-height: 1; }

.display {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 0.94;
}
.display .it { font-style: italic; font-weight: 600; color: var(--accent); }

.label {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-2);
}
.chapter {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 30px;
  color: var(--accent);
  font-weight: 500;
}
.num-roman {
  font-family: 'Playfair Display', serif;
  font-style: italic; font-weight: 600;
  font-size: 14px;
  color: var(--coral);
}

/* Squiggle under "acontece" */
.squiggle {
  position: absolute;
  left: 0; right: -8px;
  bottom: -10px;
  width: 100%;
  height: 18px;
  z-index: -1;
}

/* ============== Sections ============== */
.sec { padding-top: 96px; padding-bottom: 96px; position: relative; }
.sec-hero { padding-top: 0; padding-bottom: 0; }
.sec-cta { padding: 0; }

body[data-density="cozy"]     .sec { padding-top: 64px;  padding-bottom: 64px; }
body[data-density="generous"] .sec { padding-top: 132px; padding-bottom: 132px; }

/* Decorative background SVG that fills section */
.confetti-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
body[data-confetti="off"] .confetti-bg { display: none; }
body[data-confetti="off"] .confetti-decor { display: none; }

/* ============== Buttons ============== */
.btn-primary {
  background: var(--accent);
  color: white;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 12px;
  padding: 14px 26px;
  border-radius: 2px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 8px 20px -10px rgba(230,64,61,0.5);
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(230,64,61,0.55); }
.btn-primary i { transition: transform .3s; }
.btn-primary:hover i { transform: translateX(4px); }

.btn-ghost {
  background: transparent; color: var(--ink);
  font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; font-size: 12px;
  padding: 14px 26px; border-radius: 2px;
  border: 2px solid var(--ink);
  transition: background .25s ease, color .25s ease;
  display: inline-flex; align-items: center; gap: 10px;
  cursor: pointer; text-decoration: none;
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-cta-yellow {
  background: var(--yellow); color: var(--ink);
  padding: 18px 32px;
  font-weight: 800; font-size: 14px;
  letter-spacing: 0.05em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 999px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,0.35);
  text-decoration: none;
  border: 3px solid var(--ink);
}
.btn-cta-yellow:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -8px rgba(0,0,0,0.4); }

.btn-cta-outline {
  background: transparent; color: white;
  padding: 18px 32px;
  font-weight: 700; font-size: 14px;
  letter-spacing: 0.05em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.6);
  transition: background .2s;
  text-decoration: none;
}
.btn-cta-outline:hover { background: rgba(255,255,255,0.15); }

/* ============== Top nav ============== */
.st-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 40;
  background: rgba(250,246,239,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.st-nav .inner {
  width: 100%;
  padding: 0 32px;
  height: 84px;
  display: flex; align-items: center; gap: 16px;
  box-sizing: border-box;
}
@media (min-width: 768px) { .st-nav .inner { padding: 0 56px; } }
@media (min-width: 1280px) { .st-nav .inner { padding: 0 80px; } }
.nav-left  { display: flex; align-items: center; gap: 12px; flex: 1; }
.nav-right { display: flex; align-items: center; justify-content: flex-end; flex: 1; }

.st-nav .logo-img {
  height: 58px; width: auto;
  mix-blend-mode: multiply;
  filter: contrast(1.05);
}
.st-nav-links { display: none; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .st-nav-links { display: flex; } }
.st-nav-link {
  font-size: 15px; font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding: 8px 2px;
  transition: color .2s;
  text-decoration: none;
}
.st-nav-link:hover { color: var(--ink); }
.st-nav-link.active { color: var(--ink); }
.st-nav-link.active::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--accent);
}

.cart-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--paper);
  padding: 12px 22px;
  border-radius: 99px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: background .2s, transform .2s;
  position: relative;
  border: none; cursor: pointer;
}
.cart-btn:hover { background: var(--accent); transform: translateY(-1px); }
.cart-badge {
  background: var(--yellow); color: var(--ink);
  font-family: 'Outfit', sans-serif; font-weight: 800;
  min-width: 22px; height: 22px;
  border-radius: 99px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
  padding: 0 6px;
}

/* ============== Confetti accents ============== */
.confetti { display: inline-flex; align-items: center; gap: 8px; }
.confetti i { width: 8px; height: 8px; display: inline-block; border-radius: 99px; }
.confetti .c-teal   { background: var(--teal); }
.confetti .c-coral  { background: var(--coral); }
.confetti .c-yellow { background: var(--yellow); }
.confetti .c-lime   { background: var(--lime); }
.confetti .c-pink   { background: var(--pink); }

/* ============== Photo treatments ============== */
.photo-mat {
  background: var(--paper);
  padding: 14px;
  border: 1px solid var(--line);
  box-shadow:
    0 40px 80px -40px rgba(29,20,16,0.28),
    0 14px 30px -16px rgba(29,20,16,0.14);
}
.photo-mat img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-clean { box-shadow: 0 30px 60px -30px rgba(29,20,16,0.32); overflow: hidden; }
.photo-clean img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-polaroid {
  background: var(--paper);
  padding: 12px 12px 56px;
  border: 1px solid var(--line);
  box-shadow:
    0 30px 60px -30px rgba(29,20,16,0.32),
    0 12px 24px -12px rgba(29,20,16,0.16);
  position: relative;
}
.photo-polaroid::after {
  content: attr(data-caption);
  position: absolute;
  left: 0; right: 0; bottom: 14px;
  text-align: center;
  font-family: 'Caveat', cursive;
  font-weight: 600;
  font-size: 22px; color: var(--ink-2);
}
.photo-polaroid img { display: block; width: 100%; height: 100%; object-fit: cover; }

body[data-frame="clean"]    .photo-mat { background: transparent; padding: 0; border: 0; }
body[data-frame="polaroid"] .photo-mat { padding: 14px 14px 56px; position: relative; }

/* Washi tape decoration */
.washi-tape {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 90px; height: 22px;
  background: var(--yellow);
  z-index: 3;
  opacity: 0.85;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.washi-top { top: -10px; }
.hero-photo-main { position: relative; }
.hero-photo-main .washi-tape { width: 110px; height: 26px; }

/* Photo pin (collage style with rotation) */
.photo-pin {
  position: relative;
  transform: rotate(var(--rot, 0deg));
  transition: transform .3s;
}
.photo-pin:hover { transform: rotate(0deg) scale(1.02); }

/* ============== World cards ============== */
.world-card, .world-card-bold {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}
.world-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(29,20,16,0.22); }
.world-card-bold:hover { transform: translateY(-6px); box-shadow: 0 40px 60px -30px rgba(29,20,16,0.32); }
.world-card .img, .world-card-bold .img { overflow: hidden; }
.world-card .img img, .world-card-bold .img img {
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.world-card:hover .img img, .world-card-bold:hover .img img { transform: scale(1.06); }

/* Painted variants */
.painted-pink {
  background: linear-gradient(180deg, #fff6f6 0%, #ffe6e8 100%);
  border-color: #f7c8c8;
}
.painted-teal {
  background: linear-gradient(180deg, #e8f7f5 0%, #cee9e6 100%);
  border-color: #afd9d4;
}

.arrow-pill {
  width: 48px; height: 48px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .25s;
}
.world-card:hover .arrow-pill, .world-card-bold:hover .arrow-pill { transform: translateX(4px); }

/* ============== Value cards (teal block) ============== */
.value-card {
  position: relative;
  padding: 32px 24px 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
}
.value-card .value-num {
  position: absolute;
  top: 18px; right: 22px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 60px;
  font-weight: 700;
  color: rgba(255,255,255,0.12);
  line-height: 1;
}
.value-card .value-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 22px;
  border-radius: 4px;
  box-shadow: 0 6px 0 rgba(0,0,0,0.18);
}

/* ============== Notes / testimonials ============== */
.note-card {
  position: relative;
  background: var(--paper);
  padding: 32px 26px 26px;
  border: 1px solid var(--line);
  transform: rotate(var(--rot, 0deg));
  transition: transform .3s;
  box-shadow:
    0 30px 50px -30px rgba(29,20,16,0.18),
    0 8px 20px -8px rgba(29,20,16,0.08);
}
.note-card:hover { transform: rotate(0deg); }
.note-card .washi-tape {
  background: var(--tape, var(--coral));
  width: 110px; height: 22px;
}

/* ============== Star icon ============== */
.ico-star {
  display: inline-block;
  width: 14px; height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 1.7l3 6.9 7.5.7-5.7 5 1.7 7.4L12 17.9 5.5 21.7l1.7-7.4-5.7-5 7.5-.7z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 1.7l3 6.9 7.5.7-5.7 5 1.7 7.4L12 17.9 5.5 21.7l1.7-7.4-5.7-5 7.5-.7z'/></svg>") center/contain no-repeat;
}

/* ============== Cart drawer (festive!) ============== */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(29,20,16,.55);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
  z-index: 79;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; height: 100vh;
  width: min(460px, 100vw);
  background: var(--bg);
  transform: translateX(110%);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
  z-index: 80;
  display: flex; flex-direction: column;
  box-shadow: -30px 0 80px -10px rgba(29,20,16,.35);
}
.drawer.open { transform: translateX(0); }

/* Cart header — coral with confetti pattern */
.cart-header {
  position: relative;
  overflow: hidden;
  background: var(--coral);
  color: white;
  padding: 26px 24px;
  flex-shrink: 0;
}
.cart-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, var(--yellow) 3px, transparent 4px),
    radial-gradient(circle at 80% 30%, white 2px, transparent 3px),
    radial-gradient(circle at 30% 70%, var(--pink) 2.5px, transparent 3.5px),
    radial-gradient(circle at 70% 80%, white 3px, transparent 4px),
    radial-gradient(circle at 50% 45%, var(--yellow) 1.5px, transparent 2.5px);
  opacity: 0.45;
  pointer-events: none;
}
.cart-header > * { position: relative; z-index: 1; }
.cart-header .h-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.cart-header .kicker {
  font-family: 'Caveat', cursive; font-weight: 600;
  font-size: 22px; color: var(--yellow); line-height: 1;
  margin-bottom: 4px;
}
.cart-header h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 800; font-size: 30px;
  line-height: 1; margin: 0;
}
.cart-header .meta {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.85);
}
.cart-header .x-btn {
  width: 36px; height: 36px; border-radius: 99px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  cursor: pointer;
  transition: background .2s;
  flex-shrink: 0;
}
.cart-header .x-btn:hover { background: rgba(255,255,255,0.3); }

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 22px 22px 8px;
  background: var(--bg);
}
.cart-empty {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 40px 20px 60px;
}
.cart-empty .ico {
  width: 96px; height: 96px;
  border-radius: 999px;
  background: var(--paper);
  border: 1.5px dashed var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--coral);
  font-size: 32px;
}
.cart-empty h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 800; font-size: 26px;
  margin: 0 0 8px;
}
.cart-empty .hand-kicker {
  font-family: 'Caveat', cursive; font-weight: 600;
  font-size: 20px; color: var(--teal); margin-bottom: 6px;
}
.cart-empty p { font-size: 14px; color: var(--ink-2); max-width: 240px; margin: 0 0 22px; }

/* Cart item card — washi tape pinned */
.cart-item {
  position: relative;
  background: var(--paper);
  padding: 14px 14px 14px 14px;
  border: 1px solid var(--line);
  display: flex; gap: 14px;
  margin-bottom: 14px;
  transform: rotate(var(--rot, -0.3deg));
  box-shadow: 0 6px 16px -8px rgba(29,20,16,0.18);
  transition: transform .2s;
}
.cart-item:hover { transform: rotate(0deg); }
.cart-item .tape {
  position: absolute;
  top: -7px; left: 28%;
  width: 60px; height: 18px;
  background: var(--tape, var(--yellow));
  opacity: 0.85;
  transform: rotate(-3deg);
}
.cart-item .ph {
  width: 64px; height: 64px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--line);
}
.cart-item .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item .meta { flex: 1; min-width: 0; }
.cart-item .name {
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 15px;
  line-height: 1.15;
  margin-bottom: 2px;
}
.cart-item .desc { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; }
.cart-item .ctrl {
  margin-top: 10px;
  display: flex; align-items: center; justify-content: space-between;
}
.cart-item .qty {
  display: inline-flex; align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 99px;
  overflow: hidden;
}
.cart-item .qty button {
  width: 26px; height: 26px;
  background: transparent; border: none; cursor: pointer;
  font-size: 14px; color: var(--ink-2);
}
.cart-item .qty button:hover { color: var(--coral); }
.cart-item .qty span {
  width: 22px; text-align: center; font-size: 12px; font-weight: 700;
}
.cart-item .price {
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-style: italic;
  font-size: 18px;
  color: var(--coral);
}
.cart-item .rm {
  position: absolute; top: 10px; right: 10px;
  width: 22px; height: 22px; border-radius: 99px;
  background: transparent; border: none; cursor: pointer;
  color: var(--ink-3); font-size: 11px;
}
.cart-item .rm:hover { color: var(--coral); }

/* Cart footer — magic total */
.cart-footer {
  flex-shrink: 0;
  background: var(--paper);
  border-top: 1.5px solid var(--line);
  padding: 18px 22px 22px;
  position: relative;
  overflow: hidden;
}
.cart-footer .total-block {
  position: relative;
  background: var(--ink);
  color: white;
  padding: 18px 20px;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 2px;
}
.cart-footer .total-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 30%, var(--yellow) 1.5px, transparent 2.5px),
    radial-gradient(circle at 70% 60%, var(--coral) 2px, transparent 3px),
    radial-gradient(circle at 40% 80%, var(--teal) 1.5px, transparent 2.5px);
  opacity: 0.4;
  pointer-events: none;
}
.cart-footer .total-row {
  position: relative;
  display: flex; align-items: baseline; justify-content: space-between;
  z-index: 1;
}
.cart-footer .total-kicker {
  font-family: 'Caveat', cursive; font-weight: 600;
  font-size: 22px; color: var(--yellow); line-height: 1;
  margin-bottom: 4px;
}
.cart-footer .total-label {
  font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.cart-footer .total-amt {
  font-family: 'Playfair Display', serif;
  font-weight: 800; font-style: italic;
  font-size: 42px;
  color: var(--yellow);
  line-height: 1;
}
.cart-footer .total-amt small { font-size: 22px; color: white; font-style: normal; }
.cart-footer .actions { display: flex; gap: 8px; }
.cart-footer .btn-clear {
  padding: 14px 16px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s;
}
.cart-footer .btn-clear:hover { background: var(--bg-2); }
.cart-footer .btn-go {
  flex: 1;
  background: var(--accent);
  color: white;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 12px;
  padding: 14px;
  border: none;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: background .2s, transform .2s;
  position: relative;
  overflow: hidden;
}
.cart-footer .btn-go::before {
  content: '✦';
  margin-right: 4px;
  color: var(--yellow);
}
.cart-footer .btn-go:hover { background: var(--accent-deep); transform: translateY(-1px); }
.cart-footer .small {
  margin-top: 10px;
  text-align: center;
  font-size: 11px;
  color: var(--ink-3);
}

/* ============== Footer ============== */
.st-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 60px 24px;
}
@media (min-width: 768px) { .st-footer { padding: 60px 40px; } }
.st-footer .inner {
  max-width: 1320px; margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
  gap: 24px;
}
@media (min-width: 768px) { .st-footer .inner { flex-direction: row; } }
.st-footer .logo-img {
  height: 56px; width: auto;
  mix-blend-mode: multiply; filter: contrast(1.05);
}
.st-footer .quote {
  font-family: 'Caveat', cursive; font-weight: 600;
  font-size: 22px; color: var(--ink-2);
}
.st-footer .copy { font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--ink-3); margin-top: 4px; }
.st-footer .socials { display: flex; align-items: center; gap: 10px; }
.st-footer .soc {
  width: 40px; height: 40px; border-radius: 99px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink-2);
  text-decoration: none;
  transition: all .25s;
}
.st-footer .soc:hover { transform: translateY(-2px); }
.st-footer .soc.ig:hover { background: var(--coral); color: white; border-color: var(--coral); }
.st-footer .soc.fb:hover { background: var(--teal); color: white; border-color: var(--teal); }
.st-footer .soc.tk:hover { background: var(--ink); color: white; border-color: var(--ink); }
.st-footer .wa-btn {
  margin-left: 8px;
  background: var(--lime); color: white;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
}

/* ============== WhatsApp float ============== */
.wa-float {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 30;
  width: 58px; height: 58px;
  border-radius: 99px;
  background: var(--lime);
  color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(127,194,58,0.55);
  text-decoration: none;
  font-size: 26px;
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08); }

/* ============== Misc helpers ============== */
.text-balance { text-wrap: balance; }
.text-pretty  { text-wrap: pretty; }

.tab-btn {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  background: transparent;
  border-top: none; border-left: none; border-right: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink-3);
  transition: color .2s, border-color .2s;
}
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { color: var(--ink); border-bottom-color: var(--accent); }

/* ============== Compat overrides (styles.css reset) ============== */
nav.st-nav { background: rgba(250,246,239,0.92) !important; box-shadow: none !important; }
nav.st-nav.nav-scrolled { background: rgba(250,246,239,0.98) !important; box-shadow: 0 1px 0 var(--line) !important; }
body { background: var(--bg) !important; font-family: 'Outfit', sans-serif !important; }

/* ============================================================
   Responsive typography & layout fixes — mobile overflow
   ============================================================ */

/* Nav: shrink logo on very small phones */
@media (max-width: 400px) {
  .st-nav .logo-img { height: 38px; }
  .st-nav .inner { padding: 0 14px; gap: 8px; }
  .cart-btn { padding: 8px 10px !important; font-size: 11px; }
}

/* Prevent hero heading from overflowing viewport on small phones */
@media (max-width: 480px) {
  .display { letter-spacing: -0.01em; }
  /* Clamp large Tailwind font sizes injected inline */
  h1.display { font-size: clamp(36px, 12vw, 56px) !important; line-height: 1 !important; }
  h2.display { font-size: clamp(28px, 9vw, 44px) !important; line-height: 1.02 !important; }
}

/* Prevent hand/Caveat text from overflowing */
@media (max-width: 480px) {
  .hand { font-size: clamp(18px, 5.5vw, 24px) !important; }
}

/* CTA buttons: ensure they don't overflow their container */
.btn-primary, .btn-ghost, .btn-cta-yellow, .btn-cta-outline {
  white-space: nowrap;
  max-width: 100%;
}
@media (max-width: 480px) {
  .btn-primary, .btn-ghost { padding: 12px 18px !important; font-size: 11px !important; }
  .btn-cta-yellow, .btn-cta-outline { padding: 14px 22px !important; font-size: 12px !important; }
}

/* Prevent trust row metric numbers overflowing */
@media (max-width: 480px) {
  .display.text-\[34px\] { font-size: 28px !important; }
}

/* Modals on small screens: prevent content overlapping close btn */
@media (max-width: 640px) {
  .st-modal-inner { max-height: 95vh !important; }
  .close-modal-btn { top: 10px !important; right: 10px !important; }
}

/* Filter bar on mobile: ensure buttons don't overflow */
.filter-bar .fb-row {
  padding-bottom: 10px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Modal gallery — sm-* (boutique design: portrait photo-mat + thumb row)
   ============================================================ */

.sm-gallery {
  padding: 34px 22px 22px;
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) { .sm-gallery { padding: 44px 32px 32px; } }

.sm-gallery .sm-chapter {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 14px;
  flex-shrink: 0;
}

/* Portrait photo-mat hero — fills gallery panel, no polaroid caption */
.sm-hero {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  background: var(--paper);
  padding: 12px;
  border: 1px solid var(--line);
  box-shadow:
    0 30px 60px -30px rgba(29,20,16,.32),
    0 12px 24px -12px rgba(29,20,16,.14);
  flex-shrink: 0;
}
.sm-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: opacity .22s ease;
}
.sm-hero .pin {
  position: absolute;
  top: 22px; left: 22px;
  font-size: 10px;
  padding: 6px 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  z-index: 2;
}
.sm-hero .pin.coral  { background: var(--coral);  color: white; }
.sm-hero .pin.teal   { background: var(--teal);   color: white; }
.sm-hero .pin.yellow { background: var(--yellow); color: var(--ink); }
.sm-hero .pin.pink   { background: var(--pink);   color: white; }
.sm-hero .pin.lime   { background: var(--lime);   color: white; }

/* Thumbnail strip */
.sm-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
  flex-shrink: 0;
}
.sm-thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--paper);
  border: 1.5px solid var(--line);
  cursor: pointer;
  padding: 3px;
  transition: transform .18s, border-color .18s;
  position: relative;
  box-sizing: border-box;
}
.sm-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.sm-thumb:hover { transform: translateY(-2px); border-color: var(--ink-3); }
.sm-thumb.active { border-color: var(--coral); border-width: 2px; }
.sm-thumb.active::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--coral);
  pointer-events: none;
}

/* Submit button in order form — explicit override for Tailwind/WebKit appearance reset */
.btn-submit-order {
  -webkit-appearance: none;
  appearance: none;
  background-color: #e6403d !important;
  color: #fff !important;
  border: none;
  box-shadow: 0 6px 20px rgba(230,64,61,.4);
}

