/* ==========================================================================
   JP — Estudio creativo. Hoja de estilos del sitio público.
   ========================================================================== */

:root {
  --ink: #1a1a1a;
  --plum: #4e0c28;
  --periwinkle: #c5d3f8;
  --cream: #fdfaf1;
  --paper: #fff;
  --blush: #ffdce9;

  --pink: #e86a9b;
  --pink-ink: #b23a6b;
  --yellow: #ffc24b;
  --teal: #2bb3a3;
  --teal-ink: #17736a;
  --purple: #8b5cf6;
  --orange: #ff7a45;
  --orange-ink: #b4501f;
  --wa: #1f8f4e;
  --wa-bright: #25d366;

  --text: #1a1a1a;
  --text-soft: #5c5449;
  --border: rgba(26, 26, 26, 0.1);
  --shadow-sm: 0 6px 18px rgba(26, 26, 26, 0.06);
  --shadow-md: 0 14px 36px rgba(26, 26, 26, 0.09);
  --shadow-lg: 0 26px 56px rgba(26, 26, 26, 0.14);

  --font-head: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --header-h: 76px;
}

/* --- base ---------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

[hidden] {
  display: none !important;
}

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

button,
a,
input,
textarea,
select {
  font: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--ink);
}

p {
  text-wrap: pretty;
}

.material-icons {
  vertical-align: middle;
  line-height: 1;
}

.icon-svg {
  width: 1.15em;
  height: 1.15em;
  fill: currentColor;
  flex-shrink: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 10000;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 14px 0;
  font-weight: 700;
}

.skip-link:focus {
  top: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --- piezas comunes ------------------------------------------------------ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  color: var(--plum);
}

.eyebrow .spark {
  width: 13px;
  height: 13px;
  color: var(--pink);
  fill: currentColor;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  line-height: 1;
  padding: 16px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    color 0.3s ease,
    background-color 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  box-shadow: 0 16px 32px rgba(26, 26, 26, 0.26);
}

.btn-wa {
  background: var(--wa);
  color: #fff;
}

.btn-wa:hover {
  box-shadow: 0 16px 32px rgba(31, 143, 78, 0.35);
}

.btn-outline {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

.card {
  background: var(--paper);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.section {
  padding: 104px 0;
  position: relative;
}

.sep {
  height: 1px;
  border: 0;
  background: linear-gradient(to right, transparent, rgba(26, 26, 26, 0.16), transparent);
}

.head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.head-row h2,
.head-center h2 {
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  margin-top: 10px;
}

.head-center {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 52px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--plum);
  font-variant-numeric: tabular-nums;
}

/* --- cabecera ------------------------------------------------------------ */

.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(253, 250, 241, 0.92);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.navbar.scrolled {
  border-color: var(--border);
  box-shadow: 0 8px 30px rgba(26, 26, 26, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  line-height: 1;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px 4px 16px 4px;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: #fff;
  font-size: 1.35rem;
  transform: rotate(-4deg);
  box-shadow: 0 8px 18px rgba(232, 106, 155, 0.38);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.nav-links a:hover {
  background: rgba(232, 106, 155, 0.12);
  color: var(--plum);
}

.nav-links a[aria-current="page"] {
  background: var(--ink);
  color: #fff;
}

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

.cart-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--ink);
  color: #fff;
  transition: transform 0.3s ease;
}

.cart-btn:hover {
  transform: scale(1.06);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 2px solid var(--cream);
  background: var(--pink-ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.cart-badge.bounce {
  animation: bounce 0.5s ease;
}

@keyframes bounce {
  0%,
  100% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.45);
  }
  60% {
    transform: scale(0.9);
  }
}

.hamburger {
  display: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 15px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.hamburger .material-icons {
  font-size: 30px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 950;
  visibility: hidden;
  transition: visibility 0s linear 0.35s;
}

.mobile-menu.open {
  visibility: visible;
  transition-delay: 0s;
}

.mobile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.5);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu.open .mobile-backdrop {
  opacity: 1;
}

.mobile-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 86vw);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--cream);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
  overscroll-behavior: contain;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open .mobile-panel {
  transform: none;
}

.mobile-panel a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  padding: 14px 16px;
  border-radius: 14px;
  transition: background-color 0.2s;
}

.mobile-panel a:hover,
.mobile-panel a[aria-current="page"] {
  background: rgba(232, 106, 155, 0.13);
}

.mobile-panel .mobile-admin {
  margin-top: auto;
  color: var(--pink-ink);
  font-size: 1rem;
}

.mobile-close {
  align-self: flex-end;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  color: var(--ink);
  font-size: 2rem;
  cursor: pointer;
}

/* --- pie ----------------------------------------------------------------- */

.footer {
  background: var(--ink);
  color: #fff;
  padding: 80px 0 30px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 44px;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.8rem;
}

.footer p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

.foot-col h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.foot-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.foot-col a {
  color: rgba(255, 255, 255, 0.72);
  transition:
    color 0.2s,
    padding-left 0.2s;
}

.foot-col a:hover {
  color: var(--pink);
  padding-left: 5px;
}

.foot-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.foot-contact .material-icons {
  color: var(--pink);
  font-size: 20px;
  margin-top: 2px;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.socials a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.25rem;
  transition:
    transform 0.3s,
    background-color 0.3s;
}

.socials a:hover {
  transform: translateY(-4px);
  background: var(--wa);
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
}

.foot-bottom a {
  color: var(--yellow);
}

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 800;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wa-bright);
  color: #fff;
  font-size: 1.8rem;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  animation: pulse 2.4s infinite;
  transition: transform 0.3s ease;
}

.wa-float:hover {
  transform: scale(1.08);
}

@keyframes pulse {
  0%,
  100% {
    box-shadow:
      0 10px 26px rgba(37, 211, 102, 0.45),
      0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow:
      0 10px 26px rgba(37, 211, 102, 0.45),
      0 0 0 16px rgba(37, 211, 102, 0);
  }
}

/* --- avisos -------------------------------------------------------------- */

.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  left: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 380px;
  padding: 14px 18px;
  border-radius: 14px;
  border-left: 5px solid var(--teal);
  background: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
  font-weight: 600;
  pointer-events: auto;
  opacity: 0;
  transform: translateX(120%);
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s;
}

.toast.show {
  opacity: 1;
  transform: none;
}

.toast.error {
  border-color: var(--orange);
}

.toast.info {
  border-color: var(--purple);
}

.toast .material-icons {
  font-size: 22px;
}

/* --- formularios --------------------------------------------------------- */

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--pink);
  outline: none;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field .err {
  border-color: var(--orange);
}

.inline-msg {
  margin-top: 14px;
  padding: 15px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.inline-msg.ok {
  background: rgba(43, 179, 163, 0.14);
  color: var(--teal-ink);
}

.inline-msg.bad {
  background: rgba(255, 122, 69, 0.14);
  color: var(--orange-ink);
}

.inline-msg a {
  text-decoration: underline;
  font-weight: 700;
}

/* --- tarjetas de producto ------------------------------------------------ */

.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.pcard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 106, 155, 0.35);
}

.pcard-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--periwinkle);
}

.pcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.pcard:hover .pcard-media img {
  transform: scale(1.06);
}

.cat-tag,
.feat-tag {
  position: absolute;
  top: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.72rem;
}

.cat-tag {
  left: 12px;
  background: #fff;
  color: var(--plum);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feat-tag {
  right: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--yellow);
  color: var(--ink);
}

.feat-tag .material-icons {
  font-size: 14px;
}

.pcard-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 20px 22px;
}

.pcard-body h3 {
  font-size: 1.16rem;
}

.pcard-body h3 a:hover {
  color: var(--pink-ink);
}

.pcard-desc {
  flex: 1;
  color: var(--text-soft);
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pcard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
}

.pcard-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.pcard-actions .btn {
  flex: 1;
}

.link-det {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-weight: 700;
  color: var(--pink-ink);
  transition: gap 0.2s;
}

.link-det:hover {
  gap: 7px;
}

.stock-low {
  color: var(--orange-ink);
  font-size: 0.78rem;
  font-weight: 700;
}

.skeleton {
  min-height: 360px;
  background: linear-gradient(100deg, #fff 30%, #f6f1e4 50%, #fff 70%) 0 0 / 300% 100%;
  animation: shimmer 1.4s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: -100% 0;
  }
}

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 72px 20px;
  color: var(--text-soft);
}

.empty .material-icons {
  font-size: 64px;
  color: var(--periwinkle);
}

.empty h2,
.empty h3 {
  margin: 14px 0 8px;
}

.empty .btn {
  margin-top: 22px;
}

/* --- inicio -------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 108px;
  background:
    radial-gradient(circle at 12% 20%, var(--blush), transparent 42%),
    radial-gradient(circle at 88% 15%, var(--periwinkle), transparent 46%),
    var(--cream);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.7rem, 6.2vw, 4.7rem);
  letter-spacing: -0.035em;
  margin: 18px 0 22px;
}

.hero h1 .hl {
  color: var(--pink-ink);
  font-weight: 800;
}

.lead {
  max-width: 500px;
  margin-bottom: 32px;
  font-size: 1.18rem;
  color: var(--text-soft);
}

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

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  box-shadow: 0 4px 12px rgba(26, 26, 26, 0.05);
  font-weight: 600;
  font-size: 0.88rem;
}

.badge-pill .material-icons {
  font-size: 18px;
  color: var(--pink-ink);
}

.hero-art {
  position: relative;
  aspect-ratio: 4 / 4.6;
}

.hero-blob {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  border-radius: 44% 56% 60% 40% / 45% 40% 60% 55%;
  background: linear-gradient(140deg, var(--pink), var(--orange) 55%, var(--yellow));
  box-shadow: 0 30px 60px rgba(232, 106, 155, 0.33);
}

.hero-blob img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-spark {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.spark-trace {
  animation: trace 2.6s ease-out 0.4s forwards;
}

@keyframes trace {
  to {
    stroke-dashoffset: 0;
  }
}

.twinkle {
  transform-box: fill-box;
  transform-origin: center;
  animation: twinkle 3.2s ease-in-out infinite;
}

.hero-spark g:nth-of-type(3) .twinkle {
  animation-delay: 1s;
}

.hero-spark g:nth-of-type(4) .twinkle {
  animation-delay: 2s;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.72);
  }
}

.float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(26, 26, 26, 0.16);
  font-weight: 700;
  animation: floaty 6s ease-in-out infinite;
}

.float-card .fc-ic {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 12px;
  color: #fff;
}

.float-card .lbl {
  font-size: 0.86rem;
  color: var(--text-soft);
}

.fc1 {
  --r: -5deg;
  top: 8%;
  left: -6%;
}

.fc1 .fc-ic {
  background: var(--teal-ink);
}

.fc2 {
  --r: 5deg;
  bottom: 14%;
  right: -6%;
  animation-duration: 7s;
  animation-delay: 0.5s;
}

.fc2 .fc-ic {
  background: var(--purple);
}

.fc3 {
  --r: -3deg;
  top: 44%;
  right: -10%;
  animation-duration: 8s;
  animation-delay: 1s;
  font-family: var(--font-head);
  font-size: 1.45rem;
  color: var(--pink-ink);
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(var(--r, -4deg));
  }
  50% {
    transform: translateY(-14px) rotate(var(--r, -4deg));
  }
}

.sec-alt {
  background: linear-gradient(180deg, #fff, var(--periwinkle) 130%);
}

.cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cat-card {
  position: relative;
  overflow: hidden;
  padding: 32px 22px;
  text-align: center;
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.icon-hex {
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  color: #fff;
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  transition: transform 0.4s ease;
}

.icon-hex .material-icons {
  font-size: 30px;
}

.cat-card:hover .icon-hex {
  transform: rotate(15deg) scale(1.08);
}

.tone-1 .icon-hex,
.tone-1 .info-ic,
.tone-1 .hex {
  background: var(--pink-ink);
}

.tone-2 .icon-hex,
.tone-2 .info-ic,
.tone-2 .hex {
  background: var(--teal-ink);
}

.tone-3 .icon-hex,
.tone-3 .info-ic,
.tone-3 .hex {
  background: var(--purple);
}

.tone-4 .icon-hex,
.tone-4 .info-ic,
.tone-4 .hex {
  background: var(--orange-ink);
}

.cat-card h3 {
  font-size: 1.18rem;
}

.cat-count {
  margin-top: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--plum);
}

.process {
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.process::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
}

.process .container {
  position: relative;
  z-index: 2;
}

.process .eyebrow {
  color: var(--yellow);
}

.process h2 {
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  margin-top: 10px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 56px;
}

.step {
  position: relative;
}

.step-num {
  font-family: var(--font-head);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--pink);
}

.step-icon {
  width: 56px;
  height: 56px;
  margin: 16px 0;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: var(--yellow);
  transition: transform 0.3s ease;
}

.step:hover .step-icon {
  transform: translateY(-4px) rotate(-6deg);
}

.step h3 {
  color: #fff;
  font-size: 1.3rem;
}

.step p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
}

.step .arrow {
  position: absolute;
  top: 22px;
  right: -20px;
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.3);
}

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

.tst-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
}

.tst-card::before {
  content: "\201C";
  position: absolute;
  top: 4px;
  right: 22px;
  font-family: var(--font-head);
  font-size: 5.5rem;
  line-height: 1;
  color: var(--periwinkle);
}

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
  color: var(--yellow);
}

.stars .material-icons {
  font-size: 20px;
}

.tst-text {
  flex: 1;
  margin-bottom: 22px;
  font-size: 1.02rem;
}

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

.tst-avatar {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.tst-card:nth-child(2) .tst-avatar {
  background: linear-gradient(135deg, var(--teal), var(--purple));
}

.tst-card:nth-child(3) .tst-avatar {
  background: linear-gradient(135deg, var(--purple), var(--pink));
}

.tst-person strong {
  display: block;
  color: var(--ink);
}

.tst-person span span {
  font-size: 0.86rem;
  color: var(--text-soft);
}

.banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding: 56px 48px;
  border-radius: 32px;
  background: linear-gradient(120deg, var(--plum), #a32f5f 55%, var(--orange-ink));
  color: #fff;
  box-shadow: 0 24px 50px rgba(78, 12, 40, 0.3);
}

.banner::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 70%);
}

.banner > * {
  position: relative;
  z-index: 2;
}

.banner h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
}

.banner p {
  max-width: 540px;
  margin-top: 10px;
  opacity: 0.92;
}

.banner .btn {
  background: #fff;
  color: var(--plum);
}

.banner .btn:hover {
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

/* --- cabeceras de página interior --------------------------------------- */

.page-head {
  padding: 60px 0 34px;
  background:
    radial-gradient(circle at 85% 10%, var(--periwinkle), transparent 45%),
    var(--cream);
}

.page-head h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 14px 0 10px;
}

.page-head p {
  max-width: 580px;
  color: var(--text-soft);
}

/* --- productos ----------------------------------------------------------- */

.filters {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
  padding: 20px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.search-wrap {
  position: relative;
}

.search-wrap .material-icons {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: var(--text-soft);
}

.search-wrap input {
  width: 100%;
  padding: 14px 16px 14px 50px;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: var(--cream);
  font-size: 1rem;
  transition: border-color 0.25s;
}

.search-wrap input:focus {
  border-color: var(--pink);
  outline: none;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 9px 18px;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: var(--cream);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition:
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s,
    transform 0.2s;
}

.chip:hover {
  transform: translateY(-2px);
}

.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.results-bar {
  margin: 30px 0 22px;
  color: var(--text-soft);
}

.results-bar strong {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--ink);
}

.catalog {
  padding-bottom: 96px;
}

/* --- detalle de producto ------------------------------------------------- */

.breadcrumb {
  padding: 28px 0 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.breadcrumb a:hover {
  color: var(--pink-ink);
}

.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
  padding: 20px 0 64px;
}

.detail-media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--periwinkle);
  box-shadow: var(--shadow-lg);
}

.detail-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.detail-info h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 12px 0 14px;
}

.d-cat {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--periwinkle);
  color: var(--plum);
  font-weight: 700;
  font-size: 0.82rem;
}

.d-price {
  margin: 18px 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.7rem;
  color: var(--plum);
  font-variant-numeric: tabular-nums;
}

.d-desc {
  margin-bottom: 22px;
  font-size: 1.08rem;
  color: var(--text-soft);
}

.d-stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-weight: 700;
}

.d-stock .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
}

.d-stock.low .dot,
.d-stock.out .dot {
  background: var(--orange);
}

.qty-buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.qty {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: #fff;
}

.qty button {
  width: 46px;
  height: 46px;
  border: none;
  background: var(--cream);
  color: var(--ink);
  font-size: 1.4rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.qty button:hover {
  background: var(--periwinkle);
}

.qty input {
  width: 54px;
  border: none;
  background: transparent;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  -moz-appearance: textfield;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px dashed var(--border);
}

.trust div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.trust .material-icons {
  color: var(--teal-ink);
}

.related {
  padding: 40px 0 88px;
}

.related h2 {
  margin-bottom: 30px;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.rel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.rcard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.rcard:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.rcard img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rcard-body {
  padding: 16px 18px 18px;
}

.rcard-body h3 {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.rcard-body .price {
  font-size: 1.1rem;
}

/* --- carrito ------------------------------------------------------------- */

.checkout {
  padding-block: 56px 88px;
}

.checkout h1 {
  margin: 12px 0 32px;
  font-size: clamp(2.2rem, 5vw, 3rem);
}

.co-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: start;
}

.items {
  padding: 8px;
}

.item {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid var(--border);
}

.item:last-child {
  border-bottom: none;
}

.item img {
  width: 84px;
  height: 84px;
  border-radius: 16px;
  object-fit: cover;
  background: var(--periwinkle);
}

.item-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--ink);
}

.item-unit {
  margin-top: 2px;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.qmini {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  border: 2px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.qmini button {
  width: 34px;
  height: 34px;
  border: none;
  background: var(--cream);
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
}

.qmini button:hover {
  background: var(--periwinkle);
}

.qmini span {
  min-width: 36px;
  text-align: center;
  font-weight: 700;
}

.item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.item-sub {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--plum);
  font-variant-numeric: tabular-nums;
}

.del {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: none;
  background: none;
  color: var(--orange-ink);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
}

.del:hover {
  color: #8f2b0d;
}

.summary {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  padding: 28px;
}

.summary h2 {
  margin-bottom: 18px;
  font-size: 1.45rem;
}

.sum-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--text-soft);
}

.sum-total {
  display: flex;
  justify-content: space-between;
  margin: 18px 0;
  padding-top: 16px;
  border-top: 2px dashed var(--border);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ink);
}

.sum-total span:last-child {
  color: var(--plum);
  font-variant-numeric: tabular-nums;
}

.form-checkout {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.form-checkout .field textarea {
  min-height: 72px;
}

.summary .btn-outline {
  width: 100%;
  margin-top: 12px;
}

.done-card {
  text-align: center;
  padding: 72px 24px;
}

.done-card .material-icons {
  font-size: 84px;
  color: var(--teal);
}

.done-card h2 {
  margin: 14px 0 10px;
}

.done-card p {
  max-width: 520px;
  margin: 0 auto 24px;
  color: var(--text-soft);
}

.done-card .btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* --- nosotros ------------------------------------------------------------ */

.about-hero {
  padding: 64px 0;
  background:
    radial-gradient(circle at 15% 15%, var(--periwinkle), transparent 45%),
    var(--cream);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-hero h1 {
  margin: 14px 0 16px;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

.about-hero p {
  max-width: 520px;
  font-size: 1.12rem;
  color: var(--text-soft);
}

.about-hero .btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.about-img {
  position: relative;
}

.about-img .blob {
  overflow: hidden;
  border-radius: 44% 56% 60% 40% / 45% 40% 60% 55%;
  box-shadow: 0 30px 60px rgba(232, 106, 155, 0.28);
}

.about-img img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
}

.about-img .frame {
  position: absolute;
  inset: 14px;
  border: 2.5px solid #fff;
  border-radius: 44% 56% 60% 40% / 45% 40% 60% 55%;
  pointer-events: none;
}

.stats-band {
  position: relative;
  overflow: hidden;
  padding: 60px 0;
  background: var(--ink);
  color: #fff;
}

.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
}

.stat-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
}

.stat .lbl {
  margin-top: 6px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.76);
}

.vals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.val-card {
  padding: 32px 24px;
  text-align: center;
}

.val-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.val-card .hex {
  width: 66px;
  height: 66px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  color: #fff;
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  transition: transform 0.4s;
}

.val-card:hover .hex {
  transform: rotate(18deg) scale(1.08);
}

.val-card h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.val-card p {
  font-size: 0.94rem;
  color: var(--text-soft);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 36px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 9px;
  width: 3px;
  background: linear-gradient(var(--pink), var(--orange));
}

.tl-item {
  position: relative;
  margin-bottom: 36px;
}

.tl-item:last-child {
  margin-bottom: 0;
}

.tl-item::before {
  content: "";
  position: absolute;
  top: 6px;
  left: -33px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 4px solid var(--pink);
  background: #fff;
}

.tl-year {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--plum);
}

.tl-item h3 {
  margin: 2px 0 6px;
  font-size: 1.3rem;
}

.tl-item p {
  color: var(--text-soft);
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 60px 44px;
  border-radius: 32px;
  background: linear-gradient(120deg, var(--plum), #a32f5f 55%, var(--orange-ink));
  color: #fff;
  text-align: center;
}

.final-cta::after {
  content: "";
  position: absolute;
  left: -30px;
  bottom: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
}

.final-cta > * {
  position: relative;
  z-index: 2;
}

.final-cta h2 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.final-cta p {
  max-width: 560px;
  margin: 12px auto 28px;
  opacity: 0.92;
}

.final-cta .btn {
  background: #fff;
  color: var(--plum);
}

/* --- contacto ------------------------------------------------------------ */

.ct-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
  padding: 44px 0 88px;
}

.ct-form {
  padding: 34px;
}

.ct-form h2 {
  margin-bottom: 6px;
  font-size: 1.7rem;
}

.ct-form > p {
  margin-bottom: 24px;
  color: var(--text-soft);
}

.info-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
}

.info-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.info-ic {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 16px;
  color: #fff;
}

.info-card h3 {
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.info-card p {
  font-size: 0.96rem;
  color: var(--text-soft);
  overflow-wrap: anywhere;
}

.info-card .btn {
  margin-top: 12px;
}

.map-wrap {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

/* --- 404 ----------------------------------------------------------------- */

.notfound {
  padding-block: 110px 120px;
  text-align: center;
}

.notfound .big {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(5rem, 16vw, 9rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 3px var(--pink);
}

.notfound h1 {
  margin: 18px 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.notfound p {
  max-width: 480px;
  margin: 0 auto 28px;
  color: var(--text-soft);
}

/* --- responsive ---------------------------------------------------------- */

@media (max-width: 1024px) {
  .prod-grid,
  .cats {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps,
  .vals {
    grid-template-columns: repeat(2, 1fr);
  }

  .step .arrow {
    display: none;
  }

  .tst-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin: 0 auto;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .detail,
  .co-grid,
  .ct-grid,
  .about-hero-grid {
    grid-template-columns: 1fr;
  }

  .detail {
    gap: 30px;
  }

  .summary {
    position: static;
  }

  .about-img {
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
  }

  .stat-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 68px;
  }

  body {
    font-size: 1rem;
  }

  .container {
    padding-inline: 18px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: grid;
  }

  .brand {
    font-size: 1.4rem;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }

  .section {
    padding: 72px 0;
  }

  .head-row {
    margin-bottom: 32px;
  }

  .hero {
    padding: 52px 0 84px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-art {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  /* las tarjetas flotantes se quedan dentro de la pantalla */
  .fc1 {
    left: 0;
  }

  .fc2 {
    right: 0;
  }

  .fc3 {
    right: 0;
  }

  .prod-grid,
  .cats {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .banner,
  .final-cta {
    padding: 40px 26px;
  }

  .foot-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .page-head {
    padding: 42px 0 24px;
  }

  .ct-form {
    padding: 24px;
  }

  .item {
    grid-template-columns: 68px 1fr;
  }

  .item img {
    width: 68px;
    height: 68px;
  }

  .item-right {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 560px) {
  .prod-grid,
  .cats,
  .steps,
  .vals,
  .rel-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta .btn,
  .about-hero .btns .btn {
    flex: 1 1 100%;
  }

  .float-card {
    padding: 10px 12px;
  }

  .float-card .fc-ic {
    width: 32px;
    height: 32px;
  }

  .fc3 {
    font-size: 1.2rem;
  }

  .d-price {
    font-size: 2.2rem;
  }

  .wa-float {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
}

@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;
  }

  .spark-trace {
    stroke-dashoffset: 0;
  }
}
