/* Delici variants: horizontal/central headers, story/editorial bodies and cinema hero.
   All customer images, text and colours come from the website editor. */
.customer-website { min-height: 100vh; background: var(--cw-background); color: var(--cw-text); font-family: var(--cw-font); overflow-x: clip; }
.customer-website *, .customer-website *::before, .customer-website *::after { box-sizing: border-box; }
.customer-website a { color: inherit; text-decoration: none; }
.customer-website img { max-width: 100%; display: block; object-fit: cover; }
.customer-website h1, .customer-website h2, .customer-website h3 { color: inherit; font-family: inherit; font-weight: 400; }
.customer-website h2 { font-size: clamp(32px, 3.5vw, 54px); line-height: 1.15; margin: 14px 0 22px; }
.customer-website h3 { font-size: 26px; margin: 0; }
.customer-website p { line-height: 1.75; }
.customer-website a:focus-visible, .customer-website summary:focus-visible { outline: 2px solid var(--cw-accent); outline-offset: 6px; }
.cw-header { position: relative; z-index: 3; min-height: 100px; display: flex; align-items: center; gap: 28px; padding: 22px clamp(24px, 4vw, 72px); background: #131413; color: #fff; border-bottom: 1px solid #ffffff20; }
.cw-brand { font-size: clamp(19px, 2vw, 28px); font-weight: 700; letter-spacing: .04em; }
.cw-brand img { max-width: 190px; max-height: 64px; object-fit: contain; }
.cw-desktop-navigation { display: flex; flex: 1; justify-content: flex-end; align-items: center; gap: 24px; flex-wrap: wrap; }
.cw-header nav a { font: 600 12px/1.5 Arial, sans-serif; letter-spacing: .07em; text-transform: uppercase; }
.cw-header nav a:hover, .cw-header nav a[aria-current="page"] { color: var(--cw-accent); }
.customer-website .cw-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 16px 26px; border: 1px solid var(--cw-accent); background: var(--cw-accent); color: #121212; font: 700 12px/1.5 Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; text-align: center; }
.customer-website .cw-button:hover { background: #131413; color: #fff; }
.customer-website.buttons-rounded .cw-button { border-radius: 7px; }
.cw-reserve { flex-shrink: 0; }
.cw-navigation-drawer { display: none; }
.cw-navigation-drawer summary { cursor: pointer; list-style: none; font: 600 12px Arial, sans-serif; text-transform: uppercase; letter-spacing: .1em; }
.cw-navigation-drawer summary::-webkit-details-marker { display: none; }
.cw-navigation-drawer summary span { font-size: 26px; vertical-align: middle; margin-right: 12px; }
.cw-navigation-drawer nav { position: absolute; top: 100%; left: 0; width: min(390px, 100vw); padding: 28px; display: grid; gap: 0; background: #131413; box-shadow: 0 18px 28px #0005; max-height: 70vh; overflow-y: auto; }
.cw-navigation-drawer nav a { padding: 18px 4px; border-bottom: 1px solid #ffffff20; }
.cw-header-center { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.cw-header-center .cw-brand { grid-column: 2; text-align: center; }
.cw-header-center .cw-reserve { grid-column: 3; justify-self: end; }
.cw-header-center .cw-navigation-drawer { display: block; grid-column: 1; grid-row: 1; }
.cw-hero { position: relative; isolation: isolate; display: grid; place-items: center; padding: 96px 24px; background-color: #24201b; background-position: center; background-size: cover; color: #fff; text-align: center; }
.cw-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0009, #0004, #0009); z-index: -1; pointer-events: none; }
.cw-home-hero { min-height: min(780px, 85svh); }
.cw-page-hero { min-height: 440px; }
.cw-hero-copy { position: relative; max-width: 880px; }
.cw-hero h1 { font-size: clamp(44px, 6.5vw, 92px); line-height: 1.07; margin: 24px 0; overflow-wrap: anywhere; }
.cw-hero p { max-width: 670px; margin: 0 auto 32px; font-size: clamp(17px, 1.7vw, 23px); }
.cw-slider { display: block; position: relative; touch-action: pan-y; }
.cw-slider [hidden] { display: none !important; }
.cw-slider .cw-slide { padding-bottom: 120px; animation: cw-slide-in .55s ease-out; }
.customer-website .cw-slide-heading { font-size: clamp(44px, 6.5vw, 92px); line-height: 1.07; margin: 24px 0; overflow-wrap: anywhere; }
.cw-slider-controls { position: absolute; bottom: 24px; left: 24px; right: 24px; display: flex; justify-content: center; align-items: center; gap: 12px; color: white; }
.cw-slider-controls button { min-width: 44px; min-height: 44px; border: 1px solid #ffffff80; border-radius: 24px; color: #fff; background: #131413d9; font: 600 14px Arial, sans-serif; cursor: pointer; padding: 8px 12px; }
.cw-slider-controls button:hover { border-color: var(--cw-accent); }
.cw-slider-controls button:focus-visible { outline: 2px solid white; outline-offset: 3px; }
.cw-slider-dots { display: flex; flex-wrap: wrap; justify-content: center; max-width: 50%; }
.cw-slider-dots button { min-width: 26px; padding: 8px; border: 0; border-radius: 0; background: #131413d9; }
.cw-slider-dots button span { display: block; width: 8px; height: 8px; border-radius: 50%; border: 1px solid #fff; }
.cw-slider-dots button[aria-current="true"] span { background: white; }
@keyframes cw-slide-in { from { opacity: .6; } to { opacity: 1; } }
.cw-eyebrow { display: block; color: var(--cw-accent); font: 700 12px/1.5 Arial, sans-serif; letter-spacing: .22em; text-transform: uppercase; }
.cw-hero .cw-eyebrow { color: #f5e3c9; }
.cw-separator { display: block; width: 88px; height: 12px; margin: 20px auto 26px; background: var(--cw-accent); mask: url('/website-templates/delici/separator.svg') center/contain no-repeat; }
.cw-story { display: grid; align-items: center; gap: clamp(30px, 6vw, 100px); max-width: 1200px; padding: 100px 32px; margin: auto; text-align: center; }
.cw-story-with-image { grid-template-columns: 1fr 1fr; }
.cw-story-copy p { font-size: 18px; white-space: pre-line; }
.cw-story-image { width: 100%; aspect-ratio: 4/5; }
.customer-website .cw-text-link { display: inline-block; padding: 12px 0 7px; border-bottom: 1px solid currentColor; color: var(--cw-text); font: 700 12px/1.6 Arial, sans-serif; text-transform: uppercase; letter-spacing: .12em; }
.cw-text-link span { margin-left: 12px; }
.cw-menu-teasers { max-width: 1280px; margin: auto; padding: 70px 32px 110px; }
.cw-section-title { text-align: center; margin-bottom: 42px; }
.cw-menu-teaser-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 32px; }
.cw-menu-teaser { border-top: 1px solid var(--cw-accent); padding-top: 18px; }
.cw-menu-teaser img { width: 100%; aspect-ratio: 3/2; }
.cw-menu-teaser > div { padding: 26px 10px; text-align: center; }
.cw-menu-teaser p { font-size: 16px; }
.cw-menu { max-width: 1200px; margin: auto; padding: 80px 32px; }
.cw-menu-category { margin-bottom: 72px; scroll-margin-top: 30px; }
.cw-menu-category:last-child { margin-bottom: 0; }
.cw-menu-category::before { content: ""; display: block; width: 48px; height: 2px; background: var(--cw-accent); margin-bottom: 22px; }
.cw-menu-category > h2 { font-size: clamp(32px, 3vw, 42px); margin-bottom: 14px; }
.cw-menu-category > p { max-width: 640px; margin: 0 0 28px; font-size: 18px; opacity: .8; }
.cw-dishes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.cw-dish { display: grid; align-items: center; padding: 28px 0; border-bottom: 1px solid color-mix(in srgb, var(--cw-text) 14%, transparent); }
.cw-dish-with-photo { grid-template-columns: 156px minmax(0, 1fr); gap: 24px; }
.cw-dish img { width: 156px; height: 156px; border-radius: 10px; }
.cw-dish > div { min-width: 0; }
.cw-dish-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.cw-dish h3 { font-size: 25px; line-height: 1.2; overflow-wrap: anywhere; }
.cw-dish strong { font-size: 19px; white-space: nowrap; }
.cw-dish p, .cw-dish small { font-family: Arial, sans-serif; font-size: 14px; opacity: .8; overflow-wrap: anywhere; }
.cw-dish p { margin: 12px 0; line-height: 1.65; }
.cw-dish small { display: block; font-size: 12px; line-height: 1.6; }
.cw-category-navigation { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 42px; }
.cw-category-navigation a { border: 1px solid var(--cw-accent); padding: 12px 18px; }
.cw-menu-cards .cw-dishes { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 26px; }
.cw-menu-cards .cw-dish { display: block; padding: 0; overflow: hidden; border: 1px solid color-mix(in srgb, var(--cw-text) 10%, transparent); border-radius: 12px; }
.cw-menu-cards .cw-dish > div { padding: 24px; }
.cw-menu-cards .cw-dish img { width: 100%; height: auto; aspect-ratio: 4/3; border-radius: 0; }
.cw-page-content { max-width: 840px; padding: 80px 32px 100px; margin: auto; font-size: 20px; }
.cw-footer { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; padding: 66px clamp(24px, 5vw, 90px); color: #eee; background: #131413; border-top: 1px solid var(--cw-accent); }
.cw-footer nav, .cw-footer > div { display: grid; align-content: start; gap: 14px; font: 14px/1.6 Arial, sans-serif; }

/* Center-header version of Delici: symmetric header and framed story photograph. */
.delici-center .cw-story-image { aspect-ratio: 1; border-radius: 50% 50% 0 0; }
.delici-center .cw-story { max-width: 1080px; }
.delici-center .cw-menu-teaser-grid { gap: 50px; }
.delici-center .cw-menu-teaser { padding: 22px; border: 1px solid var(--cw-accent); }
.delici-center .cw-footer { text-align: center; }

/* Different Design With Center Header: generous type and alternating full-width features. */
.delici-signature .cw-home-hero { min-height: 620px; }
.delici-signature .cw-editorial-intro { max-width: 1000px; grid-template-columns: 1fr; }
.delici-signature .cw-editorial-intro h2 { font-size: clamp(38px, 4vw, 62px); }
.delici-signature .cw-story-image { aspect-ratio: 16/7; }
.cw-feature { display: grid; align-items: stretch; border-top: 1px solid color-mix(in srgb, var(--cw-text) 15%, transparent); }
.cw-feature-with-image { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cw-feature > img { width: 100%; height: 100%; min-height: 450px; }
.cw-feature > div { padding: clamp(40px, 6vw, 100px); text-align: center; align-self: center; }
.cw-feature:nth-child(even) > img { order: 2; }
.delici-signature .cw-menu-teaser-grid { grid-template-columns: 1fr; }
.delici-signature .cw-menu-teaser { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 40px; }
.delici-signature .cw-menu-teaser:nth-child(even) > img { order: 2; }
.delici-signature .cw-dishes { grid-template-columns: 1fr; }
.delici-signature .cw-menu { max-width: 920px; }
.delici-signature .cw-dish img { width: 220px; height: 176px; }
.delici-signature .cw-dish-with-photo { grid-template-columns: 220px minmax(0, 1fr); gap: 32px; }
.delici-signature .cw-menu-cards .cw-dishes { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.delici-signature .cw-menu-cards .cw-dish img { width: 100%; height: auto; }

/* Video Hero Center Header: native controls include pause; the configured photo stays underneath. */
.delici-video .cw-home-hero { min-height: calc(100svh - 100px); }
.cw-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.delici-video .cw-story { grid-template-columns: 1fr; max-width: 1100px; }
.delici-video .cw-story-image { aspect-ratio: 21/9; }

@media (max-width: 1000px) {
    .cw-header { gap: 18px; padding: 18px 24px; }
    .cw-header-left .cw-desktop-navigation { display: none; }
    .cw-header-left .cw-navigation-drawer { display: block; }
    .cw-header-left .cw-brand { margin-right: auto; }
    .cw-dishes { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .cw-header, .cw-header-center { display: grid; grid-template-columns: 1fr auto; gap: 18px; min-height: 0; }
    .cw-header .cw-brand { grid-column: 1; grid-row: 1; text-align: left; }
    .cw-header .cw-navigation-drawer { grid-column: 2; grid-row: 1; }
    .cw-header .cw-reserve { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; min-height: 42px; padding: 12px; }
    .cw-header-center { grid-template-columns: minmax(48px, 1fr) auto minmax(48px, 1fr); }
    .cw-header-center .cw-brand { grid-column: 2; text-align: center; margin: 0; }
    .cw-header-center .cw-navigation-drawer { grid-column: 1; }
    .cw-header-center .cw-navigation-drawer summary { font-size: 0; }
    .cw-header-center .cw-navigation-drawer summary span { font-size: 26px; margin: 0; }
    .cw-home-hero, .delici-signature .cw-home-hero { min-height: 560px; }
    .cw-page-hero { min-height: 380px; }
    .cw-hero { padding: 70px 24px; }
    .cw-hero h1 { font-size: clamp(38px, 11vw, 62px); }
    .customer-website .cw-slide-heading { font-size: clamp(38px, 11vw, 62px); }
    .cw-slider-controls { left: 12px; right: 12px; gap: 6px; }
    .cw-story, .cw-story-with-image { grid-template-columns: 1fr; padding: 65px 24px; gap: 36px; }
    .cw-menu, .cw-menu-teasers, .cw-page-content { padding: 60px 24px; }
    .cw-menu { padding: 44px 24px 60px; }
    .cw-menu-category { margin-bottom: 52px; }
    .cw-menu-category > p { font-size: 17px; }
    .cw-dishes, .cw-menu-cards .cw-dishes, .delici-signature .cw-menu-cards .cw-dishes { grid-template-columns: 1fr; gap: 24px; }
    .cw-dish { padding: 0 0 24px; }
    .cw-dish-with-photo, .delici-signature .cw-dish-with-photo { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; border: 1px solid color-mix(in srgb, var(--cw-text) 10%, transparent); border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px color-mix(in srgb, var(--cw-text) 5%, transparent); }
    .cw-dish img, .delici-signature .cw-dish img { width: 100%; height: auto; aspect-ratio: 4/3; border-radius: 0; }
    .cw-dish-with-photo > div { padding: 22px; }
    .cw-dish h3 { font-size: 26px; }
    .cw-footer { grid-template-columns: 1fr; padding: 48px 24px; }
    .cw-feature-with-image, .delici-signature .cw-menu-teaser { grid-template-columns: 1fr; }
    .cw-feature > img { min-height: 0; aspect-ratio: 4/3; }
    .cw-feature:nth-child(even) > img, .delici-signature .cw-menu-teaser:nth-child(even) > img { order: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .cw-hero-video { display: none; }
    .cw-slider .cw-slide { animation: none; }
}
