:root {
  color-scheme: light;
  --bg: #f8f5f1; --paper: #fffdfa; --ink: #292320; --muted: #665751; --line: #e5dbd4;
  --accent: #9e302f; --accent-hover: #802423; --tint: #f3e4df; --accent-line: #d4b5ad;
  --image-bg: #eee6e0; --overlay: #2e2523;
  --radius: 19px; --small-radius: 12px;
  --safe-bottom: 0px; --legal-height: 42px; --mobile-nav-height: 59px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  :root { --safe-bottom: env(safe-area-inset-bottom, 0px); }
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-bottom: calc(var(--legal-height) + var(--safe-bottom) + 18px); }
body { margin: 0; min-width: 0; padding-bottom: calc(var(--legal-height) + var(--safe-bottom) + 24px); background: var(--bg); color: var(--ink); font: 15px/1.55 var(--font); }
h1, h2, h3, p, figure, dl { margin: 0; }
h1, h2, h3 { line-height: 1.24; }
h1 { font-size: clamp(29px, 4vw, 44px); font-weight: 780; letter-spacing: -.035em; }
h2 { font-size: clamp(20px, 2.3vw, 26px); font-weight: 740; letter-spacing: -.025em; }
h3 { font-size: 17px; font-weight: 720; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--tint); color: var(--ink); }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.shell { width: calc(100% - 56px); max-width: 1240px; margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 20; transform: translateY(-150%); padding: 10px 15px; background: var(--paper); color: var(--accent); }
.skip-link:focus { transform: translateY(0); }
.topbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.topbar-inner { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand, .account, .desktop-nav { display: inline-flex; align-items: center; gap: 10px; }
.brand { min-width: 0; font-size: 16px; font-weight: 780; letter-spacing: -.02em; }
.brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: #73232e; color: white; flex: none; }
.brand-mark .icon { width: 20px; height: 20px; stroke-width: 2; }
.brand-art { display: flex; align-items: center; flex: none; max-width: 108px; height: 36px; }
.brand-art img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.desktop-nav { gap: clamp(10px, 2.1vw, 30px); }
.desktop-nav a, .account { display: inline-flex; align-items: center; min-height: 42px; color: var(--muted); font-size: 14px; font-weight: 650; white-space: nowrap; }
.desktop-nav a { position: relative; padding-inline: 3px; }
.desktop-nav a[aria-current] { color: var(--accent); }
.desktop-nav a[aria-current]::after { position: absolute; inset: auto 0 1px; margin-inline: auto; width: 14px; height: 2px; border-radius: 2px; background: var(--accent); content: ""; }
.desktop-nav a:hover, .account:hover { color: var(--accent); }
.account { padding-inline: 10px; border-radius: 8px; flex: none; }
.account:hover { background: var(--tint); }
.main { min-height: 62vh; }
.mobile-nav { display: none; }
.footer { position: fixed; inset: auto 0 0; z-index: 5; padding-bottom: var(--safe-bottom); border-top: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: calc(var(--legal-height) - 1px); }
.footer-copy { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.footer-links { display: flex; flex: none; gap: 16px; }
.footer-links a { display: flex; align-items: center; min-height: calc(var(--legal-height) - 1px); white-space: nowrap; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }
.site-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 30px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.site-contact span { min-width: 0; }
.official-code { width: 68px; height: 68px; object-fit: contain; }
.alerts { padding-top: 14px; }
.alert { padding: 12px 15px; background: var(--image-bg); color: var(--ink); border-radius: 10px; margin-bottom: 6px; }
.alert.success { background: #e7f1e9; color: #285640; }
.alert.error { background: #ffebe9; color: #982a33; }
.button, .text-link, .breadcrumb { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 690; }
.button { min-height: 44px; border: 1px solid transparent; padding: 9px 17px; border-radius: 11px; white-space: nowrap; line-height: 1.2; }
.button-dark { background: var(--accent); color: white; }
.button-dark:hover { background: var(--accent-hover); }
.button-outline { background: var(--paper); border-color: var(--line); color: var(--ink); }
.button-outline:hover { color: var(--accent); border-color: var(--accent-line); background: var(--tint); }
.button:disabled { background: var(--image-bg); color: var(--muted); }
.button .icon, .text-link .icon { width: 16px; height: 16px; }
.button.compact { padding-inline: 12px; }
.text-link { min-height: 36px; color: var(--accent); white-space: nowrap; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.breadcrumb { justify-content: flex-start; min-height: 38px; margin: -5px 0 8px; color: var(--muted); font-size: 14px; }
.breadcrumb:hover { color: var(--accent); }
.breadcrumb .icon { width: 15px; height: 15px; }
.home { padding-top: 20px; }
.hero {
  --hero-stage-height: clamp(224px, 25.5vw, 330px);
  --hero-glow-position: 82% 42%;
  --hero-wine: #6e2835;
  --hero-title: #3c2429;
  --hero-muted: #685451;
  position: relative; isolation: isolate; display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  overflow: hidden; border: 1px solid #e6d7d2; border-radius: 21px;
  background-color: #f4e7e1;
  background-image:
    radial-gradient(ellipse 65% 140% at var(--hero-glow-position), #dfbcbabf, #e9d2cc66 52%, transparent 100%),
    linear-gradient(116deg, #fffcf8 8%, #f7eee8 50%, #e9d6cf 100%);
  color: var(--hero-title);
  box-shadow: 0 10px 27px -20px #65433c66;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: linear-gradient(144deg, #fffdf882, #fffcf426 46%, #fff8f02e 69%, #fff7f061);
  box-shadow: inset 0 1px 0 #fffdf7ee, inset 0 -1px 0 #fffaf566;
}
@supports ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
  .hero::before {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128' viewBox='0 0 128 128'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.84' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Cpath d='M0 0h128v128H0z' filter='url(%23g)' opacity='.27'/%3E%3C/svg%3E");
}
.hero-content { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(26px, 4vw, 60px); }
.hero h1 { max-width: 100%; overflow-wrap: anywhere; font-size: clamp(35px, 4.2vw, 60px); line-height: 1.13; font-weight: 750; letter-spacing: -.04em; }
.hero-headline { display: block; white-space: pre-line; text-wrap: balance; }
.hero-long-copy h1 { font-size: clamp(32px, 3.65vw, 53px); line-height: 1.16; }
.hero-year { display: block; margin-bottom: 12px; font-size: .39em; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: .07em; color: var(--hero-wine); }
.hero-facts { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; margin-top: 20px; }
.hero-rate { display: flex; align-items: baseline; gap: 2px; color: var(--hero-wine); font-size: clamp(24px, 2.7vw, 33px); font-weight: 710; line-height: 1.2; font-variant-numeric: tabular-nums; }
.hero-rate > span { font-size: .63em; }
.hero-rate small { color: var(--hero-muted); font-size: 13px; margin-left: 4px; }
.hero-date { display: flex; align-items: center; gap: 6px; color: var(--hero-muted); font-size: 13px; }
.hero-date .icon { width: 15px; height: 15px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 18px; margin-top: 23px; }
.hero-primary { min-height: 46px; padding-inline: 16px; background: var(--hero-wine); color: #fff9f5; border-radius: 10px; box-shadow: inset 0 1px 0 #ffffff20, 0 4px 9px #63263124; }
.hero-primary:hover { background: #55202a; }
.hero-secondary { display: inline-flex; gap: 5px; align-items: center; min-height: 44px; color: var(--hero-wine); font-size: 14px; font-weight: 650; }
.hero-secondary:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-secondary .icon { width: 13px; height: 13px; }
.hero-content :focus-visible { outline-color: var(--hero-wine); }
.hero-media {
  position: relative; min-width: 0; display: flex; flex-direction: column; justify-content: center;
  padding: 23px clamp(18px, 2.6vw, 37px) 23px clamp(8px, 1.5vw, 22px);
}
.hero-visual { position: relative; }
.gallery-ready .hero-visual { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; column-gap: 4px; }
.hero-stage { display: flex; align-items: center; justify-content: center; min-width: 0; height: var(--hero-stage-height); }
.hero-shot { display: flex; align-items: center; justify-content: inherit; max-width: 100%; height: 100%; border-radius: 6px; }
.hero-shot img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 5px 14px #4a2c2c30, 0 0 0 1px #58424014; }
.gallery-ready .hero-stage { position: relative; overflow: hidden; touch-action: pan-y pinch-zoom; }
.gallery-ready .hero-shot { position: absolute; inset: 7px auto 7px 12%; width: 52%; height: auto; justify-content: center; pointer-events: none; opacity: 0; transform: translateX(-74%) scale(.55); transition: transform .72s cubic-bezier(.22,.72,.2,1), opacity .58s ease; }
.gallery-ready .hero-shot[data-position="active"] { z-index: 2; pointer-events: auto; opacity: 1; transform: translateX(0) scale(1); }
.gallery-ready .hero-shot[data-position="next"] { z-index: 1; opacity: .9; transform: translateX(77%) scale(.66); }
.gallery-ready .hero-shot:not([data-position="active"]) img:not(.hero-image-ready) { visibility: hidden; }
@media (min-width: 961px) {
  .hero:not(.hero-portrait) .gallery-ready .hero-shot { left: 5%; width: 62%; }
  .hero:not(.hero-portrait) .gallery-ready .hero-shot[data-position="next"] { transform: translateX(70%) scale(.6); }
}
.photo-await { visibility: hidden; }
.hero-peek { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; }
.hero-peek span, .hero-playback span { display: grid; place-items: center; border: 1px solid #fffaf5; border-radius: 50%; background: #fffaf4ed; color: var(--hero-wine); box-shadow: 0 2px 7px #4f2d2b24; }
.hero-peek span { width: 33px; height: 33px; }
.hero-peek .icon { width: 15px; height: 15px; }
.hero-peek:hover span, .hero-playback:hover span { background: var(--hero-wine); color: white; }
.hero-playback { position: absolute; z-index: 3; inset: auto 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: #66202b; }
.hero-playback span { width: 26px; height: 26px; }
.hero-playback .icon { width: 13px; height: 13px; }
@media (hover: hover) and (pointer: fine) {
  .hero-playback { opacity: 0; pointer-events: none; }
  .hero-media:hover .hero-playback, .hero-media:focus-within .hero-playback { opacity: 1; pointer-events: auto; }
}
@media (max-width: 960px) {
  .gallery-ready .hero-shot { left: 2%; width: 96%; transform: translateX(-62%) scale(.56); }
  .gallery-ready .hero-shot[data-position="next"] { opacity: 0; transform: translateX(62%) scale(.56); }
}
@media (max-width: 680px) {
  .gallery-ready .hero-visual { display: block; }
  .hero-peek { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-ready .hero-shot { transition: none; }
}
.hero-text-only { --hero-glow-position: 96% 48%; grid-template-columns: minmax(0, 1fr); }
.gear-picker legend span, .gear-category small, .gear-description small { font-size: 12px; color: var(--muted); font-weight: 500; }
.gear-picker legend span, .gear-category small { margin-inline-start: 6px; }
.gear-help { color: var(--muted); font-size: 13px; margin: 0 0 10px; }
.gear-category { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; }
.gear-category summary { cursor: pointer; padding: 12px; font-weight: 650; list-style-position: inside; }
.gear-count { float: right; color: var(--accent); font-size: 13px; }
.gear-options { padding: 0 12px; }
.gear-option { display: flex; align-items: center; gap: 9px; min-height: 67px; padding: 8px 0; border-top: 1px solid var(--line); }
.gear-image { width: 48px; height: 48px; flex: 0 0 48px; background: var(--tint); border-radius: 6px; overflow: hidden; }
.gear-image img { width: 100%; height: 100%; object-fit: contain; }
.gear-description { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 14px; }
.gear-description label { font-weight: 650; }
.gear-description small:not(:empty) { display: block; margin: 2px 0 0; }
.gear-option.over-limit [data-gear-stock] { color: var(--accent); font-weight: 650; }
.gear-quantity { display: flex; flex-shrink: 0; align-items: center; gap: 2px; }
.gear-quantity button, .gear-quantity input { width: 40px; height: 44px; text-align: center; padding: 0; color: var(--ink); border: 1px solid var(--line); border-radius: 7px; background: var(--paper); }
.gear-quantity button { font-size: 19px; }
.gear-quantity button:disabled { opacity: .4; }
.gear-quantity input { width: 50px; font-size: 16px; appearance: textfield; }
.gear-quantity input::-webkit-inner-spin-button { appearance: none; }
.order-gear { margin: 16px 0; }
.order-gear h2 { margin: 0 0 8px; font-size: 16px; }
.gear-overview { display: grid; gap: 7px; }
.gear-overview > div { padding: 10px 12px; background: var(--tint, #f6efeb); border-radius: 8px; }
.gear-overview ul { margin: 4px 0 0; padding: 0; list-style: none; }
.gear-overview li { display: flex; justify-content: space-between; gap: 8px; }
.gear-overview small { color: var(--muted, #665b55); }
.booking-reference-tip { display: flex; align-items: flex-start; gap: 9px; margin: 14px 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: 14px; }
.booking-reference-tip .icon { flex: 0 0 17px; width: 17px; height: 17px; margin-top: 2px; color: var(--accent); }
.booking-reference-tip p { margin: 0; }
.booking-review .price small { margin-inline-start: 4px; font-size: 13px; }
.review-group { font-size: 13px; }
.review-actions .button-outline { min-width: 0; }
.announcement { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; padding: 10px 2px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.announcement .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--accent); }
.announcement ul { margin: 0; padding: 0; list-style: none; overflow-wrap: anywhere; }
.announcement li + li { margin-top: 4px; }
.home-section { margin-top: 38px; }
.home-catalogue { margin-top: 24px; scroll-margin-top: 16px; }
.home-catalogue:focus { outline: none; }
.catalogue-links { display: flex; align-items: center; gap: 16px; }
.catalogue-group { color: var(--muted); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.page { padding-top: 34px; }
.page-heading, .page-title { margin-bottom: 20px; }
.page-heading h1 { min-width: 0; overflow-wrap: anywhere; }
.narrow { max-width: 760px; }
.package-grid, .group-grid, .offer-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.portfolio-grid, .photo-grid {
  --gallery-height: clamp(185px, 21vw, 260px);
  --gallery-width: min(100%, 388px);
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 18px 14px;
}
.portfolio-card { width: calc(var(--gallery-height) * var(--photo-ratio, 1)); max-width: min(100%, 500px); min-width: 0; }
.photo-grid figure { width: fit-content; max-width: var(--gallery-width); min-width: 0; }
.photo-grid figure.photo-sized { width: calc(var(--gallery-height) * var(--photo-ratio)); }
.package-card, .group-card { min-width: 0; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.portfolio-card > a { display: block; border-radius: 10px; }
.package-card:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.package-card, .group-card { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.42fr); gap: clamp(10px, 1.55vw, 24px); align-items: center; padding: 12px; }
.package-photo, .detail-photo, .group-thumb { display: flex; align-items: center; justify-content: center; position: relative; min-width: 0; }
.portfolio-cover { display: flex; align-items: flex-end; justify-content: center; height: var(--gallery-height); }
.package-photo, .group-thumb { height: clamp(145px, 16vw, 204px); }
.portfolio-cover img, .package-photo img, .detail-photo img, .group-thumb img, .photo-grid img { width: auto; height: auto; max-height: 100%; object-fit: contain; border-radius: 10px; }
.photo-sized .portfolio-cover img { width: 100%; object-position: center bottom; }
.photo-sized a[data-photo] { background: var(--image-bg); border-radius: 10px; }
.photo-sized a[data-photo] img { width: 100%; height: auto; max-height: none; }
.order-thumb, .summary-photo { display: block; position: relative; overflow: hidden; background: var(--image-bg); }
.order-thumb img, .summary-photo img { width: 100%; height: 100%; object-fit: contain; position: absolute; inset: 0; }
.portfolio-caption { display: flex; justify-content: space-between; gap: 9px; align-items: center; padding: 9px 3px 3px; }
.portfolio-caption h3, .package-row h3, .order-row h2, .detail-body h1 { overflow-wrap: anywhere; }
.portfolio-caption .icon { color: var(--accent); width: 17px; height: 17px; }
.package-copy, .group-card-body { min-width: 0; padding-right: 4px; }
.package-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.package-row h2, .package-row h3 { min-width: 0; }
.package-row a:hover { color: var(--accent); }
.price { color: var(--accent); font-size: 23px; font-weight: 780; line-height: 1.1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price > span { font-size: .62em; margin-right: 2px; }
.price.large { font-size: 37px; }
.package-facts { font-size: 13px; color: var(--muted); margin-top: 7px; }
.package-actions, .inline-actions, .group-card-tail { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.package-actions { margin-top: 13px; }
.package-actions .button { flex: 1 1 auto; }
.availability-off { color: var(--muted); background: var(--bg); }
.compact-offer .package-actions .button { min-height: 40px; flex: 0 1 auto; padding-inline: 12px; font-size: 13px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 17px; }
.tabs a { padding: 9px 15px; min-height: 41px; display: flex; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; color: var(--muted); font-weight: 650; }
.tabs a[aria-current], .tabs a:hover { background: var(--tint); color: var(--accent); border-color: var(--accent-line); }
.split-page { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 14px; align-items: start; }
.detail-body, .panel, .empty, .order-row { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.detail-photo { min-height: 150px; }
.detail-photo img { max-height: min(68vh, 640px); border-radius: var(--radius); }
.detail-body, .panel { min-width: 0; padding: clamp(16px, 3vw, 28px); }
.detail-body > * + * { margin-top: 15px; }
.split-heading { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 11px; padding: 13px 6px; background: var(--bg); text-align: center; }
.facts-grid div + div { border-left: 1px solid var(--line); }
.facts-grid span, .facts-grid strong { display: block; }
.facts-grid span { font-size: 13px; color: var(--muted); }
.description, .info-list, .muted { color: var(--muted); overflow-wrap: anywhere; }
.description > * + *, .detail-disclosure > * + * { margin-top: 9px; }
.info-list > div { display: grid; grid-template-columns: minmax(72px, .35fr) minmax(0, 1fr); gap: 12px; padding: 10px 0; }
.info-list > div + div { border-top: 1px solid var(--line); }
.info-list dd { margin: 0; color: var(--ink); }
.info-list dd a, .consent a, .description a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.detail-disclosure, .optional-note { border-top: 1px solid var(--line); padding-top: 11px; }
.detail-disclosure summary, .optional-note summary { min-height: 35px; font-weight: 660; }
.appointment-available { color: #18634f; display: flex; align-items: center; gap: 8px; font-size: 14px; }
.package-booking-actions .button-dark { flex: 1 1 auto; }
.order-change-actions { margin-top: 12px; }
.image-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); background: var(--image-bg); border-radius: 10px; }
.image-placeholder .icon { width: 27px; height: 27px; }
.portfolio-description { max-width: 670px; margin-bottom: 18px; }
.portfolio-offer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 15px; margin-bottom: 16px; border-block: 1px solid var(--line); }
.portfolio-offer > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 14px; min-width: 0; }
.portfolio-offer h2 { font-size: 17px; overflow-wrap: anywhere; }
.portfolio-offer .price { font-size: 20px; }
.photo-grid a { display: block; max-width: 100%; border-radius: 10px; }
.photo-grid img { max-height: var(--gallery-height); }
.photo-grid figcaption { padding: 8px 2px; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.lightbox { width: 100%; height: 100%; max-width: none; max-height: none; border: 0; padding: 0; background: transparent; color: white; }
.lightbox:not([open]) { display: none; }
.lightbox[open] { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; }
.lightbox::backdrop { background: rgba(10, 10, 17, .93); }
.lightbox img { grid-area: 1 / 1; max-width: calc(100% - 92px); max-height: calc(100% - 112px); object-fit: contain; }
.lightbox [data-photo-full][aria-hidden="true"] { visibility: hidden; }
.lightbox button { position: absolute; display: grid; place-items: center; background: var(--overlay); color: white; border: 1px solid #9f8e86; width: 44px; height: 44px; border-radius: 11px; font-size: 29px; line-height: 1; }
.lightbox-close { top: 13px; right: 13px; top: max(13px, env(safe-area-inset-top)); }
.lightbox-prev { left: 4px; top: calc(50% - 22px); }
.lightbox-next { right: 4px; top: calc(50% - 22px); }
.group-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 17px; }
.group-card-tail { justify-content: space-between; margin-top: 9px; }
.group-meter { display: grid; gap: 7px; }
.group-meter > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 12px; font-size: 14px; }
progress { width: 100%; height: 8px; accent-color: var(--accent); }
.urgent { color: #9d2f3c; }
.share-control { display: grid; gap: 8px; }
.small { color: var(--muted); font-size: 13px; }
.empty { min-height: 160px; padding: 22px; display: grid; justify-items: center; place-content: center; text-align: center; gap: 13px; color: var(--muted); }
.empty h2 { color: var(--ink); font-size: 18px; }
.empty > .icon { color: var(--accent); width: 27px; height: 27px; }
.package-grid > .empty { grid-column: 1 / -1; }
.list, .stacked, .auth-panel form { display: grid; gap: 11px; }
.order-row { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px; }
.order-row:hover { border-color: var(--accent-line); }
.order-thumb { width: 68px; height: 68px; border-radius: 11px; }
.order-row h2, .notification h2 { font-size: 17px; }
.order-row p, .notification time { color: var(--muted); font-size: 13px; margin-top: 4px; }
.order-row-tail { display: grid; justify-items: end; gap: 5px; align-self: start; }
.status { background: #edeae7; color: var(--muted); padding: 4px 8px; border-radius: 6px; font-size: 12px; font-weight: 690; white-space: nowrap; }
.status-pending { background: #e9eef6; color: #314c70; }
.status-confirmed { background: #e3eee7; color: #285640; }
.status-cancelled { background: #eceeea; color: #525b55; }
.status-complete { background: #e9edea; color: #3e5648; }
.panel + .panel, .secondary-form, .order-exit, .detail-row { margin-top: 12px; }
.detail-row { margin-top: 0; margin-bottom: 8px; }
.reference, .slot-time { font-variant-numeric: tabular-nums; }
.slot-time { display: inline-block; margin-left: 8px; }
.qr-panel, .collection-codes { display: flex; flex-wrap: wrap; gap: 18px; }
.qr-block { flex: 1 1 150px; display: grid; justify-items: center; align-content: start; gap: 9px; }
.qr-block h2 { font-size: 17px; }
.qr-block img { object-fit: contain; }
.collection-codes figure { text-align: center; }
.record { border-top: 1px solid var(--line); padding-top: 10px; }
.record p { color: var(--muted); margin-top: 5px; }
.profile-top { display: flex; gap: 13px; align-items: center; }
.profile-top h1 { font-size: 27px; }
.profile-top p { color: var(--muted); margin-top: 2px; overflow-wrap: anywhere; }
.avatar { display: grid; place-items: center; background: var(--tint); color: var(--accent); width: 52px; height: 52px; border-radius: 15px; font-size: 23px; font-weight: 750; flex: none; }
.profile-details { padding-block: 7px; }
.menu { padding-block: 5px; }
.menu a { display: flex; align-items: center; min-height: 51px; gap: 10px; }
.menu a + a { border-top: 1px solid var(--line); }
.menu a:hover, .menu .icon { color: var(--accent); }
.menu .tail { margin-left: auto; width: 16px; }
.auth-page { max-width: 446px; }
.auth-panel h1 { font-size: 30px; margin-bottom: 18px; }
.auth-panel .text-link { margin-top: 9px; }
form { margin: 0; }
.field { min-width: 0; display: grid; gap: 5px; font-weight: 650; }
input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea { min-width: 0; min-height: 44px; border: 1px solid var(--line); background: var(--paper); border-radius: 9px; padding: 9px 11px; }
textarea { width: 100%; resize: vertical; }
.field input, .field select { width: 100%; }
input[type=radio], input[type=checkbox] { accent-color: var(--accent); }
.consent { display: flex; align-items: flex-start; gap: 7px; font-size: 13px; color: var(--muted); padding: 5px 0; }
.consent input { flex: none; margin: 3px 0 0; width: 17px; height: 17px; }
.errorlist { margin: 0; padding-left: 18px; color: #982a33; }
.plain-button { border: 0; background: transparent; padding: 7px 0; color: #982a33; }
.scanner { display: block; max-width: 100%; margin-top: 12px; }
[data-scanner] .inline-actions { margin-top: 12px; }
.schedule-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .43fr); gap: 14px; align-items: start; }
.schedule-layout > .panel { margin-top: 0; }
.summary { grid-area: 1 / 2; position: sticky; top: 15px; padding: 12px; display: grid; gap: 13px; }
.summary-photo { aspect-ratio: 16 / 10; border-radius: 11px; }
.summary h2 { font-size: 19px; overflow-wrap: anywhere; }
.summary .price { margin-top: 5px; }
.schedule-form { grid-area: 1 / 1; display: grid; gap: 17px; }
.schedule-form fieldset { border: 0; min-width: 0; padding: 0; margin: 0; }
.schedule-form legend { padding: 0; font-size: 19px; font-weight: 740; margin-bottom: 10px; }
.date-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 256px), 1fr)); gap: 10px; }
.schedule-form:not(.enhanced) .date-track { display: none; }
.date-track.paged-calendar { grid-template-columns: minmax(0, 1fr); gap: 0; }
.month-controls { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; text-align: center; background: var(--bg); border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; padding: 6px 9px 0; }
.month-controls button { display: grid; place-items: center; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--accent); }
.month-controls button:disabled { color: var(--muted); background: transparent; border-color: transparent; opacity: .45; }
.calendar-month { padding: 9px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); min-width: 0; }
.calendar-month h3 { font-size: 15px; padding: 4px 2px 9px; }
.paged-calendar .calendar-month { border-block-start: 0; border-radius: 0 0 12px 12px; }
.paged-calendar .calendar-month h3 { display: none; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; text-align: center; }
.calendar-grid > span { font-size: 12px; color: var(--muted); }
.date-pill { background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 7px; padding: 1px 0; min-width: 0; min-height: 43px; display: grid; align-content: center; justify-items: center; line-height: 1.2; }
.date-pill small { font-size: 10px; }
.date-pill[aria-pressed=true] { background: var(--accent); color: white; border-color: var(--accent); }
.date-pill:disabled { color: var(--muted); background: transparent; border-color: transparent; }
.slot-day { margin-top: 13px; }
.slot-day h3 { font-size: 15px; margin-bottom: 7px; }
.slot-day h3 span { margin-left: 4px; font-weight: 450; color: var(--muted); }
.slot-grid, .option-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 106px), 1fr)); gap: 7px; }
.slot-choice { position: relative; min-width: 0; cursor: pointer; }
.slot-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.slot-choice > span { min-height: 48px; display: grid; align-content: center; justify-items: center; text-align: center; padding: 3px 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; font-size: 13px; font-weight: 670; }
.slot-choice small { color: var(--muted); font-size: 11px; font-weight: 500; }
.slot-choice input:checked + span { background: var(--tint); color: var(--accent); border-color: var(--accent); }
.slot-choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.slot-choice input:disabled + span { color: var(--muted); background: var(--bg); cursor: default; }
.no-dates, .schedule-note { margin-top: 8px; color: var(--muted); }
.form-tail { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px 14px; }
.form-tail .button { min-width: 155px; }
.selection-summary { color: var(--accent); font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; }
@media (max-width: 880px) {
  .topbar-inner { gap: 14px; }
  .desktop-nav { gap: 0; }
  .desktop-nav a { padding-inline: 6px; }
  .brand-art { height: 32px; max-width: 80px; }
}
@media (max-width: 680px) {
  :root { --legal-height: 38px; }
  html { scroll-padding-bottom: calc(var(--legal-height) + var(--mobile-nav-height) + var(--safe-bottom) + 40px); }
  body { padding-bottom: calc(var(--legal-height) + var(--mobile-nav-height) + var(--safe-bottom) + 20px); }
  .shell { width: calc(100% - 28px); }
  .desktop-nav { display: none; }
  .topbar-inner { min-height: 57px; gap: 8px; }
  .brand { font-size: 15px; gap: 8px; }
  .brand-mark { width: 31px; height: 31px; border-radius: 9px; }
  .brand-mark .icon { width: 18px; height: 18px; }
  .brand-art { height: 31px; max-width: min(88px, 25vw); }
  .account { width: 42px; min-height: 40px; padding: 0; justify-content: center; flex: none; }
  .account span { display: none; }
  .mobile-nav { position: fixed; inset: auto 0 0; z-index: 5; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); height: calc(var(--mobile-nav-height) + var(--safe-bottom)); padding: 5px 5px calc(6px + var(--safe-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
  .mobile-nav a { display: grid; place-content: center; justify-items: center; gap: 2px; min-height: 47px; color: var(--muted); font-size: 11px; font-weight: 660; border-radius: 8px; }
  .mobile-nav a[aria-current] { color: var(--accent); }
  .mobile-nav a[aria-current] .icon { width: 34px; height: 25px; padding: 3px 7px; background: var(--tint); border-radius: 7px; }
  .mobile-nav .icon { width: 20px; height: 23px; }

  .home { padding-top: 10px; }
  .hero { --hero-stage-height: clamp(145px, 42vw, 270px); --hero-glow-position: 84% 10%; grid-template-columns: minmax(0, 1fr); border-radius: 16px; }
  .hero-media { grid-row: 1; padding: 13px 14px 6px; }
  .hero-content { padding: 16px; }
  .hero h1 { font-size: clamp(25px, 6.8vw, 41px); }
  .hero-year { margin-bottom: 6px; font-size: .58em; }
  .hero-facts { gap: 0 11px; margin-top: 8px; }
  .hero-rate { font-size: 24px; }
  .hero-date { font-size: 12px; }
  .hero-actions { margin-top: 10px; gap: 0 14px; }
  .hero-primary { min-height: 44px; padding-inline: 11px; font-size: 13px; }
  .hero-secondary { font-size: 13px; }
  .hero-portrait { --hero-stage-height: clamp(164px, 50vw, 310px); grid-template-columns: minmax(0, 1.07fr) minmax(0, 1fr); }
  .hero-portrait:not(.hero-long-copy) { --hero-glow-position: 94% 42%; }
  .hero-portrait:not(.hero-long-copy) .hero-media { grid-column: 2; padding: 11px 11px 11px 4px; }
  .hero-portrait .hero-content { grid-column: 1; grid-row: 1; }
  .hero-portrait .hero-year { display: block; margin: 0 0 7px; }
  .hero-portrait .hero-facts, .hero-portrait .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-portrait .hero-primary { padding-inline: 9px; }
  .hero-portrait .hero-primary .icon { width: 13px; height: 13px; }
  .hero-portrait .hero-content { padding: 13px; }
  .gallery-ready .hero-visual { padding-bottom: 30px; }
  .hero-playback { right: -4px; bottom: -7px; }
  .hero-long-copy h1 { font-size: clamp(25px, 6.3vw, 37px); }
  .hero-long-copy .hero-year { display: block; margin: 0 0 6px; }
  .hero-portrait.hero-long-copy { grid-template-columns: minmax(0, 1fr); }
  .hero-portrait.hero-long-copy .hero-media { grid-column: 1; }
  .hero-portrait.hero-long-copy .hero-content { grid-row: 2; padding: 16px; }
  .hero-long-copy .hero-facts, .hero-long-copy .hero-actions { flex-direction: row; align-items: baseline; }
  .home-section { margin-top: 23px; }
  .home-catalogue { margin-top: 17px; }
  .section-heading { margin-bottom: 9px; }
  .section-heading .text-link { font-size: 13px; gap: 5px; }
  .catalogue-links { gap: 10px; }
  .page { padding-top: 20px; }
  .page-heading, .page-title { margin-bottom: 13px; }
  .package-grid, .portfolio-grid, .group-grid, .photo-grid, .offer-list { gap: 10px; }
  .package-grid, .group-grid, .offer-list, .split-page { grid-template-columns: minmax(0, 1fr); }
  .package-card, .group-card { grid-template-columns: minmax(0, .76fr) minmax(0, 1.4fr); padding: 10px; }
  .package-photo, .group-thumb { height: clamp(128px, 37vw, 200px); }
  .package-copy, .group-card-body { padding: 2px 0; }
  .package-actions { gap: 5px; margin-top: 9px; }
  .package-actions .button { min-height: 42px; font-size: 13px; padding-inline: 7px; }
  .package-facts { font-size: 12px; margin-top: 5px; }
  .package-card .price, .group-card .price { font-size: 20px; }
  .portfolio-offer { padding-inline: 0; }
  .portfolio-offer > div { flex-direction: column; gap: 5px; }
  .portfolio-offer .button { padding-inline: 10px; font-size: 13px; }
  .portfolio-card, .package-card, .group-card, .panel, .empty, .order-row, .detail-photo, .detail-body { border-radius: 14px; }
  .portfolio-grid, .photo-grid { --gallery-height: clamp(138px, 43vw, 180px); row-gap: 16px; }
  .photo-grid { --gallery-width: min(100%, 65vw); }
  .portfolio-caption { padding-block: 7px 2px; }
  .portfolio-caption h3 { font-size: 14px; }
  .portfolio-caption .icon { width: 15px; height: 15px; }
  .detail-photo img { max-height: min(54vh, 440px); }
  .detail-body > * + * { margin-top: 12px; }
  .inline-actions .button { flex: 1 1 auto; }
  .footer { bottom: calc(var(--mobile-nav-height) + var(--safe-bottom)); padding-bottom: 0; }
  .footer-links { gap: 12px; }
  input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea { font-size: 16px; }
  .schedule-screen .mobile-nav { display: none; }
  .schedule-screen { padding-bottom: calc(var(--legal-height) + var(--safe-bottom) + 96px); }
  .schedule-screen .footer { bottom: 0; padding-bottom: var(--safe-bottom); }
  .schedule-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .summary, .schedule-form { grid-area: auto; }
  .summary { position: static; grid-template-columns: 64px minmax(0, 1fr); align-items: center; padding: 9px; gap: 10px; }
  .summary-photo { width: 64px; height: 54px; }
  .summary h2 { font-size: 16px; }
  .summary .price { font-size: 21px; }
  .schedule-form { padding: 11px; gap: 15px; }
  .form-tail { position: fixed; z-index: 5; inset: auto 0 calc(var(--legal-height) + var(--safe-bottom)); background: var(--paper); border-top: 1px solid var(--line); padding: 9px 14px; }
  .form-tail .button { flex: 1 0 auto; min-width: 0; }
  .review-actions { flex-wrap: nowrap; }
  .review-actions .button-outline { flex: 0 0 auto; }
  .selection-summary { flex: 0 1 auto; }
  .order-row { grid-template-columns: 49px minmax(0, 1fr) auto; gap: 8px; padding: 9px; }
  .order-thumb { width: 49px; height: 58px; }
}
@media (max-width: 370px) {
  .hero-portrait:not(.hero-long-copy) .hero-content { padding-inline: 11px; }
  .hero-portrait:not(.hero-long-copy) h1 { font-size: clamp(21px, 6.6vw, 25px); }
  .package-row h3 { font-size: 15px; }
  .package-actions .icon { display: none; }
  .group-filters select { max-width: 100%; }
  .order-row h2 { font-size: 15px; }
}
@supports not (aspect-ratio: 1) {
  .summary-photo { min-height: 110px; }
  @media (max-width: 680px) { .summary-photo { min-height: 54px; } }
}
