:root {
  --ink: #0b0a09;
  --ink-soft: #12100e;
  --panel: #181510;
  --panel-raised: #211d17;
  --ivory: #f2eadf;
  --ivory-soft: #d8cfc2;
  --muted: #a99f92;
  --gold: #c7a36a;
  --gold-light: #e1c38f;
  --gold-dark: #7f623c;
  --danger: #d98b7e;
  --success: #9dbe95;
  --line: rgba(225, 195, 143, 0.22);
  --line-strong: rgba(225, 195, 143, 0.48);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --display: "Playfair Display", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --shell: min(1240px, calc(100% - 48px));
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ivory);
  background: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
input, select, textarea {
  width: 100%;
  color: var(--ivory);
  background: #0f0d0b;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 12px 13px;
}
input::placeholder, textarea::placeholder { color: #766f66; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}
textarea { resize: vertical; }

.shell { width: var(--shell); 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: 1000;
  left: 16px;
  top: -80px;
  padding: 10px 14px;
  background: var(--gold-light);
  color: var(--ink);
  transition: top 180ms ease;
}
.skip-link:focus { top: 16px; }
.announcement {
  min-height: 30px;
  display: grid;
  place-items: center;
  padding: 5px 20px;
  color: #241b10;
  background: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(11, 10, 9, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-main {
  min-height: 86px;
  display: grid;
  grid-template-columns: 220px minmax(300px, 620px) 150px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand-lockup { display: inline-flex; width: max-content; flex-direction: column; line-height: 1; }
.brand-name {
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 25px;
  letter-spacing: 0.11em;
}
.brand-subtitle {
  margin-top: 8px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.34em;
}
.header-search { display: grid; grid-template-columns: 1fr auto; }
.header-search input { min-height: 44px; border-color: var(--line-strong); border-right: 0; }
.header-search button,
.account-button {
  border: 1px solid var(--line-strong);
  background: transparent;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.header-search button { color: #21180d; background: var(--gold); }
.account-button:hover, .main-nav a:hover { color: var(--gold-light); border-color: var(--gold); }
.main-nav {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(26px, 5vw, 72px);
  border-top: 1px solid rgba(225, 195, 143, 0.1);
}
.main-nav { scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
  position: relative;
  height: 100%;
  display: inline-flex;
  align-items: center;
  color: var(--ivory-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.main-nav a[aria-current="page"] { color: var(--gold-light); border-bottom: 1px solid var(--gold-light); }

.hero-carousel {
  position: relative;
  height: clamp(350px, 34vw, 480px);
  min-height: 350px;
  overflow: hidden;
  background: #080706;
  border-bottom: 1px solid var(--line);
}
.carousel-track { display: flex; width: 100%; height: 100%; transition: transform 760ms cubic-bezier(.22,.65,.28,1); }
.carousel-slide { position: relative; flex: 0 0 100%; width: 100%; height: 100%; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-slide:nth-child(2) img { object-position: center; }
.carousel-copy {
  position: absolute;
  left: max(24px, calc((100vw - 1240px) / 2));
  top: 50%;
  width: min(500px, calc(100% - 48px));
  transform: translateY(-50%);
  padding: clamp(24px, 3vw, 42px);
  background: rgba(9, 8, 7, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.carousel-copy .eyebrow { margin-top: 0; }
.carousel-copy h2 {
  max-width: 10ch;
  margin: 10px 0 18px;
  font-family: var(--display);
  font-size: clamp(40px, 4.8vw, 64px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.carousel-copy p:not(.eyebrow) { max-width: 44ch; margin-bottom: 28px; color: var(--ivory-soft); }
.carousel-control {
  position: absolute;
  z-index: 3;
  bottom: 22px;
  padding: 8px 12px;
  background: rgba(9, 8, 7, 0.78);
  border: 1px solid var(--line-strong);
  color: var(--ivory);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.carousel-previous { right: 124px; }
.carousel-next { right: 24px; }
.carousel-dots { position: absolute; z-index: 3; bottom: 26px; left: 50%; display: flex; gap: 8px; transform: translateX(-50%); }
.carousel-dot { width: 30px; height: 3px; padding: 0; background: rgba(255,255,255,.38); border: 0; }
.carousel-dot[aria-current="true"] { background: var(--gold-light); }

.section { padding-block: clamp(72px, 8vw, 112px); }
.promotion-section, .brands-section { background: var(--ink-soft); border-block: 1px solid rgba(225,195,143,.09); }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.section-heading h1, .section-heading h2, .centered-heading h2, .club-section h2,
.catalog-heading h1, .admin-title h1, .admin-login h1 {
  margin: 4px 0 0;
  font-family: var(--display);
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.text-link { padding-bottom: 3px; color: var(--gold-light); border-bottom: 1px solid var(--gold-dark); font-size: 12px; font-weight: 700; }
.text-link:hover { border-color: var(--gold-light); }
.centered-heading { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.centered-heading p:last-child { color: var(--muted); }

.product-grid { display: grid; gap: 22px; }
.product-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card {
  min-width: 0;
  background: #13110e;
  border: 1px solid rgba(225,195,143,.16);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.product-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 20px 45px rgba(0,0,0,.26); }
.product-card-image { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #e9ddcd; }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 520ms ease; }
.product-card:hover .product-card-image img { transform: scale(1.025); }
.sale-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 8px;
  color: #24190c;
  background: var(--gold-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.product-card-body { padding: 18px; }
.product-brand { margin: 0 0 5px; color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.product-card h3 { margin: 0; font-family: var(--display); font-size: 24px; font-weight: 500; line-height: 1.15; }
.product-meta { margin: 8px 0 12px; color: var(--muted); font-size: 12px; }
.product-proof { margin: 0 0 10px; color: var(--ivory-soft); font-size: 11px; }
.product-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.product-price { color: var(--gold-light); font-size: 18px; font-weight: 700; }
.product-compare { color: #81796f; font-size: 12px; text-decoration: line-through; }
.product-card-action {
  width: 100%;
  margin-top: 15px;
  padding: 10px 12px;
  background: transparent;
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product-card-action:hover { color: var(--ink); background: var(--gold-light); }
.empty-state { grid-column: 1 / -1; padding: 60px 24px; color: var(--muted); border: 1px solid var(--line); text-align: center; }

.concentration-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.concentration-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--panel);
  text-align: center;
  transition: background-color 220ms ease, color 220ms ease;
}
.concentration-card span { font-family: var(--display); font-size: clamp(28px, 3vw, 42px); font-style: italic; }
.concentration-card small { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.concentration-card:hover { color: #21180e; background: var(--gold-light); }
.concentration-card:hover small { color: #5e4931; }
.brand-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.brand-pill {
  min-width: 170px;
  padding: 17px 22px;
  color: var(--ivory-soft);
  background: #15120f;
  border: 1px solid var(--line);
  text-align: center;
}
.brand-pill strong { display: block; font-family: var(--display); font-size: 18px; font-weight: 500; }
.brand-pill span { color: var(--muted); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.brand-pill:hover { color: var(--ink); background: var(--gold-light); border-color: var(--gold-light); }
.brand-pill:hover span { color: #5e4931; }

.club-section { padding-block: clamp(70px, 9vw, 120px); background: var(--gold); color: #23190e; }
.club-content { display: grid; grid-template-columns: 1.35fr 1fr auto; align-items: center; gap: clamp(30px, 6vw, 80px); }
.club-content .eyebrow { color: #6a4b25; }
.club-content p { margin: 0; }
.site-footer { padding-top: 68px; background: #080706; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-bottom: 60px; }
.footer-grid p { max-width: 40ch; color: var(--muted); }
.footer-grid h2 { margin: 0 0 14px; color: var(--gold); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid a, .footer-grid button { display: block; width: max-content; margin: 8px 0; color: var(--ivory-soft); background: transparent; border: 0; padding: 0; }
.footer-grid a:hover, .footer-grid button:hover { color: var(--gold-light); }
.footer-end { min-height: 58px; display: flex; align-items: center; justify-content: space-between; color: #766e63; border-top: 1px solid rgba(225,195,143,.12); font-size: 11px; }
.compact-footer { padding-top: 0; margin-top: 80px; }

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 1px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.button-primary { color: #21170c; background: var(--gold-light); }
.button-primary:hover { background: var(--gold); }
.button-outline { color: var(--gold-light); background: transparent; border-color: var(--line-strong); }
.button-outline:hover { color: var(--ink); background: var(--gold-light); }
.button-light { color: #21170c; background: #f6eee2; }

dialog {
  width: min(620px, calc(100% - 28px));
  max-height: calc(100vh - 34px);
  padding: 38px;
  color: var(--ivory);
  background: #15120f;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  overflow: auto;
}
dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(6px); }
.dialog-close { position: absolute; top: 14px; right: 14px; padding: 6px 8px; color: var(--muted); background: transparent; border: 0; font-size: 11px; }
.dialog-intro { color: var(--muted); }
.stack-form { display: grid; gap: 17px; margin-top: 24px; }
.stack-form label, .product-form label, .filter-panel label, .photo-upload-form label, .admin-brand-create label {
  display: grid;
  gap: 7px;
  color: var(--ivory-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.form-message { min-height: 20px; margin: 0; color: var(--danger); font-size: 12px; }
.form-message.is-success { color: var(--success); }
.account-success p { color: var(--muted); }

.catalog-main { padding-block: 68px 20px; }
.catalog-heading { max-width: 760px; margin-bottom: 50px; }
.catalog-heading p:last-child { color: var(--muted); }
.catalog-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 44px; align-items: start; }
.filter-panel { position: sticky; top: 175px; padding: 22px; background: var(--panel); border: 1px solid var(--line); }
.filter-panel form { display: grid; gap: 21px; }
.filter-heading, .admin-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.filter-heading h2, .catalog-toolbar h2, .admin-products h2, .admin-brand-create h2 { margin: 0; font-family: var(--display); font-size: 24px; font-weight: 500; }
.filter-heading button, .admin-section-heading button, .admin-session button { padding: 0; color: var(--gold-light); background: transparent; border: 0; font-size: 11px; }
.price-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check-row { display: flex !important; grid-template-columns: auto 1fr; align-items: center; gap: 9px !important; }
.check-row input { width: 16px; height: 16px; margin: 0; accent-color: var(--gold); }
.catalog-toolbar { min-height: 51px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.catalog-toolbar label { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; }
.catalog-toolbar select { width: auto; min-width: 168px; }
.catalog-status { min-height: 24px; margin: 0 0 14px; color: var(--muted); font-size: 12px; }
.load-more-wrap { display: flex; justify-content: center; padding-top: 36px; }

.product-dialog { width: min(980px, calc(100% - 28px)); padding: 0; }
.product-dialog-layout { display: grid; grid-template-columns: 1fr 1fr; }
.product-dialog-image { min-height: 580px; background: #eadfce; }
.product-dialog-image img { width: 100%; height: 100%; object-fit: cover; }
.product-dialog-content { padding: clamp(34px, 6vw, 70px); }
.product-dialog-content h2 { margin: 4px 0 10px; font-family: var(--display); font-size: clamp(38px, 5vw, 58px); font-weight: 500; line-height: 1; }
.product-detail-meta, .product-dialog-content > p { color: var(--muted); }
.product-dialog-price { color: var(--gold-light) !important; font-size: 24px; font-weight: 700; }
.note-pyramid { display: grid; gap: 12px; margin: 28px 0; padding: 20px 0; border-block: 1px solid var(--line); }
.note-pyramid div { display: grid; grid-template-columns: 75px 1fr; gap: 14px; }
.note-pyramid strong { color: var(--gold); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.note-pyramid span { color: var(--ivory-soft); font-size: 12px; }
.availability { color: var(--success) !important; font-size: 12px; font-weight: 700; }

.admin-header { background: #0a0908; border-bottom: 1px solid var(--line); }
.admin-header .shell { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.admin-session { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 12px; }
.admin-session a, .admin-session button { color: var(--gold-light); }
.admin-main { padding-block: 64px 100px; }
.admin-login { width: min(470px, 100%); margin: 40px auto; padding: 40px; background: var(--panel); border: 1px solid var(--line); }
.admin-login > p { color: var(--muted); }
.admin-title { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 42px; }
.admin-brand-create { margin-bottom: 28px; padding: 24px; background: var(--panel); border: 1px solid var(--line); }
.admin-brand-create form { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 14px; margin-top: 18px; }
.admin-brand-create .form-message { grid-column: 1 / -1; }
.admin-products { padding: 24px; background: var(--panel); border: 1px solid var(--line); }
.admin-section-heading { margin-bottom: 18px; }
.admin-product-list { display: grid; gap: 10px; }
.admin-product-row {
  display: grid;
  grid-template-columns: 58px minmax(180px, 1.2fr) 130px 125px 170px;
  align-items: center;
  gap: 16px;
  padding: 12px;
  background: #100e0c;
  border: 1px solid rgba(225,195,143,.11);
}
.admin-product-thumb { width: 58px; height: 72px; object-fit: cover; background: #eadfce; }
.admin-product-row h3 { margin: 0; font-family: var(--display); font-size: 18px; font-weight: 500; }
.admin-product-row p { margin: 2px 0 0; color: var(--muted); font-size: 10px; }
.admin-product-row select { padding: 8px; font-size: 11px; }
.admin-row-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.admin-row-actions button { padding: 7px 8px; color: var(--gold-light); background: transparent; border: 1px solid var(--line); font-size: 10px; }
.admin-row-actions .danger { color: var(--danger); }

.admin-dialog { width: min(880px, calc(100% - 28px)); }
.admin-dialog h2 { margin: 0 0 24px; font-family: var(--display); font-size: 36px; font-weight: 500; }
.product-form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.editor-check { align-self: end; min-height: 45px; }
.dialog-actions { display: flex; justify-content: flex-end; }
.photo-upload-form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 14px; padding: 20px; background: #100e0c; border: 1px solid var(--line); }
.photo-upload-form .form-message { grid-column: 1 / -1; }
.photo-admin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.photo-admin-card { padding: 10px; background: #0e0c0a; border: 1px solid var(--line); }
.photo-admin-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #eadfce; }
.photo-admin-card p { margin: 8px 0; color: var(--muted); font-size: 10px; word-break: break-all; }
.photo-admin-actions { display: flex; flex-wrap: wrap; gap: 5px; }
.photo-admin-actions button { flex: 1; padding: 7px 5px; color: var(--gold-light); background: transparent; border: 1px solid var(--line); font-size: 9px; }
.photo-admin-actions .danger { color: var(--danger); }
.noscript { padding: 20px; color: var(--danger); background: #211511; text-align: center; }

@media (max-width: 1050px) {
  .header-main { grid-template-columns: 190px 1fr 125px; gap: 18px; }
  .product-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .concentration-grid { grid-template-columns: repeat(2, 1fr); }
  .club-content { grid-template-columns: 1fr 1fr; }
  .club-content .button { width: max-content; }
  .catalog-layout { grid-template-columns: 220px 1fr; gap: 26px; }
  .admin-product-row { grid-template-columns: 58px minmax(180px, 1fr) 110px 160px; }
  .admin-product-price { display: none; }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 28px, 1240px); }
  .announcement { font-size: 9px; }
  .site-header { position: relative; }
  .header-main { min-height: 128px; grid-template-columns: 1fr auto; padding-block: 18px; }
  .header-search { grid-column: 1 / -1; grid-row: 2; }
  .account-button { padding-inline: 12px; }
  .main-nav { justify-content: flex-start; gap: 24px; overflow-x: auto; }
  .main-nav a { flex: 0 0 auto; }
  .hero-carousel { height: 560px; min-height: 560px; }
  .carousel-slide:nth-child(1) img,
  .carousel-slide:nth-child(3) img { object-position: 82% center; }
  .carousel-slide:nth-child(2) img { object-position: 20% center; }
  .carousel-copy { left: 14px; right: 14px; top: auto; bottom: 74px; width: auto; transform: none; padding: 24px; }
  .carousel-copy h2 { font-size: 42px; }
  .carousel-copy p:not(.eyebrow) { margin-bottom: 18px; }
  .carousel-previous { left: 14px; right: auto; }
  .carousel-next { right: 14px; }
  .carousel-dots { bottom: 38px; }
  .section-heading { align-items: start; flex-direction: column; }
  .product-grid-four, .product-grid-three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-card-body { padding: 13px; }
  .product-card h3 { font-size: 20px; }
  .product-meta { min-height: 38px; }
  .concentration-card { min-height: 160px; }
  .club-content { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .catalog-main { padding-top: 42px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .product-dialog-layout { grid-template-columns: 1fr; }
  .product-dialog-image { min-height: 0; aspect-ratio: 4 / 5; }
  .admin-title { align-items: start; flex-direction: column; }
  .admin-brand-create form { grid-template-columns: 1fr; }
  .admin-product-row { grid-template-columns: 52px 1fr; }
  .admin-product-thumb { width: 52px; height: 64px; }
  .admin-row-status, .admin-row-actions { grid-column: 2; }
  .admin-row-actions { justify-content: flex-start; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .brand-name { font-size: 21px; }
  .account-button { font-size: 10px; }
  .product-grid-four, .product-grid-three { grid-template-columns: 1fr; }
  .product-card { max-width: 360px; width: 100%; margin-inline: auto; }
  .concentration-grid { grid-template-columns: 1fr; }
  .price-fields, .form-grid, .photo-admin-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-end { align-items: flex-start; flex-direction: column; justify-content: center; gap: 3px; }
  .catalog-toolbar { align-items: flex-start; flex-direction: column; padding-bottom: 14px; }
  .catalog-toolbar label, .catalog-toolbar select { width: 100%; }
  dialog { padding: 28px 20px; }
  .product-dialog { padding: 0; }
  .photo-upload-form { grid-template-columns: 1fr; }
  .admin-login { padding: 28px 20px; }
  .admin-session span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
