/* Tienda pública: estilo boutique romántico. Serif en cursiva, rosas satinados, moños y destellos.
   El color principal (--accent) lo elige la dueña desde el panel; los botones se derivan de él. */

:root {
  --paper: #F8EEF1;
  --paper-2: #FBF4F6;
  --surface: #FFFFFF;
  --ink: #3A1028;
  --muted: #7A5A6B;
  --line: #EDD8E1;
  --rose: #C68AA5;
  --rose-soft: #F3DFE7;
  --radius: 12px;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --pill: linear-gradient(95deg, color-mix(in srgb, var(--accent) 76%, #fff) 0%, color-mix(in srgb, var(--accent) 94%, #fff) 100%);
  --shadow: 0 10px 28px -14px rgb(58 16 40 / .35);

  /* Dibujos de marca (SVG embebido) */
  --bow: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 40'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23F6D3E1'/><stop offset='.55' stop-color='%23D693B1'/><stop offset='1' stop-color='%23B7678C'/></linearGradient></defs><path d='M32 17C25 6 10 2 6.5 9.5 3.5 16 15 21.5 32 19z' fill='url(%23g)'/><path d='M32 17C39 6 54 2 57.5 9.5 60.5 16 49 21.5 32 19z' fill='url(%23g)'/><path d='M30 19 19 37l5.5-1.2 2 3.7L32.5 20z' fill='url(%23g)'/><path d='M34 19l11 18-5.5-1.2-2 3.7L31.5 20z' fill='url(%23g)'/><ellipse cx='32' cy='18' rx='4.2' ry='4.6' fill='%23C27597'/><path d='M14 10c4-1 9 2 13 6M50 10c-4-1-9 2-13 6' stroke='%23fff' stroke-opacity='.6' stroke-width='1.2' fill='none'/></svg>");
  --sparkle: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 0c.8 7.2 4.8 11.2 12 12-7.2.8-11.2 4.8-12 12-.8-7.2-4.8-11.2-12-12C7.2 11.2 11.2 7.2 12 0z' fill='%23C68AA5'/></svg>");
  --i-truck: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linejoin='round'><path d='M2.5 5.5h11v9h-11zM13.5 8.5h4l3.5 3.5v2.5h-7.5z'/><circle cx='6.5' cy='17.5' r='1.8'/><circle cx='17' cy='17.5' r='1.8'/></svg>");
  --i-lock: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round'><rect x='5' y='10.5' width='14' height='10' rx='2'/><path d='M8 10.5V7.5a4 4 0 0 1 8 0v3M12 14.5v2.5'/></svg>");
  --i-heart: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'><path d='M12 20.5S3.5 15.3 3.5 9.2A4.3 4.3 0 0 1 12 7a4.3 4.3 0 0 1 8.5 2.2c0 6.1-8.5 11.3-8.5 11.3z'/></svg>");
  --i-heart-on: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 20.5S3.5 15.3 3.5 9.2A4.3 4.3 0 0 1 12 7a4.3 4.3 0 0 1 8.5 2.2c0 6.1-8.5 11.3-8.5 11.3z' fill='black'/></svg>");
  --i-arrow: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 12' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M1 6h23M19 1l5 5-5 5'/></svg>");
}

body { background: var(--paper); }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 700px) { .wrap { padding: 0 1.5rem; } }

/* Íconos de línea: toman el color del texto */
.ico { display: inline-block; flex: none; width: 26px; height: 26px; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ico-truck { --m: var(--i-truck); }
.ico-lock { --m: var(--i-lock); }
.ico-heart { --m: var(--i-heart); }

.sparkle { display: block; width: 20px; height: 20px; background: var(--sparkle) center / contain no-repeat; }
.bow { display: block; width: 48px; height: 30px; margin: 0 auto; background: var(--bow) center / contain no-repeat; }
.bow-line {
  display: block; width: min(220px, 80%); height: 30px; margin: .9rem auto;
  background: var(--bow) center / 46px no-repeat,
    linear-gradient(90deg, transparent, var(--rose) 18%, var(--rose) 82%, transparent) center / 100% 1px no-repeat;
}

/* Botón principal: píldora rosa satinada con flecha */
.btn-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .85rem;
  min-height: 48px; padding: 0 1.7rem; border: 0; border-radius: 999px;
  background: var(--pill); color: #fff; box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--accent) 80%, transparent);
  font-family: var(--font-serif); font-style: italic; font-size: 1.12rem; font-weight: 500; text-decoration: none; line-height: 1.1;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-pill:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 14px 26px -12px color-mix(in srgb, var(--accent) 90%, transparent); }
.btn-pill:active { transform: translateY(0); }
.btn-pill:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-pill .arrow { width: 26px; height: 12px; background: currentColor; -webkit-mask: var(--i-arrow) center / contain no-repeat; mask: var(--i-arrow) center / contain no-repeat; transition: transform .2s ease; }
.btn-pill:hover .arrow { transform: translateX(4px); }
.btn-block { width: 100%; }
.btn-soft { border: 0; border-radius: 999px; background: var(--rose-soft); color: var(--ink); }
.btn-soft:hover { background: color-mix(in srgb, var(--rose-soft) 80%, var(--rose)); }

/* Botón de cerrar (×) */
.close-x { position: relative; flex: none; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: var(--rose-soft); }
.close-x::before, .close-x::after { content: ""; position: absolute; left: 12px; top: 20px; width: 18px; height: 1.6px; background: var(--ink); transform: rotate(45deg); }
.close-x::after { transform: rotate(-45deg); }
.close-x:hover { background: color-mix(in srgb, var(--rose-soft) 75%, var(--rose)); }

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

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper-2) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 68px; gap: .5rem; }
.brand { justify-self: center; font-family: var(--font-brand); font-size: 2.1rem; font-weight: 700; line-height: 1; text-decoration: none; color: var(--accent); }
.brand img { height: 46px; width: auto; }
@media (min-width: 700px) { .brand img { height: 54px; } }

.menu-btn { justify-self: start; display: grid; align-content: center; gap: 6px; width: 44px; height: 44px; padding: 0 9px; background: none; border: 0; border-radius: 10px; }
.menu-btn span { display: block; height: 1.8px; border-radius: 2px; background: var(--ink); transition: transform .2s; }
.menu-btn:hover span:nth-child(2) { transform: translateX(4px); }

.cart-btn {
  justify-self: end; display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: 0 .35rem 0 1rem;
  background: var(--ink); color: #fff; border: 0; border-radius: 8px; font-weight: 600; white-space: nowrap;
}
.cart-btn .count {
  display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 .4rem; border-radius: 5px;
  background: #fff; color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 700;
}
.cart-btn.has-items .count { background: var(--pill); color: #fff; animation: pop .35s ease; }
@media (max-width: 380px) { .cart-label { display: none; } .cart-btn { padding-left: .35rem; } }

@keyframes pop { 40% { transform: scale(1.18); } }

/* ------------------------------------------------------------------ portada */

.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(70% 55% at 85% 20%, #FFF6F9 0%, transparent 60%),
    linear-gradient(165deg, #F6E9EE 0%, #F0DEE5 55%, #EACFDA 100%);
}
/* Pliegues de satín en las esquinas */
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse at 35% 40%, #FFF3F7 0%, #EEC3D4 30%, #DCA1BA 52%, rgb(220 161 186 / 0) 70%);
}
.hero::before { left: -28%; bottom: -26%; width: 85%; height: 62%; transform: rotate(-22deg); }
.hero::after { left: -12%; bottom: -40%; width: 70%; height: 45%; transform: rotate(-8deg); opacity: .8; }

.hero-in { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; min-height: 420px; padding-top: 1.25rem; }
.hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; margin-right: -14%; padding-bottom: 1.75rem; animation: rise .8s ease both; }
.hero-copy .sparkle { margin: 0 0 .5rem -40%; }
.hero h1 {
  font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--ink);
  font-size: clamp(1.85rem, 7.6vw, 4.6rem); line-height: 1.04; letter-spacing: -.01em; text-wrap: balance;
}
.hero p { max-width: 28ch; margin: 0 auto 1.4rem; font-family: var(--font-serif); font-style: italic; font-size: clamp(.98rem, 3.6vw, 1.25rem); color: #5A3A4B; line-height: 1.35; }
.hero .btn-pill { font-size: clamp(1rem, 3.8vw, 1.2rem); padding: 0 clamp(1.1rem, 4vw, 1.9rem); }

.hero-media { align-self: end; display: flex; justify-content: center; animation: rise .9s .1s ease both; }
.arch {
  position: relative; width: 100%; max-width: 440px; aspect-ratio: 3 / 4.7; overflow: hidden;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #EFDDE3, #E4C9D3);
  box-shadow: inset 0 0 0 10px rgb(255 255 255 / .35);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

@media (min-width: 860px) {
  .hero-in { grid-template-columns: 1fr 1fr; min-height: 600px; padding-top: 2.5rem; }
  .hero-copy { margin-right: 0; padding-bottom: 3rem; }
  .hero-copy .sparkle { width: 26px; height: 26px; }
  .bow-line { width: 260px; }
}

@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* Beneficios */
.perks { background: var(--paper-2); border-block: 1px solid var(--line); }
.perks ul { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 auto; padding-block: .95rem; list-style: none; }
.perks li {
  display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: 0 .4rem; text-align: center;
  font-family: var(--font-serif); font-style: italic; font-size: clamp(.78rem, 3.1vw, 1rem); line-height: 1.2; color: var(--ink);
}
.perks li + li { border-left: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); }
@media (min-width: 700px) { .perks li { flex-direction: row; justify-content: center; gap: .7rem; } }

/* Títulos de sección */
.sec { padding-block: 2.4rem .5rem; }
.sec-head { margin-bottom: 1.6rem; text-align: center; }
.sec-head h1, .sec-head h2 {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--ink);
  font-size: clamp(1.75rem, 6.6vw, 2.7rem); line-height: 1.1; text-wrap: balance;
}
.sec-lines h1::before, .sec-lines h1::after, .sec-lines h2::before, .sec-lines h2::after {
  content: ""; flex: 0 1 72px; height: 1px; background: color-mix(in srgb, var(--ink) 45%, transparent);
}
.sec-sparkles h1::before, .sec-sparkles h1::after, .sec-sparkles h2::before, .sec-sparkles h2::after {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: .4em; background: var(--sparkle) center / contain no-repeat;
}
.sec-sparkles h2::before, .sec-sparkles h1::before { margin-right: .4rem; }
.sec-sparkles h2::after, .sec-sparkles h1::after { margin-left: .4rem; }
.kicker { margin-top: .4rem; font-size: .72rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.center { margin: 2rem 0 .5rem; text-align: center; }

/* Explora por categoría */
.cats {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2.4rem) / 3.6); gap: .6rem;
  margin: 0; padding: 0 0 .6rem; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.cats::-webkit-scrollbar { display: none; }
.cats li { scroll-snap-align: start; }
@media (min-width: 700px) { .cats { grid-auto-columns: minmax(150px, 190px); justify-content: center; gap: 1rem; } }
.cat { display: block; text-decoration: none; text-align: center; }
.cat-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; background: linear-gradient(160deg, var(--rose-soft), #E9C9D6); box-shadow: var(--shadow); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat:hover .cat-img img { transform: scale(1.06); }
.cat-name { display: block; margin-top: .55rem; font-family: var(--font-serif); font-style: italic; font-size: clamp(.95rem, 3.4vw, 1.1rem); line-height: 1.15; color: var(--ink); }

/* Grilla de prendas */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem .9rem; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 2rem 1.25rem; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); } }

.card { position: relative; }
.card-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; background: var(--rose-soft); box-shadow: var(--shadow); }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s ease; }
.card-img .alt { opacity: 0; }
@media (hover: hover) {
  .card:hover .card-img img { transform: scale(1.04); }
  .card:hover .card-img .alt { opacity: 1; }
}
.card-img.is-off img { filter: grayscale(1); opacity: .6; }
.card-info { margin-top: .7rem; padding-inline: .15rem; }
.card-name { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(1rem, 3.6vw, 1.12rem); line-height: 1.25; }
.card-name a { text-decoration: none; }
.card-name a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 14px; } /* toda la tarjeta es el enlace */
.card-name a:focus-visible { outline: none; }
.card-name a:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 3px; }
.ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .9rem; }

.price { margin-top: .15rem; font-family: var(--font-serif); font-weight: 700; font-size: 1.05rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.price-old { margin-left: .5rem; font-family: var(--font-body); font-weight: 500; font-size: .85rem; color: var(--muted); }
.price-off { color: var(--muted); font-weight: 600; }
.price-big { font-size: 1.7rem; margin-top: .5rem; }
.price-big .price-old { font-size: 1.05rem; }

.badge {
  position: absolute; z-index: 1; top: .6rem; left: .6rem; padding: .25rem .65rem; border-radius: 999px;
  background: var(--pill); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.badge-sale { background: var(--ink); }
.badge-off { background: #fff; color: var(--muted); }

/* Corazón de favoritos */
.fav {
  position: absolute; z-index: 2; top: .55rem; right: .55rem; display: grid; place-items: center;
  width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%;
  background: rgb(255 255 255 / .92); box-shadow: 0 4px 12px -6px rgb(58 16 40 / .5); color: var(--ink);
  transition: transform .2s ease;
}
.fav::before { content: ""; width: 19px; height: 19px; background: currentColor; -webkit-mask: var(--i-heart) center / contain no-repeat; mask: var(--i-heart) center / contain no-repeat; }
.fav:hover { transform: scale(1.08); }
.fav[aria-pressed="true"] { color: var(--accent); }
.fav[aria-pressed="true"]::before { -webkit-mask-image: var(--i-heart-on); mask-image: var(--i-heart-on); animation: pop .35s ease; }
.fav-lg { top: .9rem; right: .9rem; width: 46px; height: 46px; }
.fav-lg::before { width: 23px; height: 23px; }

.empty { grid-column: 1 / -1; padding: 2.5rem 1rem; text-align: center; color: var(--muted); }
.empty strong { display: block; margin-bottom: .35rem; font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 1.4rem; color: var(--ink); }
.empty p { margin-bottom: 1.25rem; }

/* Temporada destacada */
.season-feature, .season-hero {
  position: relative; overflow: hidden; margin-top: 3rem; padding-block: 2.5rem;
  background: radial-gradient(60% 80% at 90% 10%, #FFF4F8, transparent 60%), linear-gradient(135deg, #F2DCE5 0%, #FAEFF3 50%, #EFD3DE 100%);
}
.season-hero { margin-top: 0; }
.season-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.25rem; align-items: center; }
.season-media { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 999px 999px 18px 18px; background: linear-gradient(180deg, #EFDDE3, #DDB9C8); box-shadow: var(--shadow); }
.season-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .6s ease; }
a.season-media:hover img { transform: scale(1.04); }
.season-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.season-copy .sparkle { margin-bottom: .4rem; }
.season-copy h1, .season-copy h2 { margin: .35rem 0 .5rem; font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(1.9rem, 7.4vw, 3.6rem); line-height: 1.05; color: var(--ink); text-wrap: balance; }
.season-desc { max-width: 34ch; margin-bottom: .75rem; font-family: var(--font-serif); font-style: italic; color: #5A3A4B; }
.season-count { margin-bottom: 1.1rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.season-copy .btn-pill { font-size: clamp(.95rem, 3.6vw, 1.12rem); padding: 0 clamp(1rem, 4vw, 1.7rem); }
@media (min-width: 860px) {
  .season-feature, .season-hero { padding-block: 3.5rem; }
  .season-in { grid-template-columns: minmax(0, 420px) 1fr; gap: 4rem; justify-content: center; }
}

.seasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem .9rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .seasons { grid-template-columns: repeat(auto-fit, minmax(200px, 250px)); justify-content: center; gap: 1.5rem; } }
.season-card { display: block; text-decoration: none; text-align: center; }
.season-card-img { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 999px 999px 16px 16px; background: linear-gradient(180deg, var(--rose-soft), #E3C2CF); box-shadow: var(--shadow); }
.season-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.season-card:hover .season-card-img img { transform: scale(1.05); }
.season-card-name { display: block; margin-top: .6rem; font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; color: var(--ink); }
.season-card-count { display: block; font-size: .8rem; color: var(--muted); }

/* ------------------------------------------------------------------ listados */

.list { padding-bottom: 3rem; }
.list-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.back { color: var(--muted); font-size: .95rem; text-underline-offset: 3px; }
.count-note { color: var(--muted); font-size: .95rem; }

.toolbar { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; margin-bottom: 1.75rem; }
.chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; flex: 1 1 100%; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 40px; padding: 0 1.1rem; background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 999px; font-family: var(--font-serif); font-style: italic; font-size: 1rem;
  transition: background .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--rose); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.search { flex: 1 1 100%; border-radius: 999px; padding-inline: 1.1rem; }
@media (min-width: 860px) { .search { flex: 0 0 280px; margin-left: auto; } }

/* ------------------------------------------------------------------ página de una prenda */

.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.1rem 0; font-size: .92rem; color: var(--muted); }
.crumbs a { text-underline-offset: 3px; }
.crumbs a + a::before { content: "›"; margin-right: .4rem; text-decoration: none; display: inline-block; }

.pdp { display: grid; gap: 1.75rem; padding-bottom: 2.5rem; }
@media (min-width: 860px) { .pdp { grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: start; } .pdp-info { position: sticky; top: 92px; } }

.gallery-main { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 20px; background: var(--rose-soft); box-shadow: var(--shadow); }
.gallery-main > img { width: 100%; height: 100%; object-fit: cover; animation: fadein .35s ease; }
.gallery-main .badge { top: 1rem; left: 1rem; }
.thumbs { display: flex; gap: .55rem; margin-top: .7rem; overflow-x: auto; scrollbar-width: none; }
.thumb { flex: none; width: 68px; aspect-ratio: 4 / 5; padding: 0; background: var(--rose-soft); border: 2px solid transparent; border-radius: 10px; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-current="true"] { border-color: var(--accent); }
@keyframes fadein { from { opacity: .3; } }

.pdp-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .6rem; }
.pdp-season { padding: .25rem .8rem; border-radius: 999px; background: var(--rose-soft); color: var(--accent); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.pdp-season:hover { background: color-mix(in srgb, var(--rose-soft) 70%, var(--rose)); }
.pdp-cat { color: var(--muted); font-size: .92rem; }
.pdp h1 { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(2rem, 6vw, 3rem); line-height: 1.06; text-wrap: balance; }
.pdp-info .bow-line { margin: 1rem 0 1.1rem; width: 180px; }
.pdp-desc { max-width: 52ch; margin-bottom: 1.6rem; white-space: pre-line; color: #4A3441; }

.opt-group { margin-bottom: 1.3rem; }
.opt-label { margin-bottom: .5rem; font-weight: 600; }
.opt-picked { font-weight: 400; color: var(--muted); }
.opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.opt { min-width: 52px; min-height: 44px; padding: 0 1rem; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; font-weight: 500; transition: background .2s, border-color .2s; }
.opt:hover { border-color: var(--rose); }
.opt[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.buy-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.btn-buy { flex: 1 1 220px; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); }
.stepper button { width: 44px; min-height: 44px; background: none; border: 0; font-size: 1.25rem; line-height: 1; }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 2rem; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.stock-note { margin-top: .75rem; color: var(--accent); font-weight: 700; }

.pdp-perks { display: grid; gap: .65rem; margin: 1.6rem 0 0; padding: 1rem 1.1rem; list-style: none; background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px; color: #5A3A4B; font-size: .94rem; }
.pdp-perks li { display: flex; align-items: center; gap: .75rem; }
.pdp-perks .ico { width: 22px; height: 22px; color: var(--accent); }

.related { border-top: 1px solid var(--line); padding-bottom: 3rem; }

.notice { padding: 4rem 1rem; max-width: 560px; text-align: center; }
.notice h1 { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 2.2rem; margin-bottom: .6rem; }
.notice p { margin-bottom: 1.5rem; color: var(--muted); }
.loading { padding: 4rem 1rem; color: var(--muted); text-align: center; font-family: var(--font-serif); font-style: italic; }

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

.site-footer { margin-top: 3rem; padding: 2.5rem 0 3rem; background: var(--ink); color: #EBD3DE; font-size: .95rem; }
.foot { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .foot { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-brand { display: block; color: #fff; font-family: var(--font-brand); font-size: 2.3rem; font-weight: 700; line-height: 1.1; }
.foot p { margin-top: .35rem; }
.foot-pay { color: #C9A9B9; font-size: .88rem; }
.foot ul { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; align-content: start; }
.foot a { color: #fff; text-underline-offset: 3px; text-decoration-color: rgb(255 255 255 / .4); }
.foot a:hover { text-decoration-color: currentColor; }

/* ------------------------------------------------------------------ menú lateral */

dialog.menu {
  position: fixed; inset: 0 auto 0 0; margin: 0; padding: 0; width: min(340px, 88vw); max-width: none; height: 100dvh; max-height: none;
  border: 0; color: var(--ink); flex-direction: column; overflow-y: auto;
  background: radial-gradient(90% 40% at 0% 100%, #EDC6D6, transparent 70%), var(--paper-2);
}
dialog.menu[open] { display: flex; transform: translateX(0); transition: transform .28s ease, display .28s allow-discrete; }
@starting-style { dialog.menu[open] { transform: translateX(-100%); } }
dialog.menu::backdrop, dialog.drawer::backdrop { background: rgb(58 16 40 / .4); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }

.menu-head { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1rem .9rem 1.25rem; border-bottom: 1px solid var(--line); }
.menu-brand { font-family: var(--font-brand); font-size: 1.9rem; color: var(--accent); }
.menu-brand img { height: 44px; width: auto; }
.menu-nav { display: flex; flex-direction: column; padding: .5rem 0 1rem; }
.menu-link {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1.25rem;
  font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; text-decoration: none; transition: background .15s, padding .2s;
}
.menu-link:hover { background: var(--rose-soft); padding-left: 1.5rem; }
.menu-link[aria-current="page"] { color: var(--accent); }
.menu-label { margin: 1.1rem 1.25rem .25rem; font-size: .7rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.menu-pill { padding: .15rem .55rem; border-radius: 999px; background: var(--pill); color: #fff; font-family: var(--font-body); font-style: normal; font-size: .7rem; font-weight: 700; letter-spacing: .06em; }
.menu-social { display: grid; gap: .5rem; margin-top: auto; padding: 1.25rem; border-top: 1px solid var(--line); font-size: .95rem; }
.menu-social a { text-underline-offset: 3px; }

/* ------------------------------------------------------------------ carrito (panel lateral) */

dialog.drawer {
  position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0; width: min(460px, 100vw); max-width: none; height: 100dvh; max-height: none;
  border: 0; background: var(--surface); color: var(--ink); flex-direction: column;
}
dialog.drawer[open] { display: flex; transform: translateX(0); transition: transform .28s ease, display .28s allow-discrete; }
@starting-style { dialog.drawer[open] { transform: translateX(100%); } }

.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1rem .9rem 1.25rem; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.drawer-head h2 { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 1.6rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 1.25rem; }
.drawer-empty { padding: 2.5rem 0; color: var(--muted); text-align: center; }
.drawer-empty .bow { margin-bottom: 1rem; }
.drawer-empty p { margin-bottom: 1.4rem; }

.line { display: grid; grid-template-columns: 70px 1fr auto; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.line:first-child { padding-top: 0; }
.line-img { position: relative; aspect-ratio: 4 / 5; background: var(--rose-soft); border-radius: 10px; overflow: hidden; }
.line-img img { width: 100%; height: 100%; object-fit: cover; }
.line-name { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; line-height: 1.25; }
.line-variant { color: var(--muted); font-size: .9rem; }
.line-warn { margin-top: .25rem; color: var(--danger); font-size: .9rem; font-weight: 600; }
.line .stepper { margin-top: .5rem; }
.line .stepper button { width: 38px; min-height: 38px; }
.line-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; font-weight: 600; white-space: nowrap; }
.link-btn { background: none; border: 0; padding: .35rem 0; color: var(--muted); font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--danger); }

.total-row { display: flex; justify-content: space-between; align-items: baseline; margin: 1.25rem 0; font-size: 1.1rem; }
.total-row strong { font-family: var(--font-serif); font-size: 1.7rem; }
.drawer-body h3 { margin: 1.5rem 0 .75rem; font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 1.3rem; }
.drawer-body .input, .drawer-body .textarea { border-radius: 10px; }

.pay-info { display: flex; gap: .8rem; align-items: flex-start; margin: .75rem 0 .5rem; padding: .85rem 1rem; background: var(--rose-soft); border-radius: 12px; font-size: .92rem; color: #4A3441; }
.pay-info .ico { width: 22px; height: 22px; margin-top: .1rem; color: var(--accent); }
.pay-info strong { display: block; color: var(--ink); }
.consent { display: flex; gap: .65rem; align-items: flex-start; margin: .25rem 0 .5rem; font-size: .92rem; color: var(--muted); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: .1rem; accent-color: var(--accent); }
.fine { margin-top: .75rem; color: var(--muted); font-size: .9rem; text-align: center; }

.done { text-align: center; }
.done .bow { margin: .5rem auto 1rem; width: 60px; height: 38px; }
.done h3 { margin: 0 0 .75rem; font-size: 1.7rem; line-height: 1.15; }
.done p { margin-bottom: 1.25rem; color: #4A3441; }
.done .code { display: inline-block; padding: .3rem .9rem; border-radius: 999px; background: var(--rose-soft); color: var(--accent); font-weight: 700; letter-spacing: .04em; }
.done .btn-pill, .done .btn { margin-bottom: .75rem; }

/* ------------------------------------------------------------------ aparición suave al bajar */

.anim .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.anim .reveal.in { opacity: 1; transform: none; }
