:root {
  --pink: #ef5297;
  --pink-dark: #cb3277;
  --ink: #300c2c;
  --plum: #551760;
  --muted: #7c4c72;
  --line: #efd5e5;
  --max: 1086px;
  --heading: 'Fredoka', 'Quicksand', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fffafe; font: 500 16px/1.45 'Quicksand', sans-serif; }
button, input, select { font: inherit; }
button { cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: not-allowed; opacity: .5; }
:focus-visible { outline: 3px solid #802171; outline-offset: 4px; }
[hidden] { display: none !important; }
svg { width: 24px; height: 24px; flex-shrink: 0; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.page-shell { width: min(var(--max), 100%); margin-inline: auto; }
.reference-art { display: block; background-image: url('assets/boutique-reference.webp?v=dcd24569'); background-repeat: no-repeat; }
.announcement { display: flex; justify-content: center; align-items: center; gap: 14px; height: 26px; background: #eb8eae; color: #fff; font-size: 13px; }
.announcement > span { font-weight: 600; }
.site-header { position: relative; z-index: 5; background: linear-gradient(110deg, #fff4fb, #fff 52%, #faf2ff); }
.nav-row { height: 82px; padding: 0 42px 0 68px; display: flex; align-items: center; gap: 22px; }
.brand { align-self: flex-start; width: 110px; height: 110px; flex: 0 0 110px; margin-top: 4px; z-index: 2; }
.brand-logo { width: 100%; height: 100%; border-radius: 50%; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav-filter { padding: 10px 0; border: 0; background: none; white-space: nowrap; font-size: 14px; font-weight: 700; color: var(--plum); }
.nav-filter:hover, .nav-icon-button:hover { color: var(--pink-dark); }
.whatsapp-button { display: inline-flex; align-items: center; gap: 9px; border: 0; border-radius: 99px; padding: 11px 18px; background: var(--pink); color: #fff; white-space: nowrap; font-size: 14px; font-weight: 700; }
.whatsapp-button svg { width: 24px; height: 24px; }
.nav-actions { display: flex; align-items: center; gap: 13px; }
.nav-icon-button { position: relative; display: inline-grid; place-items: center; width: 32px; height: 44px; border: 0; padding: 0; background: none; color: var(--plum); }
#open-cart > svg { width: 26.4px; height: 26.4px; }
.cart-count { position: absolute; right: -4px; top: 0; min-width: 18px; height: 18px; padding-inline: 3px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--pink-dark); font-size: 12px; font-weight: 700; }
.menu-toggle { display: none; }
.hero { position: relative; }
.hero-image { display: block; width: 100%; height: auto; }
/* Real links follow the two buttons embedded in the supplied 1086 × 440 banner. */
.hero-actions { position: absolute; inset: 0; pointer-events: none; }
.hero-link { position: absolute; top: 85%; min-height: 44px; transform: translateY(-50%); pointer-events: auto; border-radius: 99px; }
.hero-explore { left: 7.18%; width: 21.18%; height: 11.14%; }
.hero-kit { left: 30.57%; width: 9.03%; height: 11.14%; min-width: 44px; border-radius: 8px; }
.hero-link:hover { background: #ffffff18; }
.hero-link:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; background: #ffffff18; }
.eyebrow { margin: 0; font-weight: 600; font-size: 13px; letter-spacing: .32em; color: var(--plum); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 0; border-radius: 99px; padding: 12px 27px; font-weight: 700; line-height: 1.35; font-size: 18px; }
.button svg { width: 19px; height: 19px; }
.button-primary { background: var(--pink); color: #fff; }
.button-primary:hover, .whatsapp-button:hover { background: var(--pink-dark); }
.text-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; font-size: 14px; font-weight: 700; color: var(--plum); }
.text-link svg { width: 16px; height: 16px; }
.section { background: #fffdff; }
.section-heading { position: relative; text-align: center; padding: 15px 16px 19px; }
.section-heading h2 { margin: 0; font: 600 28px/1.12 var(--heading); letter-spacing: -.01em; }
.section-heading > span { position: absolute; left: calc(50% - 6px); bottom: 1px; color: #f389b3; font-size: 15px; }
.category-grid, .product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding-inline: 34px; }
.category-card { display: flex; flex-direction: column; position: relative; width: 100%; min-width: 0; overflow: hidden; padding: 0; border: 0; border-radius: 14px; background: #fff6fb; box-shadow: inset 0 0 0 1px #f3e1ed; text-align: left; }
.category-art { width: 100%; aspect-ratio: 244/154; flex-shrink: 0; mask-image: linear-gradient(to bottom, #000 84%, transparent 94%); }
.category-label { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 10px 16px; font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--plum); }
.category-arrow { width: 17px; height: 17px; flex-shrink: 0; transition: transform .18s ease; }
.category-card:hover .category-label, .category-card:focus-visible .category-label { color: var(--pink-dark); }
.category-card:hover .category-arrow { transform: translateX(3px); }
.products-section { padding-top: 21px; padding-bottom: 13px; scroll-margin-top: 20px; }
.section-heading-products { padding: 0 24px 11px; }
.section-heading-products::after { content: '♥'; position: absolute; left: calc(50% - 6px); bottom: -6px; color: #f389b3; font-size: 14px; }
.section-heading-products .eyebrow { margin: 0 0 4px; font-size: 12px; text-transform: lowercase; }
.reset-products { margin-top: 10px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 99px; color: var(--plum); background: #fff7fc; font-size: 14px; }
.product-card { position: relative; display: flex; flex-direction: column; width: 100%; min-width: 0; padding: 0; border: 0; border-radius: 13px; overflow: hidden; text-align: left; background: #fff6fb; box-shadow: inset 0 0 0 1px #f3e1ed; }
.product-card > .reference-art { width: 100%; aspect-ratio: 244/262; flex-shrink: 0; mask-image: linear-gradient(to bottom, #000 84%, transparent 94%); }
.product-card .reference-image { background: #f8eaf6; overflow: hidden; }
.reference-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.product-info { display: flex; flex: 1; flex-direction: column; margin-top: -10px; padding: 0 16px 3px; color: var(--plum); }
.product-info h3 { margin: 0 0 8px; font: 700 15px/1.3 Quicksand,sans-serif; }
.product-info p { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin: auto 0 0; line-height: 1.3; }
.product-volume { font-size: 13px; color: var(--muted); }
.product-price { font-size: 16px; font-weight: 700; }
.product-action { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; margin-top: 13px; border-top: 1px solid #ead6e3; font-size: 13px; font-weight: 700; }
.product-action svg { width: 17px; height: 17px; transition: transform .18s ease; }
.product-card:hover .product-action, .product-card:focus-visible .product-action { color: var(--pink-dark); }
.product-card:hover .product-action svg { transform: translateX(3px); }
.card-favorite, .card-availability { position: absolute; top: 10px; border-radius: 99px; background: #fff9fd; }
.card-favorite { right: 10px; width: 28px; text-align: center; color: var(--pink-dark); }
.card-availability { left: 10px; padding: 4px 9px; font-size: 13px; color: var(--plum); }
.products-empty { grid-column: 1/-1; padding: 30px; text-align: center; color: var(--muted); }
.products-empty button { border: 1px solid var(--line); border-radius: 99px; padding: 10px 18px; color: var(--plum); background: #fff0f9; }
.browse-all { display: none; }
.kit-banner { position: relative; width: min(1026px, calc(100% - 60px)); aspect-ratio: 1026/180; border-radius: 17px; }
/* Keep the original clouds and artwork, with an accessible button over its label. */
.kit-start { position: absolute; left: 7.505%; top: 72.5%; width: 19.786%; height: 27.222%; min-width: 75px; min-height: 44px; transform: translateY(-50%); border: 0; padding: 0; border-radius: 99px; background: transparent; }
.kit-start:hover { background: #ffffff18; }
.kit-start:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; background: #ffffff18; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 48px 16px; color: #873167; font-size: 12px; }
.site-footer strong { display: block; font-weight: 500; }
.site-footer span { display: block; }
.site-footer a { display: inline-flex; align-items: center; gap: 11px; color: var(--plum); font-size: 13px; }
.site-footer svg { width: 25px; height: 25px; }
.footer-shine { white-space: nowrap; }
/* Native dialogs retain keyboard focus and prevent interactions behind them. */
body.has-modal, body.body-lock { overflow: hidden; }
dialog { color: var(--ink); border: 0; padding: 0; box-shadow: 0 25px 80px #47113244; }
dialog::backdrop { background: #35112d75; backdrop-filter: blur(5px); }
.product-dialog { width: 780px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 36px); border-radius: 22px; overflow: auto; background: #fffafd; }
.dialog-close { position: absolute; z-index: 2; top: 14px; right: 14px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; padding: 0; background: #fffdfefa; color: var(--plum); }
.dialog-close svg { width: 21px; height: 21px; }
.dialog-layout { display: grid; grid-template-columns: 42% 58%; }
.dialog-image-wrap { position: relative; display: flex; align-items: center; justify-content: center; padding: 38px 14px 58px; min-height: 500px; background: linear-gradient(150deg,#f9e2ef,#f0e5fa); }
.dialog-image-wrap img { width: 100%; max-height: 450px; object-fit: contain; border-radius: 12px; }
.photo-caption { position: absolute; left: 20px; right: 20px; bottom: 20px; color: var(--muted); font-size: 12px; text-align: center; }
.dialog-copy { padding: 39px 32px 25px; }
.dialog-copy .eyebrow { font-size: 12px; letter-spacing: .18em; margin: 0 35px 10px 0; }
.dialog-copy h2 { margin: 0 0 7px; font: 600 32px/1.1 var(--heading); }
.dialog-volume { color: var(--muted); margin: 0; font-size: 14px; }
.dialog-description { font-size: 15px; line-height: 1.5; color: var(--muted); margin: 14px 0; }
.dialog-price { font: 600 25px/1.2 var(--heading); color: var(--pink-dark); margin: 0 0 18px; }
.dialog-label { display: block; font-size: 14px; font-weight: 700; margin: 12px 0 7px; }
.dialog-select { width: 100%; min-height: 44px; border: 1px solid #dca8c9; border-radius: 9px; padding: 10px; background: #fff; color: var(--plum); font-size: 16px; }
.dialog-quantity { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; }
.dialog-quantity .dialog-label { margin: 0; }
.quantity-control { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; background: #fff; overflow: hidden; flex-shrink: 0; }
.quantity-button { border: 0; background: transparent; width: 42px; min-height: 42px; font-size: 23px; color: var(--plum); }
.quantity-control output { min-width: 30px; font-size: 16px; font-weight: 700; text-align: center; }
.dialog-add { width: 100%; margin-top: 20px; font-size: 16px; min-height: 46px; }
.dialog-availability { font-size: 14px; line-height: 1.4; color: #9a326a; }
.dialog-availability:empty { display: none; }
.dialog-help { font-size: 13px; color: var(--muted); line-height: 1.4; margin: 12px 0; }
.dialog-favorite { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0; border: 0; background: none; color: var(--plum); font-size: 14px; }
.dialog-favorite svg { width: 20px; height: 20px; }
.dialog-favorite[aria-pressed=true] { color: var(--pink-dark); }
.cart-dialog { width: 470px; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; overflow: hidden; border-radius: 20px 0 0 20px; }
.cart-dialog[open] { display: flex; flex-direction: column; }
.cart-header { flex-shrink: 0; padding: 24px 65px 22px 22px; background: linear-gradient(110deg,#fff0f9,#f3e8ff); }
.cart-header h2 { font: 600 28px var(--heading); margin: 0; }
.cart-header p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.cart-items { padding: 16px; flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.cart-empty { text-align: center; padding: 50px 15px; color: var(--muted); }
.cart-empty strong { display: block; font: 600 23px var(--heading); color: var(--ink); }
.cart-empty button { border: 1px solid var(--line); border-radius: 99px; padding: 11px 19px; background: #fff1f8; color: var(--plum); }
.cart-item { display: grid; grid-template-columns: 76px 1fr; gap: 13px; padding: 13px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 13px; background: #fffbfe; }
.cart-item-img, .cart-item-image { width: 76px; height: 95px; object-fit: cover; border-radius: 9px; }
.cart-item-name { margin: 0 0 3px; font-size: 15px; line-height: 1.3; }
.cart-item-details > p { margin: 3px 0; font-size: 13px; color: var(--muted); }
.cart-item-details .cart-item-variant { color: var(--pink-dark); font-weight: 700; }
.cart-item-row { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-top: 10px; flex-wrap: wrap; }
.cart-item .quantity-button { width: 35px; min-height: 38px; }
.cart-item .quantity-control output { min-width: 25px; }
.cart-item-price { font-size: 14px; }
.btn-remove-item, .cart-item-remove { margin-top: 7px; padding: 4px 0; border: 0; background: none; text-decoration: underline; color: var(--muted); font-size: 13px; }
.cart-item-details .cart-item-warning { color: #a42648; }
.cart-summary { flex-shrink: 0; border-top: 1px solid var(--line); padding: 18px 22px max(20px,env(safe-area-inset-bottom)); background: #fff; }
.cart-summary-row { display: flex; align-items: center; gap: 8px; justify-content: space-between; margin-bottom: 14px; }
.cart-summary-row span { font-size: 14px; }
.cart-summary-row strong { color: var(--plum); font: 600 26px var(--heading); }
.cart-order { width: 100%; font-size: 15px; }
.cart-order[aria-disabled=true] { opacity: .45; cursor: not-allowed; }
.cart-summary p { font-size: 12px; color: var(--muted); text-align: center; line-height: 1.4; margin: 12px 0 0; }
.shop-toast { position: fixed; z-index: 20; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100vw - 30px); border-radius: 13px; background: #4e194d; color: #fff; padding: 13px 16px; box-shadow: 0 12px 30px #35123233; font-size: 14px; }
.shop-toast button { flex-shrink: 0; border: 0; border-radius: 99px; padding: 9px 13px; color: var(--plum); background: #fff; font-size: 14px; font-weight: 700; }
@media (min-width: 761px) and (max-width: 1030px) {
  .nav-row { padding: 0 25px; gap: 15px; }
  .brand { width: 94px; height: 94px; flex-basis: 94px; }
  .site-nav { gap: 18px; }
  .nav-filter { font-size: 13px; }
  .instagram-link { display: none; }
  .whatsapp-button { padding: 10px 14px; font-size: 13px; }
  .text-link { font-size: 13px; }
  .category-label { font-size: 14px; padding-left: 12px; }
  .product-info { padding-inline: 12px; }
  .product-info h3 { font-size: 14px; }
}
@media (max-width: 760px) {
  .nav-row { height: 80px; padding: 0 20px; gap: 14px; }
  .brand { width: 68px; height: 68px; flex-basis: 68px; margin-top: 6px; }
  .nav-actions { margin-left: 0; gap: 9px; }
  .menu-toggle { display: block; margin-left: auto; border: 1px solid var(--line); border-radius: 99px; background: #fff; color: var(--plum); min-height: 42px; padding: 8px 13px; font-size: 14px; font-weight: 700; }
  .site-nav { display: none; position: absolute; top: 76px; left: 14px; right: 14px; z-index: 10; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 17px; background: #fffaff; box-shadow: 0 10px 30px #50153d26; }
  .site-nav.is-open { display: grid; gap: 0; }
  .nav-filter { padding: 12px; font-size: 16px; text-align: left; }
  .site-nav .whatsapp-button { justify-content: center; margin: 6px; }
  .site-nav .instagram-link { justify-self: center; }
  .text-link { font-size: 14px; }
  .section-heading { padding-top: 18px; padding-bottom: 21px; }
  .section-heading h2 { font-size: 25px; }
  .category-grid, .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); padding-inline: 16px; gap: 12px; }
  .category-card { border-radius: 12px; }
  .category-label { min-height: 56px; padding: 10px 12px; gap: 8px; font-size: 14px; }
  .products-section { padding-top: 22px; }
  .section-heading-products { padding: 0 20px 13px; }
  .section-heading-products .eyebrow { font-size: 11px; letter-spacing: .24em; }
  .product-info { padding-inline: 12px; }
  .product-info h3 { font-size: 14px; line-height: 1.3; }
  .product-volume { font-size: 12px; }
  .product-price { font-size: 15px; }
  .kit-banner { width: calc(100% - 32px); margin-top: 7px; }
  .site-footer { flex-wrap: wrap; justify-content: center; text-align: center; padding: 19px 18px 28px; gap: 15px 24px; font-size: 13px; }
  .footer-shine { flex-basis: 100%; }
  .dialog-layout { grid-template-columns: 1fr; }
  .dialog-image-wrap { min-height: 0; height: 235px; padding: 14px 55px 36px; }
  .dialog-image-wrap img { height: 100%; }
  .photo-caption { bottom: 10px; font-size: 12px; }
  .dialog-copy { padding: 23px; }
  .dialog-copy h2 { font-size: 29px; }
  .dialog-description { font-size: 15px; margin: 10px 0; }
  .dialog-price { margin-bottom: 12px; }
  .cart-dialog { border-radius: 0; }
  .shop-toast { bottom: 15px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Exact artwork windows: x, y, width, height in the reference. */
.brand-logo { background-size: 987.27272727% 1316.36363636%; background-position: 6.96721311% 2.24215247%; } /* 68, 30, 110, 110 */
.category-body { background-size: 445.08196721% 940.25974026%; background-position: 4.03800475% 46.36785162%; } /* 34, 600, 244, 154 */
.category-care { background-size: 445.08196721% 940.25974026%; background-position: 34.79809976% 46.36785162%; } /* 293, 600, 244, 154 */
.category-glow { background-size: 445.08196721% 940.25974026%; background-position: 65.43942993% 46.36785162%; } /* 551, 600, 244, 154 */
.category-minis { background-size: 445.08196721% 940.25974026%; background-position: 96.08076010% 46.36785162%; } /* 809, 600, 244, 154 */
.art-product-2 { background-size: 445.08196721% 552.67175573%; background-position: 4.03800475% 74.28330523%; } /* 34, 881, 244, 262 */
.art-product-1 { background-size: 445.08196721% 552.67175573%; background-position: 34.79809976% 74.28330523%; } /* 293, 881, 244, 262 */
.art-product-3 { background-size: 445.08196721% 552.67175573%; background-position: 65.43942993% 74.28330523%; } /* 551, 881, 244, 262 */
.art-product-4 { background-size: 445.08196721% 552.67175573%; background-position: 96.08076010% 74.28330523%; } /* 809, 881, 244, 262 */
.kit-banner { background-size: 105.84795322% 804.44444444%; background-position: 50% 95.58359621%; } /* 30, 1212, 1026, 180 */


/* ---------- Conexion con la API: precio de campana, politica, Turnstile ---------- */
.product-regular { margin-left: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.cart-consent { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-size: 13px; line-height: 1.4; color: var(--ink); text-align: left; cursor: pointer; }
.cart-consent input { width: 20px; height: 20px; flex: 0 0 20px; margin: 1px 0 0; accent-color: var(--pink); cursor: pointer; }
.link-button { display: inline; border: 0; padding: 0; background: none; color: var(--pink-dark); font-weight: 700; text-decoration: underline; cursor: pointer; }
.cart-turnstile:not(:empty) { display: flex; justify-content: center; margin: 0 0 12px; }
.cart-summary p.cart-error { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #fde8ef; color: #9b1c4b; font-size: 13px; font-weight: 600; }
.cart-order:disabled { opacity: .45; cursor: not-allowed; }
.policy-dialog { width: 620px; max-width: calc(100vw - 24px); max-height: 86dvh; padding: 0; border: 0; border-radius: 20px; overflow: hidden; }
.policy-dialog[open] { display: flex; flex-direction: column; }
.policy-dialog::backdrop { background: rgba(48, 12, 44, .45); }
.policy-text { overflow-y: auto; padding: 4px 22px 24px; white-space: pre-wrap; font-size: 14px; line-height: 1.55; color: var(--ink); }

.footer-legal { display: block; font-size: 11px; opacity: .7; margin-top: 2px; }
