/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(252, 244, 252, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { max-width: 1180px; margin: auto; padding: 8px 16px; display: flex; align-items: center; gap: 12px; }
.logo-brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.logo-brand .script { font-size: 2.3rem; line-height: .95; }
.logo-brand small { font-size: .62rem; font-weight: 800; color: var(--brand); letter-spacing: .38em; text-transform: uppercase; margin: 1px 0 0 4px; }
.spacer { flex: 1; }
.icon-link { color: var(--ink); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; }
.icon-link:hover { background: var(--brand-soft); color: var(--brand-dark); }
.cart-btn { border: 0; background: var(--ink); color: #fff; border-radius: 999px; padding: 10px 18px; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.cart-btn:hover { background: var(--brand-dark); }
.cart-btn.bump { animation: bump .35s; }
@keyframes bump { 50% { transform: scale(1.12); } }
.badge { background: var(--lila); color: var(--script); border-radius: 999px; min-width: 22px; height: 22px; display: grid; place-items: center; font-size: .8rem; padding: 0 6px; }

/* Hero */
.hero { max-width: 1180px; margin: 20px auto 0; padding: 0 16px; }
.hero-card { background: linear-gradient(120deg, #f6d2fa, #fcf4fc 55%, #f8e4f6); border-radius: 28px; padding: 32px 36px; display: flex; align-items: center; gap: 28px; overflow: hidden; }
.eyebrow { margin: 0 0 8px; font-size: .82rem; font-weight: 800; color: var(--brand); letter-spacing: .04em; }
.hero h1 { margin: 0 0 10px; font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.02; color: var(--script); }
.hero p { margin: 0; max-width: 500px; color: #5e4d5b; }
.hero .eyebrow { color: var(--brand); }
.hero-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.hero-art { position: relative; flex-shrink: 0; margin-left: auto; width: clamp(220px, 30vw, 340px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0, #fae6fb 38%, var(--lila) 100%); display: grid; place-content: center; text-align: center;
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .45), 0 18px 50px rgba(154, 74, 166, .25); }
.hero-art .script { font-size: clamp(3.4rem, 7vw, 5.4rem); line-height: 1; }
.hero-art small { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: lowercase; color: var(--brand-dark); margin-top: 2px; }
.spark { position: absolute; background: #fff; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: twinkle 3s ease-in-out infinite; }
.spark.s1 { width: 34px; height: 34px; top: 14%; right: 16%; }
.spark.s2 { width: 20px; height: 20px; bottom: 20%; left: 14%; background: var(--gold); animation-delay: 1s; }
.spark.s3 { width: 14px; height: 14px; top: 26%; left: 22%; animation-delay: 2s; }
@keyframes twinkle { 50% { transform: scale(.6) rotate(20deg); opacity: .6; } }
@media (prefers-reduced-motion: reduce) { .spark { animation: none; } }

/* Accesos a categorías */
.cat-strip { max-width: 1180px; margin: 18px auto 0; padding: 0 16px 6px; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.cat-strip::-webkit-scrollbar { display: none; }
.cat-tile { flex: 1 0 112px; max-width: 150px; border: 0; background: none; padding: 4px; display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: .8rem; font-weight: 700; text-align: center; line-height: 1.2; color: var(--ink); }
.cat-tile .deco { width: 64px; height: 64px; font-size: 30px; background: #fff; box-shadow: var(--shadow); transition: .15s; }
.cat-tile:hover .deco { transform: translateY(-2px); color: var(--brand-dark); }
.cat-tile.on .deco { background: var(--brand); color: #fff; }

/* Destacados */
.featured-wrap { max-width: 1180px; margin: 24px auto 0; padding: 0 16px; }
.featured-wrap h2 { margin: 0 0 12px; }
.with-deco { font-size: 2rem; color: var(--script); display: flex; align-items: center; gap: 10px; }
.with-deco::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--lila), transparent); }
.featured { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 230px); gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.featured .card { scroll-snap-align: start; }

/* Layout catálogo */
main { max-width: 1180px; margin: 28px auto 40px; padding: 0 16px; display: grid; grid-template-columns: 240px 1fr; gap: 24px; scroll-margin-top: 80px; }
aside#filters { background: var(--surface); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); align-self: start; position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; }
.filters-head { display: flex; align-items: center; justify-content: space-between; }
.filters-head h2 { margin: 0 0 12px; font-size: 1.5rem; }
.filters-head .x { display: none; }
aside h3 { margin: 0 0 10px; font-size: .9rem; }
.group { margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.check { display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: .92rem; margin: 6px 0; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.filters-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.linkbtn { border: 0; background: none; color: var(--brand-dark); font-weight: 700; padding: 0; text-decoration: underline; }
.only-mobile { display: none; }

.toolbar { display: flex; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.search { flex: 1; min-width: 180px; }
.sort { width: auto; }
.filters-toggle { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.active-filters .chip { font-size: .8rem; padding: 4px 10px; }
.count { color: var(--muted); font-weight: 600; margin: 8px 0 14px; }

/* Tarjetas */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .15s; cursor: pointer; text-align: left; border: 0; padding: 0; }
.card:hover { transform: translateY(-3px); }
.thumb { aspect-ratio: 4/5; position: relative; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.tags { position: absolute; top: 10px; left: 10px; display: flex; gap: 5px; flex-wrap: wrap; }
.tag { font-size: .68rem; font-weight: 800; padding: 4px 9px; border-radius: 999px; background: #fff; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); }
.tag.line { border: 1px solid var(--line); }
.tag.custom { background: var(--script); color: #fbe8fb; }
.tag.sale { background: var(--brand); color: #fff; }
.tag.out { background: #fff; color: var(--muted); }
.card.soldout .thumb > :not(.tags) { opacity: .5; }
.info-c { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.info-c h3 { margin: 0; font-size: .98rem; font-weight: 700; }
.price { font-weight: 800; color: var(--brand-dark); font-size: 1.05rem; }
.price s { color: var(--muted); font-weight: 600; font-size: .85em; margin-left: 6px; }
.sizes-line { font-size: .78rem; color: var(--muted); font-weight: 600; }
.empty, .loading { grid-column: 1 / -1; text-align: center; padding: 40px 20px; color: var(--muted); }
.empty b { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 4px; }
.more { text-align: center; margin-top: 24px; }

/* Detalle */
.pview { display: grid; grid-template-columns: 1.1fr 1fr; }
.gallery { padding: 16px; }
.gallery .main { aspect-ratio: 4/5; border-radius: 18px; overflow: hidden; background: #fff; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { border: 2px solid transparent; padding: 0; border-radius: 10px; overflow: hidden; width: 64px; height: 76px; flex-shrink: 0; background: #fff; }
.thumbs button.on { border-color: var(--brand); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pinfo { padding: 28px 24px 24px 8px; display: flex; flex-direction: column; gap: 10px; }
.pinfo h2 { margin: 0; font-size: 2rem; line-height: 1.05; padding-right: 36px; }
.pinfo .price { font-size: 1.4rem; }
.pinfo .desc { white-space: pre-line; color: #5e4d5b; margin: 0; }
.pinfo label.lbl { margin-bottom: 0; font-size: .9rem; }
.meta-line { display: flex; gap: 6px; flex-wrap: wrap; }
.size-pick { display: flex; flex-wrap: wrap; gap: 7px; }
.size { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 7px 11px; font-size: .88rem; font-weight: 700; min-width: 54px; }
.size:hover:not(:disabled) { border-color: var(--brand); }
.size.sel { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); }
.size:disabled { text-decoration: line-through; color: #cdb9c9; cursor: not-allowed; background: #fcf7fc; }
.stock-note { font-size: .85rem; font-weight: 700; min-height: 1.2em; color: var(--brand-dark); }
.qty { display: inline-flex; align-items: center; gap: 4px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 36px; height: 38px; border: 0; background: none; font-size: 1.1rem; font-weight: 700; }
.qty b { min-width: 24px; text-align: center; }
.add-row { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.add-row .btn { flex: 1; padding: 12px; }
.small-links { display: flex; gap: 16px; flex-wrap: wrap; font-size: .88rem; font-weight: 700; }
.small-links button, .small-links a { border: 0; background: none; padding: 0; color: var(--brand-dark); text-decoration: underline; }

.modal.narrow { width: min(560px, 100%); }
.pad { padding: 24px; text-align: center; }
.pad h2 { margin: 0 0 10px; font-size: 2rem; color: var(--script); }
.pad table { text-align: left; }
.guide-tabs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
table.guide { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; font-size: .9rem; }
table.guide th, table.guide td { padding: 9px 10px; text-align: left; border-bottom: 1px solid var(--line); }
table.guide th { background: var(--brand-soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }

/* Carrito */
.overlay { position: fixed; inset: 0; background: rgba(40, 15, 40, .35); opacity: 0; pointer-events: none; transition: .2s; z-index: 30; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(440px, 100%); background: var(--bg); z-index: 40; transform: translateX(100%); transition: transform .25s; display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 1.7rem; flex: 1; }
.drawer-body { flex: 1; overflow: auto; padding: 4px 20px 24px; }
.item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.item .mini { width: 58px; height: 68px; border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.item .mini img { width: 100%; height: 100%; object-fit: cover; }
.item .meta { flex: 1; min-width: 0; font-size: .85rem; }
.item .meta b { display: block; font-size: .95rem; }
.item .qty button { width: 28px; height: 30px; }
.rm { border: 0; background: none; color: var(--muted); font-size: .8rem; text-decoration: underline; padding: 0; }
.co h3 { margin: 20px 0 6px; font-size: 1rem; }
.opt { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 11px 12px; margin-bottom: 8px; cursor: pointer; }
.opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.opt input { margin-top: 3px; accent-color: var(--brand); width: 17px; height: 17px; }
.opt .t { flex: 1; font-weight: 700; font-size: .92rem; }
.opt .t small { display: block; font-weight: 400; color: var(--muted); }
.opt .p { font-weight: 700; font-size: .88rem; white-space: nowrap; }
.sum { background: #fff; border-radius: 14px; padding: 12px 14px; margin-top: 16px; }
.sum div { display: flex; justify-content: space-between; padding: 3px 0; }
.sum .tot { font-size: 1.15rem; font-weight: 800; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; }
.err { color: var(--danger); font-size: .85rem; min-height: 1em; margin: 10px 0 4px; font-weight: 600; }
.empty-cart, .sent { text-align: center; color: var(--muted); padding: 30px 10px; }
.empty-cart b { display: block; color: var(--ink); font-size: 1.3rem; font-family: "Cormorant Garamond", serif; }
.sent h3 { color: var(--script); font-size: 1.35rem; margin: 6px 0; }

/* Info */
.info { max-width: 1180px; margin: 0 auto 40px; padding: 0 16px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 30px; }
.info-card { background: #fff; border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow); text-align: center; }
.info-card h3 { margin: 10px 0 8px; }
.info-card ul { margin: 0; padding-left: 18px; color: #5e4d5b; text-align: left; }
.info-card p { margin: 0; color: #5e4d5b; }
.faq details { background: #fff; border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; box-shadow: var(--shadow); }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: 8px 0 0; color: #5e4d5b; white-space: pre-line; }

/* Sobre nosotros */
.about { max-width: 1180px; margin: 0 auto 40px; padding: 0 16px; }
.about-card { background: linear-gradient(115deg, #f8e4f6, #fcf4fc 60%, #f6d2fa); border-radius: 28px; padding: 28px 32px; display: flex; gap: 28px; align-items: center; }
.about-mark { width: 150px; height: 150px; flex-shrink: 0; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.about-mark .script { font-size: 2.6rem; }
.about-card h2 { margin: 0 0 8px; font-size: 2rem; }
.about-card p { margin: 0 0 8px; color: #5e4d5b; max-width: 620px; }
.about-loc { font-weight: 700; }

footer { border-top: 1px solid var(--line); text-align: center; padding-top: 26px; background: #f9e8f8; }
.foot-thanks { margin: 0; }
.foot-thanks .script { font-size: 2.2rem; }
.foot-grid { max-width: 1180px; margin: 20px auto 0; padding: 0 16px; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 24px; text-align: left; }
.foot-col { display: flex; flex-direction: column; gap: 7px; font-size: .92rem; color: #5e4d5b; }
.foot-col h3 { margin: 0 0 4px; font-size: .95rem; color: var(--ink); }
.foot-col a, .linkish { color: #5e4d5b; text-decoration: none; font-weight: 600; }
.foot-col a:hover, .linkish:hover { color: var(--brand-dark); text-decoration: underline; }
.linkish { border: 0; background: none; padding: 0; text-align: left; font-size: inherit; }
.foot-col p { margin: 0; }
.foot-brand { display: flex; flex-direction: column; line-height: 1; }
.foot-brand .script { font-size: 2.4rem; }
.foot-brand small { color: var(--brand); letter-spacing: .36em; font-size: .62rem; font-weight: 800; text-transform: uppercase; margin-left: 4px; }
.pay-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-chips span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: .8rem; font-weight: 700; }
.foot-bottom { max-width: 1180px; margin: 24px auto 0; padding: 16px 16px 90px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.foot-bottom a { color: var(--muted); }

.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37, 211, 102, .4); z-index: 25; }

@media (max-width: 860px) {
  main { grid-template-columns: 1fr; }
  aside#filters { position: fixed; inset: auto 0 0 0; top: auto; max-height: 85vh; border-radius: 24px 24px 0 0; z-index: 50; transform: translateY(105%); transition: transform .25s; }
  aside#filters.show { transform: none; box-shadow: 0 -10px 40px rgba(0, 0, 0, .2); }
  .filters-head .x { display: grid; place-items: center; }
  .only-mobile { display: inline-flex; }
  .filters-toggle { display: inline-flex; }
  .search { flex-basis: 100%; }
  .sort { flex: 1; }
  .hero-card { padding: 22px 18px; gap: 16px; flex-direction: column-reverse; text-align: center; }
  .hero-art { width: 200px; margin: 0 auto; }
  .hero-art .script { font-size: 3.4rem; }
  .hero-art small { font-size: .68rem; }
  .hero p { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .cat-strip { gap: 4px; }
  .cat-tile { flex: 0 0 92px; font-size: .74rem; }
  .cat-tile .deco { width: 56px; height: 56px; font-size: 26px; }
  .logo-brand .script { font-size: 2rem; }
  .cart-btn .lbl { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pview { grid-template-columns: 1fr; }
  .pinfo { padding: 0 20px 24px; }
  .info-grid { grid-template-columns: 1fr; }
  .about-card { flex-direction: column; text-align: center; padding: 24px 18px; gap: 10px; }
  .about-mark { width: 120px; height: 120px; }
  .about-mark .script { font-size: 2.1rem; }
  .about-card .hero-actions { justify-content: center; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid .foot-col:first-child { grid-column: 1 / -1; }
}

/* ================================================================ */
/* Animaciones                                                       */
/* ================================================================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes popIn { 0% { opacity: 0; transform: scale(.6); } 70% { opacity: 1; transform: scale(1.06); } 100% { transform: none; } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes sheen { to { background-position: 200% center; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ring { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes wiggle { 25% { transform: rotate(-9deg); } 75% { transform: rotate(9deg); } }
@keyframes drift { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-160px) scale(1); opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }

/* Portada: el texto entra de a uno y el círculo flota */
.hero-text > * { animation: fadeUp .7s both; }
.hero-text > :nth-child(2) { animation-delay: .1s; }
.hero-text > :nth-child(3) { animation-delay: .2s; }
.hero-text > :nth-child(4) { animation-delay: .3s; }
.hero-card { position: relative; }
.hero-art { animation: popIn .9s .15s both, float 6s 1.1s ease-in-out infinite; }
.hero-art::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1.5px dashed rgba(154, 74, 166, .35); animation: spin 40s linear infinite; }
.hero-art .script, .logo-brand .script {
  background: linear-gradient(100deg, var(--script) 40%, #b360bf 50%, var(--script) 60%) 0 center / 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 5s linear infinite; padding: 0 .08em;
}
/* brillitos que suben por la portada */
.bubbles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.bubbles i { position: absolute; bottom: -10px; width: 10px; height: 10px; background: #fff; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: drift 7s linear infinite; }
.bubbles i:nth-child(1) { left: 8%; animation-delay: 0s; }
.bubbles i:nth-child(2) { left: 22%; animation-delay: 2.4s; width: 7px; height: 7px; }
.bubbles i:nth-child(3) { left: 38%; animation-delay: 4.1s; background: var(--gold); }
.bubbles i:nth-child(4) { left: 55%; animation-delay: 1.2s; width: 13px; height: 13px; }
.bubbles i:nth-child(5) { left: 72%; animation-delay: 3.3s; width: 8px; height: 8px; background: var(--gold); }
.bubbles i:nth-child(6) { left: 88%; animation-delay: 5.2s; }
.hero-card > :not(.bubbles) { position: relative; z-index: 1; }

/* Botones: brillo al pasar el mouse */
.btn.brand, .cart-btn { position: relative; overflow: hidden; transition: transform .15s, box-shadow .2s; }
.btn.brand::after, .cart-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s; }
.btn.brand:hover:not(:disabled)::after, .cart-btn:hover::after { transform: translateX(120%); }
.btn.brand:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(154, 74, 166, .35); }
.btn:active:not(:disabled) { transform: scale(.97); }

/* Categorías */
.cat-tile .deco { transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), background .2s, color .2s; }
@media (hover: hover) { .cat-tile:hover .deco { transform: translateY(-4px) scale(1.08); }
.cat-tile:hover .deco .ico { animation: wiggle .5s; } }

/* Tarjetas: se elevan y la imagen se acerca */
.card { transition: transform .25s cubic-bezier(.3, 1.4, .5, 1), box-shadow .25s; }
@media (hover: hover) { .card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(110, 50, 110, .16); } }
.thumb > img, .thumb > .ph { transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
@media (hover: hover) { .card:hover .thumb > img, .card:hover .thumb > .ph { transform: scale(1.06); } }
.ph > .ph-spark { animation: twinkle 3.2s ease-in-out infinite; }
@media (hover: hover) { .card:hover .ph > .ico:first-child { animation: wiggle .6s; } }
.tag.sale { animation: popIn .5s .3s both; }

/* Aparecer al hacer scroll (solo si el navegador lo soporta; ver store.js) */
.anim .rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--d, 0) * 70ms); }
.anim .rv.in { opacity: 1; transform: none; }
@media (hover: hover) { .anim .card.rv.in:hover { transform: translateY(-6px); transition-delay: 0s; } }

/* Modales, carrito y toques */
.modal-bg.open .modal { animation: modalIn .35s cubic-bezier(.2, .8, .2, 1); }
.size, .chip { transition: transform .15s, background .15s, border-color .15s, color .15s; }
.size:hover:not(:disabled), .chip:hover { transform: translateY(-1px); }
.size.sel { animation: popIn .3s; }
.item { animation: fadeUp .35s both; }
.sent .deco, .empty-cart .deco { animation: popIn .6s both, float 4s .6s ease-in-out infinite; }
.badge.bump { animation: popIn .45s; }
.fly { position: fixed; z-index: 90; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; pointer-events: none; box-shadow: 0 6px 18px rgba(110, 50, 110, .35); border: 2px solid #fff; }
.fly > * { width: 100%; height: 100%; object-fit: cover; }

/* WhatsApp: pulso */
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); animation: ring 2.2s ease-out infinite; z-index: -1; }
.wa-float { transition: transform .2s; }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }

.faq details[open] p { animation: fadeUp .35s both; }
.faq summary { transition: color .15s; }
.faq summary:hover { color: var(--brand-dark); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .anim .rv { opacity: 1; transform: none; }
  .hero-art .script, .logo-brand .script { color: var(--script); background: none; }
}

/* ================================================================ */
/* Celular                                                          */
/* ================================================================ */
html { -webkit-tap-highlight-color: transparent; }
button, a, .chip, .size, .card { touch-action: manipulation; }
.wa-float { bottom: calc(18px + env(safe-area-inset-bottom)); }
body.modal-open .wa-float { opacity: 0; pointer-events: none; }

@media (max-width: 860px) {
  .top .bar { padding: 6px 14px; }
  /* buscador y filtros quedan a mano debajo del encabezado */
  .toolbar { position: sticky; top: var(--hdr, 55px); z-index: 15; background: rgba(252, 244, 252, .96); backdrop-filter: blur(8px); margin: 0 -16px 10px; padding: 8px 16px; }
  main { margin-top: 18px; }
  .hero { margin-top: 12px; }
  .hero-card { padding: 20px 16px 22px; border-radius: 24px; }
  .hero-art { width: 168px; }
  .hero-art .script { font-size: 2.9rem; }
  .hero-art::before { inset: -9px; }
  .hero-art small { font-size: .6rem; letter-spacing: .05em; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: .95rem; }
  .hero-actions .btn { flex: 1 1 140px; padding: 12px 16px; }
  .featured { grid-auto-columns: 160px; gap: 12px; }
  .info-c { padding: 10px 11px 12px; }
  .info-c h3 { font-size: .9rem; }
  .price { font-size: .98rem; }
  .tag { font-size: .6rem; padding: 3px 7px; }
  .chip { padding: 8px 14px; }
  .size { padding: 10px 14px; min-width: 56px; }
  .item .qty button { width: 36px; height: 36px; }
  .with-deco { font-size: 1.7rem; }

  /* filtros como hoja inferior con fondo oscuro */
  aside#filters { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .filters-foot { position: sticky; bottom: calc(-20px - env(safe-area-inset-bottom)); background: #fff; margin: 0 -20px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }

  /* detalle y guía: hoja que sube desde abajo, a pantalla casi completa */
  .modal-bg { padding: 0; align-items: flex-end; overscroll-behavior: contain; }
  .modal { border-radius: 24px 24px 0 0; width: 100%; min-height: 70vh; }
  .modal-bg.open .modal { animation: sheetUp .35s cubic-bezier(.2, .8, .2, 1); }
  .modal::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--lila); margin: 8px auto 0; }
  .gallery { padding: 10px 12px 4px; }
  .gallery .main { aspect-ratio: 1; border-radius: 16px; }
  .pinfo { padding: 4px 16px 0; gap: 9px; }
  .pinfo h2 { font-size: 1.65rem; padding-right: 0; }
  .add-row { position: sticky; bottom: 0; z-index: 3; background: var(--bg); margin: 4px -16px 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); box-shadow: 0 -8px 20px rgba(110, 50, 110, .06); }
  .small-links { padding-bottom: 18px; }
  .drawer-body { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .anim .rv { transform: translateY(14px); transition-duration: .45s; transition-delay: calc(var(--d, 0) * 45ms); }
}
@keyframes sheetUp { from { transform: translateY(60%); opacity: .4; } to { transform: none; opacity: 1; } }
.price s { white-space: nowrap; }
@media (max-width: 860px) { .info-c .price s { display: block; margin: 0; } }

/* Logo de la marca (imagen) */
.logo-brand .logo-img { height: 52px; width: auto; }
.hero-art .logo-img { width: 84%; height: auto; margin: 0 auto 4px; filter: drop-shadow(0 6px 14px rgba(110, 50, 110, .18)); }
.about-mark { width: 230px; height: auto; border-radius: 0; background: none; box-shadow: none; }
.about-mark .logo-img { width: 100%; height: auto; }
.foot-brand .logo-img { width: 170px; height: auto; margin-bottom: 4px; }
@media (max-width: 860px) {
  .logo-brand .logo-img { height: 44px; }
  .about-mark { width: 200px; height: auto; }
}
.hero-art { background: radial-gradient(circle at 50% 45%, #fff 0, #fff 52%, #fbe3fc 72%, var(--lila) 100%); }
.hero-art .logo-img { width: 88%; }
.hero-art small { font-family: "Great Vibes", cursive; font-size: 1.35rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--script); }
@media (max-width: 860px) { .hero-art small { font-size: 1.1rem; letter-spacing: 0; } }
