/* ==========================================================================
   ROSMIN Natural — Estilos 1:1 del archivo de Figma (Mobile-first 393px)
   ========================================================================== */

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

html {
  overflow-x: clip;
  overscroll-behavior-y: none;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: clip;
  overscroll-behavior-y: none;
  background-color: var(--base-fondo);
  color: var(--texto-principal);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

button,
input,
textarea,
a {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}

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

/* Contenedor mobile-first 1:1 con Figma (393px -> 372px inner) */
.app-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  min-height: 100dvh;
  margin-inline: auto;
  background-color: var(--base-fondo);
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .app-canvas {
    max-width: 820px;
  }
}

/* ==========================================================================
   Header · navbar fade (Figma 23:15)
   ========================================================================== */
.navbar-fade {
  position: relative;
  width: 100%;
  padding: 24px 10.5px 18px;
  background: linear-gradient(
    180deg,
    rgba(39, 54, 38, 0.92) 2.88%,
    rgba(58, 78, 56, 0.72) 43.27%,
    rgba(128, 152, 122, 0.28) 75.96%,
    rgba(128, 152, 122, 0) 100%
  );
}

.navbar-top {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0;
}

.navbar-cart-btn {
  position: absolute;
  top: 4px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.navbar-cart-btn img {
  width: 20px;
  height: 20px;
}

.navbar-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding-inline: 4px;
  border-radius: 9999px;
  background: var(--boton-wasa);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

.navbar-cart-badge[data-count="0"] {
  display: none;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
}

.brand-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 36px;
  line-height: 40px;
  letter-spacing: 5.04px;
  color: var(--surface-cream);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
}

.brand-sub {
  margin-top: 1px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  line-height: 16.5px;
  letter-spacing: 3.74px;
  text-transform: uppercase;
  color: var(--base-fondo-seccion);
}

.brand-script {
  margin-top: 4px;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 36px;
  line-height: 40px;
  color: var(--texto-principal);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
}

.hero-cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: var(--texto-principal);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  text-decoration: none;
}

/* ==========================================================================
   Nuestra Colección + 4 Píldoras de filtro (Figma 20:255)
   ========================================================================== */
.collection-head {
  padding: 18px 10px 0;
}

.collection-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.collection-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  color: var(--texto-principal);
}

.collection-count {
  font-size: 12px;
  line-height: 16px;
  color: var(--texto-secundario);
  white-space: nowrap;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  flex: 0 0 auto;
  height: 28px;
  padding: 6px 13px;
  border-radius: 9999px;
  background: var(--pill-bg);
  color: var(--texto-principal);
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.filter-pill[aria-pressed="true"] {
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(212, 165, 165, 0.5), 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Main Grid: Tarjeta Arma tu propio combo + 8 Jabones (Figma 20:256)
   ========================================================================== */
.catalog-main {
  padding: 12px 10.5px 0;
}

@media (prefers-reduced-motion: reduce) {
  .app-loader {
    display: none !important;
  }

  .floating-cart {
    transition: none;
  }
}

/* ==========================================================================
   Loader botánico inicial (cortina orgánica)
   ========================================================================== */
.app-loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 42%, #FAF6F0 0%, #EFF5E6 62%, #E4EED8 100%);
  color: var(--texto-principal);
  pointer-events: all;
  will-change: transform, opacity;
}

.app-loader[hidden] {
  display: none;
}

.app-loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.app-loader__sprig {
  color: #3A4E38;
  margin-bottom: 4px;
}

.app-loader__brand {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: 5px;
  color: var(--texto-principal);
}

.app-loader__sub {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--texto-secundario);
}

.app-loader__bar {
  margin-top: 10px;
  width: 88px;
  height: 2px;
  border-radius: 9999px;
  background: rgba(35, 43, 34, 0.12);
  overflow: hidden;
}

.app-loader__fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3A4E38 0%, #8CA884 100%);
  transform-origin: left center;
  transform: scaleX(0);
}

/* Tarjeta Arma tu propio combo (Figma 836:110) */
.combo-promo-card {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 16px;
  background: var(--durazno-pastel);
  border-radius: 26px;
  padding: 18px 17px 14px;
  margin-bottom: 16px;
}

.combo-promo-left {
  flex: 0 0 128px;
  width: 128px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.combo-promo-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 113px;
  height: 19px;
  border-radius: 10px;
  background: var(--base-fondo-tarjeta);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--texto-principal);
  margin-bottom: 5px;
}

.combo-promo-visual {
  position: relative;
  width: 128px;
  height: 128px;
  border-radius: 20px;
  background: #DFEBE3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.combo-promo-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.combo-promo-note {
  margin: 10px 0 0;
  font-size: 10px;
  line-height: 13px;
  color: var(--texto-secundario);
  text-align: left;
  width: 100%;
}

.combo-promo-right {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.combo-promo-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 21px;
  line-height: 26px;
  color: var(--texto-principal);
}

.combo-promo-desc {
  margin: 6px 0 8px;
  font-size: 12px;
  line-height: 16px;
  color: var(--texto-secundario);
}

.combo-promo-prices {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  color: var(--texto-principal);
}

.combo-promo-cta {
  width: 100%;
  height: 40px;
  border-radius: 17px;
  background: var(--texto-principal);
  color: var(--base-fondo-tarjeta);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Grid de tarjetas de jabón */
.soap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .soap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Tarjeta individual de jabón (Figma 20:257, 20:284, etc.) */
.soap-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 212px;
  padding: 14px 16px;
  border-radius: 24px;
  background: var(--base-fondo-tarjeta);
  border: 1px solid rgba(226, 240, 203, 0.6);
  box-shadow: var(--shadow-card);
}

.soap-thumb-btn {
  position: relative;
  flex: 0 0 128px;
  width: 128px;
  height: 128px;
  border-radius: 20px;
  background: var(--card-bg);
  overflow: hidden;
}

.soap-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.soap-thumb-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 2;
  padding: 2px 8px;
  border-radius: 9999px;
  background: var(--badge-bg);
  color: var(--texto-principal);
  font-size: 10px;
  font-weight: 700;
  line-height: 15px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
}

.soap-thumb-cam {
  position: absolute;
  right: 6px;
  bottom: 6px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.soap-thumb-cam img {
  width: 14px;
  height: 14px;
}

.soap-info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.soap-title-btn {
  text-align: left;
  display: block;
  width: 100%;
}

.soap-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  color: var(--texto-principal);
}

.soap-desc {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 17px;
  color: var(--texto-secundario);
}

.soap-price-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.soap-price-val {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  color: var(--texto-principal);
}

.soap-price-sub {
  display: block;
  font-size: 10px;
  line-height: 14px;
  color: var(--texto-secundario);
}

.soap-add-btn {
  width: 100%;
  height: 40px;
  border-radius: 20px;
  background: var(--malva-suave);
  color: var(--texto-principal);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
}

.soap-stepper {
  width: 134px;
  height: 40px;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--base-fondo-seccion);
  border: 1px solid rgba(35, 43, 34, 0.15);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
}

.soap-stepper-btn {
  width: 30px;
  height: 30px;
  border-radius: 9999px;
  background: #FFFFFF;
  color: var(--texto-principal);
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
}

.soap-stepper-num {
  min-width: 20px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--texto-principal);
}

/* ==========================================================================
   Sección 5: Confianza Botánica (Figma 20:355)
   ========================================================================== */
.trust-section {
  margin-top: 20px;
  padding-inline: 10.5px;
}

.trust-box {
  background: rgba(226, 240, 203, 0.75);
  border: 1px solid var(--base-fondo-seccion);
  border-radius: 24px;
  padding: 24px 20px 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.trust-pill {
  padding: 2px 12px;
  border-radius: 9999px;
  background: var(--surface-cream);
  font-size: 11px;
  font-weight: 700;
  line-height: 16.5px;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  color: var(--texto-principal);
}

.trust-heading {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  text-align: center;
  color: var(--texto-principal);
}

.trust-cards {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 4px;
}

.trust-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 14px 13px;
  border-radius: 16px;
  background: rgba(250, 246, 240, 0.92);
  border: 1px solid rgba(35, 43, 34, 0.05);
}

@media (min-width: 768px) {
  .trust-card {
    flex-direction: row;
    gap: 12px;
    padding: 16px;
  }
}

.trust-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: rgba(226, 240, 203, 0.72);
  color: #2d4227;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-card-title {
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  color: var(--texto-principal);
}

.trust-card-desc {
  margin: 0;
  font-size: 11px;
  line-height: 15.13px;
  color: var(--texto-secundario);
}

/* ==========================================================================
   Sección 6: Footer con Guía de Cuidado e Identidad Botánica
   ========================================================================== */
.site-footer {
  margin-top: 22px;
  padding: 20px 14px calc(104px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(250, 246, 240, 0.96) 0%, rgba(232, 241, 220, 0.88) 100%);
  border-top: 1px solid rgba(35, 43, 34, 0.08);
  border-radius: 30px 30px 0 0;
  text-align: center;
}

.footer-care {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(226, 240, 203, 0.95);
  border-radius: 24px;
  padding: 20px 15px 15px;
  box-shadow: var(--shadow-card);
  text-align: left;
}

.footer-care__head {
  text-align: center;
}

.footer-care__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 11px;
  border-radius: 9999px;
  background: var(--base-fondo-seccion);
  color: var(--texto-principal);
  font-size: 10px;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.footer-care__title {
  margin: 8px 0 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 28px;
  color: var(--texto-principal);
}

.footer-care__sub {
  margin: 4px 0 0;
  font-size: 12.5px;
  line-height: 18px;
  color: var(--texto-secundario);
}

.footer-care-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
}

.footer-care-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 13px;
  border-radius: 16px;
  background: var(--surface-cream);
  border: 1px solid rgba(35, 43, 34, 0.05);
}

.footer-care-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(226, 240, 203, 0.72);
  color: #2d4227;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-care-item__title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  color: var(--texto-principal);
}

.footer-care-item__desc {
  margin: 2px 0 0;
  font-size: 11.5px;
  line-height: 16px;
  color: var(--texto-secundario);
}

@media (min-width: 768px) {
  .footer-care-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-care-item {
    flex-direction: column;
    gap: 10px;
  }
}

.footer-identity {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(35, 43, 34, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #FFFFFF;
  box-shadow: 0 4px 12px rgba(35, 43, 34, 0.1);
}

.footer-brand-name {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 3px;
  color: var(--texto-principal);
}

.footer-brand-sub {
  margin: 1px 0 0;
  font-size: 9px;
  font-weight: 700;
  line-height: 12px;
  letter-spacing: 2.6px;
  color: var(--texto-secundario);
}

.footer-tagline {
  margin: 4px 0 0;
  max-width: 280px;
  font-size: 12px;
  line-height: 17px;
  color: var(--texto-secundario);
}

.footer-nav {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.footer-nav-link {
  height: 32px;
  padding: 0 13px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(35, 43, 34, 0.08);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--texto-principal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.footer-social {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.footer-social-btn {
  height: 38px;
  padding: 0 15px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.footer-social-btn--ig {
  background: var(--surface-cream);
  border: 1px solid rgba(35, 43, 34, 0.1);
  color: var(--texto-principal);
}

.footer-social-btn--wa {
  background: rgba(37, 211, 102, 0.14);
  border: 1px solid rgba(37, 211, 102, 0.32);
  color: #1D4D2E;
}

.footer-copy {
  margin: 18px 0 0;
  font-size: 11px;
  line-height: 16px;
  color: var(--texto-secundario);
  opacity: 0.9;
}

/* ==========================================================================
   Carrito flotante inferior (alineado al diseño botánico ROSMIN)
   ========================================================================== */
.floating-cart {
  position: fixed;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 40;
  width: min(372px, calc(100% - 24px));
  height: 60px;
  padding: 8px 10px 8px 10px;
  border-radius: 9999px;
  background: var(--texto-principal);
  color: var(--surface-cream);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 32px -8px rgba(35, 43, 34, 0.34), 0 4px 10px -2px rgba(35, 43, 34, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.floating-cart:active {
  transform: translateX(-50%) scale(0.985);
}

.floating-cart__left {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.floating-cart__icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  background: var(--durazno-pastel);
  color: var(--texto-principal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.floating-cart__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  text-align: left;
}

.floating-cart__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 0.2px;
  color: var(--surface-cream);
}

.floating-cart__pill {
  font-size: 11.5px;
  font-weight: 700;
  line-height: 16px;
  color: var(--base-fondo-seccion);
  white-space: nowrap;
}

.floating-cart__arrow {
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--surface-cream);
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   Overlays y Sheets (Moldes 836:165, Combos 836:6, Aroma 836:136, Carrito 831:6)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(20, 31, 18, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-backdrop--sub {
  z-index: 95;
  align-items: center;
  padding: 16px;
}

@media (min-width: 540px) {
  .modal-backdrop {
    align-items: center;
    padding: 16px;
  }
}

.sheet-shell {
  width: 100%;
  max-width: 395px;
  max-height: 94dvh;
  background: var(--base-fondo);
  border-radius: 32px 32px 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sheet);
}

@media (min-width: 540px) {
  .sheet-shell {
    border-radius: 32px;
  }
}

.dialog-box {
  width: 100%;
  max-width: 355px;
  max-height: 86dvh;
  background: var(--base-fondo-tarjeta);
  border-radius: 28px;
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(20, 31, 18, 0.24);
}

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 0 6px 14px;
}

.dialog-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
  color: var(--texto-principal);
}

.dialog-sub {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.25;
  color: var(--texto-secundario);
}

.close-circle {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background: var(--base-fondo);
  color: var(--texto-principal);
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Moldes (Figma 836:165) */
.mold-list {
  display: grid;
  gap: 10px;
}

.mold-row {
  width: 100%;
  height: 56px;
  padding: 0 16px;
  border-radius: 16px;
  background: var(--base-fondo);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.mold-row[aria-checked="true"] {
  background: var(--durazno-pastel);
}

.mold-row__name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--texto-principal);
}

.mold-row__note {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: var(--texto-secundario);
}

.mold-row__price {
  font-size: 13px;
  font-weight: 700;
  color: var(--texto-principal);
}

/* ==========================================================================
   Configurador Arma tu propio combo + Selector de jabón
   ========================================================================== */
.sheet-shell--combo {
  background: var(--base-fondo);
  max-height: 92dvh;
}

.combo-topbar {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(35, 43, 34, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.combo-back {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: var(--base-fondo-tarjeta);
  color: var(--texto-principal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.combo-h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  color: var(--texto-principal);
}

.combo-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 20px 24px;
}

.combo-step-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--texto-principal);
}

.combo-step-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.combo-step-head .combo-step-title {
  margin: 0;
}

.combo-step-counter {
  font-size: 12px;
  font-weight: 700;
  color: var(--texto-suave);
  font-variant-numeric: tabular-nums;
}

.combo-step-counter.is-complete {
  color: var(--texto-principal);
}

.combo-size-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.combo-size-card {
  min-height: 76px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid rgba(35, 43, 34, 0.12);
  background: var(--base-fondo-tarjeta);
  color: var(--texto-principal);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.combo-size-card[aria-pressed="true"] {
  background: var(--durazno-pastel);
  border-color: var(--durazno-acento);
  color: var(--texto-principal);
  box-shadow: 0 2px 8px rgba(169, 75, 48, 0.12);
}

.combo-size-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
}

.combo-size-card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.combo-size-card__price {
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.combo-size-card__saving {
  font-size: 12px;
  font-weight: 700;
  color: var(--durazno-acento);
  line-height: 1.25;
}

.combo-slots {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.combo-slot-empty {
  width: 100%;
  min-height: 64px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1.5px dashed rgba(35, 43, 34, 0.24);
  background: var(--base-fondo-tarjeta);
  color: var(--texto-principal);
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.combo-slot-empty__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--base-fondo);
  color: var(--durazno-acento);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.combo-slot-empty__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--texto-principal);
}

.combo-slot-card {
  background: var(--base-fondo-tarjeta);
  border-radius: 16px;
  padding: 10px 12px 12px;
  border: 1px solid rgba(35, 43, 34, 0.08);
}

.combo-slot-header-btn {
  width: 100%;
  min-height: 52px;
  padding: 2px 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  border-radius: 12px;
}

.combo-slot-thumb {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.combo-slot-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--texto-principal);
}

.combo-slot-change {
  min-height: 44px;
  padding: 0 10px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--durazno-acento);
  flex-shrink: 0;
}

.combo-mold-hint {
  margin: 8px 0 6px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--texto-suave);
}

.combo-slot-molds {
  margin-top: 8px;
  padding: 4px;
  border-radius: 16px;
  background: var(--base-fondo);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.combo-mold-hint + .combo-slot-molds {
  margin-top: 0;
}

.combo-mold-pill {
  min-height: 54px;
  padding: 6px 4px;
  border-radius: 14px;
  border: 1.5px solid transparent;
  background: transparent;
  color: var(--texto-suave);
  font-size: 12px;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.combo-mold-pill[aria-pressed="true"] {
  background: var(--durazno-pastel);
  border-color: var(--durazno-acento);
  color: var(--texto-principal);
  box-shadow: 0 2px 6px rgba(169, 75, 48, 0.12);
}

.combo-mold-pill__top {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
}

.combo-mold-pill__price {
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.combo-dock {
  flex-shrink: 0;
  background: var(--surface-cream);
  border-top: 1px solid rgba(35, 43, 34, 0.08);
  padding: 12px 20px calc(14px + env(safe-area-inset-bottom, 0px));
}

.combo-dock-summary {
  margin: 0 0 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--texto-suave);
  font-variant-numeric: tabular-nums;
}

.combo-dock-btn {
  width: 100%;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 27px;
  background: var(--texto-principal);
  color: var(--base-fondo-tarjeta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.combo-dock-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

/* Aroma bottom sheet */
@media (max-width: 539px) {
  #aroma-modal {
    align-items: flex-end;
    padding: 0;
  }

  .dialog-box--aroma {
    max-width: 395px;
    border-radius: 28px 28px 0 0;
  }
}

.dialog-box--aroma {
  max-width: 395px;
  max-height: 82dvh;
  padding: 0;
}

.aroma-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px 12px;
  border-bottom: 1px solid rgba(35, 43, 34, 0.08);
  flex-shrink: 0;
}

.aroma-close-btn {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: var(--base-fondo);
  color: var(--texto-principal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.aroma-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 12px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aroma-row {
  min-height: 58px;
  padding: 7px 12px 7px 8px;
  border-radius: 14px;
  border: 1.5px solid transparent;
  background: var(--base-fondo);
  color: var(--texto-principal);
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.aroma-row[aria-selected="true"] {
  background: var(--durazno-pastel);
  border-color: var(--durazno-acento);
}

.aroma-row img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.aroma-row span {
  font-size: 14px;
  font-weight: 700;
  color: var(--texto-principal);
}

/* ==========================================================================
   Carrito único (Tu pedido) + Suma tus favoritos + Toast global
   ========================================================================== */
.sheet-shell--cart {
  background: var(--base-fondo-tarjeta);
  max-height: 92dvh;
}

.cart-sheet-head {
  position: relative;
  padding: 10px 20px 14px;
  background: var(--base-fondo-tarjeta);
  border-bottom: 1px solid rgba(35, 43, 34, 0.08);
  overflow: hidden;
  flex-shrink: 0;
}

.cart-sheet-head__leaves {
  position: absolute;
  right: -12px;
  top: -22px;
  width: 148px;
  opacity: 0.1;
  pointer-events: none;
}

.cart-grab {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: rgba(35, 43, 34, 0.2);
  margin: 0 auto 10px;
}

.cart-head-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  color: var(--texto-principal);
}

.cart-close-btn {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: var(--base-fondo);
  color: var(--texto-principal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-list-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-empty-msg {
  margin: 18px 0 8px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--texto-suave);
  text-align: center;
}

.cart-combo-box {
  background: var(--base-fondo-seccion);
  border-radius: 18px;
  padding: 12px;
}

.cart-row-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.cart-row-thumb {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-row-meta {
  flex: 1 1 auto;
  min-width: 0;
}

.cart-row-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--texto-principal);
}

.cart-row-sub {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--texto-suave);
}

.cart-row-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.cart-row-total {
  font-size: 14px;
  font-weight: 700;
  color: var(--texto-principal);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cart-combo-lines {
  list-style: none;
  margin: 10px 0 12px;
  padding: 0;
  display: grid;
  gap: 4px;
}

.cart-combo-lines li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--texto-principal);
}

.cart-combo-lines span:last-child {
  font-size: 12px;
  color: var(--texto-suave);
}

.cart-row-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cart-edit-btn {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 22px;
  background: var(--base-fondo-tarjeta);
  font-size: 13px;
  font-weight: 700;
  color: var(--texto-principal);
}

.cart-single-box {
  background: var(--base-fondo);
  border-radius: 18px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-single-thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-qty-control {
  height: 44px;
  padding: 0 2px;
  border-radius: 22px;
  background: var(--base-fondo-tarjeta);
  border: 1px solid rgba(35, 43, 34, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.cart-qty-btn {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: transparent;
  color: var(--texto-principal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-qty-btn--trash {
  color: var(--texto-suave);
}

.cart-qty-val {
  min-width: 22px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--texto-principal);
}

.cart-add-link {
  align-self: flex-start;
  min-height: 44px;
  padding: 0 6px;
  border-radius: 10px;
  background: transparent;
  color: var(--durazno-acento);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cart-note-block {
  border-top: 1px solid rgba(35, 43, 34, 0.08);
  padding-top: 4px;
}

.cart-note-toggle {
  min-height: 44px;
  padding: 0 4px;
  border-radius: 10px;
  background: transparent;
  color: var(--texto-suave);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-note-wrap {
  margin-top: 4px;
}

.cart-note-wrap[hidden] {
  display: none;
}

.cart-note-area {
  display: block;
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(35, 43, 34, 0.14);
  border-radius: 14px;
  background: var(--surface-cream);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.45;
  color: var(--texto-principal);
  resize: none;
  overflow-y: hidden;
}

.cart-footer-fixed {
  flex-shrink: 0;
  background: var(--surface-cream);
  border-top: 1px solid rgba(35, 43, 34, 0.08);
  padding: 12px 20px calc(14px + env(safe-area-inset-bottom, 0px));
}

.cart-summary {
  margin-bottom: 12px;
}

.cart-sum-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  color: var(--texto-suave);
  margin-bottom: 6px;
}

.cart-sum-row[hidden] {
  display: none;
}

.cart-sum-row strong {
  color: var(--texto-principal);
  font-variant-numeric: tabular-nums;
}

.cart-sum-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  font-weight: 700;
  color: var(--texto-principal);
}

.cart-sum-total strong {
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

.cart-wa-footer {
  padding: 0;
}

.cart-wa-btn {
  width: 100%;
  min-height: 54px;
  border-radius: 27px;
  background: var(--boton-wasa);
  color: #112214;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cart-wa-btn[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

.cart-wa-disclaimer {
  margin: 8px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.35;
  color: var(--texto-suave);
}

/* Modal Suma tus favoritos */
@media (max-width: 539px) {
  #favorites-modal {
    align-items: flex-end;
    padding: 0;
  }

  .dialog-box--fav {
    max-width: 395px;
    border-radius: 28px 28px 0 0;
  }
}

.dialog-box--fav {
  max-width: 395px;
  max-height: 88dvh;
  padding: 0;
}

.fav-sheet-head {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px 12px;
  flex-shrink: 0;
}

.fav-sheet-head__leaves {
  position: absolute;
  right: -14px;
  top: -22px;
  width: 136px;
  opacity: 0.1;
  pointer-events: none;
}

.fav-sheet-head .dialog-title {
  position: relative;
  z-index: 1;
}

.fav-close-btn {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: var(--base-fondo);
  color: var(--texto-principal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fav-variant-tabs {
  flex-shrink: 0;
  margin: 0 16px 12px;
  padding: 4px;
  border-radius: 16px;
  background: var(--base-fondo);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.fav-seg-btn {
  position: relative;
  min-height: 48px;
  padding: 6px 4px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--texto-suave);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
}

.fav-seg-btn[aria-selected="true"] {
  background: var(--durazno-pastel);
  border-color: var(--durazno-borde);
  color: var(--texto-principal);
  box-shadow: 0 2px 6px rgba(35, 43, 34, 0.06);
}

.fav-seg-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.fav-seg-price {
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.fav-seg-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--durazno-acento);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.fav-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 16px 24px;
}

.fav-row {
  background: var(--base-fondo);
  border-radius: 16px;
  padding: 10px 10px 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity 200ms ease-out;
}

.fav-row.is-disabled {
  opacity: 0.55;
}

.fav-row__thumb {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.fav-row__meta {
  flex: 1 1 auto;
  min-width: 0;
}

.fav-row__name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--texto-principal);
}

.fav-row__status {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--texto-suave);
}

.fav-stepper {
  height: 44px;
  padding: 0 2px;
  border-radius: 22px;
  background: var(--base-fondo-tarjeta);
  border: 1px solid rgba(35, 43, 34, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.fav-stepper.is-active {
  background: var(--durazno-pastel);
  border-color: var(--durazno-borde);
}

.fav-stepper__btn {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: transparent;
  color: var(--texto-principal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fav-stepper__btn:disabled {
  opacity: 0.34;
  cursor: not-allowed;
}

.fav-stepper__count {
  min-width: 22px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--texto-suave);
}

.fav-stepper.is-active .fav-stepper__count {
  color: var(--durazno-acento);
}

.fav-footer {
  flex-shrink: 0;
  background: var(--surface-cream);
  border-top: 1px solid rgba(35, 43, 34, 0.08);
  padding: 12px 20px calc(14px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fav-footer-sum {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--texto-principal);
  font-variant-numeric: tabular-nums;
}

.fav-done-btn {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 23px;
  background: var(--texto-principal);
  color: var(--base-fondo-tarjeta);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Toast global de confirmación */
.app-toast {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  margin-inline: auto;
  width: fit-content;
  max-width: calc(100vw - 32px);
  z-index: 120;
  pointer-events: none;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(35, 43, 34, 0.94);
  color: #FAF6F0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.app-toast[hidden] {
  display: none;
}

.app-toast svg {
  color: #B5DDB0;
  flex-shrink: 0;
}

/* ==========================================================================
   Microinteracciones táctiles, hover y focus (Tarjetas + Botones)
   ========================================================================== */
button:focus-visible,
a:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--texto-principal);
  outline-offset: 2px;
}

.app-canvas.is-home-pending .brand-title,
.app-canvas.is-home-pending .brand-sub,
.app-canvas.is-home-pending .brand-script,
.app-canvas.is-home-pending .hero-cta-pill,
.app-canvas.is-home-pending .navbar-cart-btn,
.app-canvas.is-home-pending .collection-title-row,
.app-canvas.is-home-pending .filter-pill,
.app-canvas.is-home-pending .combo-promo-card,
.app-canvas.is-home-pending #soap-grid .soap-card:nth-child(-n+4) {
  visibility: hidden;
  opacity: 0;
}

.soap-card {
  cursor: pointer;
}

.soap-card,
.combo-promo-card {
  transition:
    box-shadow 0.24s ease,
    border-color 0.22s ease;
}

.soap-thumb-img,
.combo-promo-img,
.soap-thumb-cam,
.soap-thumb-badge,
.floating-cart__arrow,
.hero-cta-pill svg {
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.24s ease,
    background-color 0.2s ease;
}

.soap-title {
  transition: color 0.22s ease;
}

.navbar-cart-btn,
.hero-cta-pill,
.filter-pill,
.combo-promo-cta,
.soap-add-btn,
.soap-stepper-btn,
.floating-cart,
.close-circle,
.mold-row,
.combo-back,
.combo-size-card,
.combo-slot-empty,
.combo-slot-header-btn,
.combo-mold-pill,
.combo-dock-btn,
.aroma-close-btn,
.aroma-row,
.cart-close-btn,
.cart-add-link,
.cart-note-toggle,
.cart-edit-btn,
.cart-qty-btn,
.cart-wa-btn,
.fav-close-btn,
.fav-seg-btn,
.fav-stepper,
.fav-stepper__btn,
.fav-done-btn {
  transition:
    background-color 0.22s ease-out,
    color 0.22s ease-out,
    box-shadow 0.22s ease-out,
    border-color 0.22s ease-out,
    filter 0.22s ease-out;
}

@media (hover: hover) and (pointer: fine) {
  .soap-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px -14px rgba(35, 43, 34, 0.16), 0 6px 14px -6px rgba(35, 43, 34, 0.08);
    border-color: rgba(128, 152, 122, 0.5);
  }

  .soap-card:hover .soap-thumb-img {
    transform: scale(1.065);
  }

  .soap-card:hover .soap-thumb-cam {
    transform: scale(1.12) translateY(-1px);
    box-shadow: 0 4px 10px rgba(35, 43, 34, 0.16);
  }

  .soap-card:hover .soap-thumb-badge {
    transform: translateY(-1px);
  }

  .soap-card:hover .soap-title {
    color: #273626;
  }

  .combo-promo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 32px -14px rgba(35, 43, 34, 0.14);
  }

  .combo-promo-card:hover .combo-promo-img {
    transform: scale(1.055);
  }

  .hero-cta-pill:hover,
  .combo-promo-cta:hover,
  .combo-dock-btn:not(:disabled):hover,
  .fav-done-btn:hover {
    transform: translateY(-2px);
    background-color: #2E3A2D;
    box-shadow: 0 12px 24px -10px rgba(35, 43, 34, 0.42);
  }

  .hero-cta-pill:hover svg {
    transform: translateY(2px);
  }

  .floating-cart:hover {
    transform: translateX(-50%) translateY(-2px) scale(1.015);
    box-shadow: 0 20px 38px -10px rgba(35, 43, 34, 0.42), 0 6px 14px -4px rgba(35, 43, 34, 0.2);
  }

  .floating-cart:hover .floating-cart__arrow {
    transform: translateX(3px);
    background: rgba(255, 255, 255, 0.2);
  }

  .cart-wa-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 14px 26px -10px rgba(80, 180, 96, 0.55);
  }

  .soap-add-btn:hover {
    transform: translateY(-1.5px);
    background-color: #D9B7BE;
    box-shadow: 0 8px 16px -8px rgba(35, 43, 34, 0.22);
  }

  .soap-stepper-btn:hover,
  .cart-qty-btn:hover,
  .fav-stepper__btn:not(:disabled):hover {
    transform: scale(1.06);
    background-color: rgba(35, 43, 34, 0.06);
  }

  .cart-qty-btn--trash:hover {
    color: var(--durazno-acento);
  }

  .filter-pill:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 6px 14px -6px rgba(35, 43, 34, 0.16);
  }

  .navbar-cart-btn:hover,
  .close-circle:hover,
  .combo-back:hover,
  .aroma-close-btn:hover,
  .cart-close-btn:hover,
  .fav-close-btn:hover {
    transform: scale(1.07);
    box-shadow: 0 6px 14px -6px rgba(35, 43, 34, 0.2);
  }

  .mold-row:hover,
  .aroma-row:not([aria-selected="true"]):hover {
    transform: translateY(-1.5px);
    background-color: #F2EBE0;
    box-shadow: 0 8px 18px -10px rgba(35, 43, 34, 0.18);
  }

  .combo-size-card:not([aria-pressed="true"]):hover,
  .combo-slot-empty:hover,
  .combo-mold-pill:not([aria-pressed="true"]):hover,
  .cart-edit-btn:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 8px 18px -10px rgba(35, 43, 34, 0.18);
  }

  .cart-add-link:hover {
    background-color: rgba(255, 229, 217, 0.55);
  }

  .cart-note-toggle:hover {
    color: var(--texto-principal);
  }

  .footer-nav-link:hover,
  .footer-social-btn--ig:hover {
    background-color: #FFFFFF;
    border-color: rgba(128, 152, 122, 0.45);
    box-shadow: 0 8px 18px -10px rgba(35, 43, 34, 0.18);
  }

  .footer-social-btn--wa:hover {
    background-color: rgba(37, 211, 102, 0.22);
    border-color: rgba(37, 211, 102, 0.48);
    box-shadow: 0 8px 18px -10px rgba(37, 211, 102, 0.3);
  }
}

.soap-card:active:not(:has(.soap-add-btn:active, .soap-stepper:active)) {
  transform: scale(0.985);
  transition-duration: 0.12s;
}

.hero-cta-pill:active,
.filter-pill:active,
.combo-promo-cta:active,
.soap-add-btn:active,
.mold-row:active,
.combo-size-card:active,
.combo-slot-empty:active,
.combo-mold-pill:active,
.combo-dock-btn:not(:disabled):active,
.aroma-row:active,
.cart-add-link:active,
.cart-note-toggle:active,
.cart-edit-btn:active,
.cart-wa-btn:active,
.fav-seg-btn:active,
.fav-done-btn:active,
.footer-nav-link:active,
.footer-social-btn:active {
  transform: scale(0.96);
  transition-duration: 0.1s;
}

.navbar-cart-btn:active,
.soap-stepper-btn:active,
.cart-qty-btn:active,
.fav-stepper__btn:not(:disabled):active,
.close-circle:active,
.combo-back:active,
.aroma-close-btn:active,
.cart-close-btn:active,
.fav-close-btn:active {
  transform: scale(0.9);
  transition-duration: 0.1s;
}

.floating-cart:active {
  transform: translateX(-50%) scale(0.975);
  transition-duration: 0.1s;
}

@media (prefers-reduced-motion: reduce) {
  .app-canvas.is-home-pending * {
    visibility: visible !important;
    opacity: 1 !important;
  }

  .soap-card,
  .combo-promo-card,
  .soap-thumb-img,
  .combo-promo-img,
  .soap-thumb-cam,
  .soap-thumb-badge,
  .soap-title,
  .navbar-cart-btn,
  .hero-cta-pill,
  .hero-cta-pill svg,
  .filter-pill,
  .combo-promo-cta,
  .soap-add-btn,
  .soap-stepper-btn,
  .floating-cart,
  .floating-cart__arrow,
  .close-circle,
  .mold-row,
  .combo-back,
  .combo-size-card,
  .combo-slot-empty,
  .combo-slot-header-btn,
  .combo-mold-pill,
  .combo-dock-btn,
  .aroma-close-btn,
  .aroma-row,
  .cart-close-btn,
  .cart-add-link,
  .cart-note-toggle,
  .cart-edit-btn,
  .cart-qty-btn,
  .cart-wa-btn,
  .fav-close-btn,
  .fav-seg-btn,
  .fav-row,
  .fav-stepper,
  .fav-stepper__btn,
  .fav-done-btn,
  .footer-nav-link,
  .footer-social-btn {
    transition: none !important;
  }

  .soap-card:hover,
  .soap-card:active,
  .combo-promo-card:hover,
  .hero-cta-pill:hover,
  .hero-cta-pill:active,
  .filter-pill:hover,
  .filter-pill:active,
  .combo-promo-cta:hover,
  .combo-promo-cta:active,
  .soap-add-btn:hover,
  .soap-add-btn:active,
  .soap-stepper-btn:hover,
  .soap-stepper-btn:active,
  .navbar-cart-btn:hover,
  .navbar-cart-btn:active,
  .close-circle:hover,
  .close-circle:active,
  .mold-row:hover,
  .mold-row:active,
  .combo-back:hover,
  .combo-back:active,
  .combo-size-card:hover,
  .combo-size-card:active,
  .combo-slot-empty:hover,
  .combo-slot-empty:active,
  .combo-mold-pill:hover,
  .combo-mold-pill:active,
  .combo-dock-btn:hover,
  .combo-dock-btn:active,
  .aroma-close-btn:hover,
  .aroma-close-btn:active,
  .aroma-row:hover,
  .aroma-row:active,
  .cart-close-btn:hover,
  .cart-close-btn:active,
  .cart-add-link:hover,
  .cart-add-link:active,
  .cart-note-toggle:hover,
  .cart-note-toggle:active,
  .cart-edit-btn:hover,
  .cart-edit-btn:active,
  .cart-qty-btn:hover,
  .cart-qty-btn:active,
  .cart-wa-btn:hover,
  .cart-wa-btn:active,
  .fav-close-btn:hover,
  .fav-close-btn:active,
  .fav-seg-btn:hover,
  .fav-seg-btn:active,
  .fav-stepper__btn:hover,
  .fav-stepper__btn:active,
  .fav-done-btn:hover,
  .fav-done-btn:active,
  .footer-nav-link:hover,
  .footer-nav-link:active,
  .footer-social-btn:hover,
  .footer-social-btn:active {
    transform: none !important;
  }

  .floating-cart:hover,
  .floating-cart:active {
    transform: translateX(-50%) !important;
  }
}
