/* =========================================================
   Catalina Vega Arte — Design System v2 "Sticker Candy"
   Juvenil, dinámico, muy iluminado. Fondo blanco, bloques de
   color en rosa / verde / amarillo. Los stickers son la estrella:
   se muestran con marco blanco, sombra y rotación, como piezas
   reales pegadas sobre la página.
   ========================================================= */

:root {
  --pink: #FF3D8A;
  --pink-dark: #C21F63;
  --pink-soft: #FFEAF3;

  --green: #63B33C;
  --green-dark: #3C7A20;
  --green-soft: #EEFAE0;

  --yellow: #FFC93C;
  --yellow-dark: #8A5A00;
  --yellow-soft: #FFF6DE;

  --ink: #1A1A1A;
  --ink-soft: #5B5B57;
  --white: #FFFFFF;
  --paper: #FFFFFF;
  --gray-soft: #F5F5F2;
  --line: rgba(26, 26, 26, 0.10);

  --bg: var(--white);
  --bg-alt: var(--gray-soft);

  --font-display: 'Fredoka', 'Poppins', sans-serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;

  --radius: 14px;
  --shadow-pop: 0 16px 32px -14px rgba(26, 26, 26, 0.28);
  --shadow-soft: 0 10px 26px -14px rgba(26, 26, 26, 0.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  line-height: 1.12;
}

p { margin: 0 0 1em; color: var(--ink-soft); }

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

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- chip label (replaces old serif eyebrow) ---------- */
.chip-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 7px 16px;
  border-radius: 30px;
  margin-bottom: 16px;
}
.chip-pink { background: var(--pink-soft); color: var(--pink-dark); }
.chip-green { background: var(--green-soft); color: var(--green-dark); }
.chip-yellow { background: var(--yellow-soft); color: var(--yellow-dark); }
.chip-ink { background: var(--ink); color: #fff; }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.7rem); }
.section-head p { font-size: 1.04rem; }

section { position: relative; padding: 88px 0; }

/* ---------- sticker frame: the core "product is a sticker" look ---------- */
.sticker-frame {
  background: #fff;
  padding: 10px;
  border-radius: 20px;
  box-shadow: var(--shadow-pop);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}
.sticker-frame:hover { transform: rotate(0deg) scale(1.04) !important; box-shadow: 0 22px 40px -16px rgba(26,26,26,0.32); }
.sticker-frame img { border-radius: 12px; width: 100%; height: 100%; object-fit: cover; display: block; }

/* organic CSS-only blob, used as playful background accent */
.blob {
  position: absolute;
  border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
  z-index: 0;
}

/* =========================== BUTTONS =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 10px 22px -8px rgba(255, 61, 138, 0.55);
}
.btn-primary:hover { transform: translateY(-2px) rotate(-1deg); box-shadow: 0 14px 26px -8px rgba(255, 61, 138, 0.6); }

.btn-outline {
  background: #fff;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { transform: translateY(-2px) rotate(1deg); background: var(--ink); color: #fff; }

.btn-mini {
  border: none;
  background: var(--ink);
  color: #fff;
  padding: 9px 18px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.76rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-mini:hover { background: var(--pink); transform: scale(1.05); }

/* =========================== HEADER =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  transform: rotate(-8deg);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-name small {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-soft);
  padding: 4px 9px;
  border-radius: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--ink);
  padding: 9px 16px;
  border-radius: 30px;
  transition: all 0.2s ease;
}
.nav-links a:hover { background: var(--pink-soft); color: var(--pink-dark); }

.nav-cta {
  background: var(--ink) !important;
  color: #fff !important;
}
.nav-cta:hover { background: var(--pink) !important; color: #fff !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
  margin: 5px 0;
}

/* =========================== HERO =========================== */
.hero {
  padding: 56px 0 0;
  overflow: hidden;
  background: var(--white);
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 30px;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 5.2vw, 3.9rem);
  margin-bottom: 20px;
}
.hero-copy h1 .hl {
  position: relative;
  color: var(--pink);
  white-space: nowrap;
}
.hero-copy h1 .hl svg { position: absolute; left: 0; bottom: -10px; width: 100%; height: 14px; }

.hero-copy p {
  font-size: 1.12rem;
  max-width: 460px;
  margin-bottom: 30px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--ink);
}
.hero-stats div span {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.hero-art { position: relative; min-height: 440px; display: flex; align-items: center; justify-content: center; }

.hero-art .blob {
  width: 420px;
  height: 420px;
  background: var(--yellow-soft);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-stickers {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  max-width: 480px;
}

.sticker-chip { width: 148px; aspect-ratio: 1/1; }
.sticker-chip.sc-1 { transform: rotate(-9deg) translateY(8px); }
.sticker-chip.sc-2 { transform: rotate(7deg) translateY(-16px); width: 168px; z-index: 3; }
.sticker-chip.sc-3 { transform: rotate(-5deg) translateY(10px); }
.sticker-chip.sc-4 { transform: rotate(10deg) translateY(-4px); width: 120px; }

.hero-tag {
  position: absolute;
  background: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 10px 18px;
  border-radius: 40px;
  box-shadow: var(--shadow-soft);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-tag--hand { top: 4%; right: 2%; background: var(--pink); color: #fff; transform: rotate(6deg); }
.hero-tag--material { bottom: 6%; left: 0%; color: var(--ink); transform: rotate(-4deg); }

/* =========================== MARQUEE / TICKER =========================== */
.marquee {
  background: var(--ink);
  overflow: hidden;
  padding: 16px 0;
  margin-top: 60px;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-left 28s linear infinite;
  will-change: transform;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-right: 44px;
}
.marquee-track span::after { content: "●"; color: var(--pink); font-size: 0.5rem; }
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================== STICKER WALL (showcase band) =========================== */
.sticker-wall { background: var(--pink-soft); }
.sticker-wall-head { text-align: center; max-width: 560px; margin: 0 auto 40px; }

.sticker-wall-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-bottom: 44px;
}
.wall-chip { width: 150px; aspect-ratio: 1/1; }
.wall-chip:nth-child(1) { transform: rotate(-7deg); }
.wall-chip:nth-child(2) { transform: rotate(5deg) translateY(-10px); }
.wall-chip:nth-child(3) { transform: rotate(-4deg) translateY(6px); }
.wall-chip:nth-child(4) { transform: rotate(8deg) translateY(-6px); }
.wall-chip:nth-child(5) { transform: rotate(-9deg) translateY(4px); }
.wall-chip:nth-child(6) { transform: rotate(6deg) translateY(-4px); }

/* =========================== CATALOGO =========================== */
.catalogo { background: var(--bg); }

.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 26px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.86rem;
  background: var(--gray-soft);
  border: none;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 40px;
}
.tab-btn.active,
.tab-btn:hover { background: var(--ink); color: #fff; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.product-card {
  background: transparent;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

#tab-stickers .product-card:nth-child(1) .product-media { transform: rotate(-3deg); }
#tab-stickers .product-card:nth-child(2) .product-media { transform: rotate(2deg); }
#tab-stickers .product-card:nth-child(3) .product-media { transform: rotate(-2deg); }
.catalogo .product-media:hover { transform: rotate(0deg) scale(1.03) !important; }

.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  padding: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; transition: transform 0.5s ease; }

.product-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--yellow);
  color: var(--yellow-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: 20px;
  z-index: 2;
}

.product-body { padding: 18px 4px 0; }
.product-body h3 { font-size: 1.25rem; margin-bottom: 6px; }
.product-body p { font-size: 0.88rem; margin-bottom: 14px; }

.product-foot { display: flex; align-items: center; justify-content: space-between; }
.price { font-family: var(--font-display); font-size: 1.2rem; color: var(--pink-dark); font-weight: 600; }
.price span { font-size: 0.7rem; color: var(--ink-soft); font-family: var(--font-body); font-weight: 500; }

/* =========================== GALERIA =========================== */
.galeria { background: var(--green-soft); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  background: #fff;
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tallest { grid-row: span 3; }

.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,26,26,0) 45%, rgba(26,26,26,0.75) 100%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

/* =========================== ENCARGOS =========================== */
.encargos { background: var(--bg); }

.encargos-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: flex-start;
}

.encargos-info h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }

.steps { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps li:nth-child(1) .step-num { background: var(--pink); }
.steps li:nth-child(2) .step-num { background: var(--green); }
.steps li:nth-child(3) .step-num { background: var(--yellow); color: var(--yellow-dark); }
.step-text h4 { font-size: 1.05rem; margin-bottom: 4px; }
.step-text p { font-size: 0.86rem; margin: 0; }

.form-card {
  background: var(--gray-soft);
  border-radius: 26px;
  padding: 40px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink);
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 2px solid transparent;
  border-radius: 14px;
  background: #fff;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--pink); }
.form-group textarea { resize: vertical; min-height: 90px; }

.form-note {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 16px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

/* =========================== SOBRE MI =========================== */
.sobre-mi { background: var(--yellow-soft); }
.sobre-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
  align-items: center;
}
.sobre-media {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 24px;
  background: #fff;
  padding: 14px;
  box-shadow: var(--shadow-pop);
  transform: rotate(-3deg);
}
.sobre-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }

.sobre-copy blockquote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 24px;
  padding: 18px 22px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}
.sobre-signature {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--pink-dark);
  margin-top: 18px;
}

/* =========================== TESTIMONIOS =========================== */
.testimonios { background: var(--bg); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testi-card {
  background: var(--gray-soft);
  border-radius: 20px;
  padding: 28px;
  position: relative;
}
.testi-card:nth-child(1) { border-top: 5px solid var(--pink); }
.testi-card:nth-child(2) { border-top: 5px solid var(--green); }
.testi-card:nth-child(3) { border-top: 5px solid var(--yellow); }
.testi-card p { font-family: var(--font-display); font-weight: 500; font-size: 1.06rem; color: var(--ink); }
.testi-name { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); }

/* =========================== NEWSLETTER =========================== */
.newsletter {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 76px 0;
}
.newsletter h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.newsletter p { color: #cfcfcc; max-width: 460px; margin: 0 auto 30px; }
.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  min-width: 200px;
  background: #2b2b2b;
  border: 2px solid transparent;
  border-radius: 40px;
  outline: none;
  color: #fff;
  font-family: var(--font-body);
  padding: 13px 20px;
}
.newsletter-form input:focus { border-color: var(--pink); }
.newsletter-form input::placeholder { color: #9a9a97; }
.newsletter-form button {
  background: var(--pink);
  border: none;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 13px 24px;
  border-radius: 40px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.newsletter-form button:hover { transform: scale(1.05); }

/* =========================== FOOTER =========================== */
.site-footer { background: var(--ink); color: #cfcfcc; padding: 60px 0 26px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: 0.88rem; max-width: 260px; color: #9a9a97; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #2b2b2b;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: all 0.2s ease;
}
.footer-social a:hover { background: var(--pink); transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: #fff;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.88rem; color: #9a9a97; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--pink); }

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.76rem;
  color: #83837f;
}

/* =========================== LIGHTBOX =========================== */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(26, 26, 26, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 40px;
}
.lightbox.active { display: flex; }
.lightbox-inner { max-width: 720px; width: 100%; text-align: center; }
.lightbox-inner img {
  max-height: 78vh;
  margin: 0 auto 16px;
  border-radius: 18px;
  border: 8px solid #fff;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.lightbox-caption { color: #fff; font-family: var(--font-display); font-weight: 600; }
.lightbox-close {
  position: absolute;
  top: 26px; right: 34px;
  color: #fff;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

/* =========================== CARRITO =========================== */
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 16px 0 10px;
  border-radius: 50px;
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.86rem;
  transition: all 0.2s ease;
}
.cart-icon-wrap { position: relative; display: inline-flex; flex-shrink: 0; }
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn:hover { background: var(--ink); color: #fff; }
.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.cart-count[data-empty="true"] { display: none; }

/* Botón flotante persistente (móvil) */
.cart-fab {
  display: none;
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 150;
  align-items: center;
  gap: 9px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 20px 12px 12px;
  box-shadow: var(--shadow-pop);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
}
.cart-fab svg { width: 20px; height: 20px; }
.cart-fab .cart-count { background: var(--pink); }

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 200;
}
.cart-overlay.show { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 92vw);
  background: #fff;
  box-shadow: -18px 0 40px -20px rgba(26, 26, 26, 0.4);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 2px solid var(--line);
}
.cart-drawer-head h3 { margin: 0; }
.cart-close {
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  color: var(--ink);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart-empty { color: var(--ink-soft); font-size: 0.9rem; }

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.cart-item-name { font-family: var(--font-display); font-weight: 600; font-size: 0.96rem; }
.cart-item-price { font-size: 0.82rem; color: var(--ink-soft); }
.cart-item-subtotal { font-weight: 700; text-align: right; white-space: nowrap; }
.cart-item-qty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
}
.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: #fff;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover { background: var(--ink); color: #fff; }
.qty-value { font-weight: 600; min-width: 18px; text-align: center; }
.cart-item-remove {
  background: none;
  border: none;
  color: var(--pink-dark);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  margin-left: auto;
  padding: 0;
}

.cart-drawer-foot {
  padding: 20px 24px 26px;
  border-top: 2px solid var(--line);
}
.cart-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.cart-total-row strong small { font-size: 0.7rem; color: var(--ink-soft); font-weight: 600; }
.cart-checkout:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

.whatsapp-cta { margin: 0 auto; }

/* =========================== TOAST =========================== */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--ink);
  color: #fff;
  padding: 14px 26px;
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: 40px;
  box-shadow: var(--shadow-pop);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* =========================== RESPONSIVE =========================== */
/* Ribbon de carrito persistente y esbelto, acoplado a la derecha (escritorio) */
@media (min-width: 761px) {
  .cart-overlay { display: none; }
  .cart-drawer {
    top: 96px;
    height: auto;
    max-height: calc(100vh - 116px);
    right: 20px;
    width: min(320px, 90vw);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-pop);
  }
  .cart-drawer-head { padding: 18px 20px; }
  .cart-items { padding: 14px 20px; }
  .cart-drawer-foot { padding: 16px 20px 20px; }
}

@media (max-width: 980px) {
  .hero-inner,
  .encargos-inner,
  .sobre-inner { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sobre-media { max-width: 380px; margin: 0 auto; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .cart-label { display: none; }
  .cart-btn { padding: 0 10px; gap: 0; }
  .cart-fab { display: inline-flex; }
  section { padding: 64px 0; }
  .product-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .hero-tag { display: none; }
  .hero-art { min-height: 300px; }
  .hero-art .blob { width: 280px; height: 280px; }
  .hero-stickers { max-width: 270px; gap: 10px; padding: 8px; }
  .sticker-chip { width: 100px; }
  .sticker-chip.sc-2 { width: 112px; }
  .sticker-chip.sc-4 { width: 82px; }
}

body.nav-open .nav-links {
  display: flex;
  position: absolute;
  top: 100%; left: 0; right: 0;
  flex-direction: column;
  background: #fff;
  padding: 20px 28px 26px;
  border-bottom: 2px solid var(--ink);
  gap: 6px;
}
