/* Catálogo público · tienda liquid glass. El color de acento lo cambia el editor (--ac). */
:root {
  --ac: #FF681F;
  --ac-osc: color-mix(in srgb, var(--ac), #000 22%);
  --ac-soft: color-mix(in srgb, var(--ac) 12%, #fff);
  --naranja: var(--ac); --naranja-osc: var(--ac-osc); --btn1: var(--ac); --btn2: var(--ac-osc);
    --naranja-tinte: color-mix(in srgb, var(--ac) 10%, transparent);
}
body {
  background:
    radial-gradient(45% 36% at 100% 0%, color-mix(in srgb, var(--ac) 12%, transparent), transparent 70%),
    radial-gradient(40% 30% at 0% 45%, color-mix(in srgb, var(--ac) 7%, #FFF7B4), transparent 70%),
    #fff;
  background-attachment: fixed;
}
.pc { background: #fff; border: 1px solid var(--linea); box-shadow: var(--sombra); }

.ann { background: #1D1D1F; color: #fff; text-align: center; font-size: .78rem; font-weight: 500; padding: 8px 14px; letter-spacing: .02em; }
.ann:empty { display: none; }
.cnav { position: sticky; top: 0; z-index: 30; padding: 10px 12px 0; }
.cnav-in { max-width: 1100px; margin: 0 auto; border-radius: 999px; display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 20px; }
.brand { display: block; line-height: 0; flex: none; }
.brand img { height: 30px; width: auto; display: block; }
.cs { flex: 1; max-width: 420px; margin-left: auto; }
.cs .inp { min-height: 42px; }
.cartbtn { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, var(--btn1), var(--btn2)); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .55); flex: none; }
.cartbtn i { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #fff; color: var(--ac-osc); font-style: normal; font-size: .72rem; font-weight: 700; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
@media (max-width: 560px) { .cnav-in { gap: 8px; padding-left: 14px; } .brand img { height: 26px; } }

.cwrap { max-width: 1100px; margin: 0 auto; padding: 14px 14px 120px; }
.hero { border-radius: 32px; overflow: hidden; position: relative; min-height: 0; display: flex; align-items: center; justify-content: center; text-align: center; margin-bottom: 24px; color: var(--tinta);
  background: linear-gradient(135deg, var(--ac-soft), color-mix(in srgb, var(--ac) 24%, #fff)); background-size: cover; background-position: center; isolation: isolate; border: 1px solid var(--linea); }
.hero::before { content: ""; position: absolute; width: 480px; height: 480px; right: -120px; top: -180px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, color-mix(in srgb, var(--ac) 40%, #fff), transparent 68%); z-index: -1; opacity: .7; }
.hero.img { color: #fff; border: 0; }
.hero.img::before { display: none; }
.hero.img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .05) 70%); }
.hero-in { padding: 34px 24px 36px; max-width: 720px; }
.hero.img { min-height: 280px; }
.hero small { display: block; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; margin-bottom: 10px; color: var(--ac-osc); }
.hero.img small { color: #fff; opacity: .9; }
.hero h1 { font-size: clamp(1.8rem, 5.5vw, 3.1rem); font-weight: 600; line-height: 1.06; letter-spacing: -.02em; margin-bottom: 22px; }
.hero p { font-size: 1rem; color: var(--gris); margin-bottom: 20px; max-width: 480px; }
.hero.img p { color: #fff; opacity: .95; }
.hbtn { min-height: 48px; padding: 0 28px; }
.hero.img .hbtn { background: #fff !important; color: var(--ac-osc) !important; }
@media (min-width: 800px) { .hero-in { padding: 46px 48px 48px; } .hero.img { min-height: 340px; } }

.sec { font-size: 1.15rem; margin: 6px 4px 12px; }
.rail { display: flex; gap: 12px; overflow-x: auto; padding: 4px 4px 18px; margin: 0 -14px; padding-left: 18px; padding-right: 18px; scroll-snap-type: x proximity; scroll-padding-left: 18px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail .pc { flex: 0 0 168px; scroll-snap-align: start; }
@media (min-width: 700px) { .rail .pc { flex-basis: 210px; } }
.cats { flex-wrap: nowrap; overflow-x: auto; margin: 0 -14px 14px; padding: 2px 14px 6px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats .chip { flex: none; }

.cgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .cgrid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 940px) { .cgrid { grid-template-columns: repeat(4, 1fr); } }
.cgrid > .loading, .cgrid > .empty { grid-column: 1 / -1; }
.pc { border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; text-align: left; transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; }
@media (hover: hover) { .pc:hover { transform: translateY(-4px); } }
.pc .ph { aspect-ratio: 1; position: relative; display: grid; place-items: center; width: 100%; overflow: hidden; background: linear-gradient(135deg, var(--ac-soft), color-mix(in srgb, var(--ac) 28%, #fff)); color: var(--ac-osc); font-size: 3rem; font-weight: 700; }
.pc .ph img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .5s; }
@media (hover: hover) { .pc:hover .ph img { transform: scale(1.06); } }
.pc .tag { position: absolute; top: 10px; left: 10px; z-index: 2; }
.pc.out .ph img { filter: grayscale(.85) opacity(.55); }
.pc .add { position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--ac-osc); background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(12px) saturate(1.8); backdrop-filter: blur(12px) saturate(1.8); border: 1px solid #fff; box-shadow: inset 0 1px 0 #fff, 0 8px 18px -8px rgba(0, 0, 0, .5); transition: transform .15s; }
.pc .add:active { transform: scale(.92); }
.pc .add[disabled] { display: none; }
.pc .pi { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.pc .pi small { color: var(--gris); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.pc .pi b.n { font-size: .9rem; font-weight: 600; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 2.5em; }
.pc .pi b.p { color: var(--ac-osc); font-size: 1.08rem; margin-top: 4px; }

.fab { position: fixed; left: 14px; right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); max-width: 540px; margin: 0 auto; z-index: 40; min-height: 58px; border-radius: 999px; color: #fff; font-weight: 600; display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 14px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ac) 92%, transparent), color-mix(in srgb, var(--ac-osc) 92%, transparent)); -webkit-backdrop-filter: blur(16px) saturate(1.8); backdrop-filter: blur(16px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, .5); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .55), 0 18px 34px -12px rgba(0, 0, 0, .55); }
.fab .n { background: #fff; color: var(--ac-osc); min-width: 32px; height: 32px; border-radius: 16px; display: grid; place-items: center; font-size: .85rem; margin-right: 10px; }
.fab .tt { background: rgba(255, 255, 255, .22); padding: 8px 16px; border-radius: 999px; }
.gal { display: grid; gap: 8px; margin-bottom: 14px; }
.gal .big { aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--ac-soft); display: grid; place-items: center; color: var(--ac-osc); font-size: 5rem; font-weight: 700; }
.gal .big img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal .ths { display: flex; gap: 8px; }
.gal .ths button { width: 62px; height: 62px; border-radius: 14px; overflow: hidden; border: 2px solid transparent; flex: none; }
.gal .ths button.on { border-color: var(--ac); }
.gal .ths img { width: 100%; height: 100%; object-fit: cover; display: block; }
.okbox { text-align: center; }
.okbox .big { width: 64px; height: 64px; border-radius: 50%; background: #e1f5ea; color: var(--verde); display: grid; place-items: center; margin: 4px auto 12px; }
.cfoot { text-align: center; color: var(--gris); font-size: .8rem; margin-top: 40px; }

/* Carrusel de banners */
.bnr { position: relative; margin-bottom: 18px; border-radius: 28px; overflow: hidden; background: var(--panel); box-shadow: var(--sombra); }
.bnr-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.bnr-track::-webkit-scrollbar { display: none; }
.bnr-track img { flex: 0 0 100%; width: 100%; height: auto; aspect-ratio: 1920 / 900; object-fit: cover; scroll-snap-align: start; display: block; }
.bnr-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.bnr-dots button { pointer-events: auto; width: 7px; height: 7px; padding: 0; border-radius: 50%; background: rgba(255, 255, 255, .6); transition: width .25s, background .25s; }
.bnr-dots button.on { width: 20px; border-radius: 4px; background: #fff; }
@media (max-width: 600px) { .bnr { border-radius: 20px; margin-bottom: 14px; } .bnr-dots { bottom: 6px; } }

.fbtns { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.fbtn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 500; font-size: .86rem; text-decoration: none; border: 1px solid var(--linea); color: var(--tinta, inherit); background: #fff; }
.fbtn.wa { background: #25D366; border-color: #25D366; color: #fff; }
.fbtn:hover { opacity: .88; }

.wafab { position: fixed; right: 48px; bottom: 22px; z-index: 41; height: 52px; min-width: 52px; padding: 0 14px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 0; color: #fff; text-decoration: none; font-weight: 600; font-size: .86rem; background: linear-gradient(135deg, #34D679, #12A150); box-shadow: 0 8px 22px rgba(18, 161, 80, .38), 0 2px 6px rgba(0, 0, 0, .12); transition: gap .25s, padding .25s, transform .2s; }
.wafab span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s; }
.wafab:hover, .wafab:focus-visible { transform: translateY(-2px); }
.wafab span { display: none; }
.wafab::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #34D679; opacity: 0; animation: wapulse 2.8s ease-out infinite; pointer-events: none; }
@keyframes wapulse { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wafab::after { animation: none; } }

@media (max-width: 700px) { .wafab { right: 16px; bottom: calc(max(14px, env(safe-area-inset-bottom)) + 76px); } }
.fdir { font-size: .84rem; line-height: 1.5; margin: 0 0 12px; }
.fdir a { color: inherit; text-decoration: underline; }
.fbtn.gr { background: #fff; }

.marcas { margin-top: -4px; align-items: center; }
.marcas::before { content: 'Marcas'; flex: none; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gris, #888); margin-right: 4px; }
.marcas .chip { background: transparent; border: 1px dashed var(--linea, #ccc); border-radius: 8px; font-size: .76rem; padding: 5px 10px; color: var(--gris, #666); }
.marcas .chip.on { background: var(--ac); border: 1px solid var(--ac); color: #fff; }

.cfoot { text-align: left; border-top: 1px solid var(--linea); padding-top: 30px; }
.fcols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fcol h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: .66rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.fcol a { font-size: .9rem; line-height: 1.55; color: #1d1d1f; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s; padding-bottom: 1px; }
.fcol a:hover { background-size: 100% 1px; }
.fcopy { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 30px 0 6px; font-size: .74rem; letter-spacing: .04em; color: var(--gris); }
.fdot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }
@media (max-width: 700px) { .fcols { grid-template-columns: 1fr 1fr; gap: 22px 16px; } }
.fcol h4 svg { color: var(--ac); flex: none; }
.fcol a.flink { background: none; display: inline-block; }
.fcol a.flink h4 { margin: 0; font-size: .74rem; color: #1d1d1f; transition: color .2s; }
.fcol a.flink:hover h4 { color: var(--ac); }
.fcol a.flink:hover h4 svg { transform: scale(1.12); }
.fcol h4 svg { transition: transform .2s; }
.fcol .fdir { display: block; margin: 8px 0 0; font-size: .84rem; line-height: 1.5; color: var(--gris); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
