/* ============================================================
   DPS E-Commerce Design System — styles.css
   ============================================================ */

/* --- Self-hosted Fonts (GDPR compliant) --- */
@font-face {
  font-family: 'Libre Franklin';
  src: url('/font/Libre_Franklin/LibreFranklin-VariableFont_wght.ttf') format('truetype');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  src: url('/font/DM_Sans/DMSans-latin-ext.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  src: url('/font/DM_Sans/DMSans-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  --color-primary: #00B300;
  --color-primary-dark: #067d00;
  --color-primary-accent: #327c2b;
  --color-connector-green: #33CC00;
  --color-gray: #777777;
  --color-text-primary: #1A1A1A;
  --color-text-muted: #555555;
  --color-bg-white: #FFFFFF;
  --color-bg-light: #F5F5F5;
  --color-bg-surface: #FAFAFA;
  --color-border: #E5E5E5;
  --color-error: #DC2626;
  --color-warning: #F59E0B;
  --color-info: #0EA5E9;
  --color-dark-bg: #0f191d;
  --color-dark-green: #0a2e10;
  --color-dark-surface: #1A2A2E;
  --color-text-inverse: #FFFFFF;
  --color-error-dark: #b91c1c;
  --color-error-text: #991b1b;
  --color-warning-dark: #92400e;
  --color-warning-text: #b45309;
  --color-info-dark: #0369a1;

  --font-family: 'DM Sans', 'Libre Franklin', sans-serif;
  --font-display: 'Libre Franklin', sans-serif;

  --shadow-subtle: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-medium: 0 4px 12px rgba(0,0,0,0.15);
  --shadow-heavy: 0 8px 24px rgba(0,0,0,0.2);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --header-height: 72px;
  --topbar-height: 32px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + var(--topbar-height) + 16px); height: 100%; }

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-primary);
  background: var(--color-bg-white);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

main { flex: 1; }

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

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

ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-display); }
h1 { font-size: 36px; font-weight: 800; line-height: 1.15; margin-bottom: 16px; letter-spacing: -0.3px; }
h2 { font-size: 30px; font-weight: 700; line-height: 1.2; margin-bottom: 12px; letter-spacing: -0.2px; }
h3 { font-size: 22px; font-weight: 700; line-height: 1.25; margin-bottom: 8px; }
h4 { font-size: 18px; font-weight: 600; line-height: 1.3; margin-bottom: 8px; }

.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.text-muted { color: var(--color-gray); }
.text-green { color: var(--color-primary); }
.text-error { color: var(--color-error); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* --- Layout Utilities --- */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-xs {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 24px;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.flex-gap-4 { display: flex; gap: 4px; align-items: center; }
.flex-gap-8 { display: flex; gap: 8px; align-items: center; }
.flex-gap-16 { display: flex; gap: 16px; align-items: center; }
.flex-gap-24 { display: flex; gap: 24px; align-items: center; }
.flex-wrap { flex-wrap: wrap; }

.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.section-spacing { padding: 80px 0; }
.section-spacing-sm { padding: 48px 0; }

/* --- Top Bar --- */
.topbar {
  height: var(--topbar-height);
  background: var(--color-primary-dark);
  color: var(--color-text-inverse);
  font-size: 12px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1000;
  overflow: hidden;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.topbar a { color: var(--color-text-inverse); }

.topbar-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 500;
  white-space: nowrap;
}

/* --- Main Header --- */
.header {
  height: var(--header-height);
  background: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header .container {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 24px;
}

.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 16px;
}
.header-logo img {
  height: 36px;
  width: auto;
}
.header-logo:hover { text-decoration: none; }

.header-nav {
  display: flex;
  gap: 24px;
  margin-left: 16px;
}

.header-nav a {
  color: var(--color-text-primary);
  font-weight: 500;
  font-size: 15px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.header-nav a:hover, .header-nav a.active {
  color: var(--color-primary-accent);
  border-bottom-color: var(--color-primary);
  text-decoration: none;
}

/* --- Nav Dropdown --- */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dropdown-trigger {
  cursor: pointer;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -12px;
  min-width: 160px;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  padding: 8px 0;
  z-index: 100;
  padding-top: 16px;
  border-top: none;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-primary);
  border-bottom: none !important;
}
.nav-dropdown-menu a:hover {
  background: var(--color-bg-surface);
  color: var(--color-primary);
  border-bottom: none !important;
}

/* Mega-menu modifier */
.nav-dropdown-menu--mega {
  width: 720px;
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 16px;
}

.nav-dropdown:hover .nav-dropdown-menu--mega {
  display: flex;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mega-menu-grid .mega-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  border-radius: var(--radius-md);
  border: 1px solid transparent !important;
  color: var(--color-text-primary);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  text-align: center;
}

.mega-menu-grid .mega-menu-item:hover {
  background: var(--color-bg-surface);
  color: var(--color-primary);
  border: 1px solid var(--color-primary) !important;
}

.mega-menu-thumb {
  width: 100%;
  max-width: 180px;
  height: 80px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--color-bg-light);
}

.mega-menu-item .material-symbols-outlined {
  font-size: 28px;
  line-height: 1;
  color: var(--color-primary);
}

.mega-menu-footer {
  display: flex;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.mega-menu-footer a {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.mega-menu-footer a:hover {
  text-decoration: underline;
  border-bottom: none !important;
}

/* Category page grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg-white);
  text-decoration: none;
  color: var(--color-text-primary);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.category-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-medium);
}

.category-card-thumb {
  width: 100%;
  max-width: 280px;
  height: 120px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--color-bg-light);
}

.category-card-name {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.category-card-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.5;
}

.category-card-count {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}

.header-search {
  flex: 1;
  position: relative;
}

.header-search input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0 40px 0 16px;
  font-size: 14px;
  font-family: var(--font-family);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.header-search input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 179, 0, 0.15);
}

.header-search button {
  position: absolute;
  right: 4px;
  top: 4px;
  height: 32px;
  width: 32px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.header-search button:hover { color: var(--color-primary); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.header-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  color: var(--color-text-primary);
  font-size: 14px;
  font-weight: 500;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
  text-decoration: none;
  font-family: var(--font-family);
}

.header-action-btn:hover {
  background: var(--color-bg-light);
  text-decoration: none;
}

.cart-badge {
  position: relative;
}

.cart-badge-count {
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  transition: 0.3s;
}

/* Mobile nav — hidden by default on desktop */
.mobile-nav {
  display: none;
}

.mobile-nav-overlay {
  display: none;
}

/* --- Footer --- */
.footer {
  background: var(--color-primary-dark);
  color: var(--color-text-inverse);
  padding: 64px 0 0;
  border-top: 4px solid var(--color-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  margin-bottom: 12px;
}
.footer-logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

.footer h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.6);
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--color-text-inverse);
  text-decoration: none;
}

.footer-bottom {
  margin-top: 48px;
  padding: 20px 0;
  background: var(--color-dark-bg);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.footer-bottom a {
  color: rgba(255,255,255,0.6);
  margin-left: 24px;
}

.footer-bottom a:hover { color: var(--color-text-inverse); text-decoration: none; }

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 16px 0;
  font-size: 14px;
  color: var(--color-gray);
}

.breadcrumb a { color: var(--color-gray); }
.breadcrumb a:hover { color: var(--color-primary-accent); }
.breadcrumb span { margin: 0 8px; color: var(--color-border); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-family);
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }

/* Sizes */
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn-md, .btn { height: 40px; padding: 0 20px; font-size: 14px; }
.btn-lg { height: 48px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* Variants */
.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-secondary {
  background: var(--color-bg-light);
  color: var(--color-text-primary);
  border-color: var(--color-bg-light);
}
.btn-secondary:hover {
  background: var(--color-border);
  border-color: var(--color-border);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary-accent);
  border-color: var(--color-primary-accent);
}
.btn-outline:hover {
  background: rgba(0, 179, 0, 0.05);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-primary);
  border-color: transparent;
}
.btn-ghost:hover {
  background: var(--color-bg-light);
}

.btn-danger {
  background: var(--color-error);
  color: var(--color-text-inverse);
  border-color: var(--color-error);
}
.btn-danger:hover {
  background: var(--color-error-dark);
  border-color: var(--color-error-dark);
}

.btn-white {
  background: var(--color-bg-white);
  color: var(--color-primary-dark);
  border-color: var(--color-bg-white);
}
.btn-white:hover {
  background: var(--color-bg-light);
  border-color: var(--color-bg-light);
}

/* --- Badges / Status Pills --- */
.badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-green { background: rgba(0, 179, 0, 0.1); color: var(--color-primary); }
.badge-amber { background: rgba(245, 158, 11, 0.1); color: var(--color-warning-text); }
.badge-red { background: rgba(220, 38, 38, 0.1); color: var(--color-error); }
.badge-gray { background: var(--color-bg-light); color: var(--color-gray); }
.badge-blue { background: rgba(14, 165, 233, 0.1); color: var(--color-info); }

/* --- Cards --- */
.card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-4px);
}

.card-body { padding: 24px; }
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* --- Form Inputs --- */
.form-group { margin-bottom: 16px; }

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--color-text-primary);
}

.form-hint {
  font-size: 12px;
  color: var(--color-gray);
  margin-top: 4px;
}

.input-field,
.form-input,
input[type="text"].input-field,
input[type="email"].input-field,
input[type="password"].input-field,
input[type="tel"].input-field,
input[type="number"].input-field,
input[type="text"].form-input,
input[type="email"].form-input,
input[type="password"].form-input,
input[type="tel"].form-input,
input[type="number"].form-input,
select.input-field,
select.form-input,
textarea.input-field,
textarea.form-input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  font-size: 14px;
  font-family: var(--font-family);
  color: var(--color-text-primary);
  background: var(--color-bg-white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

textarea.input-field,
textarea.form-input {
  height: auto;
  padding: 12px;
  resize: vertical;
}

.input-field:focus,
.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 179, 0, 0.15);
}

.input-field.error,
.form-input.error {
  border-color: var(--color-error);
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Checkbox & Radio */
.checkbox-label, .radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

.checkbox-label input, .radio-label input { accent-color: var(--color-primary); }

/* --- Tables --- */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table th {
  background: var(--color-bg-light);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--color-gray);
  border-bottom: 2px solid var(--color-border);
  white-space: nowrap;
}

.table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.table tbody tr:nth-child(even) {
  background: var(--color-bg-surface);
}

.table tbody tr:hover {
  background: rgba(0, 179, 0, 0.03);
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-parametric {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table-parametric th {
  background: var(--color-bg-light);
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--color-gray);
  border-bottom: 2px solid var(--color-border);
  white-space: nowrap;
}

.table-parametric td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.table-parametric tbody tr:nth-child(even) {
  background: var(--color-bg-surface);
}

.table-parametric tbody tr:hover {
  background: rgba(0, 179, 0, 0.03);
}

/* Columns toggle dropdown */
.columns-toggle {
  position: relative;
}
.columns-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 4px;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 8px 0;
  z-index: 20;
  min-width: 160px;
}
.columns-dropdown.open {
  display: block;
}
.columns-dropdown label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.columns-dropdown label:hover {
  background: var(--color-bg-light);
}

.table-parametric th.sortable {
  cursor: pointer;
  user-select: none;
}
.table-parametric th.sortable:hover {
  color: var(--color-text);
}

.table-parametric .sort-indicator {
  font-size: 11px;
  vertical-align: middle;
  margin-left: 4px;
  color: var(--color-border);
  transition: color 0.15s;
}
.table-parametric th.sort-asc .sort-indicator,
.table-parametric th.sort-desc .sort-indicator {
  color: var(--color-primary);
}

.table-product-link {
  color: var(--color-primary-accent);
  font-weight: 600;
}

/* --- Tab Bar --- */
.tab-bar {
  display: flex;
  border-bottom: 2px solid var(--color-border);
  gap: 0;
}

.tab-item {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-gray);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: var(--font-family);
}

.tab-item:hover { color: var(--color-text-primary); }

.tab-item.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.tab-content { display: none; padding: 24px 0; }
.tab-content.active { display: block; }

/* --- Category Pills --- */
.pill-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  background: var(--color-bg-white);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.pill:hover { border-color: var(--color-primary); color: var(--color-primary); text-decoration: none; }
.pill.active { background: var(--color-primary); color: var(--color-text-inverse); border-color: var(--color-primary); }


/* --- Stepper (Progress Steps) --- */
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 32px 0;
}

.step {
  display: flex;
  align-items: center;
  gap: 0;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-circle.active {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.step-circle.completed {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.step-circle.inactive {
  background: var(--color-bg-light);
  color: var(--color-gray);
  border: 2px solid var(--color-border);
}

.step-label {
  font-size: 13px;
  font-weight: 500;
  margin-left: 8px;
  white-space: nowrap;
}

.step-line {
  width: 60px;
  height: 2px;
  background: var(--color-border);
  margin: 0 12px;
}

.step-line.completed { background: var(--color-primary); }

/* --- Quantity Stepper --- */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-stepper button {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--color-bg-light);
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-primary);
  font-family: var(--font-family);
}

.qty-stepper > button:first-of-type:hover { background: var(--color-error); color: var(--color-white); }
.qty-stepper > button:nth-of-type(2):hover { background: var(--color-primary); color: var(--color-white); }

.qty-stepper .cart-sidebar-tier-arrows { height: 36px; }
.qty-stepper .cart-sidebar-tier-arrows button { height: 18px; }

.qty-stepper input {
  width: 60px;
  height: 36px;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-family);
}

.qty-stepper input::-webkit-inner-spin-button,
.qty-stepper input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty-stepper input { -moz-appearance: textfield; }
.qty-stepper input:focus { outline: none; }

/* --- Progress Bar --- */
.progress-bar {
  height: 8px;
  background: var(--color-bg-light);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: 4px;
  transition: width 0.3s;
}

/* --- Alerts / Callouts --- */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert-info { background: rgba(14, 165, 233, 0.1); color: var(--color-info-dark); border-left: 4px solid var(--color-info); }
.alert-warning { background: rgba(245, 158, 11, 0.1); color: var(--color-warning-dark); border-left: 4px solid var(--color-warning); }
.alert-success { background: rgba(0, 179, 0, 0.1); color: var(--color-primary-dark); border-left: 4px solid var(--color-primary); }
.alert-error { background: rgba(220, 38, 38, 0.1); color: var(--color-error-text); border-left: 4px solid var(--color-error); }

/* --- Cart Sidebar --- */
.cart-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}

.cart-sidebar-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -580px;
  width: 560px;
  height: 100vh;
  background: var(--color-bg-white);
  z-index: 1301;
  box-shadow: var(--shadow-heavy);
  transition: right 0.15s ease, visibility 0.15s;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  visibility: hidden;
}

.cart-sidebar.open { right: 0; visibility: visible; }

.cart-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--color-border);
  font-size: 20px;
}

.cart-sidebar-close {
  background: none;
  border: none;
  font-size: 34px;
  cursor: pointer;
  color: var(--color-gray);
  padding: 4px;
  transition: color 0.2s;
}

.cart-sidebar-close:hover { color: var(--color-text-primary); }

.cart-sidebar-items {
  flex: 1;
  overflow-y: auto;
  padding: 12px 24px;
}

.cart-sidebar-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: flex-start;
  position: relative;
  transition: opacity 0.25s, max-height 0.35s ease, padding 0.35s;
  max-height: 200px;
  overflow: hidden;
}
.cart-sidebar-item.removing {
  opacity: 0;
  max-height: 0;
  padding: 0;
  border-bottom-width: 0;
}
.cart-sidebar-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-gray);
  padding: 0 0 0 4px;
  opacity: 0.4;
  transition: opacity 0.15s, color 0.15s;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  line-height: 1;
}
.cart-sidebar-item:hover .cart-sidebar-item-remove { opacity: 1; }
.cart-sidebar-item-remove:hover { color: var(--color-error); }
.cart-sidebar-item-remove .material-symbols-outlined { font-size: 19px; }
.cart-sidebar-item-confirm {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 36px;
}
.cart-sidebar-item-confirm-text {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-sidebar-item-confirm-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.cart-sidebar-item.confirming .cart-sidebar-thumb,
.cart-sidebar-item.confirming .cart-sidebar-item-info { display: none; }
.cart-sidebar-item.confirming .cart-sidebar-item-confirm { display: flex; }
@media (max-width: 768px) {
  .cart-sidebar-item-remove { opacity: 0.7; }
}

.cart-sidebar-item img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--color-bg-light);
}

.cart-sidebar-thumb {
  width: 44px;
  height: 44px;
  background: var(--color-bg-light);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-sidebar-thumb .material-symbols-outlined {
  font-size: 26px;
  color: var(--color-gray);
}

.cart-sidebar-item-info {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 130px 96px;
  align-items: center;
  column-gap: 8px;
  row-gap: 2px;
}

.cart-sidebar-col-header {
  display: grid;
  grid-template-columns: 1fr 130px 96px;
  padding: 0 0 6px 54px;
  font-size: 16px;
  color: var(--color-gray);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 4px;
}
.cart-sidebar-col-header span:nth-child(2) { text-align: center; }
.cart-sidebar-col-header span:nth-child(3) { text-align: right; }

.cart-sidebar-item-name { grid-column: 1; font-weight: 600; font-size: 18px; display: flex; align-items: center; }
.cart-sidebar-item-name a { color: inherit; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-sidebar-item-name a:hover { color: var(--color-primary); }
.cart-sidebar-item-subtitle { grid-column: 1; font-size: 16px; color: var(--color-gray); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-sidebar-item-subtitle a { color: inherit; text-decoration: none; }
.cart-sidebar-item-subtitle a:hover { color: var(--color-primary); }
.cart-sidebar-item-sku { grid-column: 1; font-size: 16px; color: var(--color-gray); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-sidebar-savings {
  grid-column: 1;
  display: inline-block;
  padding: 2px 8px;
  border: 2px solid var(--color-error);
  border-radius: var(--radius-sm);
  color: var(--color-error);
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}
.cart-sidebar-qty { grid-column: 2; grid-row: 1 / -1; justify-self: center; }
.cart-sidebar-item-price { grid-column: 3; grid-row: 1 / -1; font-weight: 600; font-size: 18px; white-space: nowrap; text-align: right; }

.cart-sidebar-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 34px;
  flex-shrink: 0;
}

.cart-sidebar-qty > button {
  width: 28px;
  height: 34px;
  border: none;
  background: var(--color-bg-light);
  cursor: pointer;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-primary);
  padding: 0;
  font-family: var(--font-family);
}

.cart-sidebar-qty > button:first-of-type:hover { background: var(--color-error); color: var(--color-white); }
.cart-sidebar-qty > button:nth-of-type(2):hover { background: var(--color-primary); color: var(--color-white); }

.cart-sidebar-qty input {
  width: 56px;
  height: 34px;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  font-family: var(--font-family);
  -moz-appearance: textfield;
}

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

.cart-sidebar-qty input:focus { outline: none; }

.cart-sidebar-tier-arrows {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--color-border);
  height: 100%;
}

.cart-sidebar-tier-arrows button {
  width: 20px;
  height: 14px;
  border: none;
  background: var(--color-bg-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--color-text-secondary);
}

.cart-sidebar-tier-arrows button:first-child {
  border-bottom: 1px solid var(--color-border);
}

.cart-sidebar-tier-arrows button:first-child:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.cart-sidebar-tier-arrows button:last-child:hover {
  background: var(--color-error);
  color: var(--color-white);
}

.cart-sidebar-tier-arrows button {
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-family);
  line-height: 1;
}

.cart-sidebar-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-surface);
}

.cart-sidebar-total {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.cart-sidebar-shipping {
  padding: 10px 24px;
  border-top: 1px solid var(--color-border);
}
.cart-sidebar-shipping-msg {
  font-size: 16px;
  color: var(--color-gray);
  margin-bottom: 6px;
}
.cart-sidebar-shipping-ok {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-top: 1px solid var(--color-border);
  color: var(--color-success);
  font-weight: 600;
  font-size: 17px;
}
.cart-sidebar-shipping-ok .material-symbols-outlined {
  font-size: 26px;
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-bg-white);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
  z-index: 1200;
  padding: 16px 0;
}


.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner-text { flex: 1; font-size: 14px; color: var(--color-text-primary); }
.cookie-banner-actions { display: flex; gap: 8px; flex-shrink: 0; }


/* --- Account Sidebar --- */
.account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  padding: 8px 0 32px 0;
}

.account-section { padding-top: 40px; padding-bottom: 80px; }

.breadcrumb-sub { padding-top: 0; padding-bottom: 12px; }

.account-sidebar {
  border-right: 1px solid var(--color-border);
  padding-right: 32px;
}

.account-sidebar-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.account-sidebar-name { font-weight: 700; font-size: 16px; }
.account-sidebar-email { font-size: 13px; color: var(--color-gray); margin-bottom: 24px; }

.account-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  border-radius: var(--radius-sm);
  margin-bottom: 2px;
  transition: background 0.2s;
}

.account-nav a:hover { background: var(--color-bg-light); text-decoration: none; }

.account-nav a.active {
  background: rgba(0, 179, 0, 0.1);
  color: var(--color-primary-accent);
  font-weight: 600;
}

.account-nav a .material-symbols-outlined { font-size: 20px; }


/* --- Order Summary Sidebar --- */
.order-summary-sidebar {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: sticky;
  top: 120px;
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}

.order-summary-row.total {
  border-top: 2px solid var(--color-text-primary);
  margin-top: 8px;
  padding-top: 12px;
  font-weight: 700;
  font-size: 18px;
}


/* --- Volume Pricing Table --- */
.volume-pricing {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.volume-pricing td {
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  font-size: 14px;
}

.volume-pricing tr:first-child td {
}

.volume-pricing .savings { color: var(--color-primary); font-size: 12px; }


/* --- Comparison Table --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th {
  padding: 16px;
  text-align: center;
  background: var(--color-bg-light);
  border-bottom: 2px solid var(--color-border);
}

.comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  font-size: 14px;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--color-gray);
  background: var(--color-bg-surface);
}

.comparison-table .section-header td {
  background: var(--color-bg-light);
  font-weight: 700;
  color: var(--color-text-primary);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.comparison-table .highlight {
  background: rgba(0, 179, 0, 0.06);
}


/* --- Article Card --- */
.article-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-white);
  transition: box-shadow 0.2s, transform 0.2s;
}

.article-card:hover { box-shadow: var(--shadow-medium); transform: translateY(-4px); }

.article-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--color-bg-light);
  object-fit: cover;
  position: relative;
}

.article-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.article-card-body { padding: 20px; }
.article-card-date { font-size: 12px; color: var(--color-gray); margin-bottom: 8px; }
.article-card-title { font-size: 18px; font-weight: 600; margin-bottom: 8px; line-height: 1.3; }
.article-card-excerpt { font-size: 14px; color: var(--color-gray); line-height: 1.5; margin-bottom: 12px; }
.article-card-link { font-size: 14px; font-weight: 600; color: var(--color-primary-accent); }

.article-card[data-category="technical"] { border-left: 4px solid var(--color-primary); }
.article-card[data-category="product-news"] { border-left: 4px solid #2563eb; }
.article-card[data-category="guide"] { border-left: 4px solid #d97706; }
.article-card[data-category="company"] { border-left: 4px solid var(--color-gray); }
.article-card[data-category="events"] { border-left: 4px solid var(--color-info); }


/* --- Article Content (shared across article, agb, privacy-policy) --- */
.article-content {
  max-width: 780px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
}
.article-content p { margin-bottom: 24px; }
.article-content h2 { margin-top: 48px; }
.article-content h3 { margin-top: 32px; }
.article-content .callout {
  padding: 20px 24px;
  border-radius: var(--radius-md);
  margin: 32px 0;
}
.article-content .callout-info {
  background: rgba(14, 165, 233, 0.08);
  border-left: 4px solid var(--color-info);
}
.article-content .callout-warning {
  background: rgba(245, 158, 11, 0.08);
  border-left: 4px solid var(--color-warning);
}
.article-hero {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 32px;
  aspect-ratio: 21/9;
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-meta {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: var(--color-gray);
  margin-bottom: 24px;
  justify-content: center;
}

/* --- Pagination --- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 32px 0;
}

.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  transition: background 0.2s;
}

.pagination a:hover { background: var(--color-bg-light); text-decoration: none; }
.pagination .active { background: var(--color-primary); color: var(--color-text-inverse); }
.pagination .disabled { color: var(--color-border); cursor: default; pointer-events: none; }
.pagination .dots { color: var(--color-gray); }
.pagination .page-dots { display: none; }
@media (max-width: 480px) {
  .pagination .page-collapsible { display: none; }
  .pagination .page-dots { display: flex; }
}


/* --- CTA Banner --- */
.cta-banner {
  position: relative;
  background: var(--color-dark-green);
  color: var(--color-text-inverse);
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}

/* Diagonal green accent strip */
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -5%;
  width: 35%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,179,0,0.15) 0%, transparent 100%);
  transform: skewX(-15deg);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -5%;
  width: 35%;
  height: 100%;
  background: linear-gradient(-45deg, rgba(0,179,0,0.1) 0%, transparent 100%);
  transform: skewX(-15deg);
  pointer-events: none;
}

.cta-banner-pattern {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0.03;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.3) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--color-text-inverse);
  font-size: 36px;
  margin-bottom: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.cta-banner p { font-size: 18px; color: rgba(255,255,255,0.6); margin-bottom: 24px; }


/* --- Category Cards --- */
.category-card {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 3px solid transparent;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  border-bottom-color: var(--color-primary);
}
.category-count {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--color-dark-bg);
  color: #33CC00;
  font-size: 11px;
  font-weight: 700;
  min-width: 28px;
  height: 28px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  letter-spacing: 0.5px;
}
.category-browse {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: gap 0.3s;
}
.category-card:hover .category-browse {
  text-decoration: none;
  gap: 8px;
}


/* --- Password Strength --- */
.password-strength {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.password-strength-bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--color-border);
}

.password-strength-bar.weak { background: var(--color-error); }
.password-strength-bar.fair { background: var(--color-warning); }
.password-strength-bar.strong { background: var(--color-primary); }


/* --- Two-column layout --- */
.layout-split {
  display: grid;
  gap: 48px;
  padding: 32px 0;
}

.layout-55-45 { grid-template-columns: 55fr 45fr; }
.layout-60-40 { grid-template-columns: 60fr 40fr; }
.layout-70-30 { grid-template-columns: 70fr 30fr; }
.layout-50-50 { grid-template-columns: 1fr 1fr; }


/* --- Responsive --- */
@media (max-width: 1024px) {
  html { overflow-x: hidden; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .layout-55-45, .layout-60-40, .layout-70-30, .layout-50-50 { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; overflow-x: hidden; }
  .account-layout > * { min-width: 0; overflow-x: auto; }
  .account-sidebar { border-right: none; border-bottom: 1px solid var(--color-border); padding-right: 0; padding-bottom: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .topbar-center { display: none; }
}

@media (max-width: 768px) {
  html { overflow-x: hidden; }

  :root {
    --header-height: 56px;
  }

  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }

  .container { padding: 0 16px; overflow-x: hidden; }

  .header-nav, .header-search { display: none; }
  .hamburger { display: flex; }

  .header-actions .header-action-btn span:not(.material-symbols-outlined) { display: none; }

  .mobile-nav {
    display: block;
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: var(--color-bg-white);
    z-index: 1100;
    transition: left 0.3s;
    box-shadow: var(--shadow-heavy);
    padding: 24px;
    overflow-y: auto;
  }

  .mobile-nav.open { left: 0; }

  .mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1099;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }

  .mobile-nav-overlay.open {
    opacity: 1;
    pointer-events: all;
  }

  .mobile-nav a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text-primary);
    border-bottom: 1px solid var(--color-border);
  }

  .mobile-nav-sub {
    padding-left: 16px;
  }

  .mobile-nav-sub a {
    font-size: 14px;
    font-weight: 400;
  }

  .mobile-nav-search {
    margin-bottom: 16px;
  }

  .mobile-nav-search input {
    width: 100%;
    height: 40px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0 12px;
    font-size: 14px;
    font-family: var(--font-family);
  }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .category-grid.grid-3 { grid-template-columns: repeat(2, 1fr); }

  /* Articles: horizontal scroll on mobile */
  .articles-grid.grid-3 {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 8px;
  }
  .articles-grid .article-card { min-width: 280px; flex-shrink: 0; }

  /* CTA banner mobile */
  .cta-banner { padding: 40px 0; min-height: 160px; }
  .cta-banner h2 { font-size: 24px; }

  .cart-sidebar { width: 100%; right: -100%; border-radius: 0; }

  .cookie-banner .container { flex-direction: column; text-align: center; }
  .cookie-banner-actions { width: 100%; justify-content: center; flex-wrap: wrap; }

  .stepper { flex-wrap: wrap; gap: 8px; }
  .step-line { width: 20px; margin: 0 4px; }

  .topbar-center { position: static; transform: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .table-parametric { font-size: 13px; }
  .table-parametric th, .table-parametric td { padding: 8px 12px; }

  .section-spacing { padding: 48px 0; }
  .account-section { padding-bottom: 48px; }


  .table-parametric,
  .table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  .layout-split { overflow-x: hidden; }
  .layout-split > * { min-width: 0; }
}

/* --- Utility: visually hidden --- */
.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;
}


/* --- Placeholder image --- */
.img-placeholder {
  background: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray);
  font-size: 14px;
}

/* --- Security badges --- */
.security-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  padding: 24px 0;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-gray);
}

/* --- Discount code input --- */
.discount-input {
  display: flex;
  gap: 8px;
}

.discount-input input {
  flex: 1;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  font-size: 14px;
  font-family: var(--font-family);
}


/* --- Misc --- */
.divider { border: none; border-top: 1px solid var(--color-border); margin: 24px 0; }
.price-big { font-size: 28px; font-weight: 700; color: var(--color-text-primary); }
.price-vat { font-size: 13px; color: var(--color-gray); font-weight: 400; }
.stock-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; }
.stock-dot.in-stock { background: var(--color-primary); }
.stock-dot.low-stock { background: var(--color-warning); }
.stock-dot.out-of-stock { background: var(--color-error); }

/* --- Product Subtitle --- */
.product-subtitle {
  font-size: 18px;
  color: var(--color-gray);
  font-weight: 400;
  margin-top: -8px;
  margin-bottom: 16px;
}

/* --- Stock Units --- */
.stock-units {
  font-weight: 400;
  font-size: 12px;
}

/* --- Volume Pricing: Clickable Rows + Savings Badge --- */
.volume-pricing thead td {
  font-weight: 600;
  background: var(--color-bg-light);
}

.volume-pricing-row {
  cursor: pointer;
  transition: background 0.2s;
  border-left: 3px solid transparent;
}

.volume-pricing-row:hover {
  background: rgba(0, 179, 0, 0.1);
}


.volume-pricing-row.active-tier {
  background: rgba(0, 179, 0, 0.08);
  border-left: 3px solid var(--color-primary);
  font-weight: 600;
}

.savings-badge {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-weight: 700;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 4px;
}

.savings-box {
  display: none;
  padding: 10px 20px;
  border: 2px solid var(--color-error);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-error);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.savings-box.visible {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.volume-pricing-quote td {
  text-align: center;
  font-size: 14px;
}

/* Compact variant for cart page */
.volume-pricing-compact {
  margin: 0;
  grid-column: 2;
  align-self: center;
  justify-self: end;
}
.volume-pricing-compact td {
  padding: 2px 6px;
  font-size: 11px;
}
.volume-pricing-compact .active-tier td {
  font-size: 12px;
}

/* --- Cross-Shaped Quantity Stepper --- */
.qty-stepper-cross {
  display: grid;
  grid-template-areas:
    ".    up    ."
    "left input right"
    ".    down  .";
  grid-template-columns: 36px 64px 36px;
  grid-template-rows: 32px 44px 32px;
  gap: 0;
  justify-items: center;
  align-items: center;
}

.qty-stepper-cross input {
  grid-area: input;
  width: 64px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 0;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-family);
  -moz-appearance: textfield;
  background: var(--color-bg-white);
}

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

.qty-stepper-cross input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(0, 179, 0, 0.15);
  z-index: 1;
}

.qty-stepper-cross button {
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-border);
  background: var(--color-bg-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--color-text-primary);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s, border-color 0.15s;
}

.qty-stepper-cross button:hover {
  background: var(--color-border);
  border-color: var(--color-gray);
}

.qty-stepper-cross button .material-symbols-outlined {
  font-size: 18px;
}

.qty-stepper-cross .qty-btn-up {
  grid-area: up;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  width: 64px;
  justify-self: center;
}

.qty-stepper-cross .qty-btn-down {
  grid-area: down;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  width: 64px;
  justify-self: center;
}

.qty-stepper-cross .qty-btn-left {
  grid-area: left;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.qty-stepper-cross .qty-btn-right {
  grid-area: right;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.qty-stepper-label {
  font-size: 10px;
  color: var(--color-gray);
  text-align: center;
  line-height: 1;
  pointer-events: none;
}

.qty-stepper-label .material-symbols-outlined {
  font-size: 16px;
  display: block;
}

/* --- Inline Quantity Stepper (table rows) --- */
.qty-inline {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 32px;
}
.qty-inline input {
  width: 40px;
  height: 100%;
  text-align: center;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  font-size: 13px;
  font-family: inherit;
  -moz-appearance: textfield;
  padding: 0;
  background: var(--color-white);
}
.qty-inline input::-webkit-inner-spin-button,
.qty-inline input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty-inline input:focus {
  outline: none;
  background: var(--color-bg-light);
}
.qty-inline button {
  width: 28px;
  height: 100%;
  border: none;
  background: var(--color-bg-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--color-text-light);
  transition: background 0.15s, color 0.15s;
}
.qty-inline button:first-of-type:hover {
  background: var(--color-error);
  color: var(--color-white);
}
.qty-inline button:last-of-type:hover {
  background: var(--color-primary);
  color: var(--color-white);
}
.qty-inline button .material-symbols-outlined {
  font-size: 18px;
}
/* Tier jump arrows — stacked vertically at end of stepper */
.qty-tier-arrows {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--color-border);
  height: 100%;
}
.qty-tier-arrows button {
  width: 22px;
  height: 16px;
  border: none;
  background: var(--color-bg-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--color-text-light);
  transition: background 0.15s, color 0.15s;
}
.qty-tier-arrows button:first-child {
  border-bottom: 1px solid var(--color-border);
}
.qty-tier-arrows button:first-child:hover {
  background: var(--color-primary);
  color: var(--color-white);
}
.qty-tier-arrows button:last-child:hover {
  background: var(--color-error);
  color: var(--color-white);
}
.qty-tier-arrows button .material-symbols-outlined {
  font-size: 14px;
  line-height: 1;
}

/* Large variant for product detail page */
.qty-inline-lg {
  height: 44px;
}
.qty-inline-lg input {
  width: 56px;
  font-size: 16px;
  font-weight: 600;
}
.qty-inline-lg button {
  width: 36px;
}
.qty-inline-lg button .material-symbols-outlined {
  font-size: 22px;
}
.qty-tier-arrows-lg button {
  width: 28px;
  height: 22px;
}
.qty-tier-arrows-lg button .material-symbols-outlined {
  font-size: 16px;
}

/* Compact variant for product listing table */
.qty-inline-compact { height: 36px; }
.qty-inline-compact input { width: 36px; font-size: 13px; }
.qty-inline-compact > button { width: 28px; }
.qty-inline-compact > button .material-symbols-outlined { font-size: 18px; }
.qty-tier-arrows-compact button { width: 22px; height: 18px; }
.qty-tier-arrows-compact button .material-symbols-outlined { font-size: 13px; }

/* Icon-only button variant */
.btn-icon { padding: 0 10px !important; line-height: 1; min-width: 0; height: 36px !important; }
.btn-icon .material-symbols-outlined { font-size: 20px; vertical-align: middle; }

/* --- Clickable product rows --- */
.product-row { cursor: pointer; }
.product-row:hover { background: var(--color-bg-light); }

/* --- Clickable price tiers --- */
.price-tier { cursor: pointer; border-radius: 2px; padding: 1px 4px; margin: -1px -4px; }
.price-tier:hover { background: var(--color-bg-light); }
.price-tier:hover .tier-label { color: var(--color-gray); }


/* Dual-handle range slider */
.range-slider {
  position: relative;
  height: 24px;
  margin: 12px 0 4px;
  pointer-events: none;
}

.range-slider input[type="range"] {
  position: absolute;
  width: 100%;
  top: 0;
  height: 24px;
  margin: 0;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  z-index: 2;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid var(--color-bg-white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  cursor: pointer;
  pointer-events: all;
  position: relative;
  z-index: 3;
}

.range-slider input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid var(--color-bg-white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  cursor: pointer;
  pointer-events: all;
}

.range-slider-track {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  z-index: 1;
  pointer-events: none;
}

.range-slider-fill {
  position: absolute;
  top: 10px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 2px;
  z-index: 1;
  pointer-events: none;
}

.range-slider-labels {
  position: relative;
  height: 18px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--color-gray);
}

.range-slider-labels span:first-child {
  position: absolute;
  left: 0;
  white-space: nowrap;
}

.range-slider-labels span:last-child {
  position: absolute;
  right: 0;
  white-space: nowrap;
}

/* Table product cell with icon */
.table-product-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-product-cell .product-icon {
  width: 48px;
  height: 48px;
  background: var(--color-bg-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.table-product-cell .product-icon .material-symbols-outlined {
  font-size: 24px;
  color: var(--color-gray);
}

.table-product-cell .product-info {
  min-width: 0;
}

.table-product-cell .product-name {
  font-weight: 700;
  color: var(--color-text);
}

.table-product-cell .product-subtitle {
  font-size: 12px;
  color: var(--color-gray);
  white-space: nowrap;
  margin: 0;
}

/* Price tiers */
.price-tiers {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  white-space: nowrap;
}

.price-tiers .price-tier { display: flex; gap: 4px; color: var(--color-primary-accent); font-size: 12px; }
.price-tiers .price-tier.active { font-weight: 600; color: var(--color-text-primary); font-size: 13px; }

.price-tiers .tier-label {
  color: var(--color-gray);
  font-weight: 400;
  font-size: 11px;
  min-width: 28px;
}
.price-tiers .price-tier.active .tier-label { font-weight: 600; }

/* Compare toggle button */
.compare-toggle {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg-white);
  cursor: pointer;
  transition: all 0.15s;
  padding: 0;
  flex-shrink: 0;
}

.compare-toggle .material-symbols-outlined { font-size: 16px; color: var(--color-gray); }

.compare-toggle:hover { border-color: var(--color-primary); }
.compare-toggle:hover .material-symbols-outlined { color: var(--color-primary); }

.compare-toggle.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.compare-toggle.active .material-symbols-outlined { color: var(--color-text-inverse); }

/* Disabled button state */
.btn:disabled,
.btn.btn-disabled {
  background: var(--color-bg-light);
  color: var(--color-gray);
  border-color: var(--color-border);
  cursor: not-allowed;
  opacity: 0.7;
  pointer-events: none;
}

/* Inline compare controls */
.inline-compare-controls {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(0, 179, 0, 0.05);
  border: 1px solid rgba(0, 179, 0, 0.2);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.inline-compare-controls.visible { display: flex; }

/* Sort dropdown */
.sort-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-controls label { font-size: 13px; color: var(--color-gray); white-space: nowrap; }

.sort-controls select {
  font-size: 13px;
  font-family: var(--font-family);
  padding: 4px 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg-white);
  color: var(--color-text-primary);
}

/* --- Search Autocomplete --- */
.header-search,
.mobile-nav-search {
  position: relative;
}

.search-autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-medium);
  max-height: 400px;
  overflow-y: auto;
}

.search-autocomplete[hidden] {
  display: none;
}

.search-autocomplete-group {
  padding: 4px 0;
}

.search-autocomplete-group + .search-autocomplete-group {
  border-top: 1px solid var(--color-border);
}

.search-autocomplete-group-label {
  padding: 8px 16px 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-gray);
}

.search-autocomplete-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.1s;
  font-size: 14px;
  color: var(--color-text-primary);
  text-decoration: none;
}

.search-autocomplete-item:hover,
.search-autocomplete-item[aria-selected="true"] {
  background: var(--color-bg-light);
}

.search-autocomplete-item .material-symbols-outlined {
  font-size: 20px;
  color: var(--color-gray);
  flex-shrink: 0;
}

.search-autocomplete-item .ac-sku {
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}

.search-autocomplete-item .ac-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-autocomplete-item .ac-price {
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
  margin-left: auto;
}

.search-autocomplete-item mark {
  background: rgba(0, 179, 0, 0.15);
  color: inherit;
  border-radius: 2px;
  padding: 0 1px;
}

.search-autocomplete-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.search-autocomplete-footer a {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.search-autocomplete-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .search-autocomplete {
    max-height: 300px;
  }
}

/* --- Language Selector --- */
.lang-selector-btn {
  display: flex;
  align-items: center;
  padding: 6px 8px 6px 18px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
}
.lang-selector-btn:hover { background: var(--color-bg-light); }

.lang-flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  display: block;
  flex-shrink: 0;
  overflow: hidden;
}
.lang-flag svg {
  width: 20px;
  height: 14px;
  display: block;
}

.lang-dropdown-menu {
  right: 0;
  left: auto;
  min-width: 90px;
  padding: 4px 0;
}

.lang-option {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 8px 16px !important;
  font-size: 13px;
  font-weight: 400;
}

.lang-option--active {
  font-weight: 600;
  color: var(--color-primary) !important;
}

.lang-option--unavailable {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}

.mobile-nav-lang {
  display: flex;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--color-border);
  margin-top: 8px;
}

/* ============================================================
   Cookie Consent Banner & Preferences Modal
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1400;
  background: var(--color-bg-white);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
  padding: 16px 24px;
}

.cookie-banner-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-primary);
  flex: 1;
}

.cookie-banner-text a {
  color: var(--color-primary-accent);
  text-decoration: underline;
  white-space: nowrap;
}

.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cookie-banner { padding: 16px; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .cookie-banner-actions { flex-direction: column; }
  .cookie-banner-actions .btn { width: 100%; justify-content: center; }
}

/* Preferences Modal */
.cookie-prefs-overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.cookie-prefs-modal {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-heavy);
  padding: 32px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-prefs-modal h3 {
  margin-bottom: 8px;
}

.cookie-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.cookie-pref-row:last-of-type {
  border-bottom: none;
}

.cookie-pref-desc {
  font-size: 13px;
  color: var(--color-gray);
  margin-top: 2px;
}

.cookie-prefs-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 26px;
  transition: background 0.2s;
}

.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--color-primary);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(22px);
}

.cookie-toggle.disabled {
  cursor: default;
  opacity: 0.7;
}

.cookie-toggle.disabled .cookie-toggle-slider {
  background: var(--color-primary);
}

@media (max-width: 480px) {
  .cookie-prefs-modal { padding: 20px; }
  .cookie-prefs-actions { flex-direction: column; }
  .cookie-prefs-actions .btn { width: 100%; justify-content: center; }
}
