/* Escaparate de productos (feed del B2B) — GustaGusta Gourmet */
.ggx{--x-ink:#1c1612;--x-soft:#3a322a;--x-mute:#6b5f51;--x-gold:#b8923f;--x-gold-d:#8e6e2a;--x-paper:#fffcf5;--x-cream:#f3ecdc;--x-line:rgba(28,22,18,.12);font-family:Inter,system-ui,sans-serif;color:var(--x-ink)}
.ggx[hidden],[data-gg-seccion][hidden]{display:none!important}
.ggx-tools{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:0 0 28px}
.ggx-chips{display:flex;flex-wrap:wrap;gap:8px;flex:1;min-width:0}
.ggx-chip{border:1px solid var(--x-line);background:transparent;color:var(--x-soft);padding:8px 14px;border-radius:999px;font:500 13px/1.2 Inter,system-ui,sans-serif;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.ggx-chip:hover{border-color:var(--x-gold);color:var(--x-ink)}
.ggx-chip[aria-pressed="true"]{background:var(--x-ink);border-color:var(--x-ink);color:#fff}
.ggx-chip em{font-style:normal;opacity:.6;margin-left:4px}
.ggx-search,.ggx-select{min-height:42px;padding:9px 14px;border:1px solid var(--x-line);border-radius:4px;background:#fff;font:14px/1.3 Inter,system-ui,sans-serif;color:var(--x-ink)}
.ggx-search{width:240px;max-width:100%}
.ggx-search:focus,.ggx-select:focus,.ggx-chip:focus-visible,.ggx-card:focus-visible{outline:2px solid var(--x-gold);outline-offset:2px}
.ggx-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.ggx-card{display:flex;flex-direction:column;text-align:left;padding:0;border:1px solid var(--x-line);background:#fff;cursor:pointer;color:inherit;font:inherit;transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s,border-color .35s}
.ggx-card:hover{transform:translateY(-3px);border-color:rgba(184,146,63,.55);box-shadow:0 18px 40px -26px rgba(28,22,18,.45)}
.ggx-img{position:relative;aspect-ratio:1/1;background:#f6f1e6;overflow:hidden}
.ggx-img img{width:100%;height:100%;object-fit:contain;padding:8%;transition:transform .5s}
.ggx-card:hover .ggx-img img{transform:scale(1.04)}
.ggx-img--empty::after{content:"";position:absolute;inset:30%;background:url("logo-icon.png") center/contain no-repeat;opacity:.18}
.ggx-body{display:flex;flex-direction:column;gap:6px;padding:16px 18px 18px;flex:1}
.ggx-brand{font:600 10.5px/1.2 Inter,system-ui,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:var(--x-gold-d)}
.ggx-name{font:500 21px/1.15 "Cormorant Garamond",Georgia,serif;color:var(--x-ink)}
.ggx-fam{font-size:12.5px;color:var(--x-mute)}
.ggx-pro{margin-top:auto;padding-top:12px;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:500;color:var(--x-mute)}
.ggx-pro svg{color:var(--x-gold)}
.ggx-empty{padding:40px 0;text-align:center;color:var(--x-mute)}
.ggx-more{display:flex;flex-wrap:wrap;gap:16px 28px;align-items:center;justify-content:center;margin-top:44px}
.ggx-skel{aspect-ratio:3/4;background:linear-gradient(90deg,#efe8da 25%,#f7f2e8 50%,#efe8da 75%);background-size:200% 100%;animation:ggxl 1.2s linear infinite}
@keyframes ggxl{to{background-position:-200% 0}}

/* ficha emergente */
.ggx-dlg{position:fixed;inset:0;margin:auto;width:min(880px,calc(100vw - 32px));height:fit-content;max-height:calc(100vh - 32px);padding:0;border:0;background:var(--x-paper,#fffcf5);color:#1c1612;box-shadow:0 40px 80px -30px rgba(0,0,0,.5);overflow:auto}
.ggx-dlg::backdrop{background:rgba(28,22,18,.55)}
.ggx-dlg[open]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);animation:ggxin .25s ease}
@keyframes ggxin{from{opacity:0;transform:translateY(10px)}}
.ggx-dlg .ggx-img{aspect-ratio:auto;min-height:100%;background:#f6f1e6}
.ggx-dlg .ggx-img img{position:absolute;inset:0}
.ggx-dlg__b{position:relative;padding:44px 40px 36px;display:flex;flex-direction:column;gap:10px;font-family:Inter,system-ui,sans-serif}
.ggx-dlg__b h3{margin:0;font:400 36px/1.05 "Cormorant Garamond",Georgia,serif}
.ggx-dlg__b p{margin:6px 0 0;font:16px/1.6 "Source Serif 4",Georgia,serif;color:#3a322a}
.ggx-attrs{margin:12px 0 0;display:grid;gap:8px;padding:14px 0;border-top:1px solid rgba(28,22,18,.12);border-bottom:1px solid rgba(28,22,18,.12)}
.ggx-attrs div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;font-size:13px}
.ggx-attrs dt{color:#6b5f51}.ggx-attrs dd{margin:0;font-weight:500}
.ggx-price{margin-top:14px;padding:14px 16px;background:#f3ecdc;font-size:13.5px;line-height:1.5;color:#3a322a}
.ggx-acts{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.ggx-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 22px;border:1px solid #1c1612;font:500 14px/1 Inter,system-ui,sans-serif;text-decoration:none;color:#1c1612;transition:background .2s,color .2s}
.ggx-btn--p{background:#1c1612;color:#fffcf5}
.ggx-btn--p:hover{background:#8e6e2a;border-color:#8e6e2a;color:#fff}
.ggx-btn:not(.ggx-btn--p):hover{background:#1c1612;color:#fffcf5}
.ggx-x{position:absolute;right:12px;top:12px;width:40px;height:40px;border:0;background:transparent;cursor:pointer;font-size:26px;line-height:1;color:#3a322a}
.ggx-x:hover{color:#8e6e2a}

@media (max-width:1100px){.ggx-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){
	.ggx-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
	.ggx-body{padding:12px 12px 14px}
	.ggx-name{font-size:18px}
	.ggx-search{width:100%}
	.ggx-chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
	.ggx-chip{flex:none}
	.ggx-dlg[open]{grid-template-columns:1fr}
	.ggx-dlg .ggx-img{aspect-ratio:4/3;min-height:0}
	.ggx-dlg__b{padding:28px 20px 24px}
	.ggx-dlg__b h3{font-size:30px}
	.ggx-attrs div{grid-template-columns:110px minmax(0,1fr)}
}
@media (prefers-reduced-motion:reduce){.ggx-card,.ggx-img img{transition:none}.ggx-card:hover{transform:none}}
