/* ========================================================================== Shop pages — menu, courses & news, and the layout variants that assets/shop-layout.js rolls on every page load (data-* on
). Defaults in the markup (full / story / cards / list / bento / band / amber) are what a visitor without JavaScript sees. ========================================================================== */ .shop .r-catch .cl { display: block; } .shop .r-desc p, .shop .tp-body, .shop .mi-name, .shop .profile td { overflow-wrap: anywhere; } /* ---- tones: a different light falls on the room each visit ------------- */ .shop[data-tone="rose"] { --accent: #D99A86; --accent-2: #F3C7B6; --rule: rgba(217, 154, 134, .24); } .shop[data-tone="sage"] { --accent: #A9B98A; --accent-2: #D6E2BC; --rule: rgba(169, 185, 138, .24); } .shop[data-tone="ocean"] { --accent: #8FB3C9; --accent-2: #C5DCEA; --rule: rgba(143, 179, 201, .24); } /* ---- hero ----------------------------------------------------------------- */ .shop[data-hero="split"] .r-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; min-height: min(88vh, 860px); } .shop[data-hero="split"] .r-hero-bg { inset: 0 0 0 50%; } .shop[data-hero="split"] .r-hero::after { background: linear-gradient(90deg, var(--night) 0%, var(--night) 50%, rgba(7, 6, 5, .35) 62%, transparent 80%), linear-gradient(180deg, transparent 75%, var(--bg) 100%); } .shop[data-hero="split"] .r-hero-copy { grid-column: 1; padding-inline-end: 2rem; } .shop[data-hero="framed"] .r-hero { align-items: center; text-align: center; } .shop[data-hero="framed"] .r-hero-bg { inset: clamp(70px, 9vw, 110px) var(--gutter) 2.2rem; border-radius: calc(var(--radius) * 1.6); overflow: hidden; border: 1px solid var(--rule); } .shop[data-hero="framed"] .r-hero::after { background: radial-gradient(70% 60% at 50% 55%, rgba(7, 6, 5, .62), rgba(7, 6, 5, .25) 70%, transparent), linear-gradient(180deg, transparent 80%, var(--bg)); } .shop[data-hero="framed"] .r-hero-copy { display: grid; justify-items: center; } .shop[data-hero="framed"] .r-hero .rule { margin-inline: auto; } .shop[data-hero="framed"] .r-hero-btns, .shop[data-hero="framed"] .crumbs { justify-content: center; } [dir="rtl"] .shop[data-hero="split"] .r-hero-bg { inset: 0 50% 0 0; } [dir="rtl"] .shop[data-hero="split"] .r-hero::after { background: linear-gradient(270deg, var(--night) 0%, var(--night) 50%, rgba(7, 6, 5, .35) 62%, transparent 80%), linear-gradient(180deg, transparent 75%, var(--bg) 100%); } @media (max-width: 860px) { [dir="rtl"] .shop[data-hero="split"] .r-hero-bg { inset: 0 0 40% 0; } [dir="rtl"] .shop[data-hero="split"] .r-hero::after { background: linear-gradient(180deg, transparent 20%, var(--night) 62%); } .shop[data-hero="split"] .r-hero { grid-template-columns: minmax(0, 1fr); align-items: end; } .shop[data-hero="split"] .r-hero-bg { inset: 0 0 40% 0; } .shop[data-hero="split"] .r-hero::after { background: linear-gradient(180deg, transparent 20%, var(--night) 62%); } } /* ---- concept -------------------------------------------------------------- */ .shop[data-concept="reverse"] .concept-box > figure { order: -1; } .shop[data-concept="centered"] .concept-box { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; } .shop[data-concept="centered"] .concept-box .body { max-width: 52rem; justify-items: center; } .shop[data-concept="centered"] .concept-box > figure { width: 100%; aspect-ratio: 21 / 8; } .shop[data-concept="centered"] .r-catch { font-size: clamp(1.5rem, 3vw, 2.3rem); } @media (max-width: 860px) { .shop .concept-box { grid-template-columns: minmax(0, 1fr); } .shop[data-concept="centered"] .concept-box > figure { aspect-ratio: 4 / 3; } } /* ---- menu ----------------------------------------------------------------- */ .menu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; grid-template-columns: repeat(3, minmax(0, 1fr)); } .mi { margin: 0; display: grid; gap: .8rem; align-content: start; min-width: 0; } .mi-img { margin: 0; overflow: hidden; border-radius: 14px; border: 1px solid var(--rule-soft); aspect-ratio: 4 / 3; background: var(--surface); } .mi-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); } .mi:hover .mi-img img { transform: scale(1.06); } .mi-body { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; } .mi-name { font-family: var(--f-mincho); font-size: var(--s1); font-weight: 600; line-height: 1.6; letter-spacing: .04em; margin: 0; } .mi-dots { display: none; } .mi-price { font-family: var(--f-serif); font-size: 1.15rem; color: var(--accent); white-space: nowrap; margin-inline-start: auto; } .menu-note { margin-top: 1.4rem; color: var(--muted); font-size: var(--s-1); } @media (max-width: 1000px) { .menu-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 560px) { .menu-list { grid-template-columns: minmax(0, 1fr); } } /* board: a printed menu card — small round photo, name, dotted leader, price */ .shop[data-menu="board"] .menu-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; border-top: 1px solid var(--rule); } .shop[data-menu="board"] .mi { grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--rule-soft); } .shop[data-menu="board"] .mi-img { aspect-ratio: 1; border-radius: 50%; } .shop[data-menu="board"] .mi-body { flex-wrap: nowrap; } .shop[data-menu="board"] .mi-dots { display: block; flex: 1; min-width: 1rem; border-bottom: 1px dotted var(--rule); transform: translateY(-.3em); } .shop[data-menu="board"] .mi-price { margin: 0; } @media (max-width: 760px) { .shop[data-menu="board"] .menu-list { grid-template-columns: minmax(0, 1fr); } } /* carousel: a sideways swipe through the dishes */ .shop[data-menu="carousel"] .menu-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; padding-bottom: 1rem; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; overscroll-behavior-x: contain; } .shop[data-menu="carousel"] .mi { flex: 0 0 min(78%, 320px); scroll-snap-align: start; } .shop[data-menu="carousel"] .mi-img { aspect-ratio: 3 / 4; } /* mosaic: masonry columns, the photos at their own shape */ .shop[data-menu="mosaic"] .menu-list { display: block; columns: 3 240px; column-gap: 1.2rem; } .shop[data-menu="mosaic"] .mi { break-inside: avoid; margin-bottom: 1.4rem; } .shop[data-menu="mosaic"] .mi-img { aspect-ratio: auto; } .shop[data-menu="mosaic"] .mi-img img { height: auto; } .shop[data-menu="mosaic"] .mi:nth-child(3n+2) .mi-img { aspect-ratio: 1; } .shop[data-menu="mosaic"] .mi:nth-child(3n+2) .mi-img img { height: 100%; } /* ---- courses & news ------------------------------------------------------- */ .topics { display: grid; gap: 0; border-top: 1px solid var(--rule); } .tp { border-bottom: 1px solid var(--rule-soft); min-width: 0; } .tp summary { list-style: none; display: grid; grid-template-columns: 72px 2.4rem minmax(0, 1fr) 22px; gap: 1rem; align-items: center; padding: 1.1rem 0; cursor: pointer; transition: color .3s; } .tp summary::-webkit-details-marker { display: none; } .tp summary:hover { color: var(--accent-2); } .tp summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; } .tp-thumb { width: 72px; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 1px solid var(--rule-soft); display: block; } .tp-thumb-none { background: var(--surface); } .tp-no { color: var(--accent); font-family: var(--f-serif); font-style: italic; font-size: 1.15rem; } .tp-title { font-size: var(--s0); line-height: 1.7; overflow-wrap: anywhere; } .tp-x { width: 22px; height: 22px; position: relative; } .tp-x::before, .tp-x::after { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 1px; background: var(--accent); transition: transform .4s var(--ease); } .tp-x::after { transform: rotate(90deg); } .tp[open] .tp-x::after { transform: rotate(0); } .tp-body { padding: .4rem 0 2rem calc(72px + 2.4rem + 2rem); display: grid; gap: 1rem; color: var(--muted); font-size: var(--s0); line-height: 1.9; max-width: 60rem; animation: infoIn .6s var(--ease); } .tp-body p, .tp-body ul { margin: 0; } .tp-body ul { padding-inline-start: 1.2rem; display: grid; gap: .3rem; } .tp-body a:not(.link-arrow) { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; } .tp-fig { margin: 0; display: grid; gap: .6rem; } .tp-fig img { width: 100%; max-width: 640px; height: auto; border-radius: 12px; border: 1px solid var(--rule-soft); } .tp-fig figcaption { color: var(--ink); font-size: var(--s0); } @media (max-width: 640px) { .tp summary { grid-template-columns: 56px minmax(0, 1fr) 22px; } .tp-thumb { width: 56px; } .tp-no { display: none; } .tp-body { padding-inline-start: 0; } } /* cards: a grid of course cards; an opened one spans the row */ .shop[data-topics="cards"] .topics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; border: 0; } .shop[data-topics="cards"] .tp { border: 1px solid var(--rule-soft); border-radius: var(--radius); background: var(--surface); overflow: hidden; } .shop[data-topics="cards"] .tp[open] { grid-column: 1 / -1; } .shop[data-topics="cards"] .tp summary { grid-template-columns: minmax(0, 1fr) 22px; padding: 0 1.2rem 1.2rem; gap: .8rem 1rem; } .shop[data-topics="cards"] .tp-thumb { grid-column: 1 / -1; width: calc(100% + 2.4rem); margin-inline: -1.2rem; aspect-ratio: 16 / 10; border: 0; border-radius: 0; } .shop[data-topics="cards"] .tp-no { grid-column: 1 / -1; } .shop[data-topics="cards"] .tp-body { padding: 0 1.2rem 1.6rem; } @media (max-width: 1000px) { .shop[data-topics="cards"] .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 600px) { .shop[data-topics="cards"] .topics { grid-template-columns: minmax(0, 1fr); } } /* timeline: a gold rail with numbered stops */ .shop[data-topics="timeline"] .topics { border: 0; padding-inline-start: 1.6rem; border-inline-start: 1px solid var(--rule); gap: .4rem; } .shop[data-topics="timeline"] .tp { border: 0; position: relative; } .shop[data-topics="timeline"] .tp::before { content: ""; position: absolute; inset-inline-start: calc(-1.6rem - 5px); top: 2.2rem; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--bg); } .shop[data-topics="timeline"] .tp summary { grid-template-columns: 2.4rem minmax(0, 1fr) 96px; } .shop[data-topics="timeline"] .tp-thumb { order: 3; width: 96px; aspect-ratio: 4 / 3; } .shop[data-topics="timeline"] .tp-x { display: none; } .shop[data-topics="timeline"] .tp-body { padding-inline-start: 3.4rem; } @media (max-width: 640px) { .shop[data-topics="timeline"] .tp summary { grid-template-columns: minmax(0, 1fr) 72px; } .shop[data-topics="timeline"] .tp-thumb { width: 72px; } .shop[data-topics="timeline"] .tp-body { padding-inline-start: 0; } } /* ---- gallery -------------------------------------------------------------- */ .shop[data-gallery="strip"] .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .8rem; padding-bottom: 1rem; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; overscroll-behavior-x: contain; } .shop[data-gallery="strip"] .g-item { flex: 0 0 min(82%, 520px); aspect-ratio: 3 / 2; scroll-snap-align: center; } .shop[data-gallery="masonry"] .gallery { display: block; columns: 3 220px; column-gap: .8rem; } .shop[data-gallery="masonry"] .g-item { break-inside: avoid; margin-bottom: .8rem; aspect-ratio: 4 / 3; } .shop[data-gallery="masonry"] .g-item:nth-child(3n+1) { aspect-ratio: 3 / 4; } .shop[data-gallery="masonry"] .g-item:nth-child(4n+3) { aspect-ratio: 1; } /* ---- information ---------------------------------------------------------- */ .shop[data-info="flip"] .info-box > .sec-head { order: 2; } .shop[data-info="card"] [data-sec="info"] { background: var(--bg); } .shop[data-info="card"] [data-sec="info"]::before { display: none; } .shop[data-info="card"] .info-box { background: var(--surface); border: 1px solid var(--rule); border-radius: calc(var(--radius) * 1.4); padding: clamp(1.4rem, 4vw, 3rem); box-shadow: var(--shadow); margin-inline: max(16px, calc((100% - var(--wrap)) / 2)); max-width: none; } @media (max-width: 860px) { .shop[data-info="flip"] .info-box > .sec-head { order: 0; } } @media (prefers-reduced-motion: reduce) { .tp-body { animation: none; } .mi-img img { transition: none; } }