
/* CAPA 37 · Maqueta A — diseño móvil auténtico de las siete mesas */
:root{--a-ink:#173c35;--a-gold:#c5a36c;--a-burgundy:#79334a;--a-cream:#fcf7ec}
body{background:#f7f0e4!important}
main.portal-wrap.c5b-restaurant-detail{max-width:1160px!important;padding:0 clamp(10px,2.6vw,22px) 40px!important}
.c5b-restaurant-detail .portal-intro.c37-hero{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(200px,47%);align-items:center;gap:16px;min-height:320px!important;padding:0!important;margin:12px 0 11px!important;position:relative!important;background:#12382f!important;border:1px solid #bfa06c!important;border-radius:0!important;box-shadow:0 11px 25px #16302625!important;overflow:hidden!important;color:#fff4df!important}
.c37-hero-copy{padding:24px clamp(15px,3.8vw,32px);z-index:2;position:relative;min-width:0;display:grid;grid-template-columns:80px minmax(0,1fr);gap:14px;align-content:center;align-items:center}
.c37-hero-copy .c37-logo{grid-row:span 2;max-width:78px;width:100%;height:78px;object-fit:contain;border-radius:16px;border:2px solid #d7b876;background:#fff8e9;padding:5px;box-shadow:0 5px 12px #0004}
.c37-hero-text{min-width:0}.c37-hero-copy .c37-topline{color:#e9c982;font:800 12px/1.4 system-ui!important;letter-spacing:.17em;text-transform:uppercase}
.c5b-restaurant-detail .portal-intro.c37-hero h1{font:700 clamp(30px,4.8vw,58px)/1.05 Georgia,serif!important;color:#fff5de!important;margin:7px 0 12px!important;padding:0!important;overflow-wrap:break-word;hyphens:auto;max-width:none}
.c5b-restaurant-detail .portal-intro.c37-hero p{font:500 clamp(13px,1.8vw,17px)/1.55 system-ui!important;color:#f9eee0!important;padding:0!important;margin:10px 0 0!important;max-width:none}
.c37-hero-photo{height:100%;min-height:320px;overflow:hidden;position:relative}
.c37-hero-photo img{width:100%;height:100%;position:absolute;inset:0;display:block;object-fit:cover;filter:saturate(.95) contrast(1.02)}
.c37-hero-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#12382f 0,transparent 35%)}
.c37-hero-caption{position:absolute;right:12px;bottom:10px;z-index:2;background:#163b35bd;border:1px solid #fff4d46b;border-radius:40px;padding:5px 9px;color:#fff5e4;font:500 10px system-ui;max-width:calc(100% - 25px)}
.c5b-restaurant-detail .portal-trail{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:5px 4px 12px!important}
.c5b-restaurant-detail .portal-trail a{color:#21544b!important;font-size:13px!important;font-weight:700!important}
.c5b-restaurant-detail .c34-story{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(150px,38%);gap:22px;align-items:center;padding:15px 21px!important;margin:0 0 18px!important;background:#fffaf0!important;border:1px solid #d9ba85!important;border-radius:22px!important}
.c37-story-copy{min-width:0}
.c5b-restaurant-detail .c34-story h2{font:700 clamp(24px,3vw,35px)/1.13 Georgia,serif!important;margin:0 0 8px!important;color:#193a31!important}
.c5b-restaurant-detail .c34-story p{font:16px/1.58 Georgia,serif!important;margin:0 0 8px!important;color:#424b42!important}
.c37-story-photo{height:195px;overflow:hidden;border-radius:15px;position:relative}
.c37-story-photo img{width:100%;height:100%;object-fit:cover;display:block}
.c37-story-photo span{position:absolute;bottom:7px;right:7px;background:#143b35de;color:#fff;font:500 10px system-ui;border-radius:9px;padding:4px 7px}
.c37-story-more summary{color:#21554b;font-weight:750;cursor:pointer;font-size:13px;margin-top:9px}
.c37-story-more p{margin-top:12px!important}
.c5b-restaurant-detail .c36-maitre-stage{background:#fffaf1!important;color:#13392f!important;padding:0!important;margin:0 0 11px!important;border:1px solid #cba96e!important;border-radius:22px!important;box-shadow:none!important;overflow:visible!important;display:block!important}
.c5b-restaurant-detail .c36-maitre-stage:before{display:none!important}
.c5b-restaurant-detail .c34-elf{grid-template-columns:165px minmax(0,1fr)!important;gap:16px!important;min-height:160px!important;align-items:center!important;padding:6px 20px 3px 0!important}
.c5b-restaurant-detail .c34-elf img{width:174px!important;height:177px!important;object-fit:contain!important;align-self:end!important;transform:translateY(14px);filter:drop-shadow(0 4px 5px #0002)}
.c5b-restaurant-detail .c34-elf .c34-eyebrow{color:#813e51!important;letter-spacing:.13em!important;font-size:11px!important}
.c5b-restaurant-detail .c34-elf h2{font:700 clamp(31px,4.2vw,48px)/1.03 Georgia,serif!important;color:#183e34!important;margin:7px 0!important}
.c5b-restaurant-detail .c34-elf p{color:#46534c!important;font:15px/1.46 system-ui!important;margin-bottom:8px!important}
.c5b-restaurant-detail .c34-elf a{background:#e8d8b9!important;color:#23493d!important}
.c37-star-badge{position:absolute;left:13px;top:12px;z-index:3;display:inline-block;padding:7px 12px;border-radius:999px;background:#85572b;color:#fff4dc;font:700 12px/1.2 system-ui;box-shadow:0 4px 12px #0002}
.c5b-restaurant-detail .c34-star{position:relative;display:grid!important;grid-template-columns:minmax(180px,40%) minmax(0,1fr);margin:3px 12px 13px!important;min-height:205px!important;border-radius:16px!important;border:1px solid #d4be94!important;background:#fffdf7!important;overflow:hidden!important;box-shadow:0 5px 13px #12342f13!important}
.c5b-restaurant-detail .c34-star-photo{min-height:200px!important;max-height:none!important;overflow:hidden}.c5b-restaurant-detail .c34-star-photo img{width:100%;height:100%;object-fit:cover}
.c5b-restaurant-detail .c34-star-info{padding:18px 20px!important}
.c5b-restaurant-detail .c34-star h3{font:700 clamp(24px,3.2vw,37px)/1.08 Georgia,serif!important;color:#702c44!important;margin:5px 0!important}
.c5b-restaurant-detail .c34-star .c34-es{color:#1c4036!important;font:700 15px/1.45 system-ui!important}
.c5b-restaurant-detail .c34-star p{font:14px/1.48 system-ui!important;margin:9px 0!important}
.c5b-restaurant-detail .c34-intro{font:700 clamp(24px,3vw,36px)/1.15 Georgia,serif!important;color:#1c3c33!important;margin:16px 7px 8px!important}
.c5b-restaurant-detail .c34-gallery{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;margin:8px 0 19px!important}
.c5b-restaurant-detail .c34-gallery .c34-pick{background:#fffaf0!important;border:1px solid #ddc59b!important;border-radius:14px!important;box-shadow:none!important;min-width:0!important;display:flex!important;flex-direction:column!important;padding:0 0 13px!important}
.c5b-restaurant-detail .c34-gallery .c34-pick .c36-dish-photo{width:100%!important;height:146px!important;margin:0 0 10px!important;object-fit:cover!important;display:block!important}
.c37-dish-fallback{height:146px;position:relative;display:flex;align-items:end;padding:12px;color:#fff9ee;background:linear-gradient(140deg,#315247,#113e36 60%,#7a4c36);font:700 11px/1.4 system-ui;letter-spacing:.05em;text-transform:uppercase;margin:0 0 10px}
.c37-dish-fallback:before{content:'✦';position:absolute;top:10px;right:13px;font:32px Georgia;color:#ddc28b;opacity:.9}
.c5b-restaurant-detail .c34-gallery .c34-pick>*:not(img){margin-left:11px!important;margin-right:11px!important}
.c5b-restaurant-detail .c34-gallery .c34-pick .c34-kind{font-size:10px!important;color:#96663d!important;letter-spacing:.1em!important}
.c5b-restaurant-detail .c34-gallery .c34-pick h3{font:700 clamp(16px,2.0vw,21px)/1.14 Georgia,serif!important;color:#78354a!important;margin-top:7px!important}
.c5b-restaurant-detail .c34-gallery .c34-pick .c34-trans{font:650 13px/1.4 system-ui!important;color:#20483d!important}
.c5b-restaurant-detail .c34-gallery .c34-pick p{font:13px/1.52 system-ui!important;color:#50574e!important}
.c5b-restaurant-detail .c34-gallery .c34-pick button{font-size:11px!important;padding:8px 9px!important;min-height:36px!important;border-radius:9px!important}
.c37-practical-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;align-items:stretch;margin:12px 0 18px}
.c37-practical-row>*{min-width:0;margin:0!important}
.c5b-restaurant-detail .c34-menu,.c5b-restaurant-detail .c34-diet,.c5b-restaurant-detail .c35-drinks{background:#fffaf0!important;border:1px solid #d8bd8e!important;border-radius:19px!important;padding:16px!important}
.c5b-restaurant-detail .c34-menu h2,.c5b-restaurant-detail .c34-diet h2,.c5b-restaurant-detail .c35-drinks h2{font:700 clamp(20px,2.6vw,29px)/1.1 Georgia,serif!important;margin:0 0 8px!important}
.c5b-restaurant-detail .c35-drinks .c35-drink-grid{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
.c5b-restaurant-detail .c35-drinks .c35-drink{padding:9px!important}
.c5b-restaurant-detail .c35-drinks .c35-drink h3{font-size:14px!important;margin:3px 0!important}
.c5b-restaurant-detail .c35-drinks .c35-drink p{font-size:12px!important;line-height:1.45!important;margin:0!important}
.c5b-restaurant-detail .c34-diet{border-color:#dfbdba!important}
.c5b-restaurant-detail .c35-recommender{background:#eff3ed!important;border:1px solid #c5d2c4!important;border-radius:19px!important;padding:16px!important;margin:9px 0 18px!important}
.c37-advisor-intro{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap;margin:18px 0 8px;padding:14px 18px;background:#153e36;color:#fff6e7;border-radius:17px}
.c37-advisor-intro strong{font:700 clamp(21px,3vw,29px) Georgia,serif}.c37-advisor-intro span{font:12px/1.5 system-ui;opacity:.86}
.c5b-restaurant-detail .c34-footer{display:block!important;text-align:center!important;border-top:1px solid #ddcba8!important;margin-top:18px!important}
.c5b-restaurant-detail .c34-footer a{font-size:13px!important;color:#275c50!important}
@media(max-width:700px){
main.portal-wrap.c5b-restaurant-detail{padding:0 9px 30px!important}
.c5b-restaurant-detail .portal-intro.c37-hero{grid-template-columns:1fr!important;min-height:0!important;gap:0!important;margin:7px 0 6px!important}
.c37-hero-photo{grid-row:1;min-height:155px;height:155px}.c37-hero-photo:after{background:linear-gradient(0deg,#12382f 0,transparent 35%)}
.c37-hero-copy{padding:12px 15px 19px;grid-template-columns:68px minmax(0,1fr);gap:10px}
.c37-hero-copy .c37-logo{height:63px;max-width:63px;grid-row:span 2;border-radius:13px}
.c5b-restaurant-detail .portal-intro.c37-hero h1{font-size:clamp(28px,7vw,41px)!important;margin:3px 0!important}
.c5b-restaurant-detail .portal-intro.c37-hero p{grid-column:1/-1;font-size:13px!important;margin:5px 0 0!important}
.c37-hero-copy .c37-topline{font-size:10px!important}
.c5b-restaurant-detail .c34-story{grid-template-columns:1fr!important;padding:13px 15px!important;gap:8px}
.c37-story-photo{height:120px;order:-1}.c5b-restaurant-detail .c34-story h2{font-size:24px!important}.c5b-restaurant-detail .c34-story p{font-size:14px!important}
.c5b-restaurant-detail .c34-elf{grid-template-columns:92px minmax(0,1fr)!important;gap:4px!important;padding:9px 10px 0 0!important;min-height:115px!important}
.c5b-restaurant-detail .c34-elf img{width:101px!important;height:119px!important;transform:translateY(12px)}
.c5b-restaurant-detail .c34-elf h2{font-size:clamp(25px,6vw,34px)!important}.c5b-restaurant-detail .c34-elf p{font-size:12px!important}
.c5b-restaurant-detail .c34-star{grid-template-columns:1fr!important;margin:4px 9px 9px!important}.c5b-restaurant-detail .c34-star-photo{min-height:160px!important;height:172px!important}.c5b-restaurant-detail .c34-star-info{padding:12px 14px!important}.c5b-restaurant-detail .c34-star h3{font-size:25px!important}
.c5b-restaurant-detail .c34-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.c5b-restaurant-detail .c34-gallery .c34-pick .c36-dish-photo,.c37-dish-fallback{height:112px!important}
.c5b-restaurant-detail .c34-gallery .c34-pick h3{font-size:17px!important}
.c5b-restaurant-detail .c34-gallery .c34-pick p{font-size:12px!important}
.c37-practical-row{grid-template-columns:1fr!important;gap:10px}
.c5b-restaurant-detail .c35-drinks .c35-drink-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:370px){.c37-hero-photo{height:132px;min-height:132px}.c5b-restaurant-detail .c34-gallery{gap:6px!important}.c5b-restaurant-detail .c34-gallery .c34-pick>*:not(img){margin-left:9px!important;margin-right:9px!important}.c5b-restaurant-detail .c34-gallery .c34-pick h3{font-size:15px!important}}
/* Corrección de medidas de las fotografías heredadas: evita anchuras intrínsecas y desplazamientos */
.c5b-restaurant-detail .c37-hero-photo img{position:absolute!important;inset:0!important;max-width:100%!important;width:100%!important;height:100%!important;object-fit:cover!important}
.c5b-restaurant-detail .portal-intro.c37-hero .c37-logo{position:static!important;float:none!important;max-width:78px!important;width:100%!important;height:78px!important;object-fit:contain!important;box-shadow:0 5px 12px #0004!important}
.c5b-restaurant-detail .c37-story-photo{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important}
.c5b-restaurant-detail .c37-story-photo img{position:static!important;width:100%!important;max-width:100%!important;min-width:0!important;height:100%!important;object-fit:cover!important}
.c5b-restaurant-detail .c34-gallery .c34-pick{min-width:0!important;max-width:100%!important;overflow:hidden!important}
.c5b-restaurant-detail .c34-gallery .c34-pick img.c36-dish-photo{position:static!important;width:100%!important;max-width:100%!important;min-width:0!important;object-fit:cover!important;height:146px!important}
@media(max-width:700px){.c5b-restaurant-detail .portal-intro.c37-hero .c37-logo{max-width:63px!important;height:63px!important}.c5b-restaurant-detail .c34-gallery .c34-pick img.c36-dish-photo{height:112px!important}}
