/* Демонстрации: магазин с путём заказа, отчёт по заказам, сайт ателье, карточка клиентского проекта */

/* Магазин и то, что происходит внутри бизнеса */
.playground { margin-top: 1rem; border: 1px solid rgb(242 242 237 / .14); border-radius: 18px; overflow: hidden; background: #1a1b19; color: var(--paper); box-shadow: 0 30px 80px -40px rgb(0 0 0 / .6); }
.playground .eyebrow { margin: 0; }
.playground-bar { min-height: 54px; padding: 8px 22px; display: flex; align-items: center; gap: 22px; border-bottom: 1px solid var(--line); background: #20211e; }
.live-indicator { display: flex; align-items: center; gap: 8px; font-size: 12px; white-space: nowrap; }
.live-indicator::before, .connection-label i { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.playground-hint { font-size: 12px; color: var(--muted); }
.reset-demo { margin-left: auto; display: flex; align-items: center; gap: 14px; min-height: 44px; padding: 5px 0 5px 10px; font-size: 11px; border: 0; background: none; color: #c9ccc3; white-space: nowrap; }
.reset-demo span { font-size: 22px; }
.reset-demo:hover { color: var(--accent); }
.playground-grid { display: grid; grid-template-columns: 1.65fr 1fr; }
.demo-store { background: #e9ecdf; color: #253024; min-width: 0; color-scheme: light; }
.store-toolbar { min-height: 66px; padding: 12px 30px; border-bottom: 1px solid #25302422; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.store-brand { font-size: 29px; letter-spacing: -1.5px; font-weight: 650; line-height: 1; }
.store-brand > span { font-size: 12px; vertical-align: top; line-height: 1.5; margin-left: 2px; }
.store-category { font-size: 10px; color: #69705e; }
.basket-link { font-size: 12px; border: 0; background: none; color: #253024; min-height: 44px; padding: 5px 0 5px 10px; white-space: nowrap; }
.basket-link b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border: 1px solid #25302433; border-radius: 50%; font-size: 10px; margin-left: 6px; }
.store-content { display: grid; grid-template-columns: 1.05fr 1fr; gap: 5px; padding: 29px 30px 21px; min-height: 326px; }
.store-copy { position: relative; z-index: 1; }
.store-eyebrow { font-size: 8px; letter-spacing: .11em; color: #69705e; }
.store-copy h3 { font-size: 38px; line-height: 1.03; letter-spacing: -.055em; margin-top: 13px; }
.store-copy h3 i { font-style: normal; color: #73805f; }
.store-copy > p { font-size: 11px; line-height: 1.5; color: #69705e; margin-top: 12px; }
.product-pick { display: flex; gap: 20px; align-items: center; margin-top: 16px; font-size: 12px; }
.store-add { border: 0; border-radius: 5px; min-height: 44px; padding: 8px 15px; background: #2c4029; color: #fff; font-size: 12px; display: flex; gap: 23px; align-items: center; }
.store-add:hover, .checkout-button:not(:disabled):hover { background: #40573a; }
.store-add:disabled { opacity: .5; }
.store-add span { font-size: 18px; }
.product-colors { display: flex; align-items: center; margin-top: 9px; gap: 3px; }
.color-choice { border: 0; background: none; width: 34px; height: 44px; padding: 12px 7px; position: relative; }
.color-choice::before { content: ""; display: block; width: 20px; height: 20px; border-radius: 50%; background: var(--swatch); border: 1px solid #0001; }
.color-choice[aria-pressed=true]::after { content: ""; position: absolute; inset: 9px 4px; border: 1px solid #657655; border-radius: 20px; }
.color-sage { --swatch: #8f9e7a; } .color-blue { --swatch: #637bb3; } .color-clay { --swatch: #b17a62; }
.product-colors > span { font-size: 10px; margin-left: 6px; color: #626958; }
.demo-store button:focus-visible { outline-color: #30472a; }
.product-art { position: relative; min-width: 0; height: 280px; align-self: center; --lamp-light: #b2bea0; --lamp-dark: #657655; --lamp-mid: #8f9e7a; pointer-events: none; }
.product-art[data-color=blue] { --lamp-light: #8e9dcc; --lamp-dark: #394984; --lamp-mid: #637bb3; }
.product-art[data-color=clay] { --lamp-light: #d0a18c; --lamp-dark: #875645; --lamp-mid: #b17a62; }
.product-orbit { position: absolute; width: 95%; height: 95%; border: 1px solid #73805f24; border-radius: 50%; left: 2.5%; top: 0; transform: rotate(-18deg); }
.lamp-shade { position: absolute; width: min(95%, 215px); height: 120px; border-radius: 120px 120px 9px 9px; top: 35px; left: 50%; transform: translateX(-50%); background: radial-gradient(ellipse at 27% 21%, var(--lamp-light), var(--lamp-mid) 53%, var(--lamp-dark)); box-shadow: inset -12px -7px 18px #0001, 0 7px 9px #1b29121c; border-bottom: 5px solid var(--lamp-dark); z-index: 3; }
.lamp-stem { position: absolute; top: 128px; width: 26px; height: 126px; border-radius: 6px; background: linear-gradient(90deg, var(--lamp-dark), var(--lamp-light) 45%, var(--lamp-mid)); left: 50%; transform: translateX(-50%); z-index: 2; }
.lamp-base { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); width: 116px; height: 23px; border-radius: 50%; background: linear-gradient(180deg, var(--lamp-light), var(--lamp-mid) 55%, var(--lamp-dark)); box-shadow: 0 4px 2px #33412655; z-index: 3; }
.lamp-shadow { position: absolute; bottom: 8px; left: 50%; transform: translateX(-35%); width: 180px; height: 26px; background: #2935202c; border-radius: 50%; filter: blur(10px); }
.product-art-note { position: absolute; bottom: -10px; right: 0; font-size: 8px; letter-spacing: .1em; color: #6b7563; }
.store-cart { border-top: 1px solid #25302422; padding: 15px 30px 11px; }
.store-cart:focus-visible { outline-offset: -3px; }
.cart-summary { display: flex; gap: 12px; align-items: center; min-height: 36px; font-size: 11px; margin-bottom: 10px; }
.cart-summary > span { flex: 1; }
.cart-summary strong { white-space: nowrap; font-size: 13px; font-weight: 550; }
.quantity-controls { display: flex; align-items: center; border: 1px solid #25302430; border-radius: 4px; flex-shrink: 0; }
.quantity-controls button { min-width: 36px; min-height: 40px; border: 0; background: transparent; color: #253024; font-size: 16px; }
.quantity-controls button:hover { background: #25302410; }
.quantity-controls button:disabled { opacity: .35; }
.quantity-controls output { min-width: 20px; text-align: center; font-size: 11px; }
.checkout-button { display: flex; width: 100%; align-items: center; justify-content: space-between; border: 0; border-radius: 5px; background: #2c4029; color: #fff; font-size: 13px; min-height: 48px; padding: 10px 16px; }
.checkout-button:disabled { background: #cbd1bf; color: #737c67; cursor: not-allowed; }
.checkout-button > span { font-size: 20px; }
.store-disclaimer { color: #707866; font-size: 9px; margin-top: 7px; text-align: center; }
.demo-backoffice { padding: 27px 30px 18px; min-width: 0; }
.backoffice-heading { display: flex; gap: 10px; justify-content: space-between; align-items: center; }
.backoffice-heading .eyebrow { font-size: 9px; }
.connection-label { display: flex; gap: 5px; align-items: center; font-size: 9px; color: #aab49c; }
.connection-label i { width: 4px; height: 4px; }
.demo-backoffice h3 { font-size: 29px; line-height: 1.14; letter-spacing: -.04em; margin-top: 22px; }
.backoffice-intro { font-size: 12px; line-height: 1.7; max-width: 310px; margin-top: 12px; opacity: .8; }
.demo-pipeline { padding: 0; margin: 19px 0 17px; }
.demo-pipeline li { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.step-icon { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #ffffff2a; border-radius: 7px; font-size: 10px; color: var(--muted); flex-shrink: 0; transition: border-color .35s, color .35s, background-color .35s; }
.demo-pipeline strong { display: block; font-size: 13px; font-weight: 500; line-height: 1.4; }
.demo-pipeline small { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.step-check { color: var(--accent); margin-left: auto; opacity: 0; font-size: 15px; transition: opacity .35s; }
.demo-pipeline .is-complete .step-check { opacity: 1; }
.is-complete .step-icon { border-color: #ccf46b66; color: var(--accent); background: #ccf46b0b; }
.demo-result { border: 1px solid #ffffff20; background: #ffffff03; padding: 12px 14px; border-radius: 8px; }
.result-label { font-size: 12px; color: #e2e6d9; }
.demo-result p { font-size: 12px; line-height: 1.65; margin-top: 5px; }
.demo-result.is-success { border-color: #ccf46b55; background: #ccf46b08; }
.is-success .result-label { color: var(--accent); }
.demo-receipt { margin-top: 10px; }
.demo-receipt > div { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; line-height: 1.6; padding: 2px 0; }
.demo-receipt span { color: var(--muted); }
.demo-receipt strong { font-weight: 400; text-align: right; }
.backoffice-link { display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: 12px; min-height: 44px; margin-top: 4px; color: var(--accent); }
.backoffice-link span { font-size: 18px; }
.demo-explanation { font-size: 10px; line-height: 1.6; color: #838d7b; }
@media (min-width: 1600px) { .store-content { min-height: 355px; } .store-copy h3 { font-size: 44px; } .product-art { height: 300px; } .lamp-shade { top: 40px; height: 130px; } .lamp-stem { height: 140px; top: 140px; } }
@media (max-width: 1150px) { .store-content { padding: 25px 22px 18px; } .store-toolbar, .store-cart { padding-inline: 22px; } .store-category { display: none; } .demo-backoffice { padding: 23px 22px 17px; } .demo-backoffice h3 { font-size: 26px; } .store-copy h3 { font-size: 34px; } .store-add { gap: 10px; } .product-pick { gap: 14px; } .backoffice-heading { flex-wrap: wrap; gap: 6px; } }
@media (max-width: 900px) {
  .playground-grid { grid-template-columns: 1fr; }
  .store-content { grid-template-columns: 1fr 1fr; padding: 30px 35px; min-height: 330px; }
  .store-copy h3 { font-size: 43px; }
  .store-toolbar, .store-cart { padding-inline: 35px; }
  .store-category { display: block; }
  .product-art { max-width: 300px; width: 100%; justify-self: center; }
  .product-pick { gap: 28px; }
  .demo-backoffice { padding: 28px 35px; }
  .backoffice-heading { flex-wrap: nowrap; }
  .demo-backoffice h3 { font-size: 33px; }
  .backoffice-intro { max-width: 100%; font-size: 13px; }
  .demo-pipeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .demo-pipeline li { align-items: start; flex-wrap: wrap; position: relative; }
  .demo-pipeline li > div { width: 100%; }
  .step-check { position: absolute; right: 5px; top: 13px; }
}
@media (max-width: 700px) { .playground-bar { padding-inline: 18px; gap: 15px; } .playground-hint { display: none; } }
@media (max-width: 480px) {
  .playground-bar { padding: 8px 15px; }
  .store-toolbar { padding: 12px 18px; min-height: 61px; }
  .store-category { display: none; }
  .store-content { padding: 24px 18px 18px; gap: 0; min-height: 315px; }
  .store-copy h3 { font-size: 33px; }
  .store-eyebrow { font-size: 7px; letter-spacing: .06em; white-space: nowrap; }
  .store-copy > p { font-size: 10px; }
  .product-art { height: 247px; }
  .lamp-shade { height: 96px; top: 39px; }
  .lamp-stem { top: 120px; height: 107px; width: 22px; }
  .lamp-base { width: 96px; height: 21px; bottom: 17px; }
  .lamp-shadow { width: 120px; bottom: 8px; }
  .product-art-note { font-size: 7px; bottom: -4px; }
  .product-pick { gap: 11px; font-size: 11px; margin-top: 15px; }
  .store-add { padding: 9px 10px; gap: 9px; font-size: 11px; }
  .product-colors { gap: 0; margin-top: 8px; }
  .product-colors > span { font-size: 9px; margin-left: 3px; }
  .store-cart { padding: 12px 18px 10px; }
  .cart-summary { flex-wrap: wrap; gap: 7px; }
  .cart-summary strong { font-size: 12px; }
  .demo-backoffice { padding: 24px 20px; }
  .demo-backoffice h3 { font-size: 30px; margin-top: 21px; }
  .demo-pipeline { display: block; margin: 20px 0; }
  .demo-pipeline li { flex-wrap: nowrap; align-items: center; gap: 13px; padding: 12px 0; }
  .demo-pipeline li > div { width: auto; }
  .step-check { position: static; }
  .step-icon { width: 35px; height: 35px; }
}
@media (max-width: 360px) { .store-content { padding-inline: 14px; grid-template-columns: 1.1fr 1fr; } .store-copy h3 { font-size: 29px; } .store-add { gap: 6px; padding-inline: 8px; } .product-pick { gap: 8px; } .product-colors > span { display: none; } .store-cart { padding-inline: 14px; } .cart-summary > span { flex-basis: 100%; } .cart-summary strong { margin-left: auto; } .connection-label { display: none; } .demo-backoffice { padding-inline: 17px; } .demo-backoffice h3 { font-size: 28px; } }

/* Отчёт по заказам */
.report-controls { display: flex; align-items: end; gap: 1rem; flex-wrap: wrap; }
.report-controls label { flex: 1; min-width: 12rem; }
.report-controls .pill { min-height: 48px; }
.report-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 2rem 0; }
.report-metrics > div { padding: 1.5rem; background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; }
.report-metrics span { font-size: .8rem; color: var(--muted); }
.report-metrics strong { display: block; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.3; font-weight: 500; letter-spacing: -.05em; }
.report-chart { display: flex; gap: 18px; height: 300px; align-items: end; padding: 30px 20px 38px; border-bottom: 1px solid var(--line); }
.chart-column { height: 100%; flex: 1; display: flex; flex-direction: column; justify-content: end; align-items: center; position: relative; min-width: 0; }
.chart-column b { font-size: 11px; font-weight: 400; margin-bottom: 6px; }
.chart-bar { background: linear-gradient(0deg, #617944, var(--accent)); width: 70%; min-height: 1px; border-radius: 5px 5px 0 0; transition: height .6s var(--ease); }
.chart-column > span { font-size: 10px; position: absolute; bottom: -25px; color: var(--muted); }
.table-wrap { overflow: auto; max-width: 100%; margin-top: 2.5rem; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; text-align: left; }
caption { text-align: left; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; opacity: .6; padding-bottom: 1rem; }
th, td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-weight: 500; color: var(--muted); }
td.pending { color: #f0c36b; }
td.paid { color: var(--accent); }
@media (max-width: 700px) { .report-metrics > div { padding: 1rem; } .report-chart { gap: 10px; padding-inline: 0; } }
@media (max-width: 480px) { .report-controls label { flex-basis: 100%; } .report-controls .pill { width: 100%; justify-content: center; } .report-metrics { gap: 8px; } .report-metrics > div { padding: .8rem .6rem; } .report-metrics span { font-size: .65rem; display: block; min-height: 2rem; line-height: 1.4; } .report-chart { height: 260px; gap: 7px; } .chart-column b { font-size: 9px; } .chart-column > span { font-size: 8px; } .chart-bar { width: 82%; } th, td { padding: .7rem .8rem; font-size: .8rem; } }

/* Демонстрационный сайт ателье: собственный вымышленный стиль внутри страницы */
.demo-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 6.5rem 1.4rem; }
.demo-flag { display: flex; align-items: center; gap: .6rem; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
main > .atelier { background: #eae6d9; color: #424435; padding: 35px max(7vw, 25px) 80px; font-family: Arial, sans-serif; color-scheme: light; }
.atelier h1, .atelier h2 { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.02em; line-height: 1; }
.atelier em { font-family: Georgia, serif; font-style: italic; color: #827b62; }
.atelier-nav { display: flex; justify-content: space-between; gap: 25px; font-size: 11px; letter-spacing: .1em; padding-bottom: 22px; border-bottom: 1px solid #42443530; }
.atelier-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 65px 0; }
.atelier-kicker { font-size: 10px; letter-spacing: .14em; }
.atelier-hero h1 { font-size: clamp(45px, 6vw, 85px); line-height: .96; margin: 30px 0; }
.atelier-hero p { color: #6f6e5d; font-size: 14px; max-width: 320px; line-height: 1.8; }
.atelier-button { display: inline-block; margin-top: 27px; padding: 13px 0; border-bottom: 1px solid #77785d; font-size: 13px; }
.room-art { height: 480px; background: #b5af9a; position: relative; overflow: hidden; }
.room-window { position: absolute; left: 13%; top: 0; width: 38%; height: 70%; background: linear-gradient(135deg, #dbd6ba, #eee9d4); box-shadow: 20px 15px 40px #eee5c66b; }
.room-window::after { content: ""; position: absolute; left: 50%; width: 6px; height: 100%; background: #aaa18a; }
.room-floor { position: absolute; bottom: 0; width: 100%; height: 26%; background: #8d8775; transform: skewY(-7deg); transform-origin: bottom left; }
.room-sun { position: absolute; width: 210px; height: 210px; border-radius: 50%; background: #e2d8b5; right: -50px; top: 90px; filter: blur(35px); opacity: .4; }
.room-pedestal { position: absolute; width: 140px; height: 170px; bottom: 35px; left: 37%; background: linear-gradient(90deg, #c5bca6, #e8dfc7 50%, #b4ab94); z-index: 2; }
.room-vase { position: absolute; width: 78px; height: 130px; left: calc(37% + 31px); bottom: 205px; background: linear-gradient(90deg, #706c53, #a09b7b 50%, #67654c); border-radius: 27% 27% 35% 35%; z-index: 3; }
.room-vase::before { content: ""; position: absolute; top: -16px; left: 18px; width: 42px; height: 24px; background: #8c886c; border-radius: 8px 8px 0 0; }
.room-art > span { position: absolute; z-index: 4; bottom: 20px; left: 20px; font-size: 11px; color: #eae6d9; }
.atelier-facts { display: flex; justify-content: space-between; gap: 20px; border-block: 1px solid #42443530; padding: 23px 0; font-size: 12px; color: #6f6e5d; }
.atelier-about { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 80px 0; }
.atelier-about h2, .atelier-contact h2 { font-size: clamp(35px, 4vw, 55px); }
.atelier-about p { font-size: 15px; line-height: 1.9; color: #6f6e5d; max-width: 400px; }
.atelier-contact { text-align: center; padding: 65px 0 0; border-top: 1px solid #42443530; }
.atelier-contact h2 { margin: 25px 0; }
.atelier-contact p { color: #6f6e5d; font-size: 14px; }
@media (max-width: 900px) { .atelier-hero { gap: 30px; } .room-art { height: 400px; } }
@media (max-width: 700px) { main > .atelier { padding-inline: 25px; } .atelier-nav { font-size: 9px; } .atelier-hero { grid-template-columns: 1fr; padding-top: 40px; gap: 35px; } .atelier-hero h1 { font-size: 56px; } .room-art { height: 380px; } .atelier-facts { flex-wrap: wrap; gap: 12px; font-size: 11px; } .atelier-about { grid-template-columns: 1fr; gap: 25px; padding-block: 55px; } .atelier-contact { padding-top: 45px; } .atelier-about h2, .atelier-contact h2 { font-size: 36px; } }
@media (max-width: 480px) { .atelier-nav > a { max-width: 110px; text-align: right; line-height: 1.5; } }

/* Клиентский проект на странице работ */
.case { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 5vw, 4rem); align-items: end; }
.case-visual { display: block; overflow: hidden; border-radius: 18px; background: var(--ink-2); }
.case-visual img { width: 100%; aspect-ratio: 1265 / 712; object-fit: cover; transition: transform 1.2s var(--ease); }
.case:hover .case-visual img { transform: scale(1.03); }
.case-meta { display: grid; gap: 1.2rem; padding-bottom: .5rem; }
.case-meta .eyebrow { margin: 0; }
.case-meta p { font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.35; letter-spacing: -.02em; }
.case-meta .link-arrow { justify-self: start; }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } }
