/* =========================================================
   Mil cositas de Leah · Tienda online (vista cliente)
   Misma identidad que el login y el panel: morados, rosados,
   fotografía real, profundidad suave y movimiento discreto.
   ========================================================= */

body.store {
  --deep: #45175C;
  --violet: #76259A;
  --mid: #9C42B9;
  --pink: #EF79B5;
  --pink-soft: #F8C6E4;
  --lav: #EDE1F7;
  --warm: #FFFBFE;

  --bg: #FBF7FD;
  --surface: #FFFFFF;
  --border: #EEE4F5;
  --border-strong: #DCC3EF;
  --input-border: #B7A3C6;
  --ink: #2E1238;
  --muted: #6B5A75;
  --primary: #76259A;
  --primary-hover: #5F1C7D;
  --accent: #9C42B9;
  --danger: #A8174C;
  --disabled: #CDBBD8;
  --lavender: #EEE5F8;
  --lavender-ink: #5B3F8A;

  --script: "Pacifico", "Brush Script MT", cursive;
  --r-card: 28px;
  --sh-1: 0 1px 2px rgba(69, 23, 92, .04), 0 10px 30px rgba(69, 23, 92, .07);
  --sh-2: 0 4px 10px rgba(69, 23, 92, .06), 0 26px 60px rgba(69, 23, 92, .16);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  background: var(--bg);
  color: var(--ink);
}
.store :focus-visible { outline: 3px solid rgba(156, 66, 185, .45); outline-offset: 2px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* Botones de la tienda */
.btn-s {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: translate .2s ease, box-shadow .25s ease, background-color .2s ease;
}
.btn-s-primary { background: linear-gradient(90deg, #8a2fb3, var(--violet) 55%, #5a1b7c); color: #fff; box-shadow: 0 12px 26px rgba(118, 37, 154, .35); }
.btn-s-primary:hover { translate: 0 -2px; box-shadow: 0 16px 32px rgba(118, 37, 154, .42); }
.btn-s-ghost { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-s-ghost:hover { background: rgba(255, 255, 255, .26); translate: 0 -2px; }
.store .btn-primary { background: linear-gradient(90deg, #8a2fb3, var(--violet) 55%, #5a1b7c); box-shadow: 0 10px 22px rgba(118, 37, 154, .3); }
.store .btn-primary:hover:not(:disabled) { background: linear-gradient(90deg, #9636bf, #7f29a5 55%, #63208a); transform: translateY(-1px); }
.store .btn-primary:disabled { background: var(--disabled); box-shadow: none; }
.store .btn-lg { border-radius: 999px; }
.store .btn-secondary { border-radius: 999px; }
.store .seg button { border-radius: 14px; }
.store .seg button[aria-pressed="true"] { border-color: var(--violet); background: #F6EDFB; }
.store .input { border-radius: 14px; }
.store .input:focus { outline: none; border-color: var(--mid); box-shadow: 0 0 0 4px rgba(156, 66, 185, .14); }
.store .notice { background: #F1E8FA; color: #4E2B73; border-radius: 14px; }

/* ---------- Encabezado ---------- */

.sh {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 251, 254, .85);
  -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid rgba(220, 195, 239, .55);
}
.sh-in { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.sh-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; }
.sh-brand img { width: 42px; height: 42px; border-radius: 50%; box-shadow: 0 6px 14px rgba(118, 37, 154, .25); }
.brand-text { font-family: var(--script); font-weight: 400; font-size: 21px; line-height: 1.2; color: var(--deep); }
.brand-text b { font-weight: 400; color: var(--mid); }
.sh-nav { display: flex; gap: 4px; margin-left: auto; }
.sh-nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; color: var(--muted); font-weight: 700; font-size: 15px; text-decoration: none; transition: background-color .2s, color .2s; }
.sh-nav a:hover { background: #F3EAF9; color: var(--violet); }
.sh-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; background: linear-gradient(90deg, #8a2fb3, var(--violet)); color: #fff; font-weight: 800; font-size: 15px; text-decoration: none; box-shadow: 0 8px 18px rgba(118, 37, 154, .3); transition: translate .2s, box-shadow .2s; }
.sh-cta:hover { translate: 0 -1px; box-shadow: 0 12px 24px rgba(118, 37, 154, .38); }

/* ---------- Banner ---------- */

.hero-s {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 460px; display: flex; align-items: center;
  color: #fff;
  background: linear-gradient(120deg, #3d1452, var(--violet) 60%, #8f3cae);
}
.hero-s-bg { position: absolute; inset: 0; z-index: -2; }
.hero-s-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 70%; animation: hs-zoom 40s ease-in-out infinite alternate; }
@keyframes hs-zoom { from { scale: 1.02; } to { scale: 1.1; } }
.hero-s::before { /* tinte para leer el texto sobre la foto */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(52, 14, 72, .88) 0%, rgba(69, 23, 92, .66) 42%, rgba(69, 23, 92, .12) 75%),
    radial-gradient(50% 80% at 85% 20%, rgba(239, 121, 181, .25), transparent 70%);
}
.hero-s::after { /* reflejo que cruza lento */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .10) 50%, transparent 60%);
  translate: -100% 0; animation: hs-sheen 10s ease-in-out 2s infinite;
}
@keyframes hs-sheen { 0%, 70% { translate: -100% 0; } 100% { translate: 100% 0; } }
.hero-s-in { position: relative; padding-top: 64px; padding-bottom: 64px; }
.hero-s-in > * { max-width: 560px; animation: s-rise .7s var(--ease-out) both; }
.hero-s-in > :nth-child(2) { animation-delay: .08s; }
.hero-s-in > :nth-child(3) { animation-delay: .16s; }
.hero-s-in > :nth-child(4) { animation-delay: .24s; }
.hero-s-in > :nth-child(5) { animation-delay: .32s; }
.hero-s-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero-s-kicker .icon { width: 16px; height: 16px; color: #ffd6ec; }
.hero-s-title { margin: 18px 0 10px; font-family: var(--script); font-weight: 400; font-size: clamp(44px, 6vw, 76px); line-height: 1.15; text-shadow: 0 6px 30px rgba(30, 5, 45, .45); }
.hero-s-title .heart { display: inline-block; width: .5em; height: .5em; vertical-align: .55em; margin-left: .08em; color: var(--pink); animation: s-beat 2.4s ease-in-out 1.2s infinite; }
@keyframes s-beat { 0%, 60%, 100% { scale: 1; } 20% { scale: 1.2; } 40% { scale: .95; } }
.hero-s-lead { margin: 0 0 26px; font-size: clamp(16px, 1.6vw, 19px); opacity: .92; }
.hero-s-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-s-pills { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; max-width: none !important; }
.hero-s-pills li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); font-size: 14px; font-weight: 700; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-s-pills .icon { width: 17px; height: 17px; }

/* ---------- Producto ---------- */

.store-alert { margin-top: 24px; }
.section-kicker { display: inline-block; margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mid); }

.product { display: grid; gap: 24px; padding: 48px 0 8px; scroll-margin-top: 80px; }
@media (min-width: 880px) {
  .product { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; align-items: start; }
  .gallery { position: sticky; top: 96px; }
}

.gallery-main {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  aspect-ratio: 1 / 1; overflow: hidden; box-shadow: var(--sh-2);
}
.gallery-main::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(160deg, rgba(255, 255, 255, .18), transparent 40%); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; animation: s-fade .45s var(--ease-out) both; }
@keyframes s-fade { from { opacity: 0; scale: 1.03; } to { opacity: 1; scale: 1; } }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.thumbs:empty { display: none; }
.thumb { padding: 0; aspect-ratio: 1 / 1; overflow: hidden; cursor: pointer; background: var(--surface); border: 2px solid var(--border); border-radius: 18px; transition: border-color .2s, translate .2s, box-shadow .2s; }
.thumb:hover { translate: 0 -2px; box-shadow: var(--sh-1); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-current="true"] { border-color: var(--violet); box-shadow: 0 8px 18px rgba(118, 37, 154, .22); }

.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badges:empty { display: none; }
.badges .tag { font-size: 13px; padding: 5px 12px; }
.store .tag-lavender { background: #F1E5F8; color: #5B2A7A; }
.store .tag-mint { background: #E2F3EC; color: #2F6B52; }
.store .tag-danger { background: #FDE4EE; color: #A8174C; }

.info h2#pName {
  margin: 14px 0 8px; font-family: var(--font-body); font-weight: 900;
  font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -.015em; color: var(--ink);
}
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 18px; }
.price span { font-weight: 900; font-size: clamp(36px, 3.6vw, 46px); line-height: 1.1; background: linear-gradient(90deg, var(--violet), var(--mid) 60%, #c0509a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price s { font-size: 20px; font-weight: 700; color: var(--muted); }
.price small { font-size: 15px; color: var(--muted); }

.features { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.features li { display: flex; gap: 12px; font-size: 16px; }
.features .icon { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #F1E5F8; color: var(--violet); margin-top: 1px; }
.description { color: var(--muted); font-size: 15px; margin-top: 12px; }

.buy-card {
  position: relative; margin-top: 24px; padding: 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--sh-2);
  animation: s-rise .6s var(--ease-out) .1s both;
}
.buy-card::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--pink), var(--mid)); }
.buy-card:focus { outline: none; }
.buy-card:focus-visible { outline: 3px solid rgba(156, 66, 185, .45); }
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.qty-row .field-label { margin: 0; font-size: 16px; font-weight: 700; }
.stepper { display: flex; align-items: center; gap: 8px; padding: 4px; border-radius: 999px; background: #F5EEFA; }
.stepper button { width: 46px; height: 46px; display: grid; place-items: center; background: var(--surface); border: 0; border-radius: 50%; cursor: pointer; box-shadow: 0 2px 6px rgba(69, 23, 92, .12); transition: scale .15s, background-color .15s; }
.stepper button:hover:not(:disabled) { background: #fff; scale: 1.06; }
.stepper button:active:not(:disabled) { scale: .94; }
.stepper button:disabled { color: var(--disabled); cursor: not-allowed; box-shadow: none; background: transparent; }
.stepper output { min-width: 34px; text-align: center; font-size: 20px; font-weight: 900; }
.stock-hint { font-size: 13px; color: #7A4B00; font-weight: 700; margin-top: 10px; }
.total-row { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.total-row span { color: var(--muted); font-weight: 600; }
.total-row strong { font-weight: 900; font-size: 28px; }
.buy-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 12px; }
.form-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.form-head h2 { font-size: 20px; font-weight: 900; }
.form-head span { font-size: 14px; color: var(--muted); font-weight: 700; }
.done { text-align: center; padding: 8px 4px; }
.done-icon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: linear-gradient(135deg, #a24bc6, var(--violet)); color: #fff; box-shadow: 0 12px 26px rgba(118, 37, 154, .35); animation: s-pop .6s cubic-bezier(.2, .9, .3, 1.4) both; }
@keyframes s-pop { from { scale: .4; opacity: 0; } to { scale: 1; opacity: 1; } }
.done h2 { font-size: 21px; font-weight: 900; margin-bottom: 8px; }
.done p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.done-actions { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.soldout { text-align: center; padding: 6px 0 2px; }
.soldout p { color: var(--muted); font-size: 15px; margin: 8px 0 16px; }

/* Más productos */
.more { padding: 48px 0 0; }
.more h2 { font-weight: 900; font-size: 28px; margin-bottom: 16px; }
.more-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.more-card { display: block; width: 100%; text-align: left; padding: 0; overflow: hidden; cursor: pointer; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--sh-1); transition: translate .25s, box-shadow .25s; }
.more-card:hover { translate: 0 -4px; box-shadow: var(--sh-2); }
.more-card[aria-current="true"] { border: 2px solid var(--violet); }
.more-card img, .more-card .ph { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #F3ECF8; }
.more-card .ph { display: grid; place-items: center; color: var(--violet); }
.more-card div { padding: 12px 14px 14px; }
.more-card strong { display: block; font-size: 15px; line-height: 1.3; }
.more-card span { font-size: 15px; color: var(--violet); font-weight: 900; }

/* ---------- Visor 3D de los vasos ---------- */

.v3d-sec { padding: 72px 0 8px; scroll-margin-top: 80px; }
.v3d-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 880px) { .v3d-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 48px; } }
.v3d-stage {
  position: relative; width: 100%; max-width: 560px; margin: 0 auto; aspect-ratio: 4 / 5;
  border-radius: 32px; overflow: hidden; background: #fff; border: 1px solid var(--border);
  box-shadow: var(--sh-2); touch-action: none; user-select: none; -webkit-user-select: none;
}
.v3d-stage canvas { display: block; width: 100%; height: 100%; cursor: grab; outline: none; }
.v3d-stage canvas:active { cursor: grabbing; }
.v3d-loading {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px;
  color: #4E2B73; font-weight: 800; font-size: 14.5px; text-align: center; padding: 24px; background: rgba(255, 255, 255, .7);
}
.v3d-loading[hidden] { display: none; }
.v3d-loading p { margin: 0; max-width: 32ch; }
.v3d-spinner { width: 40px; height: 40px; border-radius: 50%; border: 4px solid rgba(118, 37, 154, .2); border-top-color: var(--violet); animation: v3d-spin .8s linear infinite; }
.v3d-loading.is-error .v3d-spinner { display: none; }
@keyframes v3d-spin { to { transform: rotate(360deg); } }
.v3d-tools { position: absolute; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 4px; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--border); box-shadow: 0 6px 18px rgba(46, 14, 64, .12); }
.v3d-tools button { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--deep); cursor: pointer; transition: background-color .2s; }
.v3d-tools button:hover { background: #F1E4F8; }
.v3d-tools button:focus-visible { outline: 3px solid var(--violet); outline-offset: 1px; }
.v3d-tools svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.v3d-tools .i-play { display: none; fill: currentColor; }
.v3d-tools .is-paused .i-play { display: block; }
.v3d-tools .is-paused .i-pause { display: none; }
.v3d-hint { position: absolute; left: 14px; top: 12px; margin: 0; padding: 6px 12px; border-radius: 999px; background: #F4ECFA; color: #4E2B73; font-size: 12.5px; font-weight: 700; pointer-events: none; }
.v3d-panel h2 { margin: 0 0 10px; font-weight: 900; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.01em; line-height: 1.1; }
.v3d-lead { margin: 0 0 22px; color: var(--muted); font-size: 16px; }
.v3d-variants { display: grid; gap: 10px; margin-bottom: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v3d-var {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; min-height: 64px; min-width: 0;
  border-radius: 18px; border: 1.5px solid var(--border-strong); background: var(--surface);
  font: inherit; color: var(--ink); text-align: left; cursor: pointer;
  transition: border-color .2s, background-color .2s, translate .2s, box-shadow .2s;
}
.v3d-var:hover { translate: 0 -2px; box-shadow: var(--sh-1); }
.v3d-swatch { width: 44px; height: 48px; flex: none; border-radius: 12px; background: #fff center / 260% auto no-repeat; border: 1px solid var(--border); }
.v3d-var b { display: block; font-size: 14.5px; line-height: 1.25; }
.v3d-var small { color: var(--muted); font-size: 12.5px; }
.v3d-var[aria-pressed="true"] { border: 2px solid var(--violet); background: #F7EEFB; box-shadow: 0 8px 18px rgba(118, 37, 154, .16); }
.v3d-current { min-height: 64px; }
.v3d-current h3 { margin: 0 0 4px; font-size: 19px; font-weight: 900; color: var(--deep); }
.v3d-current p { margin: 0; color: var(--muted); }
.v3d-note { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 22px; padding: 12px 14px; border-radius: 16px; background: #F4ECFA; color: #4E2B73; font-size: 13.5px; }
.v3d-note .icon { flex: none; width: 18px; height: 18px; margin-top: 1px; }
@media (max-width: 420px) {
  .v3d-hint { font-size: 11.5px; }
  .v3d-var small { display: none; }
  .v3d-tools { right: 8px; bottom: 8px; padding: 3px; }
  .v3d-tools button { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) { .v3d-spinner { animation-duration: 2s; } }

/* ---------- Cómo comprar ---------- */

.how { padding: 72px 0 8px; scroll-margin-top: 80px; text-align: center; }
.how h2 { margin: 0 0 8px; font-weight: 900; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.01em; }
.how > p { margin: 0 auto 32px; max-width: 52ch; color: var(--muted); font-size: 16px; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: step; text-align: left; }
@media (min-width: 760px) { .how-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.how-steps li {
  position: relative; padding: 26px 22px 22px; border-radius: 26px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-1);
  transition: translate .25s, box-shadow .25s;
}
.how-steps li:hover { translate: 0 -4px; box-shadow: var(--sh-2); }
.how-num { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 14px; color: #fff; background: linear-gradient(135deg, #a24bc6, var(--violet)); box-shadow: 0 10px 20px rgba(118, 37, 154, .3), inset 0 1px 0 rgba(255, 255, 255, .4); }
.how-steps li:nth-child(2) .how-num { background: linear-gradient(135deg, #f592c4, #c94f8e); box-shadow: 0 10px 20px rgba(239, 121, 181, .32), inset 0 1px 0 rgba(255, 255, 255, .4); }
.how-steps li:nth-child(3) .how-num { background: linear-gradient(135deg, #7d3a9e, var(--deep)); }
.how-steps h3 { margin: 0 0 6px; font-size: 18px; font-weight: 900; }
.how-steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* Recuadros informativos */
.perks { display: grid; gap: 14px; margin: 28px 0 72px; }
@media (min-width: 760px) { .perks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.perk { display: flex; gap: 14px; padding: 18px 20px; border-radius: 22px; border: 1px solid transparent; }
.perk .icon { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 14px; background: rgba(255, 255, 255, .75); color: var(--violet); }
.perk h3 { margin: 0 0 2px; font-size: 16px; font-weight: 800; }
.perk p { margin: 0; font-size: 14px; color: var(--muted); }
.perk-pink { background: #FCE8F2; border-color: #F8D4E6; }
.perk-lavender { background: #F1E8FA; border-color: #E5D6F3; }
.perk-mint { background: #E7F5EF; border-color: #D3EBE0; }

/* ---------- Pie de página ---------- */

.sf {
  position: relative; overflow: hidden; color: rgba(255, 255, 255, .86);
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(239, 121, 181, .22), transparent 60%),
    radial-gradient(50% 70% at 100% 100%, rgba(156, 66, 185, .4), transparent 60%),
    linear-gradient(180deg, #4f1a6b, var(--deep) 55%, #2c0d3d);
  scroll-margin-top: 80px;
}
.sf-top { display: grid; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
@media (min-width: 760px) { .sf-top { grid-template-columns: 1.3fr 1fr 1fr; } }
.sf-brand { display: flex; flex-direction: column; gap: 10px; }
.sf-brand-row { display: flex; align-items: center; gap: 12px; }
.sf-brand img { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 8px 18px rgba(0, 0, 0, .3); }
.sf .brand-text { color: #fff; font-size: 24px; }
.sf .brand-text b { color: #ffc6e3; }
.sf-note { margin: 0; font-size: 15px; max-width: 34ch; }
.sf h2 { margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #ffc6e3; }
.footer-links, .sf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-links a, .footer-links span, .sf-list a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px;
  color: rgba(255, 255, 255, .88); font-weight: 700; font-size: 15px; text-decoration: none; overflow-wrap: anywhere;
  transition: color .2s;
}
.footer-links a:hover, .sf-list a:hover { color: #fff; text-decoration: underline; }
.footer-links .icon { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, .1); }
.sf-legal { border-top: 1px solid rgba(255, 255, 255, .12); }
.sf-legal-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; padding-top: 18px; padding-bottom: 22px; font-size: 13.5px; color: rgba(255, 255, 255, .7); }
.sf-legal-in p { margin: 0; }
.sf-legal a { color: rgba(255, 255, 255, .9); font-weight: 700; text-decoration: none; }
.sf-legal a:hover { color: #fff; text-decoration: underline; }
.sf-credit { letter-spacing: .04em; }
.sf-credit b { color: #ffc6e3; font-weight: 800; letter-spacing: .08em; }

/* ---------- Página de privacidad ---------- */

.legal { padding: 48px 0 72px; }
.legal-card { max-width: 820px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--sh-1); padding: clamp(24px, 4vw, 48px); }
.legal h1 { margin: 0 0 6px; font-weight: 900; font-size: clamp(28px, 3.4vw, 40px); }
.legal .updated { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.legal h2 { margin: 28px 0 8px; font-size: 19px; font-weight: 900; color: var(--deep); }
.legal p, .legal li { font-size: 16px; color: #3e2a48; }
.legal ul { padding-left: 22px; display: grid; gap: 6px; }
.legal a { color: var(--violet); font-weight: 700; }

/* ---------- Movimiento ---------- */

@keyframes s-rise { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
.reveal { opacity: 0; translate: 0 22px; transition: opacity .7s var(--ease-out), translate .7s var(--ease-out); }
.reveal.is-in { opacity: 1; translate: 0 0; }

/* ---------- Celular ---------- */

@media (max-width: 760px) {
  .sh-nav { display: none; }
  .sh-in { min-height: 64px; justify-content: space-between; }
  .brand-text { font-size: 18px; }
  .sh-brand img { width: 36px; height: 36px; }
  .sh-cta { padding: 0 16px; }
  .hero-s { min-height: 0; }
  .hero-s-in { padding-top: 44px; padding-bottom: 44px; }
  .hero-s::before { background: linear-gradient(180deg, rgba(52, 14, 72, .82), rgba(69, 23, 92, .7)); }
  .hero-s-bg img { object-position: 20% 80%; }
  .hero-s-pills li { font-size: 13px; }
  .product { padding-top: 32px; }
  .buy-card { padding: 20px; }
  .how { padding-top: 56px; }
  .sf-legal-in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  .brand-text { font-size: 16px; }
  .sh-cta span[data-icon] { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .store *, .store *::before, .store *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; translate: none; }
}
