/* Restaurant Personaliza, revision 2. All rules are scoped to the custom preview. */
.custom figure{margin:0}
.custom .brand,.custom h1,.custom h2,.custom h3{font-family:var(--display-font),serif}
.custom .site-header{padding:24px 4%;border-bottom:1px solid color-mix(in srgb,var(--ink) 22%,transparent);gap:24px}
.custom .brand{font-size:30px;white-space:normal}
.custom .brand small{font-size:11px;text-align:left;letter-spacing:.15em;margin-top:8px}
.custom .site-header nav{gap:clamp(16px,2.2vw,32px);font-size:16px}
.custom .site-header .button{padding-inline:20px;white-space:nowrap}
.custom .eyebrow{font-size:14px;letter-spacing:.1em}
.custom h1{font-size:clamp(48px,6.4vw,94px);line-height:1.03;letter-spacing:-.035em;overflow-wrap:normal}
.custom figcaption{font-size:16px}
.custom-course-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:26px 4%;gap:0;border-block:1px solid color-mix(in srgb,var(--ink) 22%,transparent)}
.custom-course-links>a{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:8px 8%;font-family:var(--display-font),serif;font-size:28px;line-height:1.15}
.custom-course-links>a:first-child{padding-left:0}
.custom-course-links>a:last-child{padding-right:0}
.custom-course-links>a+a{border-left:1px solid color-mix(in srgb,var(--ink) 25%,transparent)}
.custom-course-links>a:hover>span:first-child{text-decoration:underline;text-underline-offset:6px}
.course-link-detail{font-family:'DM Sans',sans-serif;font-size:14px;white-space:nowrap;border-bottom:1px solid}
.custom .menu-category{min-width:0}
.custom .course-photo{object-fit:cover}

/* Panorámica: solid typographic welcome, daylight garden, then a menu index. */
.garden-intro{display:grid;grid-template-columns:1.6fr 1fr;gap:7%;align-items:end;padding:42px 5% 36px;background:var(--soft)}
.garden-intro .eyebrow{margin-bottom:18px}
.garden-welcome{display:flex;flex-direction:column;align-items:flex-start;gap:24px;padding-bottom:6px}
.garden-welcome p{font-size:19px}
.garden-panorama{position:relative}
.garden-panorama>img{width:100%;height:clamp(310px,31vw,470px);object-position:center 55%}
.garden-panorama figcaption{position:absolute;right:0;bottom:0;background:var(--bg);padding:13px 26px}
.custom-panoramic .menu-categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:4%}
.custom-panoramic .menu-category{display:block;border:0}
.custom-panoramic .course-visual{margin-bottom:24px}
.custom-panoramic .course-visual img{height:180px}

/* Pantalla dividida: the kitchen counter takes half the stage; navigation opens on click. */
.custom-split .site-header{padding-block:20px}
.custom-split .menu-toggle{display:block;font-size:17px}
.custom-split #main-menu{position:absolute;right:4%;top:calc(100% - 8px);z-index:20;display:flex;flex-direction:column;align-items:stretch;gap:0;min-width:310px;padding:24px 30px;background:var(--bg);border:1px solid var(--soft);box-shadow:0 12px 36px #0002}
.custom-split #main-menu>a{padding-block:12px}
.custom-split #main-menu .button{margin-top:12px}
.counter-opening{display:grid;grid-template-columns:46% 54%;min-height:590px}
.counter-copy{background:var(--accent);color:var(--onAccent);padding:55px 9% 32px;display:flex;flex-direction:column;align-items:flex-start}
.counter-copy h1{font-size:clamp(48px,6.2vw,88px)}
.counter-copy p{font-size:18px;margin-top:30px}
.counter-copy>.text-link{margin-top:25px}
.counter-note{margin-top:auto;padding-top:45px;display:flex;gap:20px;font-size:14px}
.counter-note span+span{border-left:1px solid;padding-left:20px}
.counter-photo{position:relative;min-height:590px}
.counter-photo>img{position:absolute;inset:0;width:100%;height:100%;object-position:center 42%}
.counter-photo figcaption{position:absolute;bottom:26px;right:26px}
.counter-photo .button{background:var(--bg);color:var(--ink);box-shadow:0 4px 20px #0002}
.custom-split .custom-course-links{padding-block:18px;background:var(--soft)}
.custom-split .menu-category{grid-template-columns:1fr 1.8fr;gap:6%}
.custom-split .course-visual{display:flex;flex-direction:column-reverse;gap:20px}
.custom-split .course-visual h2{margin:0}
.custom-split .course-visual img{height:180px}
.custom-split .dish-list article{padding-block:20px}

/* Menú lateral: a compact vertical identity, a patio arch and seasonal still life. */
.custom-sidebar #food-site{padding-left:205px;position:relative;min-height:760px}
.custom-sidebar .site-header{position:absolute;left:0;top:0;bottom:0;width:205px;padding:35px 25px;align-items:flex-start;justify-content:flex-start;flex-direction:column;border-bottom:0;border-right:1px solid color-mix(in srgb,var(--ink) 25%,transparent)}
.custom-sidebar .brand{font-size:33px;line-height:1.02}
.custom-sidebar .brand small{font-size:10px;line-height:1.7;margin-top:16px}
.custom-sidebar #main-menu{display:flex;flex-direction:column;align-items:stretch;width:100%;gap:12px;margin-top:36px;font-size:16px}
.custom-sidebar #main-menu>a:not(.button){padding-block:14px;border-bottom:1px solid color-mix(in srgb,var(--ink) 20%,transparent)}
.custom-sidebar #main-menu .button{margin-top:45px;white-space:normal;padding:14px;font-size:15px}
.patio-opening{padding:46px 4% 30px;display:grid;grid-template-columns:42% 58%;gap:0;align-items:center;background:var(--soft)}
.patio-copy{padding:12px 9% 20px 0}
.patio-copy h1{font-size:clamp(48px,5.9vw,84px)}
.patio-copy p{font-size:18px;margin-top:24px}
.patio-copy .eyebrow{line-height:1.5;max-width:170px}
.patio-detail{display:flex;align-items:center;gap:18px;margin-top:36px;font-size:16px}
.patio-detail img{width:110px;height:130px}
.patio-photo>img{width:100%;height:540px;border-radius:48% 48% 0 0;object-position:42% center}
.patio-photo figcaption{padding-top:16px;text-align:right}
.custom-sidebar .custom-course-links{padding-block:18px}
.custom-sidebar .custom-course-links>a{display:block;font-size:26px}
.custom-sidebar .course-link-detail{display:block;width:fit-content;margin-top:10px}
.custom-sidebar .section{padding:40px 5%}
.custom-sidebar .menu-category{grid-template-columns:minmax(190px,.8fr) 1.2fr;gap:5%}
.custom-sidebar .course-visual>img{border-radius:100px 100px 0 0;height:240px}
.custom-sidebar .story-layout{grid-template-columns:1fr;gap:24px}
.custom-sidebar .story-layout>img{height:350px}
.custom-sidebar .story-layout>div{display:grid;grid-template-columns:1fr 1fr;column-gap:36px;align-items:start}
.custom-sidebar .story-layout>div h2{grid-row:span 3;margin:0}
.custom-sidebar .story-layout>div p{grid-column:2}
.custom-sidebar .story-layout .text-link,.custom-sidebar .story-layout .button{grid-column:2}
.custom-sidebar .kitchen-page .story-layout>img{order:0}

/* Editorial: three unequal columns tell a market-to-table story. */
.custom-editorial .site-header{border-bottom:0;padding-block:26px}
.custom-editorial .site-header .brand{order:2;text-align:right}
.custom-editorial .brand small{text-align:right}
.custom-editorial .site-header nav{order:1;flex-wrap:wrap;max-width:70%;gap:20px}
.custom-editorial .site-header .nav-reserve{background:none;color:var(--ink);padding:8px 0;border-bottom:1px solid;border-radius:0;min-height:0}
.market-opening{display:grid;grid-template-columns:28% 42% 30%;gap:0;padding:14px 4% 42px;align-items:center}
.market-harvest{align-self:stretch;padding-top:70px}
.market-harvest>img{width:100%;height:480px}
.market-opening figcaption{padding-top:12px;font-size:14px}
.market-copy{padding:15px 10% 15px 12%;position:relative;z-index:1}
.market-copy h1{font-size:clamp(46px,5.2vw,78px);line-height:1.05}
.market-copy .eyebrow{font-size:13px;line-height:1.7}
.market-copy p{font-size:17px;margin-top:26px}
.market-copy>.text-link{font-size:17px;margin-top:26px}
.market-copy>.button{margin-top:32px;display:flex;width:fit-content}
.market-pair{align-self:start;display:grid;gap:34px}
.market-pair figure:first-child>img{width:100%;height:255px}
.market-pair figure:last-child{margin-left:22%}
.market-pair figure:last-child>img{height:220px;width:100%;object-position:center 45%}
.custom-editorial .custom-course-links{margin-inline:4%;padding-inline:0;font-size:24px}
.custom-editorial .menu-category{grid-template-columns:1fr 2fr;gap:5%;align-items:center}
.custom-editorial .course-visual{display:grid;grid-template-columns:90px 1fr;align-items:center;gap:18px}
.custom-editorial .course-visual img{height:110px;width:90px}
.custom-editorial .course-visual h2{font-size:30px;margin:0}
.custom-editorial .dish-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.custom-editorial .dish-list article{padding:0;border:0}
.custom-editorial .dish-list h3{font-size:25px}
.custom-editorial .dish-list p{font-size:16px}

/* Menú flotante: an inset shared table, suspended navigation and a lower invitation. */
.custom-floating .site-header{border:0;padding:24px 4% 20px;position:relative}
.custom-floating[data-page=inicio] .site-header{height:95px}
.custom-floating[data-page=inicio] #main-menu{position:absolute;top:116px;left:9%;right:9%;justify-content:center;gap:clamp(18px,3vw,44px);padding:16px 24px;border-radius:60px;background:var(--bg);color:var(--ink);box-shadow:0 5px 26px #0002}
.custom-floating #main-menu .button{border-radius:32px}
.shared-opening{position:relative;padding:0 3% 26px}
.shared-table>img{width:100%;height:640px;border-radius:24px;object-position:50% 50%}
.shared-invitation{position:relative;margin:-195px 3% 0 auto;padding:34px 38px;width:54%;background:var(--accent);color:var(--onAccent);border-radius:4px 4px 40px 4px}
.shared-invitation .eyebrow{margin-bottom:18px}
.shared-invitation h1{font-size:clamp(40px,5.2vw,76px)}
.shared-invitation p{margin-top:22px;font-size:18px}
.shared-invitation .text-link{margin-top:22px;font-size:17px}
.shared-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:28px 3% 0;font-size:16px}
.custom-floating .custom-course-links{margin-top:0;border-top:0}
.custom-floating .menu-categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.custom-floating .menu-category{display:block;background:var(--soft);border:0;border-radius:28px;overflow:hidden;padding:0 0 24px}
.custom-floating .menu-category>div:not(.course-visual){padding:20px 24px 0}
.custom-floating .course-visual>img{height:220px;border-radius:0 0 28px 28px}
.custom-floating .course-visual h2{font-size:30px;padding:12px 24px 0}
.custom-floating .story-layout>img{border-radius:24px}

@media(max-width:1100px) and (min-width:761px){
 .custom .brand{font-size:26px}.custom .brand small{font-size:10px}
 .custom .site-header nav{gap:15px;font-size:14px}.custom .site-header .button{padding-inline:14px}
 .custom-course-links>a{font-size:24px;gap:12px}.course-link-detail{font-size:13px}
 .custom-sidebar #food-site{padding-left:180px}.custom-sidebar .site-header{width:180px;padding:30px 20px}
 .patio-detail{display:block}.patio-detail img{margin-bottom:14px}.patio-photo>img{height:510px}
 .custom-sidebar .contact-layout,.custom-sidebar .location-map{grid-template-columns:1fr;gap:32px}
 .market-copy{padding-inline:10% 6%}.market-copy h1{font-size:48px}.market-pair{gap:25px}
 .custom-editorial .dish-list{grid-template-columns:1fr;gap:20px}
 .custom-editorial .menu-category{grid-template-columns:1fr 1.4fr}
 .custom-floating[data-page=inicio] #main-menu{left:6%;right:6%;gap:20px}
 .custom-floating .menu-categories{gap:16px}.custom-floating .menu-category>div:not(.course-visual){padding-inline:18px}
}
@media(max-width:760px){
 .custom .site-header{padding:20px;gap:12px;min-height:84px}
 .custom .brand{font-size:26px}.custom .brand small{font-size:10px;letter-spacing:.1em;margin-top:7px}
 .custom .eyebrow{font-size:13px}.custom h1{font-size:clamp(40px,11vw,70px)}
 .custom .site-header .menu-toggle{display:block;font-size:16px;flex-shrink:0}
 .custom .site-header #main-menu{display:none;position:absolute;top:100%;left:16px;right:16px;width:auto;min-width:0;max-width:none;padding:18px 22px;margin:0;flex-direction:column;gap:6px;background:var(--bg);color:var(--ink);border-radius:0;box-shadow:0 12px 28px #0002;align-items:stretch}
 .custom .site-header #main-menu.is-open{display:flex}
 .custom .site-header #main-menu>a{font-size:16px;padding-block:12px}
 .custom .site-header #main-menu>.button{margin-top:8px;padding:12px}
 .custom-course-links{grid-template-columns:1fr;padding:10px 24px}
 .custom-course-links>a,.custom-course-links>a:first-child,.custom-course-links>a:last-child{font-size:25px;padding:16px 0;gap:20px}
 .custom-course-links>a+a{border-left:0;border-top:1px solid color-mix(in srgb,var(--ink) 22%,transparent)}
 .course-link-detail{font-size:14px}
 .garden-intro{grid-template-columns:1fr;padding:32px 24px;gap:24px}
 .garden-intro .eyebrow{margin-bottom:18px}.garden-welcome{flex-direction:row;align-items:center;justify-content:space-between;gap:16px}
 .garden-welcome p{font-size:16px}.garden-welcome .button{padding:12px 16px;font-size:15px;max-width:140px}
 .garden-panorama>img{height:310px;object-position:52% center}.garden-panorama figcaption{padding:10px 18px;font-size:14px}
 .custom-panoramic .menu-categories,.custom-floating .menu-categories{grid-template-columns:1fr;gap:26px}
 .custom-split .site-header .menu-toggle{font-size:14px;max-width:135px;padding-inline:4px}
 .counter-opening{grid-template-columns:1fr;min-height:0}
 .counter-copy{padding:32px 24px 26px}.counter-copy h1{font-size:clamp(42px,11vw,70px)}
 .counter-copy p{font-size:16px;margin-top:24px}.counter-copy>.text-link{font-size:17px;margin-top:20px}
 .counter-note{padding-top:26px;font-size:13px;gap:14px}.counter-note span+span{padding-left:14px}
 .counter-photo{min-height:370px}.counter-photo>img{object-position:center 44%}.counter-photo figcaption{right:20px;bottom:20px}
 .custom-sidebar #food-site{padding:0;min-height:0}
 .custom-sidebar .site-header{position:relative;width:auto;padding:20px;flex-direction:row;align-items:center;border-right:0;border-bottom:1px solid var(--soft)}
 .custom-sidebar .brand{font-size:26px}.custom-sidebar .brand small{line-height:1.3}
 .custom-sidebar #main-menu>a:not(.button){border:0}
 .patio-opening{padding:30px 24px;grid-template-columns:1fr;gap:24px}
 .patio-copy{padding:0;display:grid;grid-template-columns:1fr 100px;column-gap:16px;align-items:start}
 .patio-copy .eyebrow{grid-column:1/-1;max-width:none;margin-bottom:18px}
 .patio-copy h1{font-size:52px;grid-column:1}.patio-copy p{font-size:16px;grid-column:1;margin-top:20px}
 .patio-detail{grid-column:2;grid-row:2/span 2;display:block;margin:0;font-size:14px}.patio-detail img{width:100%;height:125px;margin-bottom:12px}
 .patio-photo>img{height:360px;border-radius:48% 48% 0 0}.patio-photo figcaption{padding-top:16px}.patio-photo .text-link{font-size:17px}
 .custom-sidebar .custom-course-links>a{display:flex}.custom-sidebar .course-link-detail{margin:0}
 .custom-sidebar .section{padding:32px 24px}.custom-sidebar .story-layout>div{display:block}.custom-sidebar .story-layout h2{margin-bottom:20px}
 .custom-sidebar .story-layout>img{height:300px}
 .custom-editorial .site-header .brand{order:0;text-align:left}.custom-editorial .brand small{text-align:left}
 .custom-editorial .menu-toggle{order:1}.custom-editorial .site-header nav{order:2}
 .market-opening{grid-template-columns:1fr 1fr;padding:24px;gap:28px 18px;align-items:start}
 .market-copy{grid-column:1/-1;grid-row:1;padding:0;display:flex;flex-direction:column;align-items:flex-start}
 .market-copy .eyebrow{margin-bottom:18px}.market-copy h1{font-size:50px}.market-copy p{margin-top:22px;font-size:16px}
 .market-copy>.text-link{margin-top:18px}.market-copy>.button{margin-top:22px}
 .market-harvest{padding-top:40px}.market-harvest>img{height:300px}.market-opening figcaption{font-size:13px;line-height:1.5}
 .market-pair{gap:22px}.market-pair figure:first-child>img{height:165px}.market-pair figure:last-child{margin-left:12%}.market-pair figure:last-child>img{height:155px}
 .custom-editorial .custom-course-links{margin:0 24px}.custom-editorial .menu-category,.custom-split .menu-category,.custom-sidebar .menu-category{grid-template-columns:1fr;gap:24px}
 .custom-editorial .course-visual{grid-template-columns:90px 1fr}.custom-editorial .course-visual img{height:105px}.custom-editorial .course-visual h2{font-size:30px}
 .custom-editorial .dish-list{grid-template-columns:1fr;gap:18px}.custom-editorial .dish-list p{font-size:16px}
 .custom-floating[data-page=inicio] .site-header{height:auto}
 .custom-floating .site-header #main-menu{border-radius:18px}
 .shared-opening{padding:0 16px 20px}.shared-table>img{height:420px;border-radius:22px;object-position:46% center}
 .shared-invitation{margin:-80px 0 0 20px;width:auto;padding:26px 24px;border-radius:4px 4px 32px 4px}
 .shared-invitation h1{font-size:41px}.shared-invitation p{font-size:16px;margin-top:20px}.shared-invitation .text-link{font-size:16px}
 .shared-bottom{padding:24px 8px 0;gap:18px;font-size:14px}.shared-bottom .button{padding:12px 16px;font-size:15px;max-width:140px}
 .custom-floating .menu-category{border-radius:22px}.custom-floating .course-visual>img{height:210px}
}
