:root {
  --ink: #171814;
  --muted: #65665e;
  --line: #e9e9e2;
  --lime: #e3f668;
  --surface: #f5f5ef;
  --display: "Bricolage Grotesque", Inter, system-ui, sans-serif;
  font: 15px/1.5 Inter, system-ui, sans-serif;
  color: var(--ink);
  background: white;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
body { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid #526100;
  outline-offset: 4px;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
svg { width: 21px; height: 21px; display: block; }
[data-icon] { display: inline-grid; place-items: center; flex: none; }
.shell { width: min(100% - 88px, 1376px); margin-inline: auto; }
.announcement {
  min-height: 35px; display: flex; align-items: center; justify-content: center;
  gap: 8px; background: var(--lime); font-size: 12px; font-weight: 650;
}
.announcement svg { width: 16px; height: 16px; }
.site-header { border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.header-inner { min-height: 73px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.logo { display: inline-flex; align-items: baseline; justify-self: start; font: 900 32px/1 Inter, sans-serif; letter-spacing: -.09em; }
.logo > span { color: #a4ba13; }
.logo small { margin-left: 8px; font-size: 9px; letter-spacing: .16em; }
nav, .header-actions { display: flex; align-items: center; }
nav { height: 100%; gap: 31px; }
.nav-item { height: 100%; position: relative; padding: 0 3px; border: 0; background: none; font-size: 13px; font-weight: 650; white-space: nowrap; }
.nav-item.is-active::after { content: ""; position: absolute; inset: auto 0 -1px; height: 3px; background: #a6be1f; }
.header-actions { justify-content: end; gap: 9px; }
.icon-button { display: inline-grid; place-items: center; padding: 0; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; }
.icon-button:hover { background: var(--surface); }
.bag { position: relative; margin-right: 7px; }
#cart-count { position: absolute; top: 0; right: -4px; background: var(--lime); border-radius: 50px; min-width: 17px; padding: 1px 4px; font-size: 10px; font-weight: 800; }
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 430px; border-radius: 16px; background: #e8e3d9; display: flex; align-items: center; }
.hero-slides, .hero-art { position: absolute; inset: 0; }
.hero-slides { z-index: -2; overflow: hidden; }
.hero-art { opacity: 0; transform: scale(1.055); }
.hero-art.is-leaving { z-index: 1; opacity: 1; transform: none; }
.hero-art.is-current {
  z-index: 2; opacity: 1; transform: none;
  transition: opacity .95s ease, transform 1.55s cubic-bezier(.2, .7, .25, 1);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #e8e3d985, #e8e3d92a 48%, transparent 62%); }
.hero-copy { padding: 45px clamp(35px, 5.35vw, 82px); animation: enter .55s ease-out both; }
.slide-controls {
  position: absolute; right: 17px; bottom: 16px; display: flex; align-items: center;
  gap: 2px; padding: 3px; border-radius: 50px; background: #171814db; color: white;
}
.slide-dot, .slide-toggle {
  width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0;
  border-radius: 50%; background: transparent; color: inherit;
}
.slide-dot:hover, .slide-toggle:hover { background: #ffffff24; }
.slide-dot:focus-visible, .slide-toggle:focus-visible { outline-color: var(--lime); outline-offset: 0; }
.slide-dot::before { content: ""; width: 8px; height: 8px; border: 1px solid white; border-radius: 50%; }
.slide-dot::before { transition: background-color .2s, transform .2s; }
.slide-dot[aria-pressed="true"]::before { background: var(--lime); border-color: var(--lime); transform: scale(1.2); }
.slide-toggle svg { width: 15px; height: 15px; }
.slide-progress { position: absolute; inset: auto 0 0; height: 3px; overflow: hidden; }
.slide-progress > span { display: block; height: 100%; background: var(--lime); transform: scaleX(0); transform-origin: left; }
@keyframes enter { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.reveal { animation: enter .58s cubic-bezier(.2, .7, .25, 1) both; }
.product-arrival { animation: enter .46s cubic-bezier(.2, .7, .25, 1) both; animation-delay: var(--card-delay, 0ms); }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.eyebrow span { width: 9px; height: 9px; background: var(--lime); border-radius: 2px; }
.hero h1 { font: 800 clamp(55px, 6vw, 98px)/.96 var(--display); letter-spacing: -.067em; margin: 18px 0; }
.hero h1 span { color: #637504; }
.hero-description { max-width: 315px; color: #36362e; font-size: 15px; margin-bottom: 25px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 46px; padding: 0 17px; border: 1px solid transparent; border-radius: 8px; font-weight: 750; font-size: 13px;
}
.button svg { width: 17px; height: 17px; }
.button, .filter, .icon-button { transition: background-color .18s, color .18s, border-color .18s, transform .18s; }
.button:active, .filter:active, .icon-button:active { transform: scale(.96); }
.primary { background: var(--lime); }
.primary:hover { background: #d6eb4d; }
.secondary { background: white; border-color: var(--line); }
.secondary:hover { background: var(--surface); }
.dark { background: var(--ink); color: white; }
.dark:hover { background: #363730; }
.wide { width: 100%; }
.benefits {
  display: grid; grid-template-columns: repeat(3, 1fr); margin: 17px 0 36px;
  min-height: 83px; padding: 14px 0; border: 1px solid var(--line); border-radius: 13px;
}
.benefits > div { display: flex; align-items: center; justify-content: center; gap: 13px; padding: 0 13px; }
.benefits > div + div { border-left: 1px solid var(--line); }
.benefit-icon { background: #f3f5e8; width: 40px; height: 40px; border-radius: 50%; }
.benefit-icon svg { width: 20px; height: 20px; }
.benefits strong, .benefits small { display: block; }
.benefits strong { font-size: 13px; }
.benefits small { color: var(--muted); font-size: 11px; margin-top: 2px; }
.catalog { scroll-margin-top: 16px; padding-bottom: 57px; }
.catalog-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.catalog h2 { font: 800 clamp(28px, 3.25vw, 47px)/1.15 var(--display); letter-spacing: -.055em; margin-top: 5px; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filter {
  border: 1px solid var(--line); border-radius: 50px; background: white;
  padding: 7px 15px; white-space: nowrap; font-size: 12px; font-weight: 650;
}
.filter.is-active { background: var(--ink); border-color: var(--ink); color: white; }
.filter:not(.is-active):hover { background: var(--surface); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 19px; }
.product-image { width: 100%; aspect-ratio: 4 / 4.75; position: relative; display: block; overflow: hidden; border: 0; border-radius: 12px; padding: 0; background: var(--surface); text-align: left; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.product-image:hover img { transform: scale(1.04); }
.badge { position: absolute; left: 11px; top: 11px; border-radius: 5px; padding: 4px 8px; font-weight: 800; font-size: 10px; background: white; }
.badge.highlight { background: var(--lime); }
.quick-add { position: absolute; bottom: 11px; right: 11px; background: white; width: 35px; height: 35px; border-radius: 50%; }
.product-meta { display: flex; justify-content: space-between; align-items: start; gap: 4px 12px; flex-wrap: wrap; margin-top: 10px; }
.product-meta h3 { font-size: 14px; font-weight: 750; }
.product-meta strong { font-size: 13px; white-space: nowrap; }
.product-color { color: var(--muted); font-size: 12px; margin-top: 4px; }
.product-color i { display: inline-block; border-radius: 50%; width: 10px; height: 10px; margin-right: 5px; border: 1px solid #0003; }
footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-main { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 25px; padding-block: 36px; }
.footer-brand p { margin: 12px 0; color: var(--muted); font-size: 13px; }
.footer-group { display: grid; align-content: start; justify-items: start; gap: 6px; }
.footer-group h2 { font-size: 14px; margin-bottom: 6px; }
.footer-group > a, .footer-group > span, .footer-group .text-button { font-size: 13px; font-weight: 500; color: #46483e; padding: 0; text-align: left; overflow-wrap: anywhere; }
.footer-group a:hover, .footer-bottom a:hover { text-decoration: underline; }
.footer-group small { font-size: 11px; color: var(--muted); }
.socials { display: flex; flex-wrap: wrap; gap: 6px; }
.socials a { border: 1px solid #d9dacd; border-radius: 50px; background: white; padding: 5px 9px; font-size: 11px; font-weight: 700; }
.socials a:hover { background: var(--lime); border-color: var(--lime); }
.footer-bottom { border-top: 1px solid #e1e2d8; }
.footer-bottom .shell { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 55px; padding-block: 9px; }
.footer-bottom small { color: var(--muted); }
#admin-link { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 700; }
#admin-link svg { width: 16px; height: 16px; }
.text-button { background: none; border: 0; padding: 4px 0; display: inline-flex; align-items: center; gap: 5px; font-weight: 650; }
.text-button:hover { text-decoration: underline; }
.text-button svg { width: 16px; height: 16px; }
#search-summary { margin-bottom: 14px; color: var(--muted); }
#search-summary button { margin-left: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.catalog-tools { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-bottom: 9px; }
.catalog-tools .choice { padding: 6px 8px; }
.catalog-tools select { width: auto; min-height: 36px; padding: 5px 8px; font-size: 12px; }
.hero { touch-action: pan-y pinch-zoom; }
.product-grid article { position: relative; }
.card-favorite { position: absolute; top: 9px; right: 9px; z-index: 1; width: 36px; height: 36px; background: white; border: 1px solid var(--line); }
.favorite-button[aria-pressed="true"] { color: #9a2625; }
.favorite-button[aria-pressed="true"] svg { fill: #e99b97; }
.favorite-button svg { width: 18px; height: 18px; }
.saved-trigger { position: relative; }
#favorites-count { position: absolute; top: 0; right: 0; min-width: 16px; padding: 1px 3px; border-radius: 20px; background: #f4d1ce; font-size: 9px; font-weight: 800; }
.favorite-line { display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 12px; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.favorite-line img { width: 62px; height: 69px; object-fit: cover; border-radius: 7px; }
.favorite-line .text-button { text-align: left; }
.favorite-line p { font-size: 13px; color: var(--muted); }
.detail-heading { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
dialog {
  width: min(100%, 500px); height: 100%; max-width: none; max-height: 100%;
  margin: 0 0 0 auto; padding: 0; border: 0; color: var(--ink); box-shadow: -10px 0 40px #0002; overscroll-behavior: contain;
  --drawer-offset: translateX(65px);
  opacity: 0; transform: var(--drawer-offset);
  transition: opacity .3s ease, transform .34s cubic-bezier(.2, .7, .25, 1), display .34s allow-discrete, overlay .34s allow-discrete;
}
dialog[open] { opacity: 1; transform: none; }
dialog::backdrop { background: #15161180; opacity: 0; transition: opacity .3s ease, display .34s allow-discrete, overlay .34s allow-discrete; }
dialog[open]::backdrop { opacity: 1; }
@starting-style {
  dialog[open] { opacity: 0; transform: var(--drawer-offset); }
  dialog[open]::backdrop { opacity: 0; }
}
.panel-header { position: sticky; top: 0; z-index: 2; background: white; border-bottom: 1px solid var(--line); padding: 13px 23px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.panel-header h2 { font: 800 26px/1.2 var(--display); letter-spacing: -.035em; }
#panel-content { padding: 22px 24px 34px; }
.detail-photo { width: 100%; height: auto; max-height: min(520px, 66svh); object-fit: contain; border-radius: 10px; background: var(--surface); }
.detail-photo-trigger { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 10px; background: none; cursor: zoom-in; touch-action: pan-y pinch-zoom; }
.photo-expand { position: absolute; right: 10px; bottom: 10px; width: 35px; height: 35px; border-radius: 50%; background: white; box-shadow: 0 1px 5px #0002; }
.photo-expand svg { width: 17px; height: 17px; }
.photo-viewer {
  width: min(100%, 1080px); height: min(100dvh, 900px); margin: auto; padding: 12px;
  display: none; grid-template-rows: auto minmax(0, 1fr) auto; gap: 8px;
  border-radius: 12px; background: #191916; color: white; --drawer-offset: scale(.98);
}
.photo-viewer[open] { display: grid; }
.photo-viewer::backdrop { background: #000b; }
.photo-viewer-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-left: 6px; }
.photo-viewer-bar h2 { font-size: 15px; }
.photo-viewer .icon-button { flex-shrink: 0; background: #33332e; color: white; }
.photo-viewer .icon-button:hover { background: #484841; }
.photo-viewer .icon-button:focus-visible { outline-color: var(--lime); }
.photo-viewer-stage { position: relative; display: grid; place-items: center; min-height: 0; touch-action: pan-y pinch-zoom; }
#photo-viewer-image { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.photo-prev, .photo-next { position: absolute; top: calc(50% - 20px); }
.photo-prev { left: 2px; }
.photo-prev svg { transform: rotate(180deg); }
.photo-next { right: 2px; }
.photo-counter { margin: 0; padding: 4px; text-align: center; color: #d4d4ce; font-size: 13px; }
.photo-strip { display: flex; gap: 7px; overflow-x: auto; padding: 6px 3px; }
.photo-strip button { flex: 0 0 54px; height: 60px; padding: 2px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.photo-strip button[aria-pressed="true"] { border: 2px solid #526100; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.detail-copy { margin-block: 15px 20px; }
.detail-copy h3 { font-size: 20px; }
.detail-copy p { margin: 8px 0; color: var(--muted); }
form { display: grid; gap: 13px; }
label { display: grid; gap: 5px; font-size: 13px; font-weight: 650; }
input:not([type=radio], [type=checkbox]), select, textarea { width: 100%; border: 1px solid #d9dad2; background: white; border-radius: 8px; padding: 10px 12px; color: var(--ink); }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-size: 13px; font-weight: 750; margin-bottom: 8px; }
.size-list { display: flex; flex-wrap: wrap; gap: 8px; }
.size-list label { position: relative; }
.size-list input { position: absolute; opacity: 0; }
.size-list span { border: 1px solid #d9dad2; border-radius: 7px; min-width: 42px; padding: 9px 10px; text-align: center; cursor: pointer; }
.size-list input:checked + span { background: var(--ink); color: white; border-color: var(--ink); }
.size-list input:focus-visible + span { outline: 2px solid #526100; outline-offset: 2px; }
.size-list input:disabled + span { background: var(--surface); color: var(--muted); cursor: default; }
.size-list small, .stock-warning { display: block; font-size: 11px; }
.stock-hint { font-size: 13px; }
.stock-hint:empty { display: none; }
.cart-line .stock-warning { color: #a02924; }
.size-guide { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; }
.size-guide summary { cursor: pointer; font-weight: 750; }
.size-guide p { white-space: pre-line; margin: 8px 0 0; }
.size-table-scroll { overflow-x: auto; margin-top: 7px; }
.size-table-scroll table { border-collapse: collapse; width: 100%; text-align: left; }
.size-table-scroll th, .size-table-scroll td { border-bottom: 1px solid var(--line); padding: 6px; }
.choice { display: flex; align-items: center; gap: 9px; }
input[type=radio], input[type=checkbox] { accent-color: #526100; }
.stack { display: grid; gap: 13px; }
.cart-line { display: grid; grid-template-columns: 66px 1fr auto; align-items: start; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.cart-line img { width: 66px; height: 76px; object-fit: cover; border-radius: 6px; }
.cart-line strong { font-size: 13px; }
.cart-line small, .muted { color: var(--muted); }
.quantity { display: inline-flex; align-items: center; gap: 8px; margin-top: 5px; }
.quantity button { padding: 0; width: 27px; height: 27px; background: white; border: 1px solid var(--line); border-radius: 5px; }
.remove { display: block; margin-left: auto; color: var(--muted); font-size: 12px; }
.totals { border-radius: 9px; padding: 12px 14px; background: var(--surface); font-size: 13px; }
.totals > div { display: flex; justify-content: space-between; gap: 15px; padding: 3px 0; }
.totals > div:last-child { margin-top: 6px; padding-top: 8px; border-top: 1px solid #dedfd3; font-weight: 750; }
.empty { text-align: center; color: var(--muted); padding: 27px 10px; }
.empty p { margin-bottom: 13px; }
.tabs { display: flex; gap: 7px; margin-bottom: 18px; }
.order, .address { padding: 13px; border: 1px solid var(--line); border-radius: 9px; overflow-wrap: anywhere; }
.order summary { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 750; }
.order summary > span:first-child { flex: 1; }
.order summary::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); margin: -4px 1px 0 3px; }
.order[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.order small, .address small { display: block; color: var(--muted); }
.status { display: inline-block; color: #435500; background: #eff6cc; border-radius: 50px; padding: 3px 8px; font-weight: 700; font-size: 11px; }
.status-cancelled { color: #882921; background: #fbe9e7; }
.order .status { margin: 6px 0; }
.order-info { border-top: 1px solid var(--line); margin-top: 9px; padding-top: 9px; font-size: 13px; }
.order-info ul { padding-left: 18px; margin: 7px 0; }
.order-info p { margin-top: 9px; }
.order-tracking { margin-bottom: 13px; }
.order-info .order-progress { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; margin: 5px 0 10px; }
.order-progress li { position: relative; border-top: 2px solid #e2e2db; padding: 9px 4px 0 0; color: var(--muted); font-size: 11px; }
.order-progress li::before { content: ""; position: absolute; top: -5px; width: 8px; height: 8px; border-radius: 50%; background: #c7c9bc; }
.order-progress .is-reached { border-color: #718321; color: #435500; }
.order-progress .is-reached::before { background: #718321; }
.order-progress [aria-current="step"] { font-weight: 800; }
.tracking-ref { border-radius: 7px; background: var(--surface); padding: 8px 10px; }
.tracking-ref a { display: block; font-weight: 750; text-decoration: underline; }
.return-link { display: flex; font-size: 12px; color: #435500; }
.return-state { padding: 3px 0 8px; }
.return-state .status { margin: 3px 0; }
.order-actions { margin-top: 14px; padding-top: 11px; border-top: 1px solid var(--line); }
.danger-outline { background: white; color: #a02924; border-color: #e9b6b0; }
.danger-outline:hover { background: #fff1ef; }
.danger { background: #a02924; color: white; }
.danger:hover { background: #85211c; }
.cancel-panel { gap: 17px; }
.cancel-panel h3 { font: 800 25px/1.18 var(--display); letter-spacing: -.035em; }
.cancel-panel p { margin-top: 5px; color: var(--muted); font-size: 13px; }
.cancel-icon { justify-self: start; width: 46px; height: 46px; border-radius: 50%; color: #a02924; background: #fbe9e7; }
.cancel-order-ref { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; padding: 12px; border: 1px solid var(--line); border-radius: 9px; font-size: 13px; }
.cancel-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.address .text-button { margin-right: 13px; font-size: 12px; }
.notice { padding: 10px 12px; border-radius: 7px; background: #f2f6dc; font-size: 13px; }
.account-bar { display: grid; gap: 7px; padding: 12px; margin-bottom: 17px; border: 1px solid var(--line); border-radius: 9px; }
.account-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.account-actions .button { min-height: 37px; }
.account-menu { display: grid; height: auto; gap: 8px; }
.account-row { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 1px solid var(--line); border-radius: 9px; background: white; padding: 11px 13px; font-size: 13px; font-weight: 700; text-align: left; }
.account-row:hover { background: var(--surface); }
.account-row svg { width: 17px; height: 17px; }
.account-logout { color: #92251e; }
.section-back { margin-bottom: 10px; color: var(--muted); font-size: 13px; }
#panel-content > .notice { margin-bottom: 12px; }
.auth-cover {
  display: grid; align-content: space-between; justify-items: start; gap: 18px;
  min-height: 160px; padding: 17px 19px; margin-bottom: 20px; overflow: hidden;
  border-radius: 13px; color: white; background: #30312b;
  background-image: linear-gradient(90deg, #171814f2, #17181480 50%, #17181412 100%), url("./assets/hero-utility-mobile.webp");
  background-size: cover; background-position: center, center 27%;
}
.auth-brand { font: 900 22px/1 Inter, sans-serif; letter-spacing: -.085em; }
.auth-brand i { color: var(--lime); font-style: normal; }
.auth-cover h3 { max-width: 200px; font: 800 clamp(27px, 5vw, 38px)/1.03 var(--display); letter-spacing: -.055em; }
.auth-form { gap: 14px; }
.auth-field { display: grid; gap: 5px; }
.auth-input { position: relative; display: block; }
.auth-input > [data-icon] { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.auth-input > [data-icon] svg, .auth-visibility svg { width: 17px; height: 17px; }
.auth-input input { min-height: 46px; padding-left: 40px; }
.auth-secret input { padding-right: 46px; }
.auth-visibility { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); width: 37px; height: 37px; color: var(--muted); }
.auth-visibility:active { transform: translateY(-50%) scale(.96); }
.auth-submit { min-height: 48px; margin-top: 2px; }
.auth-switch { text-align: center; color: var(--muted); font-size: 13px; }
.auth-switch .text-button { color: #435500; margin-left: 3px; }
.policy-copy { display: grid; gap: 12px; color: #36382e; }
.policy-copy h3 { font-size: 15px; color: var(--ink); }
.form-error { color: #a02924; font-size: 13px; }
#toast { position: fixed; z-index: 4; bottom: 22px; left: 50%; transform: translateX(-50%); pointer-events: none; }
#toast:not(:empty) { background: var(--ink); color: white; border-radius: 8px; padding: 10px 17px; text-align: center; font-size: 13px; }
.admin-page { background: #f7f7f3; min-height: 100vh; }
.admin-header { background: white; border-bottom: 1px solid var(--line); }
.admin-header .shell { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.admin-main { max-width: 1170px; padding: 35px 0 55px; }
.admin-main h1 { font: 800 clamp(33px, 5vw, 54px)/1.1 var(--display); letter-spacing: -.055em; }
.admin-toolbar, .admin-section-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-block: 16px; }
.admin-toolbar .tabs { margin: 0; flex-wrap: wrap; }
#admin-notice { margin-block: 12px; }
.admin-error { padding: 10px 12px; border-radius: 8px; background: #fbe6e3; color: #862621; }
.admin-content { padding-top: 5px; }
.admin-filters, .admin-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-filters { grid-template-columns: minmax(0, 330px) minmax(0, 190px); margin-bottom: 15px; }
.admin-card { background: white; border: 1px solid var(--line); border-radius: 11px; }
.admin-order summary { cursor: pointer; display: flex; align-items: center; gap: 15px; padding: 15px; }
.admin-order summary > span:first-child { flex: 1; }
.admin-order summary small, .admin-product small { display: block; color: var(--muted); font-size: 12px; }
.admin-order-detail { padding: 15px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.5fr 1fr; align-items: start; gap: 18px; font-size: 13px; }
.admin-order-detail ul { padding-left: 18px; margin-block: 4px; }
.admin-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.admin-product { display: grid; grid-template-columns: 55px 1fr auto; align-items: center; gap: 11px; padding: 10px; }
.admin-product img { width: 55px; height: 68px; object-fit: cover; border-radius: 5px; background: var(--surface); }
.admin-product h3 { font-size: 14px; overflow-wrap: anywhere; }
.admin-product .button { min-height: 37px; padding-inline: 9px; white-space: nowrap; }
.admin-form { max-width: 830px; padding: 17px; }
.admin-form h2 { margin-bottom: 14px; font-size: 20px; }
.admin-subsection { display: grid; gap: 10px; border: 1px solid var(--line); border-radius: 9px; padding: 10px; }
.admin-subsection .button { justify-self: start; }
.variant-row { display: grid; grid-template-columns: 1.4fr .7fr .7fr .8fr auto; gap: 7px; align-items: end; }
.variant-row input[type=color] { min-height: 44px; padding: 4px; }
.admin-photos { display: flex; gap: 7px; flex-wrap: wrap; }
.admin-photos img { width: 52px; height: 60px; object-fit: cover; border-radius: 5px; }
.admin-return { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; padding: 14px; }
.admin-return p { margin: 5px 0; overflow-wrap: anywhere; }
.admin-fields input[type=color] { padding: 4px; height: 44px; }
@media (max-width: 1000px) {
  .shell { width: calc(100% - 52px); }
  nav { gap: 17px; }
  .hero { min-height: 386px; }
  .product-grid { gap: 13px; }
}
@media (max-width: 750px) {
  .shell { width: calc(100% - 30px); }
  .header-inner { grid-template-columns: 1fr 1fr; gap: 0; padding-top: 8px; }
  .header-actions { grid-column: 2; grid-row: 1; gap: 4px; }
  nav { grid-row: 2; grid-column: 1 / -1; min-height: 39px; justify-content: space-between; gap: 6px; }
  .nav-item { min-height: 39px; }
  .site-header { margin-bottom: 13px; }
  .hero { min-height: 356px; }
  .hero-copy { padding: 25px; }
  .hero h1 { font-size: clamp(43px, 8vw, 60px); }
  .benefits { margin: 12px 0 25px; }
  .benefits > div { flex-direction: column; text-align: center; gap: 5px; padding: 0 5px; }
  .benefits strong { font-size: 11px; }
  .benefits small { display: none; }
  .benefit-icon { width: 32px; height: 32px; }
  .benefit-icon svg { width: 17px; height: 17px; }
  .catalog-head { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 14px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 11px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 23px 14px; padding-block: 25px; }
}
@media (max-width: 640px) {
  .photo-viewer { border-radius: 0; padding: 8px; }
  .catalog-tools { justify-content: flex-start; }
  dialog { --drawer-offset: translateY(48px); }
  .hero { min-height: 470px; align-items: start; }
  .hero-slides { top: auto; height: 260px; }
  .hero-art img { object-position: center 35%; }
  .hero::after { background: linear-gradient(180deg, #e8e3d9 41%, #e8e3d9aa 48%, transparent 61%); }
  .hero h1 { margin: 10px 0; }
  .hero-description { font-size: 13px; max-width: 240px; margin-bottom: 12px; }
  .hero .button { min-height: 42px; }
  .admin-product-grid, .admin-fields, .admin-order-detail, .admin-return { grid-template-columns: 1fr; }
  .variant-row { grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
  .admin-order summary { flex-wrap: wrap; gap: 7px 11px; }
}
@media (max-width: 370px) {
  .header-actions { gap: 2px; }
  .header-actions .icon-button { width: 33px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after, dialog::backdrop { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .slide-progress { display: none; }
}
