:root {
  color-scheme: dark;
  --bg: #09090b;
  --surface: #121216;
  --surface-2: #19191f;
  --text: #f7f3f7;
  --muted: #bcb6c0;
  --line: rgba(255, 255, 255, .14);
  --brand: #cf0086;
  --brand-2: #ff4eb7;
  --brand-dark: #8f0057;
  --shadow: 0 24px 80px rgba(0, 0, 0, .38);
  --radius: 8px;
  --max: 1180px;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #fbf8fb;
  --surface: #ffffff;
  --surface-2: #f4eef4;
  --text: #19141a;
  --muted: #685f6a;
  --line: rgba(25, 20, 26, .14);
  --shadow: 0 20px 60px rgba(80, 20, 60, .13);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 0, rgba(207, 0, 134, .17), transparent 32rem),
    linear-gradient(180deg, var(--surface-2), var(--bg) 42%);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 100; padding: 10px 14px; border-radius: var(--radius); background: var(--brand); color: #fff; }
.skip-link:focus { top: 16px; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(18px); }
.nav { min-height: 86px; display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 20px; }
.nav > * { min-width: 0; }
.brand img { width: 180px; max-height: 54px; object-fit: contain; }
.nav-links { display: flex; justify-content: center; align-items: center; gap: clamp(12px, 1.6vw, 26px); margin: 0; padding: 0; list-style: none; }
.nav-links a { position: relative; display: block; padding: 12px 0; color: var(--muted); font-size: .82rem; font-weight: 850; text-transform: uppercase; letter-spacing: .03em; }
.nav-links a:hover, .nav-links a.active, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; transform: scaleX(0); transform-origin: left; background: var(--brand); transition: transform .2s ease; }
.nav-links a:hover::after, .nav-links a.active::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.theme-toggle, .menu-toggle, .cart-link { min-height: 42px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--surface) 74%, transparent); color: var(--text); cursor: pointer; }
.theme-toggle { width: 42px; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 19px; height: 2px; border-radius: 999px; background: var(--text); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.cart-link { display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; font-weight: 800; }
.cart-link span { min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; font-size: .78rem; }

.page-hero { position: relative; overflow: hidden; padding: 78px 0 54px; border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); align-items: center; gap: 42px; }
.eyebrow { margin: 0 0 12px; color: var(--brand-2); font-size: .83rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: clamp(2.45rem, 6vw, 4.7rem); line-height: 1.05; text-transform: uppercase; letter-spacing: 0; }
h2 { margin-bottom: 14px; font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1.14; text-transform: uppercase; }
h3 { margin-bottom: 8px; }
.accent { color: var(--brand-2); }
.page-hero p { max-width: 610px; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--radius); background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; cursor: pointer; box-shadow: 0 18px 40px rgba(207, 0, 134, .26); }
.button:hover { transform: translateY(-1px); }
.button-ghost { background: color-mix(in srgb, var(--surface) 72%, transparent); border-color: var(--line); color: var(--text); box-shadow: none; }
.button-small { min-height: 38px; padding: 0 14px; font-size: .86rem; }
.hero-visual { min-height: 410px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.35)), var(--hero-img) center / cover no-repeat; box-shadow: var(--shadow); }

.section { padding: 70px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 28px; }
.section-head p { max-width: 440px; color: var(--muted); margin-bottom: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card, .service-card, .product-card, .price-card, .info-card { border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--surface) 84%, transparent); box-shadow: 0 10px 36px rgba(0,0,0,.12); }
.service-card { min-height: 290px; position: relative; display: flex; align-items: flex-end; overflow: hidden; padding: 24px; isolation: isolate; transition: transform .24s ease, border-color .24s ease; }
.service-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover no-repeat; filter: saturate(.9) contrast(1.05); transition: transform .5s ease; }
.service-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.86)); }
.service-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand) 60%, var(--line)); }
.service-card:hover::before { transform: scale(1.07); }
.service-card h3 { color: #fff; text-transform: uppercase; }
.service-card p { color: rgba(255,255,255,.78); margin-bottom: 18px; }
.service-card .round { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; }

.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.price-card { padding: 22px; }
.price-card h3 { color: var(--brand-2); text-transform: uppercase; }
.price-line { display: flex; justify-content: space-between; gap: 14px; min-width: 0; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.price-line:last-child { border-bottom: 0; }
.price-line span, .price-line b { min-width: 0; }
.price-line b { color: var(--text); overflow-wrap: anywhere; text-align: right; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-card { overflow: hidden; transition: transform .22s ease, border-color .22s ease; }
.product-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 52%, var(--line)); }
.product-media { min-height: 210px; display: grid; place-items: center; background: radial-gradient(circle at 70% 18%, rgba(207,0,134,.22), transparent 9rem), var(--surface-2); }
.product-media img { width: 100%; height: 210px; object-fit: cover; }
.product-body { padding: 18px; }
.product-body p { color: var(--muted); min-height: 48px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.price { color: var(--brand-2); font-size: 1.1rem; font-weight: 950; }
.category-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.pill { border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px; color: var(--muted); background: var(--surface); }
.pill.active, .pill:hover { border-color: var(--brand); color: var(--text); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
label { font-weight: 800; }
input, textarea, select { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; background: var(--surface); color: var(--text); outline: none; }
input[type="checkbox"] { width: auto; min-height: 0; }
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(207,0,134,.16); }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) 380px; gap: 20px; align-items: start; }
.summary { position: sticky; top: 104px; padding: 22px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.summary-line.total { font-size: 1.2rem; font-weight: 950; border-bottom: 0; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.cart-table img { width: 74px; height: 58px; object-fit: cover; border-radius: 6px; }
.cart-table td:nth-child(3) input { width: 92px; min-height: 42px; text-align: center; }
.remove-button { min-height: 38px; border: 1px solid color-mix(in srgb, var(--brand) 58%, var(--line)); border-radius: 999px; padding: 0 14px; background: transparent; color: var(--brand-2); font-weight: 800; cursor: pointer; }
.remove-button:hover { background: color-mix(in srgb, var(--brand) 16%, transparent); }
.cart-actions { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 12px; padding: 18px; }
.cart-actions .price { justify-self: end; }

.info-card { padding: 24px; }
.info-card p, .info-card li { color: var(--muted); }
.info-card, .card, .price-card { min-width: 0; }
.map-frame { width: 100%; min-height: 320px; border: 0; border-radius: var(--radius); background: var(--surface-2); }
.notice { padding: 16px 18px; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius); background: var(--surface); color: var(--muted); }
.np-picker { position: relative; }
.np-select-toggle { position: relative; width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 38px 10px 12px; background: var(--surface); color: var(--text); text-align: left; cursor: pointer; }
.np-select-toggle::after { content: "⌄"; position: absolute; right: 14px; color: var(--muted); font-size: 1.2rem; }
.np-select-toggle:disabled { opacity: .65; cursor: not-allowed; }
.np-results { position: absolute; z-index: 35; left: 0; right: 0; top: calc(100% + 6px); max-height: 280px; overflow-y: auto; padding: 6px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.np-results > button, .np-options button { width: 100%; display: block; margin-bottom: 4px; border: 1px solid transparent; border-radius: 6px; padding: 10px 11px; background: var(--surface-2); color: var(--text); text-align: left; cursor: pointer; line-height: 1.35; }
.np-list-search { position: sticky; top: -6px; z-index: 1; padding-bottom: 6px; background: var(--surface); }
.np-list-search input { min-height: 42px; }
.np-options { display: grid; gap: 4px; }
.np-options button { margin-bottom: 0; }
.np-empty { padding: 14px 10px; color: var(--muted); text-align: center; }
.np-results button:hover, .np-results button:focus { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 14%, var(--surface-2)); outline: none; }

.site-footer { padding: 44px 0; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 80%, var(--bg)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
.footer-logo { width: 180px; margin-bottom: 16px; }
.site-footer h2 { font-size: 1rem; }
.site-footer a { display: block; color: var(--muted); margin: 8px 0; }
.site-footer p { color: var(--muted); }
.toast { position: fixed; right: 18px; bottom: 18px; z-index: 100; max-width: 320px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.visible { opacity: 1; transform: translateY(0); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; background: var(--bg); }
.admin-sidebar { padding: 24px; border-right: 1px solid var(--line); background: var(--surface); }
.admin-sidebar img { width: 170px; margin-bottom: 28px; }
.admin-sidebar a { display: block; padding: 11px 12px; border-radius: var(--radius); color: var(--muted); }
.admin-sidebar a.active, .admin-sidebar a:hover { background: color-mix(in srgb, var(--brand) 16%, transparent); color: var(--text); }
.admin-main { padding: 28px; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.admin-table th, .admin-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.admin-table th { color: var(--muted); font-size: .86rem; text-transform: uppercase; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-table-wrap { width: 100%; overflow-x: auto; }
.admin-section-card { margin-bottom: 24px; }
.admin-section-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 16px; }
.admin-section-head h2 { margin-bottom: 6px; font-size: clamp(1.4rem, 2.2vw, 2rem); }
.admin-section-head p { margin: 0; color: var(--muted); }
.category-admin-grid { grid-template-columns: minmax(180px, 1fr) minmax(150px, .8fr) 120px auto; align-items: end; }
.category-admin-list { display: grid; gap: 8px; margin-top: 16px; }
.category-admin-item { display: grid; grid-template-columns: minmax(170px, 1fr) minmax(130px, .8fr) auto auto; gap: 8px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.admin-gallery-preview { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.admin-gallery-preview img { width: 96px; height: 72px; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.muted-note { margin: 10px 0 0; color: var(--muted); font-size: .92rem; }
.muted-row { display: block; margin-top: 4px; color: var(--muted); font-size: .88rem; }

.shop-toolbar { display: grid; grid-template-columns: minmax(220px, 1fr) 220px auto; gap: 12px; align-items: end; margin-bottom: 18px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--surface) 84%, transparent); }
.shop-search { display: grid; gap: 7px; }
.shop-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 20px; align-items: start; }
.shop-filters { position: sticky; top: 104px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--surface) 88%, transparent); }
.shop-filters h2 { margin-bottom: 16px; font-size: 1.25rem; }
.shop-filters form { display: grid; gap: 14px; }
.price-filter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shop-filter-actions { display: grid; gap: 8px; }
.shop-results-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; color: var(--muted); }
.shop-results-head p { margin: 0; }
.shop-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shop-product-card { display: flex; flex-direction: column; }
.shop-product-card .product-body { display: flex; flex: 1; flex-direction: column; }
.shop-product-card .product-body > p:not(.eyebrow) { min-height: 0; }
.product-gallery-media { position: relative; }
.product-card-link { color: inherit; }
.gallery-dots { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 5px; padding: 6px 8px; border-radius: 999px; background: rgba(0,0,0,.45); backdrop-filter: blur(8px); }
.gallery-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.86); }
.product-specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.product-specs li { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface-2); font-size: .82rem; }
.shop-product-card .product-meta { margin-top: auto; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: .94rem; }
.breadcrumbs a:hover { color: var(--brand-2); }
.product-detail-section { padding-top: 42px; }
.product-detail-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1.05fr); gap: 34px; align-items: start; }
.product-detail-gallery { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; }
.product-thumbs { display: grid; align-content: start; gap: 10px; }
.product-thumbs button { width: 92px; height: 92px; padding: 4px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; }
.product-thumbs button.active, .product-thumbs button:hover { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(207,0,134,.18); }
.product-thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.product-main-image { min-height: 520px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: radial-gradient(circle at 70% 12%, rgba(207,0,134,.18), transparent 12rem), var(--surface-2); box-shadow: var(--shadow); }
.product-main-image img { width: 100%; height: 100%; max-height: 560px; object-fit: contain; }
.product-detail-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--surface) 88%, transparent); box-shadow: var(--shadow); }
.product-detail-card h1 { margin-bottom: 12px; font-size: clamp(2rem, 4vw, 3.2rem); }
.product-code { margin-bottom: 12px; color: var(--muted); }
.stock-pill { width: fit-content; display: inline-flex; align-items: center; gap: 8px; min-height: 34px; margin-bottom: 18px; padding: 0 12px; border-radius: 999px; background: rgba(80, 210, 140, .12); color: #7ce0a5; font-weight: 900; }
.stock-pill span { width: 10px; height: 10px; border-radius: 50%; background: #49d47e; }
.product-detail-price { margin-bottom: 18px; color: var(--brand-2); font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 950; }
.product-buy-form { display: grid; grid-template-columns: 120px minmax(180px, 1fr); gap: 12px; align-items: end; margin-bottom: 20px; }
.product-buy-form label { display: grid; gap: 7px; color: var(--muted); }
.product-buy-form input { text-align: center; }
.product-meta-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.product-meta-cards div, .product-info-box { border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--surface-2) 72%, transparent); }
.product-meta-cards div { padding: 14px; }
.product-meta-cards span { display: block; color: var(--muted); font-size: .9rem; }
.product-meta-cards strong { display: block; margin-top: 3px; }
.product-info-box { margin-top: 12px; padding: 16px; }
.product-info-box h2 { margin-bottom: 8px; font-size: 1.1rem; text-transform: none; }
.product-info-box p { margin-bottom: 6px; color: var(--muted); }
.product-detail-bottom { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; margin-top: 24px; }
.detail-spec-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.detail-spec-list li { padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); color: var(--muted); }
.not-found-section { min-height: 62vh; display: grid; align-items: center; }
.not-found-card { max-width: 760px; padding: clamp(28px, 6vw, 56px); border: 1px solid var(--line); border-radius: var(--radius); background: radial-gradient(circle at 82% 8%, rgba(207,0,134,.24), transparent 14rem), color-mix(in srgb, var(--surface) 88%, transparent); box-shadow: var(--shadow); }
.not-found-card h1 { margin-bottom: 16px; }
.not-found-card p:not(.eyebrow) { max-width: 620px; color: var(--muted); font-size: 1.08rem; }

@media (max-width: 1060px) {
  .nav { grid-template-columns: 170px auto auto; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav-links { position: fixed; inset: 86px 0 auto 0; display: none; flex-direction: column; padding: 20px; background: var(--surface); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .page-hero-grid, .checkout-grid { grid-template-columns: 1fr; }
  .grid-4, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-grid, .grid-3, .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-filters { position: static; }
  .shop-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail-grid, .product-detail-bottom { grid-template-columns: 1fr; }
  .category-admin-grid, .category-admin-item { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--max)); }
  .nav { min-height: 74px; grid-template-columns: minmax(0, 145px) minmax(0, 1fr); }
  .brand img { width: 142px; }
  .menu-toggle { justify-self: end; }
  .nav-actions { grid-column: 1 / -1; justify-content: space-between; padding-bottom: 12px; }
  .nav-links { top: 74px; }
  .page-hero { padding: 48px 0; }
  .hero-visual { min-height: 280px; }
  .section { padding: 48px 0; }
  .section-head { display: block; }
  .grid-4, .grid-3, .grid-2, .product-grid, .price-grid, .form-grid, .footer-grid, .admin-shell { grid-template-columns: 1fr; }
  .price-line { display: grid; grid-template-columns: 1fr; gap: 4px; }
  .price-line b { text-align: left; }
  .summary { position: static; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table thead { display: none; }
  .cart-table tr { padding: 4px 0; }
  .cart-table td { min-width: 0; padding: 14px 18px; }
  .cart-table td:first-child { display: flex; align-items: center; gap: 14px; }
  .cart-table td:first-child strong { font-size: 1.06rem; line-height: 1.3; }
  .cart-table td:nth-child(2), .cart-table td:nth-child(3), .cart-table td:nth-child(4) { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; }
  .cart-table td:nth-child(2)::before { content: "Ціна"; color: var(--muted); }
  .cart-table td:nth-child(3)::before { content: "Кількість"; color: var(--muted); }
  .cart-table td:nth-child(4)::before { content: "Разом"; color: var(--muted); }
  .cart-table td:nth-child(3) input { width: 88px; min-height: 46px; text-align: center; }
  .cart-table td:nth-child(5) { padding-top: 0; }
  .cart-table td:nth-child(5) .remove-button { width: 100%; }
  .cart-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 18px 18px; }
  .cart-actions > .button { flex: 1 1 calc(50% - 5px); min-width: 0; padding: 0 8px; font-size: .78rem; white-space: nowrap; }
  .cart-actions .price { flex: 1 1 100%; order: 2; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 1.25rem; text-align: right; }
  .cart-actions .cart-checkout { flex-basis: 100%; order: 3; font-size: .9rem; }
  .admin-sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
  .shop-toolbar, .shop-product-grid, .category-admin-grid, .category-admin-item { grid-template-columns: 1fr; }
  .price-filter-grid { grid-template-columns: 1fr 1fr; }
  .product-detail-gallery { grid-template-columns: 1fr; }
  .product-thumbs { display: flex; overflow-x: auto; padding-bottom: 4px; }
  .product-thumbs button { flex: 0 0 76px; width: 76px; height: 76px; }
  .product-main-image { min-height: 320px; }
  .product-detail-card { padding: 20px; }
  .product-buy-form, .product-meta-cards { grid-template-columns: 1fr; }
}
