/* The original palette, with a quieter editorial rhythm. */
:root{--header-height:78px;--screen-photo:calc(100svh - var(--header-height));--ink:#172522;--rule:rgba(23,37,34,.2)}
section.hero{margin:0;min-height:0;height:auto;align-items:start;grid-template-columns:1fr 1.1fr}
.hero-right{height:var(--screen-photo);min-height:0;max-height:none;overflow:hidden}
.hero-right img{height:100%;width:100%;min-height:0;object-fit:cover}
.hero-left{min-height:var(--screen-photo);padding:clamp(1.25rem,3vh,3rem) clamp(1.25rem,3vw,3.5rem)}
.hero-left img.hero-logo{width:clamp(120px,17vh,205px);margin-bottom:1.25rem}
.hero-left h1{font-size:clamp(2.1rem,3.3vw,3.5rem)}
.hero-byline{margin-top:1rem}
main{max-width:1440px;padding:0 clamp(24px,6vw,96px) 70px;margin:auto;color:var(--ink)}
main>section{background:none;border-radius:0;border:0;border-bottom:1px solid var(--rule);padding:96px 0;margin:0;position:relative}
main>section:before{display:block;font-size:.875rem;letter-spacing:.18em;text-transform:uppercase;margin-bottom:28px;color:#49645e}
#gelats:before{content:'GELATS'}#orxata:before{content:'ORXATA'}#dolcos:before{content:'DOLÇOS'}#physical-shop:before{content:'GRANOLLERS'}#shop:before{content:'PER ENDUR'}#galeria:before{content:'XATA D’OR'}
section h2{font-size:clamp(2.5rem,4.5vw,4.5rem);font-weight:600;line-height:1.08;letter-spacing:-.035em;margin-bottom:24px}
.section-subtitle{color:#48534d;max-width:650px;font-size:1.125rem;line-height:1.8;margin-bottom:38px}
#gelats{display:grid;grid-template-columns:.85fr 1.5fr;column-gap:70px;align-items:start}
#gelats:before{grid-column:1/-1}
#gelats>h2,#gelats>.section-subtitle,#gelats>p{grid-column:1}
#gelats>.section-subtitle{margin-bottom:20px}
#gelats>p:not(.section-subtitle){font-size:.875rem!important;color:#56645e;line-height:1.7}
.flavour-columns{grid-column:2;grid-row:2/6;display:grid;grid-template-columns:1fr 1fr;gap:42px;margin:0}
.flavour-column{background:transparent;padding:0;border:0;box-shadow:none;border-radius:0}
.flavour-column h3{font-family:Georgia,serif;font-weight:normal;font-size:1.8rem;border-bottom:1px solid var(--ink);padding-bottom:18px;margin-bottom:12px}
.flavour-list{display:block;font-size:1rem}
.flavour-list li{white-space:normal;background:none;border:0;border-bottom:1px solid var(--rule);border-radius:0;padding:10px 0;margin:0;line-height:1.55}
#gelats>.contact-box{grid-column:1/-1;background:none;border:0;box-shadow:none;padding:30px 0 0;border-radius:0;max-width:750px;margin-top:36px!important}
#gelats>.contact-box h3{font-size:.875rem;text-transform:uppercase;letter-spacing:.12em}
#gelats>.contact-box p{color:#53635e;font-size:1rem}
.cards-grid{gap:40px}.card{border-radius:0}.card img{border-radius:0;aspect-ratio:4/3;margin-bottom:24px}
.card h3{font-family:Georgia,serif;font-weight:normal;font-size:1.65rem;line-height:1.3;margin-bottom:14px}
.card p{font-size:1rem;line-height:1.8;color:#48534d;max-width:520px}
.pill{background:none;padding:0;border:0;border-radius:0;color:#465b55;font-size:.875rem;margin-top:18px;letter-spacing:.02em}
#orxata .cards-grid{grid-template-columns:1fr 1fr;gap:60px}
#orxata .card:first-child img{background:#eee9d8;object-fit:contain}
#orxata .card:nth-child(2){padding-top:90px}
#dolcos{padding:80px 64px;background:#173c38;color:#f8f4e6;margin:80px 0;border:0}
#dolcos:before{color:#94c7be}#dolcos h2{color:#f8f4e6;max-width:660px}
#dolcos .section-subtitle{color:#e0e7df;margin-bottom:0;max-width:760px;font-size:1.2rem}
#physical-shop>.two-cols{grid-template-columns:1.4fr 1fr;gap:70px}
#physical-shop .cards-grid{grid-template-columns:1fr 1fr;gap:30px}
#physical-shop .card img{max-height:none;aspect-ratio:1/1;object-fit:cover}
#physical-shop .card h3{font-size:1.4rem}
#contact{background:none;border:0;border-left:1px solid var(--rule);padding:0 0 0 35px;box-shadow:none;border-radius:0}
#contact h3{font-family:Georgia,serif;font-size:1.7rem;font-weight:normal;margin-bottom:24px}
#contact p{margin-bottom:18px;line-height:1.8}#contact p strong{display:block;font-size:.875rem;font-weight:500;color:#61716c}
.shop-layout{gap:50px}.shop-note{background:none;border-left:1px solid #174c49;color:#53635e}
.product-card{background:none;border-radius:0;padding:0}.product-card>h3{font-size:1.4rem}
.product-card .product-photo{background:#eee9d8;border-radius:0;height:290px;margin-bottom:24px}
.product-label{border-radius:0;height:290px;margin-bottom:24px;background:#e8e1c8;padding:26px}
.product-card:nth-child(3) .product-label{background:#c4d8d0}.product-card:nth-child(4) .product-label{background:#173c38}
.product-label strong{font-size:2rem;font-weight:normal}.product-label span,.product-label small{font-size:.875rem;letter-spacing:.08em}
.cart-panel{background:transparent;border:1px solid var(--rule);border-radius:0;box-shadow:none;padding:28px}
.cart-panel h3{font-family:Georgia,serif;font-size:1.75rem;font-weight:normal}
.field input,.field textarea{width:100%;border:1px solid #879a94;border-radius:0;padding:12px;background:#fffdf6;font-size:1rem}
.btn-primary,.btn-outline{border-radius:2px}.nav-actions .btn-primary,.hero .btn-primary,.hero .btn-outline{border-radius:999px}
.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.gallery-grid img{border-radius:0;width:100%;height:320px;object-fit:cover}.gallery-grid>div:nth-child(2){padding-top:45px}.gallery-grid>div:nth-child(5){padding-top:45px}
footer{background:var(--turquesa);padding:60px 24px}footer .footer-logo{width:130px}
@media(min-width:801px) and (max-height:750px){.hero-left{padding-top:20px;padding-bottom:20px}.hero-left img.hero-logo{width:110px;margin-bottom:14px}.hero-left h1{font-size:clamp(1.9rem,3vw,2.8rem);margin-bottom:18px}.hero-left p{font-size:.95rem}.hero-byline{margin-top:0}.hero-actions{margin-top:0}}
@media(max-width:1050px){#gelats{column-gap:35px}.flavour-columns{gap:25px}#physical-shop>.two-cols{grid-template-columns:1fr;gap:40px}#contact{border-left:0;border-top:1px solid var(--rule);padding:30px 0 0}.shop-layout{gap:30px}}
@media(max-width:800px){section.hero{display:flex}.hero-left{min-height:0;padding:40px 24px}.hero-right{height:var(--screen-photo);min-height:0}.hero-right img{height:100%}main{padding:0 24px 40px}main>section{padding:64px 0}#gelats{display:block}.flavour-columns{margin-top:35px;gap:24px}.flavour-column h3{font-size:1.5rem}.section-subtitle{font-size:1rem}.cards-grid{gap:25px}#orxata .cards-grid{gap:28px}#orxata .card:nth-child(2){padding-top:50px}#dolcos{margin:40px -24px;padding:60px 24px}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.gallery-grid img{height:230px}.gallery-grid>div:nth-child(2),.gallery-grid>div:nth-child(5){padding-top:0}}
@media(max-width:520px){#orxata .cards-grid,#physical-shop .cards-grid{grid-template-columns:1fr}#orxata .card:nth-child(2){padding-top:15px}.flavour-columns{grid-template-columns:1fr 1fr;gap:20px}.flavour-list{font-size:.9rem}.cart-panel{padding:20px}.hero-left h1{font-size:2.25rem}section h2{font-size:2.8rem}.gallery-grid img{height:200px}.product-card .product-photo,.product-label{height:300px}}

#orxata>.section-subtitle{max-width:none;width:100%}#gelats>.contact-box{max-width:none;width:100%}.shop-note{font-weight:600}button:disabled{cursor:not-allowed}

/* Product photographs from the shop and its Instagram. */
#gelats>.gelat-photo{grid-column:1;grid-row:5;margin:24px 0 0;align-self:start}
.gelat-photo img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover}
.sweets-gallery{display:grid;grid-template-columns:1.1fr .85fr 1fr;gap:clamp(24px,3vw,44px);margin-top:52px;align-items:start}
.sweets-gallery figure{margin:0;min-width:0}
.sweets-gallery img{display:block;width:100%;height:auto}
.sweets-gallery figcaption{font-family:Georgia,serif;font-size:clamp(1.5rem,2.4vw,2rem);padding-top:20px;border-top:1px solid #638079;margin-top:22px}
.sweet-chocolate{padding-top:80px}
@media(max-width:800px){#gelats>.gelat-photo{max-width:460px;margin:32px 0}.sweet-chocolate{padding-top:48px}}
@media(max-width:520px){.sweets-gallery{grid-template-columns:1fr;gap:44px}.sweet-chocolate{padding-top:0;max-width:320px}.sweets-gallery{margin-top:36px}}

.sweet-torrons{padding-top:32px}
@media(min-width:521px) and (max-width:1000px){.sweets-gallery{grid-template-columns:1fr 1fr}.sweet-torrons{padding-top:0}}
@media(max-width:520px){.sweet-torrons{padding-top:0}}

/* Landscape photographs from the autumn advert. */
.sweets-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
.sweet-chocolate,.sweet-torrons{padding-top:0;max-width:none}
.sweet-torrons img{width:100%;height:auto;max-height:none}
@media(max-width:520px){.sweets-gallery{grid-template-columns:1fr}}

/* Focus on visiting the physical shop while the online catalogue is closed. */
header nav{gap:clamp(12px,1.5vw,24px)}
#contact a:not(.btn-primary){color:#19564e;text-decoration:underline;text-underline-offset:3px}
#physical-shop .card img{aspect-ratio:3/4}
.opening-hours{margin:28px 0}.opening-hours h4{font-size:1.1rem;margin-bottom:14px}
.opening-hours dl>div{padding:10px 0;border-bottom:1px solid var(--rule)}
.opening-hours dt{font-size:.9rem;line-height:1.6}.opening-hours dd{margin:3px 0 0;font-weight:600;font-size:.95rem}
#contact .hours-exception,#contact .hours-note{font-size:.85rem;margin-top:16px;line-height:1.65}
.shop-layout{grid-template-columns:1fr}.shop-layout #product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.cart-panel{position:static;padding:20px 24px;max-width:none}.cart-panel h3{font-size:1.2rem;margin-bottom:8px}
.product-card .product-photo,.product-label{height:230px}.product-card button:disabled{background:transparent;color:#52605b;border:1px solid #85958e;opacity:1}
.gallery-grid{grid-template-columns:1fr 1fr}.gallery-grid img{height:auto;aspect-ratio:4/3}.gallery-grid>div:nth-child(2){padding-top:0}
#mitjans:before{content:'XATA D’OR'}
.media-intro{display:grid;grid-template-columns:180px 1fr;gap:40px;align-items:center;border-top:1px solid var(--rule);padding-top:35px}
.media-number{font-family:Georgia,serif;font-size:7rem;line-height:1;color:#709d91}
.media-intro h3{font:normal clamp(1.6rem,3vw,2.5rem)/1.2 Georgia,serif;margin-bottom:18px}
.media-intro p{line-height:1.8}.media-pending{color:#53635e;margin-top:12px}
html[lang=es] #gelats:before{content:'HELADOS'}html[lang=en] #gelats:before{content:'GELATO'}
html[lang=es] #orxata:before,html[lang=en] #orxata:before{content:'HORCHATA'}
html[lang=es] #dolcos:before{content:'DULCES'}html[lang=en] #dolcos:before{content:'SWEETS'}
html[lang=es] #shop:before{content:'PARA LLEVAR'}html[lang=en] #shop:before{content:'TAKE HOME'}
@media(max-width:1050px){.shop-layout #product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.shop-layout #product-grid{grid-template-columns:1fr}.media-intro{grid-template-columns:1fr;gap:20px}.media-number{font-size:4rem}.gallery-grid{grid-template-columns:1fr}.nav-actions .btn-primary{font-size:.8rem;padding:9px 12px}}

#physical-shop .card:nth-child(2) img{aspect-ratio:3/4;object-position:center 40%}


/* Keep only the main section headings in every language. */
main>section::before{display:none}


.flavour-list .vegan-flavour{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px}
.vegan-badge{display:inline-flex;align-items:center;gap:5px;color:#326445;font:600 .8rem/1.3 system-ui,sans-serif;white-space:nowrap}
.vegan-badge svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

/* Television features: load RTVE only when a visitor presses play. */
.media-lead{font-size:1.15rem;line-height:1.7;margin-bottom:36px}
.media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px}
.media-video{aspect-ratio:16/9;background:#173e36;overflow:hidden}
.media-video iframe{display:block;width:100%;height:100%;border:0}
.media-play{position:relative;display:block;width:100%;height:100%;padding:0;border:0;cursor:pointer;background:#173e36;color:white}
.media-play img{display:block;width:100%;height:100%;object-fit:cover}
.media-play-label{position:absolute;inset:auto 0 0;display:flex;align-items:center;justify-content:center;gap:12px;padding:35px 16px 18px;background:linear-gradient(transparent,rgba(0,0,0,.8));font:600 1rem/1.4 system-ui,sans-serif}
.media-play:focus-visible{outline:3px solid #bda267;outline-offset:-4px}
.media-source{font-size:.8rem;color:#53635e;margin:20px 0 12px;letter-spacing:.05em}
.media-story h3{font:normal clamp(1.5rem,2.5vw,2rem)/1.25 Georgia,serif;margin:0 0 16px}
.media-story>p{line-height:1.7}
.media-link{display:inline-block;color:inherit;text-underline-offset:5px;margin-top:18px}
.media-start{font-size:.8rem;color:#53635e;margin-top:12px}
@media(max-width:700px){.media-grid{grid-template-columns:1fr;gap:40px}}

.media-press{grid-column:1/-1;border-top:1px solid var(--rule);padding-top:26px}
.media-press>p:not(.media-source){max-width:850px}

#contact .contact-social-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,3vw,40px);max-width:560px;align-items:start}
#contact .contact-social-row a{word-break:normal;overflow-wrap:anywhere}

/* Compact contact details, preserving all opening hours and links. */
#contact h3{margin-bottom:14px}
#contact p{margin-bottom:10px;line-height:1.5}
#contact .opening-hours{margin:16px 0}
#contact .opening-hours h4{margin-bottom:6px;font-size:1rem}
#contact .opening-hours dl>div{padding:6px 0}
#contact .opening-hours dt{line-height:1.4}
#contact .opening-hours dd{margin-top:1px}
#contact .hours-exception,#contact .hours-note{margin-top:8px;margin-bottom:6px;line-height:1.45}
#contact .contact-address-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
#contact .contact-address-row p{margin:0}
#contact .contact-address-row .btn-primary{padding:10px 14px;min-height:44px;font-size:.9rem}
#contact .contact-social-row{gap:16px}
#contact [data-i18n="contact-extra-text"]{font-size:.9rem;margin-top:4px!important;line-height:1.5}

#contact .contact-address-row>p:first-child{flex:1;min-width:0}#contact .contact-address-row>p:last-child{flex-shrink:0}#contact .contact-address-row .btn-primary{white-space:nowrap}

/* Sweets on a soft beige canvas without borders or shadows. */
#dolcos{background:#eee8da;color:var(--ink);padding:56px 40px;margin:64px 0;border:0;box-shadow:none}
#dolcos h2{color:#173c38;max-width:none;font-size:clamp(2.2rem,4.5vw,4rem)}
#dolcos .section-subtitle{color:#53635e;max-width:820px;font-size:1.1rem;line-height:1.7}
#dolcos .sweets-gallery{margin-top:44px;gap:48px 36px}
#dolcos .sweets-gallery figcaption{color:#173c38;border-color:var(--rule);margin-top:16px;padding-top:14px}
@media(max-width:800px){#dolcos{margin:40px -12px;padding:36px 16px}#dolcos .section-subtitle{font-size:1rem}#dolcos .sweets-gallery{margin-top:30px;gap:32px 24px}}
