:root {
  --bg: #fbf6ee;
  --surface: #ffffff;
  --surface-2: #f4ede1;
  --fg: #1f2a3a;
  --fg-2: #44515f;
  --muted: #6b7785;
  --border: #e2d9c9;
  --border-soft: #efe7d8;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-on: #ffffff;
  --action: #d97706;
  --action-dark: #b46306;
  --success: #15803d;
  --danger: #b91c1c;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 1px 2px rgba(31, 42, 58, 0.06);
  --shadow-md: 0 4px 14px rgba(31, 42, 58, 0.08);
  --shadow-lg: 0 10px 30px rgba(31, 42, 58, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --container: 1180px;
  --gutter: 20px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 150ms ease;
}

a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--action);
  margin-bottom: var(--space-3);
}

.lead {
  font-size: 1.18rem;
  color: var(--fg-2);
  line-height: 1.55;
  max-width: 60ch;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--fg);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}
h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  margin-bottom: var(--space-4);
}
h3 {
  font-size: 1.35rem;
}

section {
  padding: var(--space-12) 0;
}

.section-tight {
  padding: var(--space-8) 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 52px;
  padding: 0 var(--space-6);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition:
    background-color 150ms ease,
    color 150ms ease,
    transform 120ms ease,
    box-shadow 150ms ease;
  letter-spacing: 0.01em;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-on);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--accent-on);
  text-decoration: none;
}

.btn-action {
  background: var(--action);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-action:hover {
  background: var(--action-dark);
  color: #fff;
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--surface-2);
  color: var(--fg);
  text-decoration: none;
}

.btn-lg {
  min-height: 58px;
  font-size: 1.08rem;
  padding: 0 var(--space-8);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 238, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  min-height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.main-nav a {
  color: var(--fg-2);
  font-weight: 500;
  font-size: 0.98rem;
}

.main-nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--action);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  min-height: 48px;
}

.cart-link:hover {
  background: var(--action-dark);
  color: #fff;
  text-decoration: none;
}

.cart-count {
  background: rgba(255, 255, 255, 0.25);
  padding: 1px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: var(--space-2);
}

.hero {
  padding: var(--space-12) 0 var(--space-10);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-10);
  align-items: center;
}

.hero h1 {
  margin-bottom: var(--space-5);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.hero-visual {
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 320px;
  border: 1px solid var(--border);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-top: var(--space-6);
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.benefits {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.benefit {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--accent);
}

.benefit h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.benefit p {
  color: var(--fg-2);
  font-size: 0.98rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-8);
  gap: var(--space-4);
  flex-wrap: wrap;
}

.section-head h2 {
  margin-bottom: 0;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.cat-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  color: var(--fg);
  transition:
    box-shadow 150ms ease,
    transform 150ms ease,
    border-color 150ms ease;
}

.cat-card:hover {
  text-decoration: none;
  color: var(--fg);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--accent);
}

.cat-card-icon {
  width: 40px;
  height: 40px;
  color: var(--action);
  margin-bottom: var(--space-4);
}

.cat-card h3 {
  margin-bottom: var(--space-2);
}
.cat-card p {
  color: var(--fg-2);
  font-size: 0.95rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 150ms ease,
    transform 150ms ease;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-img {
  aspect-ratio: 1 / 1;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
}

.product-img svg {
  width: 56%;
  height: 56%;
  color: var(--accent);
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 200ms ease;
}

.product-card:hover .product-img img {
  transform: scale(1.04);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.product-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.about-figure {
  margin: var(--space-6) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.about-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.product-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--space-2);
}

.product-cat {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-name {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--fg);
  line-height: 1.3;
}

.product-name a {
  color: var(--fg);
}
.product-name a:hover {
  color: var(--accent);
  text-decoration: none;
}

.product-desc {
  font-size: 0.92rem;
  color: var(--fg-2);
  flex: 1;
}

.product-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-3);
  gap: var(--space-3);
}

.price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--fg);
  white-space: nowrap;
}

.price small {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.btn-add {
  min-height: 48px;
  padding: 0 var(--space-4);
  font-size: 0.95rem;
}

.cta-band {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-10) var(--space-8);
  text-align: center;
}

.cta-band h2 {
  color: #fff;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 50ch;
  margin: 0 auto var(--space-6);
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--accent);
}

.cta-band .btn-primary:hover {
  background: var(--surface-2);
  color: var(--accent-dark);
}

.page-head {
  padding: var(--space-10) 0 var(--space-6);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.page-head .lead {
  margin-top: var(--space-3);
}

.breadcrumbs {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: var(--space-3);
}

.breadcrumbs a {
  color: var(--muted);
}
.breadcrumbs a:hover {
  color: var(--accent);
}

.layout-2col {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-8);
  align-items: flex-start;
  padding-top: var(--space-8);
}

.filter-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  position: sticky;
  top: 96px;
}

.filter-panel h3 {
  font-size: 1rem;
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border-soft);
}

.filter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.filter-list a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--fg-2);
  font-size: 0.96rem;
}

.filter-list a:hover,
.filter-list a.active {
  background: var(--surface-2);
  color: var(--accent);
  text-decoration: none;
}

.filter-toggle {
  display: none;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  padding-top: var(--space-8);
  align-items: flex-start;
}

.product-detail-img {
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: sticky;
  top: 96px;
}

.product-detail-img svg {
  width: 55%;
  height: 55%;
  color: var(--accent);
}

.detail-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--fg);
  margin: var(--space-4) 0;
}

.variant-group {
  margin: var(--space-5) 0;
}

.variant-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--fg);
}

.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.variant-options label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  cursor: pointer;
  font-size: 0.98rem;
  min-height: 48px;
  background: var(--surface);
  transition:
    border-color 120ms ease,
    background 120ms ease;
}

.variant-options input {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}

.variant-options label:has(input:checked) {
  border-color: var(--accent);
  background: rgba(37, 99, 235, 0.06);
  font-weight: 600;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-6) 0;
  flex-wrap: wrap;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: var(--surface);
}

.qty-control button {
  width: 48px;
  height: 48px;
  border: none;
  background: var(--surface);
  font-size: 1.3rem;
  color: var(--fg);
  font-weight: 600;
}

.qty-control button:hover {
  background: var(--surface-2);
}

.qty-control input {
  width: 60px;
  height: 48px;
  border: none;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  -moz-appearance: textfield;
}

.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.detail-info-list {
  list-style: none;
  margin-top: var(--space-6);
  border-top: 1px solid var(--border);
  padding-top: var(--space-5);
}

.detail-info-list li {
  display: flex;
  justify-content: space-between;
  padding: var(--space-2) 0;
  font-size: 0.96rem;
  border-bottom: 1px solid var(--border-soft);
}

.detail-info-list li span:first-child {
  color: var(--muted);
}

.detail-desc {
  margin-top: var(--space-8);
  max-width: 70ch;
}

.detail-desc h3 {
  margin-bottom: var(--space-3);
}
.detail-desc p {
  color: var(--fg-2);
  margin-bottom: var(--space-3);
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-8);
  padding-top: var(--space-8);
  align-items: flex-start;
}

.cart-items {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.cart-row {
  display: grid;
  grid-template-columns: 90px 1fr auto auto auto;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-5);
  border-bottom: 1px solid var(--border-soft);
}

.cart-row:last-child {
  border-bottom: none;
}

.cart-thumb {
  width: 90px;
  height: 90px;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
}

.cart-thumb svg {
  width: 50%;
  height: 50%;
  color: var(--accent);
}

.cart-name {
  font-weight: 600;
}
.cart-variant {
  font-size: 0.88rem;
  color: var(--muted);
}

.cart-row .qty-control button {
  width: 36px;
  height: 36px;
  font-size: 1rem;
}
.cart-row .qty-control input {
  width: 44px;
  height: 36px;
  font-size: 0.95rem;
}

.cart-row-price {
  font-weight: 700;
  white-space: nowrap;
}

.cart-remove {
  background: none;
  border: none;
  color: var(--danger);
  padding: var(--space-2);
  font-size: 0.9rem;
  min-height: 40px;
}

.cart-remove:hover {
  text-decoration: underline;
}

.cart-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  position: sticky;
  top: 96px;
}

.cart-summary h3 {
  margin-bottom: var(--space-4);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-2) 0;
  color: var(--fg-2);
}

.summary-total {
  border-top: 2px solid var(--fg);
  margin-top: var(--space-3);
  padding-top: var(--space-4);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--fg);
}

.summary-total .price-vat {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  display: block;
}

.cart-empty {
  text-align: center;
  padding: var(--space-12) var(--space-6);
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
}

.cart-empty svg {
  width: 72px;
  height: 72px;
  color: var(--border);
  margin: 0 auto var(--space-4);
}

.order-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  margin-top: var(--space-6);
}

.order-form h3 {
  margin-bottom: var(--space-2);
}
.order-form .helper {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-5);
}

.field {
  margin-bottom: var(--space-4);
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--fg);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px var(--space-4);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: var(--surface);
  color: var(--fg);
  min-height: 52px;
  transition:
    border-color 120ms ease,
    box-shadow 120ms ease;
}

.field textarea {
  min-height: 100px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.checkbox-field {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin: var(--space-4) 0;
  font-size: 0.92rem;
  color: var(--fg-2);
}

.checkbox-field input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.form-flash {
  background: rgba(21, 128, 61, 0.1);
  border: 1px solid rgba(21, 128, 61, 0.3);
  color: var(--success);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-5);
  font-weight: 500;
}

.form-flash.error {
  background: rgba(185, 28, 28, 0.08);
  border-color: rgba(185, 28, 28, 0.3);
  color: var(--danger);
}

.content-page {
  padding-top: var(--space-8);
  padding-bottom: var(--space-12);
  max-width: 760px;
}

.content-page h1 {
  margin-bottom: var(--space-5);
}

.content-page h2 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
  font-size: 1.5rem;
}

.content-page h3 {
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
  font-size: 1.15rem;
}

.content-page p,
.content-page li {
  color: var(--fg-2);
  margin-bottom: var(--space-3);
}

.content-page ul,
.content-page ol {
  padding-left: var(--space-5);
  margin-bottom: var(--space-4);
}

.content-page table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-5) 0;
}

.content-page th,
.content-page td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.content-page th {
  background: var(--surface-2);
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  padding-top: var(--space-8);
  align-items: flex-start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.contact-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.contact-item svg {
  width: 36px;
  height: 36px;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.contact-item p,
.contact-item a {
  color: var(--fg-2);
}
.contact-item a:hover {
  text-decoration: underline;
}

.order-phone {
  background: var(--surface);
  border: 2px solid var(--action);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  margin-top: var(--space-6);
}

.order-phone h3 {
  color: var(--action);
  margin-bottom: var(--space-2);
}

.site-footer {
  background: #1f2a3a;
  color: #c8d2df;
  padding: var(--space-12) 0 var(--space-6);
  margin-top: var(--space-12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  color: #fff;
}
.footer-brand p {
  color: #9ba8b8;
  font-size: 0.92rem;
  margin-top: var(--space-3);
  max-width: 36ch;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: var(--space-4);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-col a {
  color: #c8d2df;
  font-size: 0.94rem;
}
.footer-col a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-top: var(--space-5);
  font-size: 0.85rem;
  color: #9ba8b8;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1f2a3a;
  color: #fff;
  padding: var(--space-5) var(--space-6);
  z-index: 100;
  transform: translateY(100%);
  transition: transform 240ms cubic-bezier(0.2, 0, 0, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.cookie-inner p {
  flex: 1;
  min-width: 260px;
  font-size: 0.92rem;
  color: #c8d2df;
}

.cookie-inner p a {
  color: #fff;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.cookie-actions .btn {
  min-height: 44px;
  padding: 0 var(--space-5);
  font-size: 0.92rem;
}

.flash-toast {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  background: var(--success);
  color: #fff;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-weight: 500;
  z-index: 90;
  transform: translateY(120%);
  opacity: 0;
  transition:
    transform 240ms cubic-bezier(0.2, 0, 0, 1),
    opacity 240ms ease;
}

.flash-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  z-index: 200;
}

.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    min-height: 240px;
    order: -1;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  .product-detail-img {
    position: static;
    aspect-ratio: 4/3;
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .cart-summary {
    position: static;
  }
  .layout-2col {
    grid-template-columns: 1fr;
  }
  .filter-panel {
    position: static;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }
}

@media (max-width: 640px) {
  html {
    font-size: 17px;
  }
  .main-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-5);
    gap: var(--space-2);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform 240ms ease;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open {
    transform: translateY(0);
  }
  .main-nav a {
    padding: var(--space-3);
    border-radius: var(--radius-sm);
  }
  .nav-toggle {
    display: inline-flex;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .cat-grid {
    grid-template-columns: 1fr;
  }
  .cart-row {
    grid-template-columns: 70px 1fr;
    grid-template-areas: "thumb name" "thumb price" "qty remove";
    row-gap: var(--space-3);
  }
  .cart-thumb {
    grid-area: thumb;
    width: 70px;
    height: 70px;
  }
  .cart-name {
    grid-area: name;
  }
  .cart-row-price {
    grid-area: price;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-inner p {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
