/* Portada, catálogo y sedes de la tienda. */
body:not(.staff) .shell { width:min(1180px,92%); }
.home-page .top,.catalog-page .top { position:sticky; top:0; z-index:4; }
.hero-grid { min-height:360px; }
.hero-image { height:clamp(330px,32vw,424px); margin-right:0; }
.home-page .section,.catalog-page .section { padding:clamp(2rem,3.5vw,3.6rem) 0; }
.offer-section h2,.pickup h2,.about-section h2 { margin-bottom:1.2rem; }
.feature-offer { display:grid; grid-template-columns:minmax(250px,.85fr) 1.15fr; overflow:hidden; border-radius:1.35rem; color:#52202a; text-decoration:none; background:#fff3cb; border:1px solid #f4e6c7; }
.offer-copy { align-self:center; padding:clamp(1.5rem,3.5vw,4.5rem); }
.offer-copy h3 { margin:0 0 .85rem; font-size:clamp(2rem,3vw,3.1rem); line-height:1.03; font-weight:780; letter-spacing:-.055em; color:var(--darkred); }
.offer-copy p { max-width:32ch; margin-bottom:1.6rem; font-size:clamp(.98rem,1.35vw,1.25rem); }
.offer-cta { display:inline-flex; align-items:center; gap:1.1rem; border-radius:999px; background:var(--red); color:white; font-weight:700; padding:.75rem 1.35rem; }
.feature-offer:hover .offer-cta { background:var(--darkred); }
.feature-offer>img { width:100%; height:100%; aspect-ratio:2.1; object-fit:cover; display:block; }
.branch-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(.8rem,1.6vw,1.7rem); margin-top:1rem; }
.branch-card { min-width:0; display:flex; flex-direction:column; border:1px solid #e6d8c4; border-radius:1rem; background:white; overflow:hidden; }
.branch-card>img { width:100%; height:clamp(100px,11vw,190px); object-fit:cover; }
.branch-body { padding:clamp(1.1rem,2vw,2.35rem); display:flex; flex-direction:column; align-items:flex-start; flex:1; }
.branch-body h3 { color:var(--darkred); font-size:clamp(1.15rem,1.75vw,1.7rem); font-weight:740; margin:0 0 .4rem; }
.branch-body p { margin:.2rem 0 1rem; }
.branch-choice { margin-top:auto; border:1px solid #e2c8bb; border-radius:999px; background:white; padding:.4rem .85rem; color:var(--darkred); font-weight:650; }
.branch-choice[aria-pressed=true] { background:var(--darkred); border-color:var(--darkred); color:white; }
.primary-branch { display:grid; grid-template-columns:1fr .65fr; background:#ffe8a5; border-color:#edcf77; align-items:center; }
.primary-branch:has(>img){ grid-template-columns:.55fr 1fr; }
.primary-branch>img { height:100%; max-height:250px; }
.primary-branch small { margin-bottom:.3rem; font-weight:700; }
.primary-branch h3 {font-size:clamp(1.6rem,2.4vw,2.8rem);}
.branch-scenery { padding-right:2rem; }.branch-scenery svg {width:100%;max-height:170px;}
.about-section p { white-space:pre-line; font-size:clamp(1.05rem,1.5vw,1.4rem); max-width:78ch; }
.catalog-heading>a { display:inline-block; margin-bottom:1.3rem; }
.catalog-heading h1 { font-weight:780; font-size:clamp(2.1rem,4vw,4.5rem); letter-spacing:-.055em; margin:0 0 1.2rem; color:var(--darkred); }
.catalog-page .products { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(.8rem,1.75vw,2rem); }
.catalog-page .product img,.catalog-page .voucher-art { height:auto; min-height:0; aspect-ratio:1.65; }
.catalog-page .voucher-art strong { font-size:clamp(2.8rem,5vw,5.5rem); }
.catalog-page .product .inside { padding:clamp(.9rem,1.6vw,1.65rem); }
.shop-section:target,.offer-section:target,.pickup:target,.about-section:target{scroll-margin-top:1rem;}

@media(max-width:760px){body:not(.staff) .shell{width:92%;}html{scroll-padding-top:112px;}.hero-grid{min-height:230px;}.hero-image{height:235px;}.feature-offer{grid-template-columns:.8fr 1.2fr;}.offer-copy{padding:1.2rem;}.offer-copy h3{font-size:1.7rem;}.offer-copy p{margin-bottom:1rem;}.branch-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.catalog-page .products{grid-template-columns:repeat(2,minmax(0,1fr));}.branch-scenery{padding-right:.7rem;}}
@media(max-width:520px){.feature-offer{grid-template-columns:1fr;}.feature-offer>img{grid-row:1;}.offer-copy{padding:1.2rem 1.3rem;}.primary-branch{grid-template-columns:1fr;}.branch-scenery{display:none;}.primary-branch:has(>img){grid-template-columns:1fr;}.branch-grid{grid-template-columns:1fr;}.branch-body{padding:1.05rem;}.catalog-page .product .inside{padding:.65rem;}.catalog-page .product h3{font-size:.98rem;}.hero-grid{min-height:220px;}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto;}}
@media(min-width:761px){
 .branch-grid .branch-card{min-height:190px;position:relative;}
 .branch-grid .branch-body{justify-content:flex-end;gap:.35rem;position:relative;}
 .branch-grid .branch-body h3{font-size:clamp(1.3rem,1.65vw,1.65rem);}
 .branch-grid .branch-body p{margin-bottom:.7rem;}
 .branch-grid .branch-choice{margin-top:0;}
 .branch-grid .branch-card:not(:has(>img))::before{content:"";display:block;position:absolute;top:1rem;right:1rem;width:2.3rem;aspect-ratio:1;border:3px solid #f7e0d5;border-radius:50% 50% 50% 15%;transform:rotate(-45deg);background:radial-gradient(circle at 50% 50%,#f7e0d5 0 16%,transparent 17%);}
 .branch-grid .branch-card:has(>img)>img{height:45%;object-fit:cover;}
}
.catalog-page .voucher-art{position:relative;isolation:isolate;overflow:hidden;align-items:flex-start;padding:8%;background:#c50021;}
.catalog-page .voucher-art:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#b20020 5%,#b20020e8 32%,#b2002020 80%),url("../media/oferta-pavo.webp") 67% 50%/cover;z-index:-1;}
.catalog-page .voucher-art b{font-size:clamp(1rem,1.6vw,1.6rem);}
@media(prefers-reduced-motion:reduce){.hero-image img{transition:none;}}
/* Escala compartida: marca, oferta, información de recojo y pie. */
.top{box-shadow:0 3px 16px #44101a09;}
.nav-inner nav a{padding:.4rem 0;text-underline-offset:.35rem;}
.nav-inner nav a:hover{text-decoration:underline;}
.hero h1{max-width:14ch;font-size:clamp(2.7rem,4.65vw,4.4rem);}
.hero-links>a:last-child{font-weight:600;text-underline-offset:.22rem;}
.feature-offer,.branch-card,.product{box-shadow:0 5px 18px #48101808;}
.feature-offer:focus-visible,.product:focus-within{outline:2px solid var(--red);outline-offset:3px;}
.home-page .pickup{background:#fcf5ec;border-block:1px solid #f2e8db;}
.branch-grid{gap:1rem;}
.branch-body{padding:1.3rem 1.5rem;}
.branch-body p{color:#5c5154;line-height:1.5;}
.primary-branch{background:linear-gradient(105deg,#fff0be,#ffe1a0);border-color:#f5d892;}
.branch-grid .branch-body h3{max-width:85%;}
.about-panel{position:relative;margin:.25rem auto;padding:clamp(1.8rem,4vw,3.5rem) clamp(1rem,4vw,3.8rem);text-align:center;border:1px solid #efe3e4;border-radius:1.25rem;background:linear-gradient(155deg,#fff8f5,#fff 45%,#fff8f5);overflow:hidden;}
.about-panel::before,.about-panel::after{position:absolute;content:"";width:110px;height:110px;border:1px solid #f3cfd5;border-radius:50%;pointer-events:none;}
.about-panel::before{top:-68px;left:-38px;}.about-panel::after{bottom:-74px;right:-35px;}
.about-panel h2{margin:0 0 1.25rem;}
.about-panel h2 span{display:inline-block;background:var(--red);color:white;font-size:clamp(1.6rem,2.6vw,2.25rem);padding:.38em 1.45em .45em;clip-path:polygon(0 0,100% 0,96% 50%,100% 100%,0 100%,4% 50%);}
.about-copy{max-width:64ch;margin:0 auto;}
.about-copy p{font-size:1rem;line-height:1.75;color:#53454a;margin:0 0 .7em;}
.about-copy p:last-child{margin-bottom:0;}
.footer{background:#d6001b;color:white;border-top:5px solid #ff5262;}
.footer-directory{grid-template-columns:1.3fr .75fr .95fr 1.12fr;padding:2.7rem 0 2.2rem;gap:clamp(1rem,2.5vw,2.4rem);}
.footer-directory .footer-logo{height:55px;width:110px;object-fit:contain;margin-bottom:.8rem;}
.footer-directory h3{font-size:1.03rem;letter-spacing:-.012em;margin:0 0 .75rem;}
.footer-identity h3{font-size:.92rem;margin-bottom:.2rem;}
.footer-directory a,.footer-directory button:not(.book),#footer-contact p{font-size:.9rem;line-height:1.5;overflow-wrap:anywhere;}
.footer-grid .book{display:flex;align-items:center;gap:.65rem;margin-top:1rem;width:max-content;max-width:100%;padding:.65rem .85rem;border:1.5px solid white;border-radius:.7rem;background:#fff;color:var(--darkred);font-size:.91rem;line-height:1.14;font-weight:730;box-shadow:0 2px 6px #78001720;}
.footer-grid .book:hover{background:#fff2f4;text-decoration:none;}
.footer-grid .book svg{width:52px;height:40px;flex:none;}
.footer-base{border-top:1px solid #ffffff70;padding:1.05rem 0 1.2rem;display:flex;align-items:center;justify-content:space-between;gap:.9rem;flex-wrap:wrap;font-size:.82rem;}
.footer-base p{margin:0;}.footer-base>div{display:flex;flex-wrap:wrap;gap:1rem;}.footer-base a{color:white;text-underline-offset:.2rem;}
dialog{padding:clamp(1rem,3vw,1.8rem);border:1px solid #eadfe2;}dialog::backdrop{background:#28151c80;}
.cart-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.8rem;}
.cart-line .remove-item{background:none;border:0;padding:0;color:var(--darkred);font-size:.84rem;text-decoration:underline;text-underline-offset:.15rem;}
.cart-line .line-subtotal{min-width:72px;text-align:right;}.cart-line .step input{width:3rem;border:0;background:white;text-align:center;appearance:textfield;font-weight:650;}.cart-line .step input::-webkit-inner-spin-button{appearance:none;}
.checkout-section{margin:1.3rem 0;border:0;padding:0;}.checkout-section legend{font-weight:720;font-size:1.04rem;color:var(--darkred);margin-bottom:.65rem;}
.checkout-block{padding:.9rem 1rem;border:1px solid var(--line);border-radius:.7rem;margin:.6rem 0;}
.checkout-option{display:flex;align-items:flex-start;gap:.65rem;margin:.6rem 0;}.checkout-option input{margin-top:.3em;accent-color:var(--red);flex:none;}
.checkout-option label{flex:1;}.checkout-option a{text-underline-offset:.2rem;}
.checkout-address{background:#fff6e2;border-radius:.5rem;padding:.6rem .8rem;margin:.5rem 0;font-size:.92rem;}.checkout-address:empty{display:none;}
.action:disabled{background:#dfd4d7;color:#574e51;cursor:not-allowed;}
.legal-page{width:min(700px,92%);margin:3.5rem auto;}.legal-page img{height:80px;object-fit:contain;}.legal-page h1{margin:1.3rem 0 .5rem;color:var(--darkred);font-size:clamp(1.9rem,4vw,2.8rem);}.legal-page p{line-height:1.7;}.legal-intro{color:#70565f;}
@media(max-width:760px){.footer-directory{grid-template-columns:1fr 1fr;gap:1.5rem;}.footer-base{align-items:flex-start;flex-direction:column;}.hero h1{font-size:clamp(2rem,6.1vw,3rem);}.hero-image{height:225px;}.hero-grid{min-height:230px;}.hero-links{align-items:flex-start;}}
@media(max-width:520px){.hero-grid{grid-template-columns:1fr;}.hero-text{padding:1.7rem 0 .4rem;}.hero-image{height:170px;width:100%;margin:0;}.hero-image img{object-fit:contain;mask-image:none;}.hero h1{font-size:2.5rem;}.slide-nav{margin-top:.6rem;}.feature-offer>img{height:auto;}.footer-grid .book{padding:.45rem;gap:.35rem;}.footer-grid .book svg{width:35px;}.cart-line{grid-template-columns:1fr auto;}.cart-line>div:first-child{grid-column:1/-1;}.about-copy p{font-size:.95rem;}}
