:root {
  --bg: #f5f2eb;
  --text: #252720;
  --muted: #515448;
  --line: #d9d8cc;
  --gold-1: #d7ba86;
  --gold-2: #785523;
  --olive: #3b4234;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Avenir Next', 'Trebuchet MS', sans-serif; font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 5px; }
img { display: block; width: 100%; object-fit: cover; }
figure, p { margin: 0; }
.container { width: min(100% - 80px, 1360px); margin-inline: auto; }
.topbar { position: relative; display: flex; gap: 32px; align-items: center; justify-content: space-between; padding: 28px 0; border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: 12px; align-items: center; }
.brand-logo { width: 48px; height: 48px; flex-shrink: 0; object-fit: contain; }
.brand-name { font-family: 'Avenir Next', 'Trebuchet MS', sans-serif; font-weight: 600; letter-spacing: 0; line-height: 1.15; }
.brand .brand-name { font-size: 16px; white-space: nowrap; }
.topbar nav { display: flex; gap: 24px; font-size: 16px; font-weight: 500; }
.topbar nav a:hover, .header-phone:hover, .text-link:hover { color: var(--gold-2); }
.header-phone { font-size: 18px; white-space: nowrap; }
.hero { position: relative; isolation: isolate; background: radial-gradient(ellipse at 10% 55%, #eee7db, transparent 60%), var(--bg); transition: color .8s ease; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 80% 35%, #443426, transparent 65%), #20231e; opacity: 0; transition: opacity .8s ease; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle 260px at var(--glow-x, 50%) var(--glow-y, 50%), rgba(255, 216, 91, .28), rgba(255, 223, 130, .1) 45%, transparent 100%); opacity: 0; transition: opacity .35s ease; }
.hero[data-light="evening"].has-cursor-glow::after { opacity: 1; }
.hero[data-light="evening"] { --text: #fffaf0; --muted: #e0dbcf; --line: #686657; --gold-2: #efcd91; color: var(--text); }
.hero[data-light="evening"]::before { opacity: 1; }
.hero .topbar, .hero .hero-bottom { transition: border-color .8s ease, color .8s ease; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; padding: 58px 0 36px; }
.eyebrow, .section-kicker { font-size: 1rem; line-height: 1.6; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
h1 { margin: 22px 0 24px; font-size: clamp(56px, 6.5vw, 94px); }
h1.hero-title { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -0.025em; line-height: 1.08; font-size: clamp(46px, 5.5vw, 80px); }
.hero-three { display: inline-block; color: #8a610e; font-style: italic; font-size: 1.18em; margin-right: 0.04em; }
.hero[data-light="evening"] .hero-three { color: #efcd91; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-actions .btn { border-radius: 30px; padding: 15px 22px; line-height: 1.4; text-align: center; }
.hero-actions .hero-primary { color: #302a1f; background: #c8a667 linear-gradient(135deg, #ddc597, #c8a667); border: 1px solid #c8a667; transition: filter .2s ease, box-shadow .2s ease; }
.hero-actions .hero-primary:hover { filter: brightness(1.06); box-shadow: 0 4px 16px rgba(148,112,59,.18); }
.hero-actions .hero-secondary { border: 1px solid #c9c5b7; color: var(--text); background: transparent; }
.hero-secondary:hover { background: #eae5d9; }
.hero-contacts { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 10px; margin-top: 28px; }
.hero-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; padding: 18px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,253,247,0.45); transition: background .8s, border-color .8s, color .8s; }
.hero-contact:hover { background: #fffdf7; border-color: #b8a581; }
.hero-contact-label { text-transform: uppercase; font-size: 1rem; letter-spacing: 0.12em; color: var(--muted); }
.hero-contact strong { font-size: 16px; line-height: 1.6; font-weight: 600; }
.hero-contact-action { margin-top: auto; font-size: 1rem; line-height: 1.5; color: var(--gold-2); }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 20px; padding: 16px 22px; border: 0; font-size: 16px; font-weight: 600; line-height: 1.5; cursor: pointer; border-radius: 4px; transition: background 0.2s ease; }
.btn-dark { background: var(--olive); color: #fff; }
.btn-dark:hover { background: #272d22; }
.btn:disabled { cursor: wait; opacity: 0.65; }
.text-link { font-size: 16px; line-height: 1.6; }
.hero-photo { position: relative; width: min(100%, 440px); justify-self: center; }
.hero-grid:has(+ .hero-preview-link) { padding-bottom: 0; }
.hero-preview-link { margin: 12px 0 24px; text-align: right; }
.hero-photo-frame { position: relative; overflow: hidden; border: 1px solid #b99a65; border-radius: 230px 230px 6px 6px; background: #ded0b9; }
.hero-photo-frame img { display: block; width: 100%; height: auto; padding: 0; }
.hero-photo-frame .hero-evening-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.hero[data-light="evening"] .hero-evening-image { opacity: 1; }
.light-switch { display: flex; align-items: center; justify-content: center; gap: 12px; width: fit-content; max-width: 100%; margin: 18px auto 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: 28px; background: transparent; color: var(--text); font-size: 1rem; cursor: pointer; transition: color .8s, border-color .8s; }
.light-switch[hidden] { display: none; }
.light-switch:disabled { opacity: .6; cursor: wait; }
.light-switch > svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--gold-2); }
.light-switch-track { position: relative; width: 30px; height: 18px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 12px; background: #e3dfd2; transition: background .6s; }
.light-switch-track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 10px; height: 10px; border-radius: 50%; background: #fffdf6; box-shadow: 0 1px 3px #0002; transition: transform .4s; }
.light-switch[aria-pressed="true"] .light-switch-track { background: #ae8445; }
.light-switch[aria-pressed="true"] .light-switch-track::after { transform: translateX(12px); }
.hero[data-light="evening"] .hero-contact { background: rgba(255,248,220,.04); }
.hero[data-light="evening"] .hero-contact:hover { background: rgba(255,248,220,.09); }
.hero[data-light="evening"] .hero-secondary:hover { background: #383b30; }
.hero-bottom { display: flex; align-items: center; justify-content: flex-end; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 1rem; }
.content-section { padding: 100px 0; scroll-margin-top: 24px; }
h2 { margin: 18px 0 24px; font-size: clamp(36px, 4.2vw, 60px); line-height: 1.08; letter-spacing: -0.04em; }
h3 { margin: 12px 0; font-size: 19px; line-height: 1.4; font-weight: 500; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.founders-photo img { height: auto; object-position: center; border-radius: 4px; }
.founders-photo figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 15px; font-size: 1rem; }
.draft-label { color: var(--muted); font-size: 1rem; }
.about-copy > p:not(.section-kicker) { color: var(--muted); font-size: 18px; line-height: 1.9; margin-bottom: 18px; }
.about-copy > .large-copy { font-size: 20px !important; color: var(--text) !important; line-height: 1.6 !important; }
.mission-signature { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); font-family: Georgia, serif; font-size: 23px; }
.mission-signature .brand-name { display: block; }
.mission-tagline { display: block; font-family: 'Avenir Next', 'Trebuchet MS', sans-serif; color: var(--muted); font-size: 1rem; margin-top: 8px; }
.catalog { background: #eae8de; }
.section-heading { display: flex; justify-content: space-between; gap: 64px; align-items: end; margin-bottom: 42px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 330px; font-size: 18px; line-height: 1.9; color: var(--muted); }
.catalog-grid { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 52px) / 3); gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--gold-2) transparent; padding-bottom: 20px; }
.catalog-card { scroll-snap-align: start; min-width: 0; }
.slider-controls { display: flex; align-items: center; justify-content: flex-end; gap: 24px; margin-bottom: 20px; }
.slider-controls[hidden] { display: none; }
.slider-count { font-size: 1rem; letter-spacing: 0.12em; color: var(--muted); }
.slider-buttons { display: flex; gap: 10px; }
.slider-arrow { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--text); font-size: 22px; cursor: pointer; transition: background 0.2s ease; }
.slider-arrow:hover:not(:disabled) { background: var(--bg); }
.slider-arrow:disabled { opacity: 0.3; cursor: default; }
.catalog-media { position: relative; overflow: hidden; border-radius: 4px; }
.catalog-media img { aspect-ratio: 4 / 5; }
.product-hotspot { position: absolute; width: 44px; height: 44px; transform: translate(-50%, -50%); visibility: hidden; z-index: 1; }
.product-hotspot.is-positioned { visibility: visible; }
.product-hotspot.is-open { z-index: 3; }
.product-pin { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; border-radius: 50%; cursor: pointer; }
.product-pin span { position: relative; display: block; width: 22px; height: 22px; border: 1px solid rgba(255,255,255,0.85); border-radius: 50%; background: rgba(59,66,52,0.3); box-shadow: 0 2px 12px rgba(0,0,0,0.2); backdrop-filter: blur(3px); transition: transform 0.3s ease, background 0.3s ease; }
.product-pin span::before { content: ""; position: absolute; inset: 6px; background: #fffaf0; border-radius: 50%; }
.product-pin span::after { content: ""; position: absolute; inset: -7px; border: 1px solid rgba(255,255,255,0.55); border-radius: 50%; animation: product-pulse 3s ease-out infinite; }
.product-hotspot.is-open .product-pin span { transform: scale(1.2); background: var(--gold-2); }
.product-pin:focus-visible { outline: 2px solid #fffaf0; outline-offset: 2px; }
.product-tooltip { position: absolute; left: var(--tooltip-left, 0px); top: var(--tooltip-top, 50px); width: 200px; box-sizing: border-box; padding: 17px 18px; border: 1px solid rgba(148,112,59,0.2); border-radius: 6px; background: rgba(255,252,245,0.97); color: var(--text); box-shadow: 0 12px 32px rgba(24,29,20,0.2); opacity: 0; visibility: hidden; transform: translateY(7px) scale(0.96); transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.2,0.8,0.2,1), visibility 0.25s; pointer-events: none; }
.product-hotspot.is-open .product-tooltip { opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events: auto; }
.product-tooltip strong { display: block; font-family: inherit; font-size: 16px; font-weight: 500; line-height: 1.3; }
.product-price { display: block; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 16px; color: var(--gold-2); }
.product-price del { display: inline-block; margin-left: 5px; color: var(--muted); font-size: 1rem; }
.product-shop-link { display: inline-block; margin-top: 8px; color: var(--gold-2); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@keyframes product-pulse { 0% { transform: scale(0.75); opacity: 0.8; } 75%, 100% { transform: scale(1.4); opacity: 0; } }
.catalog-body { padding: 22px 0 0; }
.photo-number { font-size: 1rem; letter-spacing: 0.1em; color: var(--muted); }
.catalog-body p { font-size: 16px; line-height: 1.8; color: var(--muted); }
.selection-section { background: #faf8f2; }
.selection-heading { max-width: 760px; margin: 0 auto 70px; text-align: center; }
.selection-heading > p:last-child { max-width: 560px; margin: 0 auto; color: var(--muted); font-size: 18px; line-height: 1.8; }
.selection-steps { list-style: none; margin: 0; padding: 0; }
.selection-step { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1fr); gap: 42px; padding: 0 0 70px; }
.selection-step:not(:last-child)::before { content: ''; position: absolute; top: 64px; bottom: 0; left: 31px; width: 1px; background: var(--line); }
.selection-step:last-child { padding-bottom: 0; }
.selection-number { display: flex; align-items: center; justify-content: center; flex-shrink: 0; line-height: 1; font-variant-numeric: lining-nums tabular-nums; position: relative; width: 64px; height: 64px; border: 1px solid var(--gold-2); border-radius: 50%; color: var(--gold-2); font-family: inherit; font-size: 30px; background: #faf8f2; }
.selection-copy h3 { font-family: Georgia, serif; font-weight: 400; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.2; margin: 8px 0 20px; }
.selection-copy p, .visit-copy > p:not(.section-kicker) { color: var(--muted); font-size: 18px; line-height: 1.9; }
.selection-phone { display: inline-block; margin-top: 22px; font-size: 21px; }
.selection-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn-outline { border: 1px solid var(--line); background: transparent; color: var(--text); }
.btn-outline:hover { background: var(--bg); }
.brief-form { margin-top: 18px; }
.brief-form summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; cursor: pointer; list-style: none; }
.brief-form summary::-webkit-details-marker { display: none; }
.brief-form summary span { font-size: 22px; transition: transform 0.2s; }
.brief-form[open] summary span { transform: rotate(45deg); }
.brief-form .form-card { margin-top: 18px; }
.requirements-note { align-self: start; margin-top: 8px; padding: 32px 36px; border-left: 2px solid var(--gold-2); }
.requirements-note blockquote { margin: 0; font-family: Georgia, serif; font-size: clamp(24px, 2.4vw, 34px); font-weight: 400; line-height: 1.4; color: var(--text); }
.selection-step.selection-step-complete { grid-template-columns: 70px minmax(0, 1fr); padding-top: 20px; }
.order-success { min-width: 0; width: 100%; max-width: 720px; justify-self: center; text-align: center; }
.order-success-mark { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto; border: 1px solid #bcc3a9; border-radius: 50%; color: var(--olive); background: #e4e8d9; }
.order-success-mark svg { width: 32px; height: 32px; }
.order-success h3 { margin: 24px 0 0; font-family: Georgia, serif; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.25; font-weight: 400; }
.order-success .text-link { display: inline-block; margin-top: 20px; color: var(--gold-2); font-size: 16px; line-height: 1.6; }
.selection-copy .selection-note { margin-top: 20px; color: var(--gold-2); }
.selection-preview { align-self: start; margin: 8px 0 0; min-width: 0; border: 1px solid var(--line); border-radius: 16px; background: #f8f7f3; box-shadow: 0 16px 40px rgba(59,66,52,0.08); overflow: hidden; }
.preview-bar { display: flex; align-items: center; gap: 10px; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 1rem; font-weight: 600; }
.preview-bar img { width: 30px; height: 30px; object-fit: contain; }
.preview-bar small { display: block; margin-top: 3px; font-size: 1rem; font-weight: 400; color: var(--muted); }
.preview-content { padding: 22px; }
.preview-content h4 { font-family: inherit; font-weight: 400; font-size: 25px; line-height: 1.2; margin: 0 0 20px; }
.preview-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.preview-product { min-width: 0; overflow: hidden; border: 1px solid #e7e5df; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(40,35,25,0.04); }
.preview-products img { height: 170px; object-fit: contain; padding: 8px; background: #eeece6; }
.preview-product-info { padding: 12px; }
.preview-product-info > span { display: block; font-size: 1rem; line-height: 1.5; }
.preview-product-info > strong { display: block; margin-top: 8px; font-size: 22px; font-weight: 400; }
.preview-product-bottom { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px solid #eeece6; }
.preview-product-bottom small { font-size: 1rem; color: var(--muted); }
.preview-select { padding: 6px 10px; border: 1px solid #e7e5df; border-radius: 7px; font-size: 1rem; }
.selection-preview figcaption { padding: 0 22px 18px; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.selection-copy .text-link { display: inline-block; margin-top: 20px; color: var(--gold-2); }
.visit-section { background: #eae8de; }
.visit-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: start; }
.visit-copy .text-link { display: inline-block; margin-top: 24px; }
.visit-grid .contact-card { padding-top: 0; border-bottom: 0; }
.portfolio-placeholder { display: flex; align-items: start; gap: 32px; padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.portfolio-placeholder-number { color: var(--gold-2); font-family: Georgia, serif; font-size: 34px; }
.portfolio-placeholder h3 { margin-top: 0; }
.portfolio-placeholder p { max-width: 560px; color: var(--muted); font-size: 18px; line-height: 1.8; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; list-style: none; padding: 0; margin: 48px 0 0; }
.steps li { border-top: 1px solid var(--line); padding-top: 24px; }
.step-number { color: var(--gold-2); font-family: Georgia, serif; font-size: 36px; }
.steps h3 { margin: 20px 0 12px; }
.steps p { color: var(--muted); font-size: 16px; line-height: 1.9; }
.contacts { background: #eae8de; }
.contacts-head { margin-bottom: 40px; }
.contacts-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
.contact-cards { display: grid; gap: 18px; }
.contact-card { padding: 20px 0; border-bottom: 1px solid #cccdbf; text-align: left; background: none; color: var(--text); border-top: 0; border-left: 0; border-right: 0; }
.contact-card-button { cursor: pointer; }
.contact-label, .form-kicker { color: var(--muted); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; }
.contact-value { margin-top: 8px; font-size: 20px; line-height: 1.5; }
.store-location-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.map-link { margin-left: auto; font-size: 1rem; color: var(--olive); padding: 8px 0; }
.map-link:hover { color: var(--gold-2); }
.store-map { margin-top: 22px; }
#store-location { scroll-margin-top: 24px; }
.store-map-frame { border-radius: 4px; overflow: hidden; background: var(--bg); }
.store-map iframe { display: block; width: 100%; height: 310px; border: 0; }
.form-card { background: var(--bg); padding: 34px; border-radius: 4px; }
.form-title { font-family: Georgia, serif; font-size: 32px; line-height: 1.2; margin-top: 15px; }
.form-grid { display: grid; gap: 14px; margin-top: 26px; }
.form-status { margin: 0; font-size: 16px; line-height: 1.7; color: var(--muted); }
.form-status:empty { display: none; }
.form-status[data-state="error"] { color: #963f2f; }
.form-status[data-state="success"] { color: var(--olive); }
.field, .textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 14px 0; font-size: 16px; border-radius: 0; color: var(--text); }
.textarea { min-height: 110px; resize: vertical; }
.field::placeholder, .textarea::placeholder { color: var(--muted); opacity: 1; }
.designers-section { --text: #fffaf0; --muted: #d3d6c7; --line: #626956; --gold-2: #e0bf86; background: #353d30; color: var(--text); }
.designers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 90px; }
.designers-intro { max-width: 560px; }
.designers-intro h2 { font-size: clamp(36px, 3.8vw, 56px); line-height: 1.15; }
.designers-intro h2 em { color: #e0bf86; font-weight: 400; }
.designers-description { max-width: 440px; color: var(--muted); font-size: 18px; line-height: 1.8; }
.designers-services { list-style: none; margin: 0; padding: 0; }
.designers-services li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.designers-services li:first-child { padding-top: 22px; }
.designers-services li:last-child { padding-bottom: 0; }
.designers-number { color: #e0bf86; font-family: Georgia, serif; font-size: 23px; line-height: 1.4; }
.designers-services h3 { margin: 0 0 12px; font-size: 21px; line-height: 1.45; font-weight: 500; }
.designers-services p { color: var(--muted); font-size: 16px; line-height: 1.8; }
.designers-contact { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-top: 32px; border-top: 1px solid var(--line); }
.designers-action { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.designers-button { background: #e0bf86; color: #292e23; padding: 18px 24px; border-radius: 30px; text-align: center; }
.designers-button:hover { background: #efd4a6; }
.designers-channel { color: var(--muted); font-size: 1rem; }
.designers-phone { font-size: 20px; white-space: nowrap; }
.designers-phone span { display: block; color: var(--muted); font-size: 1rem; }
.designers-phone:hover { color: #e0bf86; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-block: 32px; font-size: 1rem; color: var(--muted); }
.site-footer .brand-name { font-size: 16px; color: var(--text); }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%) translateY(12px); z-index: 100; pointer-events: none; background: var(--olive); color: white; padding: 14px 20px; border-radius: 4px; font-size: 18px; opacity: 0; transition: opacity 0.2s, transform 0.2s; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (max-width: 1100px) {
  .designers-grid { column-gap: 48px; }
  .container { width: calc(100% - 48px); }
  .hero-grid { gap: 32px; }
  .hero-actions { gap: 16px; }
  .about-grid, .ideas-grid { gap: 48px; }
  .topbar { flex-wrap: wrap; gap: 20px; }
  .topbar nav { order: 3; width: 100%; flex-wrap: wrap; gap: 16px 24px; }
  .hero-contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-contact:last-child { grid-column: 1 / -1; }
  .contacts-grid { gap: 32px; }
}
@media (max-width: 760px) {
  .designers-grid { grid-template-columns: 1fr; gap: 36px; }
  .designers-intro, .designers-description { max-width: none; }
  .designers-services li { gap: 18px; padding-block: 24px; }
  .designers-contact { align-items: flex-start; padding-top: 28px; }
  .designers-action { width: 100%; gap: 12px; }
  .designers-button { width: 100%; padding-inline: 18px; gap: 12px; }
  .selection-heading { text-align: left; margin-bottom: 40px; }
  .selection-step { grid-template-columns: 44px minmax(0, 1fr); gap: 20px; padding-bottom: 48px; }
  .selection-step.selection-step-complete { grid-template-columns: 44px minmax(0, 1fr); }
  .selection-number { width: 44px; height: 44px; font-size: 24px; }
  .selection-step:not(:last-child)::before { left: 21px; top: 44px; }
  .selection-step > aside, .selection-step > figure { grid-column: 2; }
  .requirements-note { padding: 18px 0 18px 20px; }
  .order-success h3 br { display: none; }
  .preview-content { padding: 16px; }
  .preview-products { grid-template-columns: 1fr; gap: 16px; }
  .preview-product { display: grid; grid-template-columns: 90px minmax(0, 1fr); }
  .preview-products img { height: 100%; min-height: 130px; }
  .visit-grid { grid-template-columns: 1fr; gap: 36px; }
  .container { width: calc(100% - 36px); }
  .topbar { flex-wrap: wrap; gap: 20px; padding: 20px 0; }
  .topbar nav { order: 3; width: 100%; flex-wrap: wrap; justify-content: space-between; gap: 12px 16px; font-size: 16px; }
  .header-phone { font-size: 16px; }
  .hero-grid, .about-grid, .ideas-grid, .contacts-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 38px; gap: 38px; }
  .hero-contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-contact:last-child { grid-column: 1 / -1; }
  .hero-actions .btn { flex: 1 1 auto; }
  h1 { font-size: clamp(55px, 12vw, 82px); }
  .hero-photo { width: min(100%, 360px); }
  .hero-bottom { font-size: 1rem; }
  .content-section { padding: 64px 0; }
  .about-grid { gap: 36px; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading > p { margin-top: 24px; }
  .catalog-grid { grid-auto-columns: 100%; gap: 18px; }
  .catalog-media img { aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .form-card { padding: 24px; }
  .site-footer { flex-wrap: wrap; font-size: 1rem; }
  .store-map iframe { height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


/* Интернет-магазин */
.cart-trigger { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 30px; background: transparent; color: inherit; white-space: nowrap; cursor: pointer; font-size: 1rem; }
.cart-trigger:hover { border-color: var(--gold-2); }
.cart-trigger [data-cart-count] { display: grid; place-items: center; min-width: 26px; min-height: 26px; padding: 0 5px; border-radius: 30px; background: var(--olive); color: white; font-size: 1rem; line-height: 1; font-variant-numeric: tabular-nums; }
.shop-header { display:flex; align-items:center; gap:32px; padding-block:24px; border-bottom:1px solid var(--line); }
.shop-header .shop-back { margin-left:auto; font-size:1rem; }
.shop-main { padding-block: 80px 110px; }
.shop-intro { display:flex; justify-content:space-between; gap:40px; align-items:end; padding-bottom:48px; }
.shop-intro h1 { font-size:clamp(46px,6vw,82px); line-height:1.08; letter-spacing:-.04em; margin:16px 0 0; }
.shop-dot { color:#a77b37; }
.shop-intro > p { max-width:320px; color:var(--muted); font-size:16px; }
.shop-toolbar { display:flex; flex-wrap:wrap; align-items:end; gap:20px; padding:22px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); margin-bottom:30px; }
.shop-toolbar label { display:grid; gap:5px; color:var(--muted); font-size:1rem; letter-spacing:.08em; text-transform:uppercase; }
.shop-toolbar select { min-width:200px; padding:10px 38px 10px 14px; border:1px solid var(--line); border-radius:24px; color:var(--text); background:#faf8f2; font:inherit; font-size:1rem; letter-spacing:0; text-transform:none; }
.shop-toolbar > p { margin-left:auto; color:var(--muted); font-size:1rem; }
.shop-toolbar .shop-search { flex:1 1 100%; min-width:0; }
.shop-search input { box-sizing:border-box; width:100%; min-width:0; padding:10px 14px; border:1px solid var(--line); border-radius:24px; color:var(--text); background:#faf8f2; font:inherit; letter-spacing:0; text-transform:none; }
.shop-products-list { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:28px 20px; }
.shop-product { min-width:0; background:#faf8f2; border:1px solid #e4dfd3; border-radius:12px; overflow:hidden; transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.shop-product:hover { transform:translateY(-6px); box-shadow:0 16px 40px #3b312016; border-color:#cbb995; }
.shop-product-media { position:relative; display:grid; place-items:center; aspect-ratio:1; overflow:hidden; background:#eae7dc; color:#898679; font-family:Georgia,serif; }
.shop-product-media img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }

.shop-product-body { padding:22px; display:flex; flex-direction:column; align-items:flex-start; }
.shop-product-category { width:100%; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; font-size:1rem; }
.shop-product-body h2 { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; overflow-wrap:anywhere; width:100%; height:2.4em; margin:8px 0 14px; font-family:Georgia,serif; font-size:25px; letter-spacing:-.02em; line-height:1.2; }
.shop-product-price { font-size:17px; font-weight:600; }
.shop-add { width:100%; margin-top:20px; border:1px solid #cfc7b8; border-radius:30px; background:transparent; color:var(--text); justify-content:space-between; }
.shop-add:hover:not(:disabled) { background:var(--olive); color:white; border-color:var(--olive); }
.shop-add:disabled { opacity:.5; cursor:default; }
.shop-footer { padding-block:30px; border-top:1px solid var(--line); display:flex; flex-wrap:wrap; gap:8px 16px; justify-content:space-between; font-size:1rem; color:var(--muted); }
.cart-dialog { position:fixed; inset:0 0 0 auto; width:min(480px,calc(100% - 20px)); max-width:none; height:calc(100% - 24px); max-height:none; margin:12px; padding:0; border:0; border-radius:20px; background:#faf8f2; color:var(--text); box-shadow:0 20px 70px #1d211b38; }
.cart-dialog::backdrop { background:rgba(28,31,24,.46); }
.cart-panel { height:100%; display:flex; flex-direction:column; padding:30px; }
.cart-heading { display:flex; justify-content:space-between; align-items:start; gap:20px; padding-bottom:22px; border-bottom:1px solid var(--line); }
.cart-heading h2 { margin:8px 0 0; font-size:42px; }
.cart-close { width:42px; height:42px; border:1px solid var(--line); border-radius:50%; background:transparent; cursor:pointer; font-size:28px; line-height:1; }
.cart-body { flex:0 1 auto; overflow:auto; padding-top:24px; }
.cart-empty { color:var(--muted); font-size:16px; }
.cart-items { list-style:none; padding:0; margin:0; }
.cart-item { display:grid; grid-template-columns:90px 1fr; gap:16px; padding:0 0 20px; margin-bottom:20px; border-bottom:1px solid var(--line); }
.cart-item:last-child { padding-bottom:12px; margin-bottom:0; border-bottom:0; }
.cart-item-image { background:#eae7dc; border-radius:8px; overflow:hidden; aspect-ratio:4/5; }
.cart-item-image img { height:100%; object-fit:contain; }
.cart-item-content { display:flex; flex-direction:column; align-items:start; gap:5px; font-size:1.125rem; }
.cart-item-controls { display:flex; align-items:center; gap:16px; margin-top:auto; }
.cart-item-controls input { width:58px; border:1px solid var(--line); border-radius:20px; padding:5px 8px; background:transparent; }
.cart-item-controls button { border:0; background:transparent; color:var(--muted); text-decoration:underline; cursor:pointer; font-size:1rem; }
.cart-bottom { border-top:1px solid var(--line); padding-top:18px; }
.cart-note { color:var(--muted); font-size:1.125rem; margin:12px 0 18px; }
.cart-checkout { width:100%; border-radius:30px; }
.cart-order-form .cart-checkout { margin-top:8px; }
@media (min-width:761px) and (max-width:1100px) { .shop-products-list { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:760px) { .shop-main { padding-block:48px 70px; } .shop-header { gap:16px; } .shop-header .brand-name { display:none; } .shop-intro { display:block; padding-bottom:30px; } .shop-intro > p { margin-top:18px; } .shop-toolbar { gap:12px; } .shop-toolbar label { flex:1 1 150px; } .shop-toolbar select { min-width:0; width:100%; } .shop-toolbar > p { width:100%; margin:0; } .shop-products-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; } .shop-product-body { padding:15px; } .shop-product-body h2 { font-size:20px; } .shop-add { padding:11px 14px; font-size:1rem; } .cart-panel { padding:24px; } }
@media (max-width:320px) { .shop-products-list { grid-template-columns:1fr; } }
@media (prefers-reduced-motion:reduce) { .shop-product,.shop-product-media img { transition:none; } .shop-product:hover,.shop-product:hover .shop-product-media img { transform:none; } }
.cart-payment { margin: 0 0 14px; color: var(--gold-2); font-size: 1rem; font-weight: 600; }
.cart-order-form { display: grid; gap: 10px; }
.cart-order-form label { display: grid; gap: 3px; font-size: 1rem; color: var(--muted); }
.cart-order-form label span { font-weight: 400; }
.cart-order-form input, .cart-order-form textarea { width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fffdf8; color: var(--text); font-size: 16px; }
.cart-order-form textarea { resize: vertical; }
.cart-order-status { font-size: 1rem; color: var(--olive); }
.cart-order-status:empty { display: none; }
.cart-panel { overflow-y: auto; }
.cart-body { min-height: 60px; }

.order-confirmation { width: min(520px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: 20px; background: #faf8f2; color: var(--text); box-shadow: 0 20px 70px #1d211b38; }
.order-confirmation::backdrop { background: rgba(28,31,24,.46); }
.order-confirmation-content { padding: clamp(24px, 5vw, 40px); }
.order-confirmation h2 { margin: 10px 0 20px; font-size: clamp(32px, 5vw, 44px); }
.order-confirmation-content > p:not(.section-kicker) { color: var(--muted); font-size: 1rem; }
.order-confirmation dl { margin: 24px 0; border-block: 1px solid var(--line); }
.order-confirmation dl div { padding: 12px 0; }
.order-confirmation dt { color: var(--muted); font-size: 1rem; }
.order-confirmation dd { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.order-confirmation-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.order-confirmation-actions .btn { border-radius: 30px; }
.order-copy-status:empty { display: none; }

/* Категории и сортировка каталога */
.shop-filter { display: grid; gap: 5px; }
.shop-filter-label { color: var(--muted); font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.shop-toolbar select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #515448 50%), linear-gradient(135deg, #515448 50%, transparent 50%); background-position: calc(100% - 21px) center, calc(100% - 16px) center; background-size: 5px 5px; background-repeat: no-repeat; }
.shop-toolbar select[hidden] { display: none; }
.custom-select { position: relative; min-width: 200px; z-index: 2; }
.custom-select.is-open { z-index: 5; }
.custom-select-trigger { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 24px; background: #faf8f2; color: var(--text); font-size: 1rem; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.custom-select-trigger:hover, .custom-select.is-open .custom-select-trigger { border-color: #b8a581; background: #fffdf8; }
.custom-select-arrow { flex: none; width: 8px; height: 8px; margin: -4px 3px 0 0; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .25s ease, margin .25s ease; }
.custom-select.is-open .custom-select-arrow { transform: rotate(225deg); margin-top: 4px; }
.custom-select-list { position: absolute; top: calc(100% + 8px); left: 0; width: 100%; max-height: 260px; overflow-y: auto; padding: 6px; border: 1px solid #e0d9cb; border-radius: 16px; background: #fffdf8; box-shadow: 0 14px 32px #29291f1a; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.custom-select.is-open .custom-select-list { opacity: 1; visibility: visible; transform: translateY(0); }
.custom-select-option { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--text); font-size: 1rem; text-align: left; cursor: pointer; }
.custom-select-option:hover, .custom-select-option:focus-visible { outline: none; background: #f1ede3; }
.custom-select-option[aria-selected="true"] { color: var(--gold-2); background: #f4eee1; }
@media (max-width: 760px) { .shop-toolbar .shop-filter { flex: 1 1 150px; min-width: 0; } .shop-toolbar .custom-select { min-width: 0; } }
@media (prefers-reduced-motion: reduce) { .custom-select-list, .custom-select-arrow { transition: none; } }

.shop-product-image-button { position:absolute; right:10px; bottom:10px; display:grid; place-items:center; width:44px; height:44px; padding:0; border:1px solid var(--line); border-radius:50%; background:#faf8f2; color:var(--text); cursor:zoom-in; }
.shop-product-image-button:hover { border-color:var(--gold-2); }
.shop-product-image-button:focus-visible { outline:2px solid var(--gold-2); outline-offset:2px; }
.product-viewer { width:min(960px, calc(100% - 32px)); max-width:none; height:min(820px, calc(100% - 32px)); max-height:none; padding:0; border:0; border-radius:20px; background:#faf8f2; color:var(--text); box-shadow:0 20px 70px #1d211b38; }
.product-viewer::backdrop { background:rgba(28,31,24,.72); }
.product-viewer-panel { display:flex; flex-direction:column; height:100%; padding:20px; }
.product-viewer-header, .product-viewer-controls { display:flex; align-items:center; gap:12px; }
.product-viewer-controls { flex-wrap:wrap; }
.product-viewer-title { flex:1; font-family:Georgia,serif; font-size:20px; line-height:1.3; }
.product-viewer-close, .product-viewer-controls button { border:1px solid var(--line); background:transparent; color:var(--text); cursor:pointer; }
.product-viewer-close, .product-viewer-prev, .product-viewer-next { flex:none; width:42px; height:42px; border-radius:50%; font-size:22px; line-height:1; }
.product-viewer-viewport { flex:1; min-height:0; margin:14px 0; display:flex; align-items:center; justify-content:center; overflow:auto; border-radius:12px; background:#eae7dc; }
.product-viewer-viewport img { width:100%; height:100%; object-fit:contain; }
.product-viewer-viewport.is-zoomed { display:block; }
.product-viewer-viewport.is-zoomed img { display:block; width:200%; height:auto; max-width:none; }
.product-viewer-controls button:disabled { opacity:.3; cursor:default; }
.product-viewer-count { min-width:42px; text-align:center; font-size:1rem; color:var(--muted); }
.product-viewer-zoom { margin-left:auto; border-radius:24px; padding:9px 16px; font-size:1rem; }
@media (max-width:600px) { .product-viewer-panel { padding:14px; } .product-viewer-title { font-size:17px; } }
.product-viewer-viewport.is-zoomed { cursor:grab; overscroll-behavior:contain; }
.product-viewer-viewport.is-zoomed.is-dragging { cursor:grabbing; user-select:none; }
.product-viewer-viewport img { -webkit-user-drag:none; user-select:none; }

.shop-product { cursor:pointer; }
.shop-product-title-button { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; overflow-wrap:anywhere; width:100%; padding:0; border:0; background:transparent; color:inherit; font:inherit; letter-spacing:inherit; line-height:inherit; text-align:left; cursor:pointer; }
.product-details .cart-panel { overflow:hidden; }
.product-details .cart-heading { align-items:center; }
.product-details-body { flex:1; min-height:0; overflow-y:auto; padding:20px 0; }
.product-details-image { display:block; position:relative; width:100%; padding:0; border:0; border-radius:12px; overflow:hidden; background:#eae7dc; aspect-ratio:1; cursor:zoom-in; }
.product-details-image[hidden] { display:none; }
.product-details-image img { width:100%; height:100%; object-fit:contain; }
.product-details-image span { position:absolute; bottom:12px; right:12px; border-radius:20px; padding:7px 12px; background:#faf8f2ed; font-size:1rem; }
.product-details-category { margin-top:20px; color:var(--muted); font-size:1rem; letter-spacing:.1em; text-transform:uppercase; }
.product-details h2 { margin:8px 0 16px; font-size:clamp(28px,3vw,38px); overflow-wrap:anywhere; }
.product-details-price { font-size:22px; font-weight:600; }
.product-details-availability { margin-top:8px; color:var(--muted); font-size:1rem; }
.product-details-description { margin-top:24px; padding-top:20px; border-top:1px solid var(--line); color:var(--muted); font-size:16px; white-space:pre-wrap; overflow-wrap:anywhere; }
.product-details-bottom { border-top:1px solid var(--line); padding-top:18px; }
.product-details-add { width:100%; border-radius:30px; }
.product-details-copy { width:100%; margin-top:10px; border-radius:30px; }
.product-details-status { color:var(--olive); font-size:1rem; text-align:center; }
.product-details-status:empty { display:none; }

.shop-product.shop-product-skeleton { pointer-events:none; }
.shop-product-skeleton .shop-product-body > * {
  display:block;
  background:#eae7dc;
  border-radius:6px;
}
.shop-product-skeleton .shop-product-body > span:first-child { width:40%; height:1.6rem; }
.shop-product-skeleton .shop-product-body > h2 { width:85%; }
.shop-product-skeleton .shop-product-body > strong { width:45%; height:25px; }
.shop-product-skeleton .shop-product-body > .shop-skeleton-action {
  width:100%;
  height:48px;
  margin-top:20px;
  border-radius:30px;
}

html:has(.cart-dialog[open]) {
  overflow: hidden;
  overscroll-behavior-y: none;
}

.cart-dialog,
.cart-dialog .cart-panel {
  overscroll-behavior-y: contain;
}

.cart-dialog::backdrop {
  touch-action: none;
}

.product-details-image:disabled { cursor:default; }
.product-details-image:disabled span { display:none; }

.cart-list-summary { margin-top:6px; color:var(--muted); font-size:1.125rem; }

.cart-order-form[hidden], .cart-continue[hidden] { display:none; }
.cart-return {
  justify-self:start;
  padding:0;
  border:0;
  background:transparent;
  color:var(--olive);
  text-decoration:underline;
  cursor:pointer;
}
.cart-continue:disabled { opacity:.5; cursor:default; }

/* Страница товара */
.product-page { display:grid; grid-template-columns:minmax(0, 480px) minmax(0, 1fr); gap:clamp(28px, 5vw, 72px); align-items:start; margin:32px 0 64px; }
.product-page-images { display:grid; gap:20px; min-width:0; align-content:start; }
.product-page-images img { display:block; width:100%; height:auto; background:#f5f2eb; border-radius:12px; }
.product-page-info { min-width:0; }
.product-page-info h1 { margin:12px 0 24px; font-size:clamp(28px, 3vw, 42px); line-height:1.15; overflow-wrap:anywhere; }
.product-page-info .product-details-price { margin:0 0 12px; font-size:clamp(24px, 2.4vw, 32px); }
.product-page-availability { margin:0 0 28px; }
.product-page-description { margin:0 0 32px; white-space:pre-wrap; line-height:1.55; }
.product-page-info [data-product-add] { margin-top:4px; }
@media (max-width:700px) { .product-page { grid-template-columns:1fr; } }
