:root {
  color-scheme: light;
  --page: #171615;
  --surface: #fff;
  --ink: #25221f;
  --muted: #625d57;
  --page-ink: #f7f2e9;
  --page-muted: #cbc2b5;
  --page-accent: #e7c99b;
  --line: #e3dfda;
  --accent: #d9b982;
  --strong: #211d19;
  --accent-hover: #eed0a1;
  --radius: 8px;
  font-family: Inter, 'Segoe UI', system-ui, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  background: var(--page);
  color: var(--page-ink);
  text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { min-width: 0; min-height: 100vh; margin: 0; display: flex; flex-direction: column; }
main { flex: 1; }
h1, h2, h3, p, dl, dd { margin: 0; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .57; }
a { color: inherit; }
:focus-visible { outline: 3px solid #89511c; outline-offset: 4px; }
.icon { width: 20px; height: 20px; flex: none; }
.wrap { width: min(100% - 80px, 1200px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 5; top: 10px; left: 10px; padding: 12px 18px; border-radius: 6px; background: var(--accent); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.store-notice { border-bottom: 1px solid #3a352e; background: #25221e; color: #e8dfd2; }
.store-notice-inner { display: grid; min-height: 33px; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; font-size: .84rem; font-weight: 620; }
.store-notice-perks { display: flex; grid-column: 2; justify-content: center; flex-wrap: wrap; gap: 3px 25px; }
.store-notice-perks span { display: inline-flex; min-width: 0; align-items: center; gap: 6px; }
.store-notice-perks .icon { width: 16px; height: 16px; color: var(--page-accent); }
.store-notice-demo { grid-column: 3; justify-self: end; color: var(--page-accent); font-size: .78rem; text-align: end; }

.site-header { background: #201e1b; color: var(--page-ink); }
.header-inner { display: grid; grid-template-areas: 'brand search account'; grid-template-columns: minmax(175px, 1fr) minmax(200px, 460px) minmax(260px, 1fr); align-items: center; gap: 28px; min-height: 83px; }
.site-header .header-inner :focus-visible { outline-color: var(--page-accent); }
.site-footer :focus-visible { outline-color: var(--accent); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; color: inherit; text-decoration: none; }
.brand-mark { display: grid; flex-shrink: 0; place-items: center; width: 43px; height: 43px; color: var(--page-accent); }
.brand-mark img, .department-stamp img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-name { display: block; color: var(--page-ink); font-family: Georgia, 'Times New Roman', serif; font-size: 1.16rem; font-weight: 700; line-height: 1.06; }
.brand-name strong { display: block; margin-top: 3px; color: var(--page-accent); font-family: Inter, 'Segoe UI', system-ui, sans-serif; font-size: .72rem; font-weight: 720; letter-spacing: .12em; text-transform: uppercase; }
.site-header .brand { grid-area: brand; justify-self: start; gap: 11px; }
.site-header .brand-mark { width: 55px; height: 55px; }
.site-header .brand-name { font-size: 1.28rem; }
.site-header .brand-name strong { font-size: .75rem; }
.site-search { display: flex; grid-area: search; width: 100%; min-height: 46px; overflow: hidden; border: 1px solid #554b3f; border-radius: 999px; background: #2b2722; }
.site-search:focus-within { outline: 2px solid var(--page-accent); outline-offset: 2px; }
.site-search input { width: 100%; min-width: 0; padding: 8px 15px; border: 0; background: transparent; color: var(--page-ink); outline: none; }
.site-search input::placeholder { color: var(--page-muted); }
.site-search button { display: grid; flex: 0 0 48px; place-items: center; border: 0; background: var(--accent); color: var(--strong); }
.site-search button:hover { background: var(--accent-hover); }
.header-nav { display: flex; grid-area: account; justify-content: flex-end; align-items: center; gap: 24px; }
.nav-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; text-decoration: none; font-size: .88rem; font-weight: 690; white-space: nowrap; }
.nav-action:hover { color: var(--page-accent); }
.nav-action .icon { width: 23px; height: 23px; }
.cart-nav b { min-width: 24px; padding: 2px 5px; border-radius: 20px; background: var(--page-accent); color: var(--strong); font-size: .75rem; line-height: 1.45; text-align: center; }
.department-nav { border-block: 1px solid #3d352c; background: #25211d; color: var(--page-ink); }
.department-inner { display: flex; align-items: stretch; gap: 6px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #998779 transparent; }
.department-link { display: inline-flex; flex-shrink: 0; align-items: center; min-height: 45px; gap: 8px; padding-inline: 16px; border-bottom: 2px solid transparent; text-decoration: none; color: inherit; font-size: .9rem; font-weight: 670; white-space: nowrap; }
.department-link:hover { background: #342c23; color: var(--page-accent); }
.department-link[aria-current] { border-bottom-color: var(--accent); background: #342c23; color: var(--page-accent); }
.department-link:focus-visible { outline-color: var(--page-accent); outline-offset: -4px; }
.department-all { background: #2c261f; font-weight: 720; }

.home-feature { padding-bottom: 36px; border-bottom: 1px solid #3a332b; background: #1d1b18; color: var(--page-ink); }
.hero-showcase { position: relative; }
.hero-stage { display: grid; overflow: hidden; }
.theme-ember { --shade: #2b2017; }
.theme-hookahs { --shade: #231e19; }
.theme-essences { --shade: #27212a; }
.hero-slide { position: relative; isolation: isolate; display: flex; grid-area: 1 / 1; align-items: center; min-height: clamp(348px, 30vw, 437px); overflow: hidden; background: var(--hero-color, var(--shade)); color: #fff; }
.hero-slide.theme-essences { --hero-color: #231c26; background: radial-gradient(ellipse at 24% 65%, #403147, var(--hero-color) 72%); }
.hero-slide.hero-branded { --hero-color: #191714; background: radial-gradient(ellipse at 23% 57%, #392d20, var(--hero-color) 70%); }
.hero-slide[hidden] { display: flex !important; visibility: hidden; }
.hero-slide:not([hidden]) { animation: reveal-slide .42s ease-out; }
@keyframes reveal-slide { from { opacity: .55; } to { opacity: 1; } }
.hero-art { position: absolute; z-index: -2; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.theme-essences .hero-art { width: min(74%, 1150px); object-position: left center; mask-image: linear-gradient(90deg, #000 67%, transparent); }
.hero-branded .hero-art { width: min(74%, 1160px); object-fit: contain; object-position: left center; mask-image: linear-gradient(90deg, #000 64%, transparent 100%); }
.hero-slide::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, transparent 26%, color-mix(in srgb, var(--hero-color, var(--shade)) 33%, transparent) 42%, color-mix(in srgb, var(--hero-color, var(--shade)) 91%, transparent) 63%, var(--hero-color, var(--shade)) 100%); content: ''; }
.hero-slide.hero-branded::before { background: linear-gradient(90deg, transparent 42%, #19171475 62%, #191714f5 86%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(16px, 3vw, 42px); }
.hero-copy { grid-area: 1 / 2; min-width: 0; padding-block: 32px 74px; }
.hero-lockup { display: flex; width: fit-content; align-items: center; gap: 9px; margin-bottom: 12px; }
.hero-lockup .brand-mark { width: 43px; height: 43px; }
.hero-lockup .brand-name { font-size: 1.02rem; }
.hero-lockup .brand-name strong { font-size: .66rem; }
.hero-copy h2 { max-width: 15ch; font-size: clamp(2.6rem, 5.15vw, 4.45rem); font-weight: 780; letter-spacing: -.061em; line-height: 1; text-wrap: balance; text-shadow: 0 2px 12px #16130f42; }
.hero-copy p { display: -webkit-box; max-width: 35ch; margin-top: 13px; overflow: hidden; overflow-wrap: anywhere; color: #ece1d1; font-size: clamp(1rem, 1.5vw, 1.13rem); text-shadow: 0 1px 8px #16130f55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.hero-action { max-width: 100%; margin-top: 17px; padding-inline: 18px; background: var(--accent); color: var(--strong); }
.hero-action:hover { background: var(--accent-hover); }
.home-feature :focus-visible { outline-color: var(--page-accent); }
.carousel-controls { display: none; align-items: center; gap: 7px; }
[data-carousel-ready] .carousel-controls { display: flex; }
.carousel-arrow, .carousel-toggle { display: inline-grid; align-items: center; justify-content: center; min-height: 40px; border: 1px solid #d8d2cd; border-radius: 8px; background: #fff; color: var(--ink); }
.carousel-arrow { width: 40px; }
.carousel-arrow .icon { width: 17px; height: 17px; }
.carousel-toggle { padding-inline: 10px; font-size: .84rem; font-weight: 650; }
.carousel-arrow:hover, .carousel-toggle:hover { background: #f6ecde; }
.hero-controls { position: absolute; inset: auto 0 15px; justify-content: center; width: max-content; max-width: calc(100% - 20px); margin-inline: auto; gap: 7px; }
.hero-controls .carousel-arrow, .hero-controls .carousel-toggle { min-height: 44px; border-color: #d8b88278; border-radius: 999px; background: #211b15db; color: var(--page-ink); }
.hero-controls .carousel-arrow { width: 44px; flex-shrink: 0; }
.hero-controls .carousel-toggle { padding-inline: 12px; }
.hero-controls .carousel-arrow:hover, .hero-controls .carousel-toggle:hover { background: #3b2f22; }
.hero-dots { display: flex; align-items: center; gap: 2px; }
.hero-dot { display: grid; width: 32px; min-height: 44px; place-items: center; border: 0; border-radius: 999px; background: transparent; }
.hero-dot::before { width: 9px; height: 9px; border: 1px solid #d3bd9e; border-radius: 50%; background: #c8aa813d; box-shadow: 0 0 0 1px #1b1713a0; content: ''; }
.hero-dot[aria-current]::before, .hero-dot:hover::before { background: var(--page-accent); }
.hero-dot[aria-current]::before { box-shadow: 0 0 0 3px #211b15cb; }
.shop-departments { margin-top: 27px; }
.shop-departments h2 { margin-bottom: 13px; font-size: clamp(1.35rem, 2.65vw, 1.85rem); font-weight: 750; letter-spacing: -.04em; }
.department-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); gap: 16px; }
.department-card { position: relative; isolation: isolate; display: flex; min-width: 0; min-height: 188px; max-height: 300px; aspect-ratio: 1.28; align-items: end; overflow: hidden; border: 1px solid #c9aa7b52; border-radius: 11px; background: var(--shade); color: var(--page-ink); text-decoration: none; }
.department-card > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .28s ease-out; }
.department-card::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, #17130eef 3%, #17130eb5 21%, transparent 64%); content: ''; }
.department-card:hover > img { transform: scale(1.06); }
.department-card.is-branded > img { object-position: center 46%; }
.department-card.theme-hookahs > img { object-position: center 8%; }
.department-card.theme-essences > img { object-position: 19% center; }
.department-stamp { position: absolute; top: 12px; right: 12px; display: grid; width: 41px; height: 41px; place-items: center; padding: 5px; border: 1px solid #dfbf8f72; border-radius: 8px; background: #1b1712d9; }
.department-label { display: flex; width: 100%; min-height: 59px; align-items: center; justify-content: space-between; gap: 6px; padding: 12px 15px; font-size: clamp(1rem, 1.6vw, 1.18rem); font-weight: 730; line-height: 1.22; text-wrap: balance; }
.department-label .icon { width: 16px; height: 16px; color: var(--page-accent); }

.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 10px 17px; border: 1px solid transparent; border-radius: 6px; line-height: 1.25; text-decoration: none; font-size: .9rem; font-weight: 730; text-align: center; }
.button-primary { background: var(--accent); color: var(--strong); }
.button-primary:hover:not(:disabled) { background: var(--accent-hover); }
.button-outline { border-color: var(--line); background: #fff; color: var(--strong); }
.button-outline:hover { border-color: #9e8d7d; background: #faf3e9; }
.button-add { width: 100%; padding-inline: 12px; background: var(--strong); color: #fff; }
.button-add:hover:not(:disabled) { background: #48382a; }
.button-add .icon { width: 17px; height: 17px; }
.button-full { width: 100%; }
.text-link, .auth-switch a { color: #754520; font-weight: 670; text-underline-offset: .2em; }
.order-main > .text-link { color: var(--page-accent); }
.order-main > .text-link:focus-visible, .account-actions :focus-visible, .catalog-tools :focus-visible, .category-clear:focus-visible { outline-color: var(--page-accent); }

.catalog { min-height: 400px; padding-block: 24px 60px; scroll-margin-top: 12px; }
.catalog-heading { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 16px; }
.catalog-heading h1, .catalog-heading h2, .page-heading h1 { color: var(--page-ink); font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 760; line-height: 1.12; letter-spacing: -.04em; overflow-wrap: anywhere; }
.catalog-heading p, .page-heading p { color: var(--page-muted); margin-top: 6px; }
.catalog-tools { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px; }
.catalog-sort { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--page-muted); font-size: .875rem; white-space: nowrap; }
.catalog-sort select { min-height: 40px; padding: 6px 28px 6px 10px; border: 1px solid var(--line); border-radius: 5px; background-color: #fff; color: var(--ink); }
.sort-submit { min-height: 40px; padding-inline: 9px; border: 1px solid #d8d2cd; border-radius: 6px; background: #fff; color: var(--ink); font-size: .84rem; font-weight: 650; }
.sort-submit:hover { background: #f6ecde; }
.catalog-sort select, .field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #61564c 50%), linear-gradient(135deg, #61564c 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.category-clear { margin-left: 8px; color: var(--page-accent); font-size: .88rem; text-underline-offset: 3px; }
.catalog .messages { margin: 0 0 14px; }
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.product-card { display: flex; min-width: 0; max-width: 390px; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); }
.products.product-track { --track-gap: 15px; --track-card-width: max(195px, calc((100% - 3 * var(--track-gap)) / 4.25)); display: flex; gap: var(--track-gap); overflow-x: auto; padding: 3px 2px 11px; scroll-padding-inline: 2px; scroll-snap-type: x mandatory; scrollbar-color: #baaea4 transparent; scrollbar-width: thin; }
.product-track > .product-card { flex: 0 0 var(--track-card-width); max-width: none; scroll-snap-align: start; }
.product-track .product-photo { aspect-ratio: 1.35; background: #fff; }
.product-photo { position: relative; display: grid; place-items: center; aspect-ratio: 1.5; overflow: hidden; background: #eeeae5; }
.product-card .product-photo { max-height: 180px; }
.product-photo img { width: 100%; height: 100%; position: absolute; inset: 0; display: block; object-fit: cover; }
.product-card .product-photo img { object-fit: contain; }
.photo-fallback { display: grid; width: 40px; height: 40px; border-radius: 50%; place-items: center; background: #eee0cf; color: #754520; }
.product-info { display: flex; flex: 1; flex-direction: column; padding: 15px; }
.product-category { color: #805026; font-size: .8125rem; font-weight: 680; }
.product-info h3 { margin-top: 4px; font-size: 1.04rem; font-weight: 730; line-height: 1.3; overflow-wrap: anywhere; }
.product-description { margin-top: 7px; color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.product-bottom { display: grid; gap: 9px; margin-top: auto; padding-top: 13px; }
.product-card-reference .product-photo { background: #f5f1f4; }
.product-card-reference .product-photo img { padding: 7px; }
.reference-details { justify-items: start; gap: 6px; }
.reference-price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 7px; color: var(--muted); font-size: .84rem; }
.reference-price strong { color: var(--ink); font-size: 1.12rem; }
.preview-note { display: block; width: fit-content; padding: 5px 8px; border-radius: 6px; background: #efe8f9; color: #4d326c; font-size: .8rem; font-weight: 650; }
.product-price { font-size: 1.22rem; font-weight: 790; white-space: nowrap; }
.product-price small { display: block; color: var(--muted); font-size: .76rem; font-weight: 650; }
.stock { display: inline-flex; gap: 6px; align-items: center; color: #34562e; font-size: .8rem; font-weight: 610; }
.stock::before { flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: #63844c; content: ''; }
.stock.out { color: #685c56; }
.stock.out::before { background: #9c8b82; }
.rental-form { display: grid; min-width: 0; gap: 7px; }
.rental-date-field { display: grid; min-width: 0; gap: 4px; color: var(--muted); font-size: .82rem; font-weight: 650; }
.rental-date-field input { display: block; width: 100%; min-width: 0; min-height: 44px; padding: 5px 8px; border: 1px solid #c9cec4; border-radius: 7px; background: #fff; color: var(--ink); font-size: 1rem; font-weight: 400; }
.cart-rental-form { max-width: 190px; margin-top: 9px; }
.cart-rental-form .button { padding-inline: 7px; font-size: .82rem; }

.site-footer { border-top: 1px solid #3a332b; background: #141311; color: var(--page-ink); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 25px; }
.site-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px; }
.site-footer nav a { padding-block: 8px; color: #f1e9de; font-size: .87rem; text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }

.page { padding-block: 45px 75px; }
.page-heading { margin-bottom: 26px; }
.page-heading h1 { overflow-wrap: anywhere; }
.page-grid { display: grid; align-items: start; grid-template-columns: minmax(0, 1.65fr) minmax(290px, 1fr); gap: 25px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); padding: clamp(17px, 3.2vw, 27px); }
.panel h2, .empty h3 { font-size: 1.25rem; font-weight: 745; letter-spacing: -.032em; line-height: 1.24; }
.empty { display: grid; justify-items: center; gap: 10px; padding-block: 50px; text-align: center; }
.empty p { color: var(--muted); }
.empty .button { margin-top: 9px; }
.messages { margin-top: 18px; }
.message { padding: 12px 15px; border: 1px solid #b7cfb4; border-radius: 9px; background: #eff6e9; color: #21492c; }
.message.error { border-color: #e5b7ad; background: #fff0ec; color: #792722; }
.message + .message { margin-top: 10px; }
.message ul { margin: 5px 0 0; padding-left: 24px; }
.cart-list .message, .checkout-form .message { margin-bottom: 10px; }
.cart-item { display: grid; grid-template-columns: 86px minmax(0, 1fr) max-content; align-items: start; gap: 14px; border-bottom: 1px solid var(--line); padding-block: 17px; }
.cart-item:nth-of-type(1) { padding-top: 0; }
.cart-list .message + .cart-item { padding-top: 8px; }
.cart-photo { aspect-ratio: 1; border-radius: 9px; }
.cart-item h2 { overflow-wrap: anywhere; font-size: 1.03rem; }
.cart-item-info p { padding-top: 3px; color: var(--muted); font-size: .88rem; }
.cart-item-end { display: grid; justify-items: end; }
.cart-item-end > strong { white-space: nowrap; }
.plain-button { padding: 8px 0; border: 0; background: none; color: #713d32; font-size: .83rem; text-decoration: underline; text-underline-offset: 3px; }
.quantity-form { display: grid; gap: 3px; width: max-content; max-width: 100%; margin-top: 8px; }
.quantity-form label { color: var(--muted); font-size: .81rem; }
.quantity-form div { display: flex; align-items: stretch; gap: 6px; }
.quantity-form input { width: 62px; min-height: 40px; padding: 4px 6px; border: 1px solid #c9d1c3; border-radius: 8px; color: var(--ink); }
.quantity-form .button { min-height: 40px; padding-inline: 9px; font-size: .8rem; }
.cart-list .text-link, .checkout-form .text-link { display: inline-block; margin-top: 18px; }
.totals { display: grid; gap: 10px; margin-top: 15px; }
.totals div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.totals dt { color: var(--muted); }
.totals dd { white-space: nowrap; font-weight: 680; }
.totals .total-end { margin-top: 3px; padding-block: 12px 2px; border-top: 1px solid var(--line); font-size: 1.22rem; font-weight: 760; }
.totals .total-end dt { color: var(--ink); }
.summary > .button { margin-top: 16px; }
.summary-items { display: grid; gap: 9px; margin: 13px 0 0; padding: 0; list-style: none; }
.summary-items li { display: flex; justify-content: space-between; align-items: start; gap: 8px; padding-bottom: 9px; border-bottom: 1px solid var(--line); font-size: .91rem; }
.summary-items strong { display: block; overflow-wrap: anywhere; }
.summary-items span { display: block; color: var(--muted); font-size: .86rem; }
.summary-items b { white-space: nowrap; }
.payment-hint { margin-top: 9px; color: var(--muted); font-size: .85rem; }

.auth-page { max-width: 480px; }
.auth-switch { margin-top: 15px; text-align: center; }
.form-stack { display: grid; gap: 13px; }
.checkout-form .form-stack { margin-top: 16px; }
.field { display: grid; gap: 4px; min-width: 0; font-size: .9rem; font-weight: 660; }
.field input, .field select { display: block; width: 100%; min-width: 0; min-height: 45px; padding: 8px 10px; border: 1px solid #c9d1c3; border-radius: 8px; background-color: #fff; color: var(--ink); font-size: 1rem; font-weight: 400; }
.field select { padding-right: 28px; }
.field small { color: var(--muted); font-size: .82rem; font-weight: 430; }
.address-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.street-grid { grid-template-columns: minmax(0, 1fr) minmax(75px, 25%); }

.order-main { display: grid; gap: 14px; }
.panel-heading { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 9px; }
.order-panel p { margin-top: 8px; color: var(--muted); }
.order-status { display: inline-flex; align-items: center; width: fit-content; min-height: 28px; padding: 3px 9px; border-radius: 25px; background: #e9efe5; color: #304b33; font-size: .8rem; font-weight: 680; white-space: nowrap; }
.status-pending { background: #fff0cd; color: #69480b; }
.status-cancelled { background: #f8e7e0; color: #722a21; }
.pix-details { display: grid; gap: 10px; margin: 12px 0; padding: 14px; border: 1px solid #dbe4d5; border-radius: 10px; background: #f5f8f0; }
.pix-details dt { color: var(--muted); font-size: .86rem; }
.pix-details dd { color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.pix-amount { font-size: 1.5rem; letter-spacing: -.035em; }
.pix-details code { font-size: .92rem; color: #263c2a; }
.copy-state:empty { display: none; }
.address { white-space: pre-line; }
.address strong { color: var(--ink); }
.heading-row { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.account-actions { display: flex; gap: 8px; }
.orders-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.order-row { display: grid; grid-template-columns: minmax(0, 1fr) max-content minmax(90px, auto) max-content; gap: 14px; align-items: center; }
.order-row p { color: var(--muted); font-size: .85rem; }

@media (max-width: 1000px) {
  .wrap { width: min(100% - 48px, 1200px); }
  .header-inner { gap: 17px; }
  .header-nav { gap: 12px; }
  .products { gap: 14px; }
  .product-info { padding: 14px; }
}

@media (max-width: 770px) {
  .store-notice-inner { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px 15px; padding-block: 5px; }
  .store-notice-demo { text-align: center; }
  .header-inner { grid-template-areas: 'brand account' 'search search'; grid-template-columns: minmax(0, 1fr) max-content; gap: 9px 10px; min-height: auto; padding-block: 10px 12px; }
  .department-inner { width: 100%; padding-inline: 24px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hero-slide { min-height: 320px; }
  .hero-copy h2 { font-size: clamp(2.4rem, 6.2vw, 3.5rem); }
  .department-cards { display: flex; gap: 11px; overflow-x: auto; padding: 3px 2px 9px; scroll-padding-inline: 2px; scroll-snap-type: x mandatory; scrollbar-color: #a98c7e transparent; scrollbar-width: thin; }
  .department-card { flex: 0 0 clamp(160px, 45vw, 238px); min-height: 177px; aspect-ratio: 1.02; scroll-snap-align: start; }
  .department-card:focus-visible { outline-offset: -4px; }
  .department-label { padding: 11px; }
  .catalog-tools { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .hero-slide { min-height: 354px; align-items: end; }
  .theme-essences { --essence-art-height: clamp(196px, 40vw, 222px); }
  .hero-branded { --branded-art-height: clamp(180px, 52vw, 255px); }
  .theme-essences .hero-art { width: 100%; height: var(--essence-art-height); mask-image: linear-gradient(#000 76%, transparent); }
  .hero-slide.hero-branded { background: radial-gradient(ellipse at 50% 19%, #362b21, var(--hero-color) 71%); }
  .hero-branded .hero-art { inset: 10px auto auto 50%; width: var(--branded-art-height); height: var(--branded-art-height); object-position: center; transform: translateX(-50%); border-radius: 10px; mask-image: none; }
  .hero-slide:is(.hero-branded, .theme-essences)::before { background: none; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { grid-area: 1 / 1; padding-block-end: 66px; }
  .hero-copy h2 { max-width: 16ch; font-size: clamp(2rem, 7.75vw, 2.8rem); text-wrap: initial; }
  .hero-copy p { max-width: 34ch; margin-top: 8px; font-size: .97rem; }
  .hero-action { margin-top: 12px; }
  .hero-lockup { gap: 7px; margin-bottom: 8px; }
  .hero-lockup .brand-mark { width: 34px; height: 34px; }
  .hero-lockup .brand-name { font-size: .93rem; }
  .hero-lockup .brand-name strong { font-size: .6rem; }
  .hero-branded .hero-copy { padding-block-start: calc(var(--branded-art-height) + 15px); }
  .theme-essences .hero-copy { padding-block-start: calc(var(--essence-art-height) + 5px); }
  .hero-controls { bottom: 11px; gap: 5px; }
  .hero-dot { width: 29px; }
}

@media (max-width: 510px) {
  .wrap { width: calc(100% - 32px); }
  .store-notice-inner { font-size: .77rem; }
  .store-notice-perks { gap: 2px 12px; }
  .store-notice-perks span { gap: 4px; }
  .store-notice-perks .icon { width: 14px; height: 14px; }
  .brand { gap: 8px; }
  .brand-mark { width: 34px; height: 34px; }
  .site-header .brand { gap: 9px; }
  .site-header .brand-mark { width: 42px; height: 42px; }
  .site-header .brand-name { font-size: 1.05rem; }
  .site-header .brand-name strong { font-size: .64rem; }
  .nav-action span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .nav-action { min-width: 44px; }
  .header-nav { gap: 3px; }
  .department-inner { gap: 3px; padding-inline: 16px; }
  .department-link { min-height: 44px; padding-inline: 10px; font-size: .8125rem; }
  .department-link .icon { width: 16px; height: 16px; }
  .home-feature { padding-bottom: 24px; }
  .shop-departments { margin-top: 20px; }
  .department-cards { gap: 8px; }
  .department-label { min-height: 51px; padding: 9px; font-size: .9rem; }
  .department-stamp { top: 8px; right: 8px; width: 34px; height: 34px; padding: 4px; }
  .catalog { padding-block: 23px 46px; }
  .catalog-heading { flex-wrap: wrap; align-items: center; }
  .catalog-sort { gap: 6px; }
  .catalog-tools { gap: 9px; }
  .shelf-controls { gap: 4px; }
  .shelf-controls .carousel-arrow { width: 35px; }
  .shelf-controls .carousel-toggle { padding-inline: 6px; }
  .products.product-track { --track-gap: 9px; --track-card-width: max(154px, calc((100% - var(--track-gap)) / 1.85)); }
  .products { gap: 9px; }
  .product-card { border-radius: 7px; }
  .product-info { padding: 10px; }
  .product-info h3 { font-size: 1rem; }
  .product-description { font-size: .86rem; }
  .product-bottom { gap: 8px; padding-top: 11px; }
  .product-bottom .button { padding-inline: 5px; }
  .button-add .icon { display: none; }
  .product-price { font-size: 1.1rem; }
  .footer-inner { flex-direction: column; align-items: start; gap: 7px; }
  .page { padding-block: 35px 52px; }
  .page-heading { margin-bottom: 19px; }
  .cart-item { grid-template-columns: 54px minmax(0, 1fr) max-content; gap: 7px; }
  .cart-item-end > strong { font-size: .9rem; }
  .cart-item h2 { font-size: .94rem; }
  .quantity-form input { width: 47px; }
  .quantity-form .button { padding-inline: 4px; }
  .rental-date-field input { padding-inline: 4px; }
  .cart-item-end .plain-button { font-size: .75rem; }
  .heading-row { display: block; }
  .account-actions { margin-bottom: 10px; }
  .order-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 7px; }
  .order-row > :nth-child(even) { justify-self: end; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide:not([hidden]) { animation: none; }
  .department-card > img { transition: none; }
}

@media (max-width: 360px) {
  .wrap { width: calc(100% - 24px); }
  .department-inner { padding-inline: 12px; }
  .hero-controls { max-width: calc(100% - 12px); gap: 4px; }
  .hero-controls .carousel-toggle { padding-inline: 8px; font-size: .8rem; white-space: nowrap; }
  .hero-dots { gap: 0; }
  .hero-dot { width: 25px; }
  .cart-photo { display: none; }
  .cart-item { grid-template-columns: minmax(0, 1fr) max-content; }
  .address-grid:not(.street-grid) { grid-template-columns: minmax(0, 1fr); }
}
