/* Maestra 5: the campaign is a live storefront, never a flattened screenshot. */
body[data-storefront-template="master_05"] .m5-cinema .hero-copy .eyebrow .m5-kicker-icon,
body[data-storefront-template="master_05"] .m5-cinema .hero-copy .badges > span > svg { display:none; }
body[data-storefront-template="master_05"][data-store-hero] .hero.m5-cinema {
 position:relative; isolation:isolate; container-type:inline-size; display:grid; grid-template-columns:minmax(0,36fr) minmax(0,37fr) minmax(0,27fr);
 grid-template-rows:minmax(0,1fr); align-items:center; gap:24px;
 width:min(var(--store-custom-width),calc(100% - 32px)); min-height:max(var(--store-custom-hero-height),var(--m5-cover-space,calc(100svh - 100px)));
 height:auto; margin:12px auto 28px; padding:32px 38px 118px; box-sizing:border-box;
 border:1px solid color-mix(in srgb,var(--m5-ink) 40%,transparent); border-radius:var(--store-custom-radius);
 background:var(--m5-base); color:var(--m5-ink); overflow:hidden;
 box-shadow:0 18px 38px #0000001a,inset 0 1px 0 #ffffff12;
}
body[data-storefront-template="master_05"] .m5-cinema::before {
 content:""; position:absolute; z-index:2; pointer-events:none; width:35%; height:36%; left:0; top:0;
 border:0; border-radius:0; transform:none; box-shadow:none; background:var(--m5-accent);
 -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath d='M0 195C15 18 70 8 390 0' fill='none' stroke='white' stroke-width='5'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' preserveAspectRatio='none'%3E%3Cpath d='M0 195C15 18 70 8 390 0' fill='none' stroke='white' stroke-width='5'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat;
 filter:drop-shadow(0 0 5px color-mix(in srgb,var(--m5-accent) 32%,transparent));
}
body[data-storefront-template="master_05"] .m5-cinema::after {
 content:""; position:absolute; z-index:2; pointer-events:none; left:40%; right:6%; bottom:-1px; height:2px;
 background:linear-gradient(90deg,transparent,var(--m5-accent),transparent); opacity:.7;
}
body[data-storefront-template="master_05"][data-store-hero] .m5-cinema .hero-copy {
 position:static; z-index:2; grid-column:1; grid-row:1; order:0; display:flex; flex-direction:column;
 overflow:visible; backdrop-filter:none; -webkit-backdrop-filter:none; filter:none; transform:none;
 align-items:flex-start; justify-content:center; align-self:center; width:auto; min-width:0; min-height:0;
 margin:0; padding:0; border:0; border-radius:0; background:none; box-shadow:none; text-align:left;
}
body[data-storefront-template="master_05"] .m5-cinema .hero-copy > :not(.badges) { position:relative; z-index:3; }
body[data-storefront-template="master_05"] .m5-cinema .hero-copy::before,
body[data-storefront-template="master_05"] .m5-cinema .hero-copy::after { display:none; }
body[data-storefront-template="master_05"] .m5-cinema svg { width:25px; height:25px; flex:none; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
body[data-storefront-template="master_05"] .m5-cinema .hero-copy .eyebrow {
 order:0; display:flex; align-items:center; gap:10px; width:auto; margin:0 0 18px; padding:0; background:none;
 border:0; color:var(--m5-ink); font-size:clamp(10px,.95vw,15px); line-height:1.35; letter-spacing:.035em; font-weight:750;
}
body[data-storefront-template="master_05"] .m5-cinema .m5-kicker-icon { display:grid; place-items:center; width:43px; height:43px; flex:none; border-radius:12px; color:var(--m5-accent); background:color-mix(in srgb,var(--m5-accent) 15%,transparent); }
body[data-storefront-template="master_05"] .m5-cinema .eyebrow > span:last-child { padding-left:10px; border-left:1px solid var(--m5-accent); }
body[data-storefront-template="master_05"] .m5-cinema .hero-copy h1 {
 order:0; max-width:100%; width:100%; margin:0; padding-right:.08em; color:var(--m5-ink); font-family:var(--store-custom-font);
 font-size:clamp(32px,3.8cqw,60px); font-style:italic; font-weight:800; line-height:1.04; letter-spacing:-.04em;
 overflow-wrap:anywhere; text-wrap:balance; background:none;
}
body[data-storefront-template="master_05"] .m5-cinema h1 > span,
body[data-storefront-template="master_05"] .m5-cinema h1 > em { display:block; }
body[data-storefront-template="master_05"] .m5-cinema h1::first-line { color:var(--m5-ink); }
body[data-storefront-template="master_05"] .m5-cinema h1 > em { color:var(--m5-accent); font-style:inherit; }
body[data-storefront-template="master_05"] .m5-cinema .m5-title-stroke { order:0; align-self:flex-end; width:66%; height:16px; margin:5px 0 17px; fill:var(--m5-accent); stroke:none; }
body[data-storefront-template="master_05"] .m5-cinema .hero-copy > p { order:0; max-width:35ch; margin:0; padding:0; color:var(--m5-muted); font-size:clamp(15px,1.3vw,22px); line-height:1.4; font-weight:400; text-align:left; }
body[data-storefront-template="master_05"] .m5-cinema .hero-copy .hero-actions { order:0; display:flex; flex-wrap:wrap; align-self:stretch; justify-content:flex-start; gap:10px; width:100%; margin:20px 0 0; }
body[data-storefront-template="master_05"] .m5-cinema .hero-actions > .btn { display:inline-flex; align-items:center; justify-content:center; flex:1 1 130px; gap:8px; min-width:0; min-height:50px; padding:12px; border-radius:16px; border:1px solid transparent; font-size:clamp(12px,1vw,17px); font-weight:750; line-height:1.2; letter-spacing:0; white-space:normal; box-shadow:none; transition:transform 180ms ease,box-shadow 180ms ease; }
body[data-storefront-template="master_05"] .m5-cinema .hero-actions > .light { color:var(--m5-primary-ink); background:var(--m5-primary); box-shadow:0 7px 20px color-mix(in srgb,var(--m5-primary) 17%,transparent); }
body[data-storefront-template="master_05"] .m5-cinema .hero-actions > .secondary { color:var(--m5-secondary-ink); background:var(--m5-secondary); border-color:color-mix(in srgb,var(--m5-secondary-ink) 60%,transparent); }
body[data-storefront-template="master_05"] .m5-cinema .hero-actions .btn::before,
body[data-storefront-template="master_05"] .m5-cinema .hero-actions .btn::after { display:none; }
body[data-storefront-template="master_05"] .m5-cinema .hero-actions svg { width:21px; height:21px; }
body[data-storefront-template="master_05"] .m5-cinema .hero-actions .btn:focus-visible { outline:3px solid var(--m5-accent); outline-offset:4px; }
body[data-storefront-template="master_05"] .m5-cinema .hero-actions .btn:active { transform:translateY(1px); }
body[data-storefront-template="master_05"] .m5-cinema .hero-actions .btn:disabled { opacity:.55; cursor:not-allowed; }
@media(hover:hover) and (pointer:fine) {
 body[data-storefront-template="master_05"] .m5-cinema .hero-actions .btn:hover { transform:translateY(-2px); box-shadow:0 9px 24px #00000026; }
}
body[data-storefront-template="master_05"][data-store-hero] .m5-cinema .hero-photo { display:contents; }
body[data-storefront-template="master_05"] .m5-cinema .hero-photo::before {
 content:""; position:absolute; z-index:1; inset:0; pointer-events:none; border:0; border-radius:inherit;
 background:linear-gradient(90deg,color-mix(in srgb,var(--m5-base) 96%,transparent) 0%,color-mix(in srgb,var(--m5-base) 84%,transparent) 25%,color-mix(in srgb,var(--m5-base) 22%,transparent) 42%,transparent 57%);
}
body[data-storefront-template="master_05"] .m5-cinema .hero-photo::after { display:none; }
body[data-storefront-template="master_05"][data-store-hero] .m5-cinema .hero-photo > :is(img,.hero-fallback) { position:absolute; z-index:0; inset:0; grid-area:auto; width:100%; height:100%; min-height:0; max-height:none; border:0; border-radius:inherit; box-shadow:none; transform:none; }
body[data-storefront-template="master_05"] .m5-cinema .hero-photo > img { object-fit:cover; }
body[data-storefront-template="master_05"][data-store-image-fit="contain"] .m5-cinema .hero-photo > img { object-fit:contain; }
body[data-storefront-template="master_05"][data-store-hero] .m5-cinema .hero-photo .local {
 position:relative; inset:auto; z-index:3; grid-column:3; grid-row:1; grid-area:1 / 3; order:0; align-self:center;
 display:grid; grid-template-columns:minmax(0,1fr); width:auto; min-width:0; margin:0; padding:22px;
 border:1px solid color-mix(in srgb,var(--m5-accent) 80%,transparent); border-radius:24px;
 color:var(--m5-ink); background:color-mix(in srgb,var(--m5-base) 60%,transparent);
 backdrop-filter:blur(10px); gap:16px; box-shadow:0 12px 30px #00000026,inset 0 1px 0 #ffffff0d,0 3px 12px color-mix(in srgb,var(--m5-accent) 18%,transparent);
}
body[data-storefront-template="master_05"] .m5-cinema .hero-photo .local b { color:var(--m5-ink); font-size:clamp(18px,1.6vw,27px); line-height:1.2; margin:0; padding:0; border:0; overflow-wrap:anywhere; }
body[data-storefront-template="master_05"] .m5-cinema .local .m5-local-details { display:grid; gap:16px; color:var(--m5-ink); margin:0; padding:0; border:0; font-size:clamp(12px,1.15vw,18px); line-height:1.45; }
body[data-storefront-template="master_05"] .m5-cinema .m5-local-details > span { display:flex; align-items:flex-start; gap:12px; color:inherit; }
body[data-storefront-template="master_05"] .m5-cinema .m5-local-details svg { width:23px; height:23px; color:var(--m5-accent); }
body[data-storefront-template="master_05"] .m5-cinema .m5-local-details > span > span { min-width:0; overflow-wrap:anywhere; }
body[data-storefront-template="master_05"] .m5-cinema .hero-photo .local .m5-local-details span { color:var(--m5-ink); }
body[data-storefront-template="master_05"] .m5-cinema .hero-photo .local .local-state { display:flex; align-items:center; justify-content:center; justify-self:stretch; grid-column:1; grid-row:auto; gap:7px; margin:0; padding:10px; border:1px solid #b4dfc3; border-radius:999px; background:#e4faec; color:#075238; font-size:clamp(10px,.95vw,15px); font-weight:750; line-height:1.3; }
@media(min-width:1001px) {
 body[data-storefront-template="master_05"][data-store-hero] .m5-cinema .hero-photo .local { align-self:end;margin-bottom:-22px;padding:10px;gap:6px;border-radius:16px; }
 body[data-storefront-template="master_05"] .m5-cinema .hero-photo .local b { font-size:18px; }
 body[data-storefront-template="master_05"] .m5-cinema .local .m5-local-details { gap:5px;padding:0;border-bottom:0;font-size:12px;line-height:1.3; }
 body[data-storefront-template="master_05"] .m5-cinema .m5-local-details > span { gap:8px; }
 body[data-storefront-template="master_05"] .m5-cinema .m5-local-details svg { width:18px;height:18px; }
}
body[data-storefront-template="master_05"] .m5-cinema .local-state svg { width:20px; height:20px; }
body[data-storefront-template="master_05"] .m5-cinema .local-state::before { display:none; }
body[data-storefront-template="master_05"] .m5-cinema .hero-photo .local .local-state.paused { background:#fff0d8; color:#68400b; border-color:#e6c58c; }
body[data-storefront-template="master_05"] .m5-cinema .hero-copy .badges {
 position:absolute; z-index:3; inset:auto 68px 24px 38px; order:0; display:flex; flex-wrap:wrap; align-items:stretch; gap:0;
 width:auto; margin:0; padding:12px 16px; min-height:60px; box-sizing:border-box; transform:none;
 border:1px solid color-mix(in srgb,var(--m5-accent) 78%,transparent); border-radius:24px;
 background:color-mix(in srgb,var(--m5-base) 93%,transparent); backdrop-filter:blur(8px); box-shadow:0 4px 18px #00000014;
}
body[data-storefront-template="master_05"] .m5-cinema .hero-copy .badges > span { display:flex; align-items:center; justify-content:center; gap:14px; flex:1 1 0; min-width:0; padding:4px 14px; border:0; border-radius:0; background:none; color:var(--m5-ink); font-size:clamp(12px,1.1vw,18px); font-weight:700; line-height:1.3; text-align:left; white-space:normal; }
body[data-storefront-template="master_05"] .m5-cinema .hero-copy .badges > span + span { border-left:1px solid color-mix(in srgb,var(--m5-ink) 42%,transparent); }
body[data-storefront-template="master_05"] .m5-cinema .badges > span > span { display:block; flex:0 1 auto; padding:0; margin:0; color:inherit; background:none; border:0; border-radius:0; font:inherit; min-width:0; overflow-wrap:anywhere; }
body[data-storefront-template="master_05"] .m5-cinema .badges svg { color:var(--m5-accent); width:32px; height:32px; }
body[data-storefront-template="master_05"] .m5-cinema .m5-product-collage { display:none; }
body[data-storefront-template="master_05"][data-store-hero="imagen-izquierda"] .hero.m5-cinema { grid-template-columns:minmax(0,37fr) minmax(0,36fr) minmax(0,27fr); }
body[data-storefront-template="master_05"][data-store-hero="imagen-izquierda"] .m5-cinema .hero-copy { grid-column:2; }
body[data-storefront-template="master_05"][data-store-hero="imagen-izquierda"] .m5-cinema .hero-photo::before { background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--m5-base) 90%,transparent) 50%,color-mix(in srgb,var(--m5-base) 80%,transparent)); }
body[data-storefront-template="master_05"][data-store-hero-align="centrada"] .m5-cinema .hero-copy { align-items:center; text-align:center; }
body[data-storefront-template="master_05"][data-store-hero-align="centrada"] .m5-cinema .hero-copy > p { text-align:center; }
body[data-storefront-template="master_05"][data-store-buttons="rectos"] .m5-cinema .hero-actions .btn { border-radius:6px; }
body[data-storefront-template="master_05"][data-store-buttons="capsula"] .m5-cinema .hero-actions .btn { border-radius:999px; }
/* Only this photographic demo uses the campaign's gold; tenant palettes remain configured. */
body[data-storefront-template="master_05"]:has(.m5-cinema[data-m5-photo-demo]) > header,
body[data-storefront-template="master_05"]:has(.m5-cinema[data-m5-photo-demo]) .storefront-demo-banner { background:#07181f; color:#f8fafc; }
body[data-storefront-template="master_05"]:has(.m5-cinema[data-m5-photo-demo]) .container.nav { background:#07181f; border-color:#657078; }
body[data-storefront-template="master_05"]:has(.m5-cinema[data-m5-photo-demo]) .brand :is(strong,small),
body[data-storefront-template="master_05"]:has(.m5-cinema[data-m5-photo-demo]) .container.nav nav :is(a,button) { color:#f8fafc; }
body[data-storefront-template="master_05"]:has(.m5-cinema[data-m5-photo-demo]) .container.nav nav [aria-current="location"] { background:#f7b900; color:#07181f; border-color:#f7b900; border-radius:999px; }
body[data-storefront-template="master_05"]:has(.m5-cinema[data-m5-photo-demo]) .storefront-demo-banner > b { color:#f7b900; }
body[data-storefront-template="master_05"]:has(.m5-cinema[data-m5-photo-demo]) .container.nav nav .nav-action { background:#07181f; border:1px solid #00cfd3; border-radius:999px; }
body[data-storefront-template="master_05"]:has(.m5-cinema[data-m5-photo-demo]) .nav-count,
body[data-storefront-template="master_05"]:has(.m5-cinema[data-m5-photo-demo]) .floating-count { background:#00cfd3; color:#07181f; }
body[data-storefront-template="master_05"]:has(.m5-cinema[data-m5-photo-demo]) .quick-actions .floating { background:#07181f; color:#f8fafc; border:1px solid #9aaeb4; box-shadow:0 5px 14px #00000024; }
@media(min-width:1001px) and (max-width:1300px) {
 body[data-storefront-template="master_05"][data-store-hero] .hero.m5-cinema { padding:26px 28px 112px; gap:16px; grid-template-columns:minmax(0,38fr) minmax(0,34fr) minmax(0,28fr); }
 body[data-storefront-template="master_05"][data-store-hero] .m5-cinema .hero-photo .local { padding:16px; gap:12px; }
 body[data-storefront-template="master_05"] .m5-cinema .hero-copy h1 { font-size:clamp(32px,3.2vw,42px); }
 body[data-storefront-template="master_05"] .m5-cinema .hero-actions > .btn { padding:10px 8px; }
}
@media(max-width:1000px) {
 body[data-storefront-template="master_05"][data-store-hero] .hero.m5-cinema { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto auto auto; min-height:var(--m5-cover-space,calc(100svh - 100px)); gap:0; padding:0; }
 body[data-storefront-template="master_05"][data-store-hero] .m5-cinema .hero-copy { display:contents; }
 body[data-storefront-template="master_05"] .m5-cinema .hero-copy > :not(.badges) { grid-column:1; margin-left:24px; margin-right:76px; }
 body[data-storefront-template="master_05"] .m5-cinema .hero-copy .eyebrow { grid-row:1; margin-top:26px; margin-bottom:16px; }
 body[data-storefront-template="master_05"] .m5-cinema .hero-copy h1 { grid-row:2; width:auto; font-size:clamp(34px,5.4vw,52px); }
 body[data-storefront-template="master_05"] .m5-cinema .hero-copy .m5-title-stroke { grid-row:3; justify-self:end; width:45%; margin-top:7px; margin-bottom:16px; }
 body[data-storefront-template="master_05"] .m5-cinema .hero-copy > p { grid-row:4; margin-bottom:18px; width:auto; min-width:0; max-width:none; font-size:17px; }
 body[data-storefront-template="master_05"][data-store-hero] .m5-cinema .hero-photo > :is(img,.hero-fallback) { position:relative; grid-column:1; grid-row:5; height:clamp(230px,45vw,400px); border-radius:0; }
 body[data-storefront-template="master_05"] .m5-cinema .hero-photo::before { display:none; }
 body[data-storefront-template="master_05"] .m5-cinema .hero-copy .hero-actions { grid-row:6; width:auto; margin-top:22px; margin-bottom:24px; }
 body[data-storefront-template="master_05"][data-store-hero] .m5-cinema .hero-photo .local { grid-column:1; grid-row:7; width:auto; margin:0 76px 24px 24px; padding:22px; }
 body[data-storefront-template="master_05"] .m5-cinema .hero-copy .badges { position:relative; inset:auto; grid-column:1; grid-row:8; width:auto; margin:0 76px 24px 24px; padding:12px; }
 body[data-storefront-template="master_05"] .m5-cinema::before { width:50%; height:180px; left:0; top:0; opacity:.6; }
 body[data-storefront-template="master_05"] .m5-cinema .hero-copy .badges > span { gap:8px; padding:4px 10px; }
}
@media(max-width:600px) {
 body[data-storefront-template="master_05"][data-store-hero] .hero.m5-cinema { width:min(var(--store-custom-width),calc(100% - 24px)); }
 body[data-storefront-template="master_05"] .m5-cinema .hero-copy > :not(.badges) { margin-left:18px; margin-right:68px; }
 body[data-storefront-template="master_05"] .m5-cinema .hero-copy h1 { font-size:clamp(29px,7.7vw,42px); }
 body[data-storefront-template="master_05"] .m5-cinema .hero-copy .eyebrow { margin-top:24px; gap:8px; font-size:10px; }
 body[data-storefront-template="master_05"] .m5-cinema .m5-kicker-icon { width:34px; height:34px; }
 body[data-storefront-template="master_05"] .m5-cinema .hero-copy > p { font-size:15px; }
 body[data-storefront-template="master_05"] .m5-cinema .hero-copy .hero-actions { flex-direction:column; gap:12px; }
 body[data-storefront-template="master_05"] .m5-cinema .hero-actions > .btn { flex:none; width:100%; min-height:48px; font-size:14px; }
 body[data-storefront-template="master_05"][data-store-hero] .m5-cinema .hero-photo .local { margin:0 68px 20px 18px; padding:16px; gap:12px; border-radius:18px; }
 body[data-storefront-template="master_05"] .m5-cinema .local .m5-local-details { font-size:13px; gap:12px; }
 body[data-storefront-template="master_05"] .m5-cinema .hero-copy .badges { display:grid; gap:0; margin:0 68px 20px 18px; padding:4px 14px; border-radius:18px; }
 body[data-storefront-template="master_05"] .m5-cinema .hero-copy .badges > span { justify-content:flex-start; gap:12px; padding:12px 0; font-size:13px; }
 body[data-storefront-template="master_05"] .m5-cinema .hero-copy .badges > span + span { border-left:0; border-top:1px solid color-mix(in srgb,var(--m5-ink) 24%,transparent); }
 body[data-storefront-template="master_05"] .m5-cinema .badges svg { width:27px; height:27px; }
}
@media(prefers-reduced-motion:reduce) {
 body[data-storefront-template="master_05"] .m5-cinema .hero-actions .btn { transition:none; }
}
/* Each destination starts below the sticky navigation and fills the visible area.
   Content can grow naturally: configured text is never clipped to force a height. */
body[data-storefront-template="master_05"] .hero.m5-cinema,
body[data-storefront-template="master_05"] main > section.container[id] {
 scroll-margin-top:calc(var(--m5-visible-header,80px) + 12px);
}
body[data-storefront-template="master_05"] main > section.container[id] {
 min-height:max(0px,calc(100svh - var(--m5-visible-header,80px) - 12px));
 box-sizing:border-box;
}
body[data-storefront-template="master_05"] .m5-cinema .hero-copy :is(h1,p) {
 -webkit-hyphens:none; hyphens:none; word-break:normal; overflow-wrap:break-word;
}
/* Keep Contact's composition stable when selected through its navigation anchor. */
body[data-storefront-template="master_05"] main > #contacto.container {
 padding-block:22px; height:auto;
}
body[data-storefront-template="master_05"] #contacto .section-head {
 align-items:flex-end; gap:16px; margin-bottom:20px; padding-bottom:16px;
}
body[data-storefront-template="master_05"] #contacto .section-head h2 {
 margin-top:10px; font-size:clamp(28px,3vw,40px); line-height:1.15;
}
body[data-storefront-template="master_05"] #contacto .contact-layout {
 min-width:0; align-items:stretch; gap:18px;
}
body[data-storefront-template="master_05"] #contacto .contact-info { align-content:start; }
body[data-storefront-template="master_05"] .m5-demo-map {
 position:relative; min-height:180px; flex:1 1 180px; overflow:hidden; background:#dfe9e5;
}
body[data-storefront-template="master_05"] .m5-demo-map > svg { position:absolute; inset:0; width:100%; height:100%; }
body[data-storefront-template="master_05"] .m5-demo-map > span {
 position:absolute; inset:auto 10px 10px; display:grid; gap:4px; padding:10px;
 background:#fffffff2; border-radius:10px; color:#18384a; font-size:12px; line-height:1.35;
}
body[data-storefront-template="master_05"] #contacto .m5-demo-map strong { color:#18384a; }
body[data-storefront-template="master_05"] #contacto .m5-demo-map [data-demo-map-address] { color:#334e5a; }
@media(min-width:1100px) {
 body[data-storefront-template="master_05"] main > #contacto.container {
  display:block;
 }
 body[data-storefront-template="master_05"] #contacto.container .contact-layout {
  grid-template-columns:minmax(220px,.8fr) minmax(0,2.4fr); flex:none;
 }
 body[data-storefront-template="master_05"] #contacto.container .contact-main {
  padding:24px; display:flex; flex-direction:column; justify-content:flex-start;
 }
 body[data-storefront-template="master_05"] #contacto .contact-main h3 {
  font-size:clamp(24px,2vw,29px); line-height:1.2; margin:12px 0;
 }
 body[data-storefront-template="master_05"] #contacto .contact-main > p { margin:8px 0 0; }
 body[data-storefront-template="master_05"] #contacto .contact-social-links {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px;
 }
 body[data-storefront-template="master_05"] #contacto .contact-social-links > a {
  min-width:0; gap:6px; padding:8px; font-size:13px; justify-content:center;
 }
 body[data-storefront-template="master_05"] #contacto .contact-social-icon {
  width:20px; height:20px; flex:0 0 20px;
 }
 body[data-storefront-template="master_05"] #contacto.container .contact-info:has(.contact-map) {
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.3fr);
  grid-template-rows:auto auto; align-content:start; gap:12px;
 }
 body[data-storefront-template="master_05"] #contacto.container .contact-map {
  grid-column:3; grid-row:1 / span 2; display:flex; flex-direction:column;
 }
 body[data-storefront-template="master_05"] #contacto.container .contact-map iframe {
  width:100%; flex:1 1 180px; height:180px; min-height:180px;
 }
}
@media(max-width:1099px) {
 body[data-storefront-template="master_05"] #contacto .section-head {
  flex-direction:column; align-items:flex-start;
 }
 body[data-storefront-template="master_05"] #contacto .section-head > p { margin:0; }
 body[data-storefront-template="master_05"] #contacto .contact-map iframe {
  width:100%; height:240px; min-height:0;
 }
}


/* Compensa la escala de escritorio para la altura calculada de la portada. */
@media (min-width: 1800px) {
 body[data-storefront-template="master_05"][data-store-hero] .hero.m5-cinema {
  min-height: max(var(--store-custom-hero-height), calc(var(--m5-cover-space, calc(100svh - 100px)) * .8));
 }
}
