:root {
  color-scheme: light;
  --ink: #171715;
  --muted: #777771;
  --line: #e6e5e0;
  --paper: #fff;
  --soft: #f5f4f0;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  width: min(100% - 64px, 1120px);
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; flex-direction: column; gap: 4px; flex: 0 0 auto; }
.brand-name { font-size: 22.8px; font-weight: 700; letter-spacing: .16em; }
.brand-note, .eyebrow, .product-category {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
}
.brand-note { color: var(--muted); font-size: 9.6px; }
.menu-toggle, .cart-icon { display: none; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(16px, 3vw, 38px); font-size: 14.4px; }
.main-nav a, .footer-links a { transition: opacity .2s ease; }
.main-nav a:hover, .footer-links a:hover { opacity: .55; }
.cart-link { display: flex; align-items: center; gap: 8px; font-size: 14.4px; }
.cart-count {
  width: 21px;
  height: 21px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 12px;
}
.page { width: min(100% - 64px, 1120px); margin: 0 auto; }
.hero { margin: 24px 0 48px; padding: clamp(64px, 9vw, 100px) 28px; text-align: center; background: radial-gradient(ellipse at 12% 12%, #e3d6c5 0, transparent 58%), radial-gradient(ellipse at 100% 100%, #dddccf 0, transparent 60%), #f4eee5; }
.hero .eyebrow { color: #646052; }
.hero .hero-copy { color: #625e53; }
.hero-slider { position: relative; margin: 24px 0 48px; }
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; margin: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 0; padding-bottom: 86px; }
.hero-slide[hidden] { display: none; }
.hero-slide h2 { margin: 0; font-family: var(--serif); font-size: clamp(50.4px, 8.4vw, 84px); font-weight: 500; letter-spacing: -.045em; line-height: 1.08; }
.hero-slide-sand { background: radial-gradient(ellipse at 100% 0, #daceb9 0, transparent 65%), #efe7da; }
.hero-slide-sage { background: linear-gradient(145deg, #edf0e7, #dce2d2); }
.hero-slide-rose { background: linear-gradient(145deg, #f4eae4, #e8d8ce); }
.slider-controls { position: absolute; bottom: 16px; left: 20px; right: 20px; display: flex; align-items: center; justify-content: center; gap: 16px; }
.slider-controls[hidden] { display: none; }
.slider-arrow { width: 44px; height: 44px; border: 1px solid #17171533; background: transparent; color: var(--ink); font-size: 26.4px; cursor: pointer; }
.slider-dots { display: flex; }
.slider-dots button { position: relative; width: 32px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.slider-dots button::after { content: ''; position: absolute; width: 6px; height: 6px; top: 19px; left: 13px; border-radius: 50%; background: #17171544; }
.slider-dots button[aria-current="true"]::after { background: var(--ink); }
.eyebrow { margin: 0 0 18px; color: var(--muted); }
h1, h2, h3, h4, p { margin-top: 0; }
.hero h1, .content-page h1, .detail-copy h1, .empty-state h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(50.4px, 8.4vw, 84px);
  letter-spacing: -.045em;
  line-height: 1.08;
}
.hero-copy { max-width: 390px; margin: 25px auto 30px; color: var(--muted); font-size: 16.8px; line-height: 1.8; }
.button {
  min-height: 54px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  font-size: 14.4px;
  font-weight: 600;
  transition: background .2s ease, color .2s ease;
}
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { color: var(--ink); background: white; }
.button-outline { width: 100%; color: var(--ink); background: transparent; }
.button-outline:hover { color: white; background: var(--ink); }
.button-full { width: 100%; }
.catalog { scroll-margin-top: 25px; }
.section-heading { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2 { margin: 0; font-family: var(--serif); font-size: 31.2px; font-weight: 500; }
.catalog-intro { max-width: 640px; margin: 16px 0 0; color: #62625d; font-size: 16.8px; line-height: 1.8; }
.category { padding-top: 35px; }
.category-title { display: flex; justify-content: space-between; align-items: center; margin: 0 0 18px; font-size: 13.2px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.category-title span { color: var(--muted); font-size: 12px; }
.product-list { column-count: 3; column-gap: 16px; }
.product-card { min-width: 0; margin: 0 0 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); break-inside: avoid; }
.product-art {
  position: relative;
  display: block;
}
.product-art img { width: 100%; height: auto; display: block; }
.product-info { display: block; padding: 14px 0 12px; }
.product-category { margin: 0 0 8px; color: var(--muted); font-size: 10.8px; }
.product-info h4 { margin: 0; font-family: var(--serif); font-size: 21.6px; font-weight: 500; }
.product-price { margin: 8px 0 0; font-size: 15.6px; font-weight: 600; }
.product-meta, .cart-item .product-meta { display: block; margin: 8px 0; color: var(--muted); font-size: 13.2px; line-height: 1.6; }
.product-breadcrumbs { margin: 30px 0 18px; color: var(--muted); font-size: 14.4px; line-height: 1.7; overflow-wrap: anywhere; }
.product-breadcrumbs a:hover { text-decoration: underline; }
.manifesto { margin: 36px 0 28px; padding: 72px 28px; text-align: center; background: radial-gradient(ellipse at 0 0, #e7ebdf 0, transparent 65%), linear-gradient(135deg, #f0f1e9, #dce2d2); }
.manifesto .eyebrow { color: #606650; line-height: 1.7; }
.manifesto > p:not(.eyebrow) { margin: 0 auto 25px; font-family: var(--serif); font-size: 38.4px; line-height: 1.4; }
.text-link { display: inline-flex; gap: 10px; align-items: center; border-bottom: 1px solid var(--ink); padding-bottom: 5px; font-size: 14.4px; }

.site-footer { margin-top: 20px; padding: 35px 20px 28px; border-top: 1px solid var(--line); text-align: center; }
.footer-brand { display: inline-flex; flex-direction: column; gap: 4px; font-weight: 700; font-size: 14.4px; letter-spacing: .15em; }
.footer-brand span { color: var(--muted); font-size: 9.6px; }
.site-footer > p { margin: 12px 0 22px; color: var(--muted); font-size: 13.2px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; margin-bottom: 24px; font-size: 12px; }
.site-footer small { color: var(--muted); font-size: 10.8px; letter-spacing: .1em; }

.notice { margin: 20px 0 0; padding: 14px 16px; font-size: 14.4px; line-height: 1.6; }
.notice-success { background: #f1f3ed; }
.notice-error { background: #f5eeee; }
.back-link { display: inline-block; margin: 30px 0 18px; color: var(--muted); font-size: 14.4px; }
.product-detail { padding-bottom: 90px; }
.product-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 12px; }
.product-gallery-single { grid-template-columns: minmax(0, 1fr); }
.product-gallery-item { min-width: 0; margin: 0; }
.product-gallery-item img { display: block; width: 100%; height: auto; }
.detail-copy { max-width: 520px; padding-top: 36px; }
.detail-copy h1 { font-size: clamp(43.2px, 7.2vw, 62.4px); }
.detail-description, .detail-specs, .editorial > p:not(.eyebrow) { color: #62625d; font-size: 16.8px; line-height: 1.9; }
.detail-description { margin: 20px 0 12px; }
.detail-specs { font-size: 14.4px; }
.product-attributes { display: flex; flex-wrap: wrap; gap: 18px 34px; margin: 22px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-attributes div { min-width: 72px; }
.product-attributes dt { margin-bottom: 6px; color: var(--muted); font-size: 10.8px; letter-spacing: .1em; text-transform: uppercase; }
.product-attributes dd { margin: 0; font-size: 15.6px; font-weight: 600; }
.detail-price { margin: 24px 0 18px; font-size: 21.6px; font-weight: 600; }
.delivery-hint, .payment-note { color: var(--muted); font-size: 13.2px; line-height: 1.7; }
.detail-order-form { margin-top: 20px; }
.content-page { padding: 70px 0 100px; }
.content-page h1 { margin-bottom: 35px; font-size: clamp(50.4px, 8.4vw, 74.4px); }
.empty-state { padding: 45px 0 80px; }
.empty-state p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }
.cart-list { border-top: 1px solid var(--line); }
.cart-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.cart-note-form { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.cart-note-form label { font-size: 14.4px; font-weight: 600; }
.cart-note-form textarea { width: 100%; max-width: 640px; padding: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.5; resize: vertical; }
.cart-note-status { font-size: 13.2px; color: var(--muted); }
.item-note { display: block; margin-top: 8px; color: var(--muted); line-height: 1.6; overflow-wrap: anywhere; }
.cart-item-main { display: flex; align-items: center; gap: 14px; }
.cart-photo { display: block; width: 96px; flex: 0 0 96px; background: var(--soft); }
.cart-photo img { display: block; width: 100%; height: 120px; object-fit: contain; }
.cart-item h2 { margin: 0 0 5px; font-family: var(--serif); font-size: 20.4px; font-weight: 500; }
.cart-item p { margin: 0; color: var(--muted); font-size: 12px; }
.cart-item-actions { display: flex; align-items: center; gap: 15px; }
.cart-item-actions > strong { min-width: 74px; text-align: right; font-size: 14.4px; }
.quantity-form { display: flex; align-items: center; gap: 6px; }
.quantity-form input { width: 48px; height: 34px; border: 1px solid var(--line); text-align: center; }
.small-button, .remove-button { padding: 0; border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 12px; text-decoration: underline; }
.cart-total, .checkout-summary { display: flex; justify-content: space-between; padding: 22px 0 8px; font-size: 15.6px; }
.cart-total strong, .checkout-summary strong { font-size: 19.2px; }
.checkout-link { margin-top: 18px; }
.checkout-form { display: flex; flex-direction: column; gap: 18px; margin-top: 30px; }
.checkout-form > label { display: flex; flex-direction: column; gap: 8px; font-size: 13.2px; font-weight: 600; }
.delivery-choice, .delivery-address { display: flex; flex-direction: column; gap: 14px; }
.delivery-choice[hidden], .delivery-address[hidden] { display: none; }
.pickup-map { width: 100%; min-height: 460px; overflow: hidden; }
.selected-pickup-point { margin: 0; padding: 14px; background: var(--soft); font-size: 14.4px; line-height: 1.6; }
.address-autocomplete { position: relative; }
.address-autocomplete > label { display: block; margin-bottom: 8px; font-size: 13.2px; font-weight: 600; }
.address-suggestions { position: absolute; z-index: 5; top: 100%; left: 0; right: 0; max-height: 240px; margin: 0; padding: 5px 0; overflow-y: auto; list-style: none; border: 1px solid var(--line); background: white; box-shadow: 0 8px 20px rgb(0 0 0 / 8%); }
.address-suggestions[hidden] { display: none; }
.address-suggestions button { width: 100%; padding: 11px 14px; border: 0; background: white; text-align: left; font-size: 14.4px; cursor: pointer; }
.address-suggestions button:hover, .address-suggestions button:focus { background: var(--soft); }
.checkout-form input:not([type="radio"]), .checkout-form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 0; outline: none; background: white; font-size: 15.6px; }
.checkout-form input:focus, .checkout-form textarea:focus { border-color: var(--ink); }
.checkout-form fieldset { display: flex; flex-direction: column; gap: 0; margin: 8px 0 0; padding: 0; border: 0; }
.checkout-form legend { margin-bottom: 12px; font-size: 13.2px; font-weight: 600; }
.radio-option { display: grid; grid-template-columns: 19px 1fr auto; align-items: center; gap: 10px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 14.4px; cursor: pointer; }
.radio-option input { accent-color: var(--ink); }
.radio-option small { color: var(--muted); font-size: 12px; }
.editorial { max-width: 620px; }
.editorial h1 { margin-bottom: 28px; }
.editorial .lead, .lead { max-width: 560px; margin: 0 0 35px; color: #565650; font-family: var(--serif); font-size: 24px; line-height: 1.7; }
.editorial-rule { height: 1px; margin: 38px 0; background: var(--line); }
.editorial h2 { margin: 35px 0 12px; font-family: var(--serif); font-size: 28.8px; font-weight: 500; }
.order-page h1 { max-width: 550px; }
.order-summary { margin: 30px 0 15px; border-top: 1px solid var(--line); }
.order-summary > div { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 14.4px; }
.order-summary .order-total { font-weight: 600; }
.order-page .button { margin-top: 12px; }
.admin-page h1 { margin-bottom: 20px; font-size: clamp(45.6px, 7.2vw, 64.8px); }
.admin-login-form { max-width: 440px; }
.admin-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.admin-heading .button { min-height: 44px; margin-top: 5px; }
.admin-order-count { margin: 8px 0 20px; color: var(--muted); font-size: 13.2px; }
.admin-order-list { border-top: 1px solid var(--line); }
.admin-order { padding: 22px 0; border-bottom: 1px solid var(--line); }
.admin-order-top, .admin-order-bottom { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.admin-order-top h2 { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 500; }
.admin-order-top time, .admin-order-bottom > span { color: var(--muted); font-size: 12px; }
.admin-order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; margin: 20px 0; font-size: 14.4px; overflow-wrap: anywhere; }
.admin-order-grid > div { display: flex; flex-direction: column; gap: 5px; }
.admin-label { color: var(--muted); font-size: 10.8px; letter-spacing: .08em; text-transform: uppercase; }
.admin-order-items { margin: 0; padding: 12px 0; list-style: none; border-top: 1px solid var(--line); }
.admin-order-items li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; font-size: 13.2px; }
.admin-order-items li strong { white-space: nowrap; }
.admin-order-bottom { padding-top: 14px; border-top: 1px solid var(--line); }
.admin-order-bottom strong { font-size: 18px; }
.admin-tabs { display: flex; gap: 28px; margin: 16px 0 28px; border-bottom: 1px solid var(--line); }
.admin-category-settings { margin: 24px 0; padding: 20px; border: 1px solid var(--line); }
.admin-category-settings summary { cursor: pointer; font-size: 18px; font-weight: 600; }
.admin-category-settings .delivery-hint { margin-top: 16px; }
.admin-category-order-list { max-width: 720px; margin: 20px 0; padding: 0; list-style: none; }
.admin-category-order-list li { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.admin-category-order-list input[type="number"] { width: 64px; min-height: 44px; padding: 8px; border: 1px solid var(--line); font-size: 16px; }
.admin-category-name { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 16px; }
.admin-category-move { display: flex; gap: 6px; }
.admin-category-move[hidden] { display: none; }
.admin-category-move button { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--paper); font-size: 22px; cursor: pointer; }
.admin-category-move button:disabled { opacity: .3; cursor: default; }
.admin-category-order-status { font-size: 14px; color: var(--muted); }
@media (max-width: 640px) {
  .admin-category-settings { padding: 14px; }
  .admin-category-order-list li { gap: 8px; }
  .admin-category-order-list input[type="number"] { width: 48px; }
}
.admin-tabs a { padding: 14px 0; font-size: 18px; }
.admin-tabs a[aria-current="page"] { border-bottom: 2px solid var(--ink); font-weight: 600; }
.admin-products-toolbar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; }
.admin-product-search { display: flex; flex-wrap: wrap; gap: 10px; flex: 1; }
.admin-product-search > label:first-of-type { flex: 1; min-width: 200px; }
.admin-product-search input, .admin-product-search select, .admin-product-form input:not([type="checkbox"]):not([type="radio"]), .admin-product-form textarea, .admin-product-form select { width: 100%; min-height: 44px; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: var(--paper); font: inherit; font-size: 16px; font-weight: 400; }
.admin-product-search select { height: 100%; }
.admin-product-search .button { width: auto; min-height: 44px; }
.admin-product-list { border-top: 1px solid var(--line); }
.admin-product-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.admin-product-thumbnail img { display: block; width: 96px; height: 120px; object-fit: contain; background: var(--soft); }
.admin-product-info { min-width: 0; overflow-wrap: anywhere; }
.admin-product-info h2 { margin: 0; font-family: var(--serif); font-size: 25px; font-weight: 500; }
.admin-product-status { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
.admin-product-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.admin-product-actions .small-button { font-size: 14px; min-height: 32px; }
.admin-editor-title { margin: 28px 0 22px; font-family: var(--serif); font-size: 30px; font-weight: 500; }
.admin-product-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.admin-product-form > label, .admin-attribute-fields > label { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 600; }
.admin-form-wide { grid-column: 1 / -1; }
.admin-product-form fieldset { min-width: 0; margin: 4px 0 0; padding: 22px 0 0; border: 0; border-top: 1px solid var(--line); }
.admin-product-form legend { padding-right: 16px; font-size: 20px; }
.admin-attribute-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.admin-product-options { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.admin-product-options > label, .admin-photo-card > label { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.admin-product-options input, .admin-photo-card input { accent-color: var(--ink); }
.admin-product-options p { margin: 0; }
.admin-product-options .admin-availability-choice { flex-direction: column; align-items: stretch; }
.product-availability, .cart-item .product-availability { display: block; margin: 8px 0 0; color: var(--muted); font-size: 14.4px; line-height: 1.6; }
.admin-product-form textarea { line-height: 1.7; resize: vertical; }
.admin-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 16px; margin-bottom: 22px; }
.admin-photo-card { min-width: 0; padding: 10px; border: 1px solid var(--line); }
.admin-photo-card img { display: block; width: 100%; height: 160px; margin-bottom: 12px; object-fit: contain; background: var(--soft); }
.admin-photo-card > label { margin-top: 10px; }
.admin-upload-label { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.admin-upload-preview { display: flex; flex-wrap: wrap; gap: 12px; }
.admin-upload-preview img { width: 100px; height: 120px; object-fit: contain; background: var(--soft); }
.admin-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; padding: 18px 0; }
@media (max-width: 640px) {
  .admin-product-row { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  .admin-product-thumbnail img { width: 72px; height: 96px; }
  .admin-product-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 20px; }
  .admin-product-actions .small-button { min-height: 44px; }
  .admin-product-form, .admin-attribute-fields { grid-template-columns: minmax(0, 1fr); }
  .admin-product-search { width: 100%; }
  .admin-product-search > label:first-of-type { flex-basis: 100%; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.workshop-gallery { margin: 64px 0 48px; }
.gallery-grid { columns: 4; column-gap: 14px; }
.gallery-photo { position: relative; display: block; margin-bottom: 14px; overflow: hidden; break-inside: avoid; background: var(--soft); }
.gallery-photo img { display: block; width: 100%; height: auto; transition: transform .3s ease; }
.gallery-photo:hover img { transform: scale(1.035); }
.gallery-photo:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.gallery-zoom { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 32px; height: 32px; background: rgb(255 255 255 / 90%); font-size: 22px; }
.gallery-open { overflow: hidden; }
.gallery-dialog { width: min(1100px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 48px 16px 16px; border: 0; color: white; background: #171715; }
.gallery-dialog::backdrop { background: rgb(0 0 0 / 80%); }
.gallery-viewer { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 12px; }
.gallery-viewer figure { min-width: 0; margin: 0; }
.gallery-full-image { display: block; width: 100%; height: min(72dvh, 780px); object-fit: contain; }
.gallery-viewer figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin-top: 16px; font-size: 14.4px; line-height: 1.6; }
.gallery-viewer button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff55; background: transparent; color: white; cursor: pointer; font-size: 24px; }
.gallery-viewer .gallery-close { position: absolute; top: 4px; right: 16px; border: 0; font-size: 32px; }
@media (max-width: 900px) {
  .gallery-grid { columns: 3; }
}
@media (max-width: 640px) {
  .workshop-gallery { margin: 40px 0 28px; }
  .gallery-grid { columns: 2; column-gap: 10px; }
  .gallery-photo { margin-bottom: 10px; }
  .gallery-dialog { width: calc(100% - 16px); padding: 48px 12px 16px; }
  .gallery-viewer { grid-template-columns: 1fr 1fr; }
  .gallery-viewer figure { grid-column: 1 / -1; grid-row: 1; }
  .gallery-full-image { height: 60dvh; }
  .gallery-next { justify-self: end; }
}

.footer-address { margin: 0 auto 24px; font-style: normal; font-size: 15.6px; line-height: 1.7; }
.footer-address a:hover { text-decoration: underline; text-underline-offset: 4px; }
.vk-feed { margin-top: 48px; }
.vk-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 28px; }
.vk-post { min-width: 0; }
.vk-post img { display: block; width: 100%; height: 280px; object-fit: contain; background: var(--soft); margin-bottom: 18px; }
.vk-post time { color: var(--muted); font-size: 13.2px; }
.vk-post p { margin: 12px 0 18px; font-size: 16.8px; line-height: 1.7; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .vk-posts { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 900px) {
  .product-list { column-count: 2; }
}

@media (max-width: 640px) {
  .site-header { position: relative; width: calc(100% - 32px); min-height: 80px; padding: 12px 0; display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 8px; }
  .brand { grid-column: 2; grid-row: 1; min-width: 0; align-items: center; justify-self: center; }
  .brand-name { font-size: clamp(16.8px, 4.8vw, 21.6px); }
  .brand-note { font-size: clamp(7.2px, 2.04vw, 9.6px); }
  .menu-toggle { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
  .menu-toggle span { width: 22px; height: 1.5px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .main-nav { display: none; position: absolute; z-index: 10; top: 100%; left: -16px; right: -16px; margin: 0; padding: 8px 16px 16px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 16px rgb(0 0 0 / 5%); font-size: 16.8px; }
  .menu-open .main-nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { display: flex; align-items: center; min-height: 48px; padding: 0 12px; }
  .cart-link { grid-column: 3; grid-row: 1; position: relative; justify-content: center; width: 44px; height: 44px; }
  .cart-label { display: none; }
  .cart-icon { display: block; }
  .cart-count { position: absolute; top: 0; right: -2px; min-width: 18px; width: auto; height: 18px; padding: 0 4px; background: var(--paper); font-size: 12px; }
  .page { width: calc(100% - 32px); }
  .hero { margin: 16px 0 32px; padding: 34px 16px; }
  .hero-slider { margin: 16px 0 32px; }
  .hero-slider .hero-slide { margin: 0; padding: 34px 16px 80px; }
  .hero-slide h2 { font-size: clamp(38.4px, 9.84vw, 57.6px); line-height: 1.1; }
  .slider-controls { bottom: 12px; }
  .hero h1 br { display: none; }
  .hero .eyebrow { max-width: 290px; margin: 0 auto 16px; font-size: 10.8px; line-height: 1.7; letter-spacing: .12em; }
  .hero h1 { font-size: clamp(38.4px, 9.84vw, 57.6px); line-height: 1.1; }
  .hero-copy { max-width: 310px; margin: 18px auto 22px; font-size: 16.8px; line-height: 1.6; }
  .button { min-height: 48px; padding: 12px 18px; font-size: 15.6px; }
  .section-heading { padding-bottom: 20px; }
  .section-heading h2 { font-size: 28.8px; line-height: 1.2; }
  .category { padding-top: 24px; }
  .category-title { margin-bottom: 14px; }
  .product-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .product-card { margin: 0; padding-bottom: 14px; }
  .product-art { aspect-ratio: 3 / 4; background: var(--soft); }
  .product-art img { height: 100%; object-fit: contain; }
  .product-info { padding: 12px 0 0; }
  .product-category { font-size: 10.8px; margin-bottom: 6px; }
  .product-info h4 { font-size: 20.4px; line-height: 1.25; overflow-wrap: anywhere; }
  .product-price { font-size: 15.6px; }
  .manifesto { margin: 28px 0 20px; padding: 40px 20px; }
  .manifesto > p:not(.eyebrow) { font-size: 31.2px; }
  .content-page { padding: 32px 0 52px; }
  .content-page h1, .empty-state h1 { font-size: 43.2px; margin-bottom: 24px; overflow-wrap: anywhere; }
  .product-detail { padding-bottom: 48px; }
  .product-gallery:not(.product-gallery-single) { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .product-gallery:not(.product-gallery-single) .product-gallery-item { flex: 0 0 88%; scroll-snap-align: start; }
  .detail-copy { padding-top: 24px; }
  .detail-copy h1 { font-size: 40.8px; overflow-wrap: anywhere; }
  .cart-item { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .cart-item-main { min-width: 0; overflow-wrap: anywhere; }
  .cart-item-actions { justify-content: space-between; flex-wrap: wrap; gap: 10px; }
  .quantity-form { gap: 10px; }
  .quantity-form input { height: 44px; font-size: 19.2px; }
  .small-button, .remove-button { min-height: 44px; font-size: 14.4px; }
  .checkout-form fieldset { min-width: 0; }
  .checkout-form input:not([type="radio"]), .checkout-form textarea { min-width: 0; font-size: 19.2px; }
  .radio-option { grid-template-columns: 19px minmax(0, 1fr); font-size: 16.8px; }
  .radio-option small { grid-column: 2; font-size: 14.4px; }
  .address-suggestions button { min-height: 44px; font-size: 16.8px; }
  .delivery-hint, .payment-note { font-size: 14.4px; overflow-wrap: anywhere; }
  .order-summary > div { flex-wrap: wrap; gap: 8px 16px; overflow-wrap: anywhere; }
  .footer-links { gap: 4px 16px; font-size: 14.4px; }
  .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .admin-heading { flex-wrap: wrap; }
  .admin-order-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .admin-order-top { align-items: flex-start; flex-direction: column; gap: 6px; }
  .pickup-map { min-height: 340px; }
}

@media (max-width: 359px) {
  .product-list { grid-template-columns: minmax(0, 1fr); }
  .product-art { aspect-ratio: 4 / 5; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
