/* ============================================================
   Viva Fiesta Co. — design system
   Modern Mexican fiesta: cream canvas, folk-art brights,
   papel picado ornaments, Fraunces + Plus Jakarta Sans.
   ============================================================ */

html { scroll-behavior: smooth; }

:root {
  /* palette */
  --cream: #FBF1E0;
  --cream-deep: #F4E4C8;
  --paper: #FFFDF8;
  --ink: #33202A;
  --ink-soft: #6E5562;
  --rosa: #E63970;
  --rosa-deep: #BE2358;
  --marigold: #F08A24;
  --sun: #F4B942;
  --turq: #0B9E8F;
  --turq-deep: #087A6F;
  --purple: #5C2E7A;
  --chili: #D7263D;
  --line: #EAD9BD;

  /* type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

  /* shape & depth */
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 2px 10px rgba(51, 32, 42, 0.06);
  --shadow-md: 0 14px 34px -12px rgba(51, 32, 42, 0.22);
  --shadow-lg: 0 28px 60px -18px rgba(51, 32, 42, 0.3);

  --maxw: 1200px;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  line-height: 1.08;
  margin: 0;
  font-weight: 640;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

.wrap {
  width: min(var(--maxw), 100% - 40px);
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rosa-deep);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--rosa);
  border-radius: 2px;
}

.section { padding: 84px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin: 12px 0; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--rosa);
  color: #fff;
  box-shadow: 0 10px 22px -8px rgba(230, 57, 112, 0.6);
}
.btn-primary:hover { background: var(--rosa-deep); transform: translateY(-2px); }

.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--purple); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }

.btn-light {
  background: var(--cream);
  color: var(--ink);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* ---------- announcement marquee ---------- */
.announcement {
  background: var(--purple);
  color: var(--cream);
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 48px;
  animation: marquee 28s linear infinite;
  will-change: transform;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee-track i {
  width: 7px; height: 7px;
  background: var(--sun);
  transform: rotate(45deg);
  border-radius: 1px;
  display: inline-block;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 241, 224, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: -0.01em;
}
.logo .logo-mark { flex: none; }
.logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rosa-deep);
}
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-weight: 700;
  font-size: 0.93rem;
  padding: 6px 2px;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2.5px;
  background: var(--rosa);
  border-radius: 2px;
  transition: width 0.22s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.header-tools { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: inline-flex;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}
.lang-switch button {
  border: 0;
  background: transparent;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink-soft);
  transition: all 0.18s ease;
}
.lang-switch button.active {
  background: var(--ink);
  color: var(--cream);
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  width: 44px; height: 42px;
  padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
  transition: all 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---------- papel picado string (shared ornament) ---------- */
.picado {
  display: flex;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  pointer-events: none;
}
.picado i {
  width: 34px;
  height: 40px;
  background: var(--flag, var(--rosa));
  clip-path: polygon(0 0, 100% 0, 100% 64%, 50% 100%, 0 64%);
  transform-origin: top center;
  animation: sway 3.4s ease-in-out infinite;
  position: relative;
  opacity: 0.95;
}
.picado i::after {
  content: "";
  position: absolute;
  inset: 7px 8px 12px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,253,248,0.85) 1.8px, transparent 2.4px),
    radial-gradient(circle at 30% 62%, rgba(255,253,248,0.7) 1.4px, transparent 2px),
    radial-gradient(circle at 70% 62%, rgba(255,253,248,0.7) 1.4px, transparent 2px);
}
.picado i:nth-child(5n+1) { --flag: var(--rosa); }
.picado i:nth-child(5n+2) { --flag: var(--marigold); }
.picado i:nth-child(5n+3) { --flag: var(--sun); }
.picado i:nth-child(5n+4) { --flag: var(--turq); }
.picado i:nth-child(5n+5) { --flag: var(--purple); }
.picado i:nth-child(2n) { animation-delay: -1.2s; }
.picado i:nth-child(3n) { animation-delay: -2.1s; }
@keyframes sway {
  0%, 100% { transform: rotate(-2.5deg); }
  50% { transform: rotate(2.5deg); }
}

/* scalloped zigzag divider */
.fringe {
  height: 16px;
  background:
    linear-gradient(45deg, transparent 74%, var(--cream) 75%) 0 0 / 16px 16px repeat-x,
    linear-gradient(-45deg, transparent 74%, var(--cream) 75%) 8px 0 / 16px 16px repeat-x;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(240, 138, 36, 0.35), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(11, 158, 143, 0.28), transparent 60%),
    var(--cream);
  padding: 28px 0 72px;
  overflow: hidden;
}
.hero .picado { margin-bottom: 40px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  font-weight: 680;
}
.hero-copy h1 em {
  font-style: italic;
  color: var(--rosa);
  font-weight: 560;
}
.hero-copy .lead {
  margin: 22px 0 30px;
  font-size: 1.13rem;
  color: var(--ink-soft);
  max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-points {
  display: flex;
  gap: 26px;
  margin-top: 38px;
  flex-wrap: wrap;
}
.hero-points div {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-points b { color: var(--turq-deep); }

.hero-art { position: relative; }
.hero-art .hero-photo {
  border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-lg);
  border: 10px solid var(--paper);
  animation: blob 12s ease-in-out infinite;
  background: var(--cream-deep);
}
.hero-art .hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@keyframes blob {
  0%, 100% { border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; }
  50% { border-radius: 54% 48% 46% 56% / 46% 56% 44% 54%; }
}

.sticker {
  position: absolute;
  width: 108px; height: 108px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--ink);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.15;
  box-shadow: var(--shadow-md);
  animation: spin 16s linear infinite;
  border: 2px dashed rgba(51,32,42,0.35);
}
.sticker span { animation: spin 16s linear infinite reverse; }
.sticker.s1 { top: -18px; left: -24px; background: var(--rosa); color: #fff; }
.sticker.s2 { bottom: -10px; right: -14px; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-mini {
  position: absolute;
  bottom: 40px; left: -34px;
  width: 118px;
  background: var(--paper);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 10px;
  transform: rotate(-5deg);
  display: none;
}
.hero-mini img { border-radius: 9px; aspect-ratio: 1; object-fit: cover; }
.hero-mini p { margin: 8px 4px 2px; font-size: 0.72rem; font-weight: 800; }

/* ---------- value strip ---------- */
.values {
  background: var(--ink);
  color: var(--cream);
}
.values .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 34px 20px;
  text-align: center;
}
.values .v { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.values .v svg { width: 30px; height: 30px; color: var(--sun); }
.values .v b { font-size: 0.92rem; }
.values .v small { color: rgba(251,241,224,0.65); font-size: 0.78rem; }

/* ---------- categories ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.cat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 20px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: block;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cat-card .ph {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  margin-bottom: 14px;
  background: var(--cream-deep);
}
.cat-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.cat-card:hover .ph img { transform: scale(1.06); }
.cat-card h3 { font-size: 1.06rem; margin-bottom: 4px; }
.cat-card p { font-size: 0.78rem; color: var(--ink-soft); margin: 0; line-height: 1.4; }
.cat-card .go {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--rosa-deep);
}

/* ---------- products ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--cream-deep), #f9efd9);
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.4s ease;
  opacity: 0;
}
.product-media img.loaded { opacity: 1; }
.product-card:hover .product-media img { transform: scale(1.06); }

.p-badges {
  position: absolute;
  top: 12px; left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}
.tag {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  width: max-content;
}
.tag.bestseller { background: var(--rosa); }
.tag.new { background: var(--turq); }
.tag.limited { background: var(--purple); }
.tag.handmade { background: var(--marigold); }
.tag.sale { background: var(--chili); }

.quick-btn {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  background: rgba(51, 32, 42, 0.92);
  color: var(--cream);
  border: 0;
  border-radius: 999px;
  padding: 11px;
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.22s ease;
  z-index: 2;
}
.product-card:hover .quick-btn,
.product-card:focus-within .quick-btn { opacity: 1; transform: translateY(0); }
.quick-btn:hover { background: var(--rosa); }

.p-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-cat { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--turq-deep); }
.p-name { font-family: var(--font-display); font-size: 1.04rem; line-height: 1.25; }
.p-tag { font-size: 0.8rem; color: var(--ink-soft); margin: 0; flex: 1; }
.p-foot { display: flex; align-items: baseline; justify-content: space-between; margin-top: 8px; }
.p-price { font-weight: 800; font-size: 1.02rem; }
.p-price s { color: var(--ink-soft); font-weight: 500; font-size: 0.82rem; margin-left: 6px; }
.p-stars { font-size: 0.74rem; color: var(--ink-soft); font-weight: 600; }
.p-stars b { color: var(--marigold); }

/* ---------- occasions ---------- */
.occasions { background: var(--cream-deep); }
.occ-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 170px;
  grid-auto-flow: dense;
  gap: 18px;
}
.occ-card {
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  position: relative;
  overflow: hidden;
  border: 0;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.occ-card:hover { transform: translateY(-4px) rotate(-0.5deg); box-shadow: var(--shadow-md); }
.occ-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(51,32,42,0.78));
  z-index: 1;
}
.occ-card .occ-emoji {
  position: absolute; top: 16px; right: 18px;
  font-size: 2rem;
  z-index: 1;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.25));
}
.occ-card b, .occ-card small { position: relative; z-index: 1; }
.occ-card b { font-family: var(--font-display); font-size: 1.18rem; }
.occ-card small { opacity: 0.85; font-size: 0.78rem; font-weight: 600; margin-top: 2px; }
.occ-card.tall { grid-row: span 2; }
.occ-card.wide { grid-column: span 2; }

/* ---------- story ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}
.story-art {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  box-shadow: var(--shadow-md);
}
.story-art img { width: 100%; height: 100%; object-fit: cover; }
.story-art .badge-seal {
  position: absolute;
  bottom: 22px; right: 22px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--turq);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 800;
  font-size: 0.78rem;
  line-height: 1.3;
  box-shadow: var(--shadow-md);
  border: 3px dashed rgba(255,255,255,0.6);
}
.story-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 14px 0 18px; }
.story-copy p { color: var(--ink-soft); }
.story-sign {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--rosa-deep);
  margin: 22px 0 4px;
}
.story-sign small { display: block; font-family: var(--font-body); font-style: normal; font-size: 0.8rem; color: var(--ink-soft); margin-top: 4px; }
.stats-row { display: flex; gap: 40px; margin-top: 30px; }
.stats-row .n { font-family: var(--font-display); font-size: 2rem; color: var(--rosa); font-weight: 700; }
.stats-row .l { font-size: 0.8rem; color: var(--ink-soft); font-weight: 600; }

/* ---------- newsletter ---------- */
.newsletter {
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(244,185,66,0.4), transparent 60%),
    var(--purple);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter .picado { position: absolute; top: 0; left: 0; right: 0; transform: scale(0.8); }
.newsletter h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.newsletter p { opacity: 0.82; max-width: 460px; margin: 12px auto 26px; }
.nl-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.nl-form input {
  flex: 1;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 0.95rem;
  font-family: inherit;
  background: rgba(255,253,248,0.96);
  color: var(--ink);
}
.nl-form input:focus { outline: 3px solid var(--sun); }
.nl-msg { margin-top: 14px; font-size: 0.86rem; font-weight: 700; color: var(--sun); min-height: 1.2em; }

/* ---------- lead / wholesale form ---------- */
.lead-card {
  background: linear-gradient(135deg, var(--cream), #fff5e6);
  border: 2px solid rgba(247, 144, 9, 0.22);
  border-radius: var(--radius);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.lead-card::before {
  content: "";
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(230, 57, 112, 0.14), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.lead-text { position: relative; z-index: 1; }
.lead-kicker {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rosa);
  margin-bottom: 10px;
}
.lead-text h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.15;
}
.lead-text p {
  font-size: 0.96rem;
  color: #6b6256;
  margin: 0;
  line-height: 1.55;
}
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.lead-row { display: flex; gap: 10px; }
.lead-row input { flex: 1; min-width: 0; }
.lead-form input {
  border: 1.5px solid rgba(58, 26, 75, 0.15);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.lead-form input:focus {
  outline: none;
  border-color: var(--rosa);
  box-shadow: 0 0 0 3px rgba(230, 57, 112, 0.12);
}
.lead-form .btn-ink { align-self: flex-start; margin-top: 4px; }
.lead-msg {
  grid-column: 2;
  margin-top: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  min-height: 1.2em;
  position: relative;
  z-index: 1;
}
.lead-msg.ok { color: #2d8a4e; }
.lead-msg.err { color: var(--chili); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  margin-top: 90px;
  padding-top: 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}
.site-footer .logo { color: var(--cream); margin-bottom: 14px; }
.site-footer .logo small { color: var(--sun); }
.footer-grid p { font-size: 0.88rem; color: rgba(251,241,224,0.65); margin: 0 0 18px; }
.footer-grid h4 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 6px 0 16px;
  color: var(--sun);
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid ul a { font-size: 0.9rem; color: rgba(251,241,224,0.78); }
.footer-grid ul a:hover { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(251,241,224,0.3);
  display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 800;
  transition: all 0.18s ease;
}
.socials a:hover { background: var(--rosa); border-color: var(--rosa); }
.footer-bottom {
  border-top: 1px solid rgba(251,241,224,0.14);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(251,241,224,0.55);
  flex-wrap: wrap;
}

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(700px 380px at 90% -20%, rgba(230,57,112,0.25), transparent 60%),
    var(--cream);
  padding: 50px 0 40px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero p { color: var(--ink-soft); max-width: 560px; margin: 14px auto 0; }
.crumb { font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 16px; }
.crumb a:hover { color: var(--rosa-deep); }

/* ---------- catalog ---------- */
.catalog-bar {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin: 34px 0 10px;
}
.search-box {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
}
.search-box:focus-within { border-color: var(--rosa); box-shadow: 0 0 0 3px rgba(230,57,112,0.12); }
.search-box svg { flex: none; color: var(--ink-soft); }
.search-box input {
  border: 0;
  background: transparent;
  padding: 13px 0;
  font-size: 0.92rem;
  font-family: inherit;
  width: 100%;
  color: var(--ink);
}
.search-box input:focus { outline: none; }

.sort-select {
  border: 1.5px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 12px 18px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.sort-select:focus { outline: 3px solid rgba(230,57,112,0.15); }

.filter-row { display: flex; gap: 9px; flex-wrap: wrap; margin: 18px 0 6px; }
.chip {
  border: 1.5px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 8px 17px;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--ink-soft);
  transition: all 0.16s ease;
}
.chip:hover { border-color: var(--rosa); color: var(--rosa-deep); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--cream); }

.filter-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 16px 0 2px;
}

.result-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 26px 0 18px;
}
.result-meta span { font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; }
.result-meta button {
  border: 0; background: none;
  font-size: 0.83rem; font-weight: 700;
  color: var(--rosa-deep);
}

.catalog-grid { margin-bottom: 40px; }

.empty {
  text-align: center;
  padding: 90px 20px;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(255,253,248,0.6);
}
.empty .big { font-size: 3rem; }
.empty h3 { margin: 10px 0 6px; }
.empty p { color: var(--ink-soft); margin: 0 0 20px; }

/* skeleton shimmer */
.skeleton .product-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,0.6) 50%, transparent 80%);
  animation: shimmer 1.3s infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }

/* ---------- quick view modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(51,32,42,0.6);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-backdrop.open { display: flex; animation: fade 0.2s ease; }
@keyframes fade { from { opacity: 0; } }

.modal {
  background: var(--paper);
  border-radius: var(--radius);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  position: relative;
  animation: pop 0.24s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
@keyframes pop { from { transform: scale(0.94) translateY(10px); opacity: 0; } }

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 0;
  background: var(--cream);
  font-size: 1.1rem;
  z-index: 3;
  display: grid; place-items: center;
}
.modal-close:hover { background: var(--rosa); color: #fff; }
.modal-media { aspect-ratio: 1; background: var(--cream-deep); position: sticky; top: 0; display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; }
.modal-media .qv-main { width: 100%; flex: 1; min-height: 0; object-fit: cover; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.qv-thumbs { display: flex; gap: 6px; padding: 8px; background: rgba(0,0,0,0.04); overflow-x: auto; }
.qv-thumb { flex: 0 0 auto; width: 52px; height: 52px; border: 2px solid transparent; border-radius: 8px; overflow: hidden; padding: 0; background: none; cursor: pointer; transition: border-color 0.15s, transform 0.15s; }
.qv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qv-thumb:hover { transform: translateY(-1px); }
.qv-thumb.active { border-color: var(--rosa); }
.modal-info { padding: 38px 34px; }
.modal-info .p-cat { margin-bottom: 8px; }
.modal-info h2 { font-size: 1.7rem; margin-bottom: 8px; }
.modal-info .stars { color: var(--marigold); font-size: 0.9rem; margin-bottom: 18px; }
.modal-info .stars small { color: var(--ink-soft); margin-left: 6px; }
.modal-info .price { font-size: 1.6rem; font-weight: 800; margin-bottom: 16px; }
.modal-info .price s { font-size: 1rem; color: var(--ink-soft); font-weight: 500; margin-left: 8px; }
.modal-info .desc { color: var(--ink-soft); font-size: 0.94rem; }
.modal-meta { margin: 22px 0; display: grid; gap: 10px; }
.modal-meta div { display: flex; gap: 10px; font-size: 0.85rem; align-items: flex-start; }
.modal-meta i { color: var(--turq-deep); font-style: normal; }
.dots { display: flex; gap: 7px; margin: 18px 0 24px; }
.dots i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--paper); box-shadow: 0 0 0 1.5px var(--line); }

/* ---------- about page ---------- */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-hero .ph { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3.4; box-shadow: var(--shadow-md); }
.about-hero .ph img { width: 100%; height: 100%; object-fit: cover; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.value-card .ico {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid; place-items: center;
  margin-bottom: 16px;
  font-size: 1.5rem;
}
.value-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.value-card p { color: var(--ink-soft); font-size: 0.9rem; margin: 0; }

.timeline { position: relative; padding-left: 30px; display: grid; gap: 30px; }
.timeline::before {
  content: "";
  position: absolute; left: 8px; top: 8px; bottom: 8px;
  width: 3px; border-radius: 3px;
  background: repeating-linear-gradient(var(--marigold) 0 10px, transparent 10px 18px);
}
.timeline .t { position: relative; }
.timeline .t::before {
  content: "";
  position: absolute; left: -30px; top: 4px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--rosa);
  border: 4px solid var(--cream);
  box-shadow: 0 0 0 2px var(--rosa);
}
.timeline .t b { font-family: var(--font-display); font-size: 1.15rem; }
.timeline .t .t-year {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--rosa);
  margin-bottom: 1px;
}
.timeline .t p { color: var(--ink-soft); font-size: 0.9rem; margin: 4px 0 0; }

.cta-band {
  background: var(--rosa);
  color: #fff;
  border-radius: var(--radius);
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.cta-band p { opacity: 0.9; margin: 12px 0 26px; }
.cta-band .btn-ink:hover { background: var(--purple); }
.cta-band .picado { position: absolute; inset: 0 0 auto; opacity: 0.5; }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  bottom: 26px; left: 50%;
  transform: translate(-50%, 120%);
  background: var(--ink);
  color: var(--cream);
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  z-index: 200;
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  box-shadow: var(--shadow-lg);
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .values .wrap { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-art { max-width: 440px; margin: 0 auto; width: 100%; }
  .story-grid, .about-hero { grid-template-columns: 1fr; gap: 36px; }
  .story-art { max-width: 480px; }
  .occ-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .occ-card.wide { grid-column: span 2; }
  .values-grid { grid-template-columns: 1fr; }
  .modal { grid-template-columns: 1fr; }
  .modal-media { position: static; aspect-ratio: 16/10; }
  .lead-card { grid-template-columns: 1fr; padding: 36px 28px; gap: 24px; }
  .lead-msg { grid-column: 1; }
  .lead-row { flex-direction: column; }

  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 620px) {
  .section { padding: 60px 0; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .p-body { padding: 12px; }
  .p-tag { display: none; }
  .p-name { font-size: 0.92rem; }
  .quick-btn { opacity: 1; transform: none; font-size: 0.74rem; padding: 9px; }
  .values .wrap { grid-template-columns: 1fr 1fr; }
  .occ-grid { grid-template-columns: 1fr 1fr; }
  .occ-card.wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .newsletter, .cta-band { padding: 40px 24px; }
  .nl-form { flex-direction: column; }
  .sticker { width: 84px; height: 84px; font-size: 0.72rem; }
  .hero-copy h1 { font-size: 2.4rem; }
  .modal-info { padding: 26px 22px; }
}

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