/* Ecom - Modern design system */
:root {
  --bg: #f8fafc;
  --bg-alt: #ffffff;
  --text: #2c1a3c;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --accent: #754a9b;
  --accent-hover: #9b6bc4;
  --accent-soft: rgba(117, 74, 155, 0.12);
  --footer-bg: #2c1a3c;
  --footer-text: #ffffff;
  --success: #059669;
  --danger: #dc2626;
  --warning: #d97706;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 64px;
  --btn-height: 44px;
  --btn-height-sm: 40px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
}
.page { min-height: 0; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10000;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
img { max-width: 100%; height: auto; display: block; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.page { padding: 28px 0 48px; min-height: 60vh; flex: 1; padding-top: calc(var(--header-height) + 28px); min-height: 0; }

/* Utility classes */
.w-max-400 { max-width: 400px; }
.w-max-600 { max-width: 600px; }
.w-max-700 { max-width: 700px; }
.w-max-800 { max-width: 800px; }
.w-max-900 { max-width: 900px; }
.m-auto { margin: 0 auto; }
.mt-12 { margin-top: 12px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.page-title { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 24px; }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-success { color: var(--success); font-weight: 600; }
.text-danger { color: var(--danger); }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 4px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.card { padding: 24px; background: var(--bg-alt); border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
.card-sm { padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-alt); }
.form-card { max-width: 500px; }
.w-100 { width: 100%; }
.hidden { display: none; }

/* Legal / info pages */
.page-prose { max-width: 720px; padding: 32px 0 48px; }
.page-prose h1 { font-size: 2rem; letter-spacing: -0.02em; }
.page-prose h2 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.page-prose p { margin-bottom: 16px; line-height: 1.7; }
.page-prose p:last-child { margin-bottom: 0; }
.prose-list { margin: 12px 0 20px 20px; padding: 0; }
.prose-list li { margin-bottom: 10px; line-height: 1.65; }
ul.prose-list { list-style: disc; }
ol.prose-list { list-style: decimal; }
.page-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.page-prose a:hover { color: var(--accent-hover); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; max-width: 900px; }
.contact-options .contact-option {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: color .2s var(--ease);
}
.contact-options .contact-option:last-child { border-bottom: none; }
.contact-options .contact-option:hover { color: var(--accent); }
.contact-option-icon { flex-shrink: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); border-radius: var(--radius-sm); color: var(--accent); }
.contact-option-icon .icon { width: 22px; height: 22px; }
.contact-form-wrap .form-group { margin-bottom: 20px; }
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.img-placeholder { width: 100%; height: 100%; background: var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
.deal-placeholder { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--accent-soft), rgba(117, 74, 155, 0.18)); display: flex; align-items: center; justify-content: center; color: var(--accent); font-weight: 600; }
.cart-thumb { width: 60px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.cart-item-product { display: flex; align-items: center; gap: 12px; }
.cart-item-meta { font-size: 0.85rem; }

/* Cart card layout */
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item-card {
  display: flex;
  align-items: center;
  transition: opacity .2s var(--ease);
  gap: 20px;
  padding: 16px 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cart-item-link { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; text-decoration: none; color: inherit; }
.cart-item-link:hover { color: var(--accent); }
.cart-item-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.cart-item-placeholder { width: 72px; height: 72px; background: var(--border); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--text-muted); flex-shrink: 0; }
.cart-item-placeholder .icon { width: 28px; height: 28px; }
.cart-item-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cart-item-price { font-size: 0.9rem; color: var(--text-muted); }
.cart-item-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.cart-qty-wrap { display: flex; align-items: center; gap: 8px; }
.cart-qty-wrap .qty-input { width: 56px; padding: 8px 10px; }
.cart-qty-stepper { display: flex; align-items: center; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.cart-qty-stepper .btn-qty-stepper { width: 36px; height: 36px; min-width: 36px; min-height: 36px; font-size: 1.1rem; line-height: 1; font-weight: 600; background: var(--bg-alt); color: var(--text); border: none; cursor: pointer; transition: opacity .2s var(--ease); }
.cart-qty-stepper .btn-qty-stepper.is-loading { opacity: 0.6; cursor: wait; }
.cart-qty-stepper .btn-qty-stepper:hover { background: var(--accent-soft); color: var(--accent); }
.cart-qty-stepper .cart-qty-value { min-width: 40px; text-align: center; font-weight: 600; padding: 0 8px; }
.cart-qty-static { font-weight: 600; min-width: 36px; display: inline-flex; align-items: center; justify-content: center; }
.btn-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: none; border-radius: var(--radius-sm); background: transparent; color: var(--text-muted); cursor: pointer; transition: all .2s var(--ease); }
a.btn-fav.fav-loading { opacity: 0.7; pointer-events: none; }
.btn-icon:hover { background: var(--accent-soft); color: var(--accent); }
.btn-icon .icon { width: 18px; height: 18px; }
.btn-icon-remove:hover { background: rgba(220,38,38,0.1); color: var(--danger); }
.btn-icon-update:hover { background: rgba(5,150,105,0.1); color: var(--success); }
.cart-item-total { font-weight: 600; min-width: 70px; text-align: right; }
.cart-summary { max-width: 300px; margin-left: auto; }

/* Breadcrumbs */
.breadcrumb-wrap { padding-top: 16px; padding-bottom: 20px; }
.breadcrumbs { font-size: 0.875rem; color: var(--text-muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0; padding: 0; }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; }
.breadcrumbs li:not(:last-child)::after { content: '/'; color: var(--border); }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { color: var(--text); font-weight: 500; }
.checkout-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 12px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.checkout-steps a { color: inherit; text-decoration: none; }
.checkout-steps a:hover { color: var(--accent); }
.checkout-step { display: flex; align-items: center; gap: 8px; }
.checkout-step.disabled { pointer-events: none; opacity: 0.6; }
.checkout-step .step-num {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--border);
  border-radius: 50%;
  font-weight: 600;
  font-size: 0.8rem;
}
.checkout-step.active .step-num { background: var(--accent); color: #fff; }
.step-arrow { color: var(--border); font-size: 0.8rem; }
.cart-qty-form { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.qty-input { width: 60px; padding: 8px 10px; }
input.qty-input { width: 60px; }
input.qty-input-sm { width: 80px; }
.order-success-icon { font-size: 3.5rem; margin-bottom: 20px; color: var(--success); display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: rgba(5, 150, 105, 0.12); line-height: 1; }
.p-48 { padding: 48px; }
.pt-8 { padding-top: 8px; }
.border-t { border-top: 1px solid var(--border); }
.inline-form { display: inline-flex; align-items: center; gap: 6px; }

/* Account tabs - connected tab bar */
.account-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.account-tab {
  padding: 12px 20px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.account-tab:hover { color: var(--text); }
.account-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.pagination .btn { transition: transform .2s var(--ease); }
.pagination .btn:hover { transform: translateY(-1px); }
.pagination-info { color: var(--text-muted); font-size: 0.9rem; }

/* Account profile & addresses - improved card styling */
.account-section { margin-bottom: 32px; }
.account-section .card { max-width: 480px; }
.account-section .card h3 { margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.account-section .form-group { margin-bottom: 18px; }
.account-section input, .account-section select, .account-section textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
}
.account-section input:focus, .account-section select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.account-section label { font-weight: 500; margin-bottom: 8px; display: block; }
.account-address-card {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
}
.account-address-card .address-text { flex: 1; min-width: 200px; line-height: 1.6; }
.account-address-card .address-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* Table action icons */
.table-actions { display: flex; gap: 8px; align-items: center; }
/* Admin: quick sold button */
.qty-cell { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.qty-cell .qty-num { min-width: 1.2em; }
.sold-one-form { display: inline-flex !important; }
.sold-one-btn { padding: 4px 10px; font-size: 0.8rem; background: var(--success); color: #fff; border: none; border-radius: var(--radius-sm); cursor: pointer; transition: background .2s; }
.sold-one-btn:hover { background: #059669; }
.badge-sold-inline { font-size: 0.75rem; padding: 2px 8px; border-radius: 999px; background: rgba(0,0,0,0.08); color: var(--text-muted); }
.btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 0; border: none; border-radius: var(--radius-sm);
  background: transparent; color: var(--text-muted); cursor: pointer;
  transition: all .2s var(--ease);
}
.btn-icon .icon { width: 18px; height: 18px; }
.btn-icon:hover { background: var(--accent-soft); color: var(--accent); }
.btn-icon-delete:hover { background: rgba(220,38,38,.1); color: var(--danger); }
.btn-icon-edit:hover { color: var(--accent); }
.bulk-actions .btn { min-height: 40px; }

/* Table checkboxes - fill only, larger hit area */
.table-cb-wrap {
  display: flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; cursor: pointer; padding: 4px;
}
.table-cb-wrap input[type="checkbox"] {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.table-cb-custom {
  width: 24px; height: 24px; border: 2px solid var(--border); border-radius: 5px;
  background: var(--bg-alt); transition: all .2s var(--ease);
  display: flex; align-items: center; justify-content: center;
}
.table-cb-wrap:hover .table-cb-custom { border-color: var(--accent); }
.table-cb-wrap input:checked + .table-cb-custom {
  background: var(--accent); border-color: var(--accent);
}
.table-cb-custom::after {
  content: ''; width: 6px; height: 11px; border: solid white;
  border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0);
  margin-bottom: 4px; transition: transform .2s var(--ease);
}
.table-cb-wrap input:checked + .table-cb-custom::after { transform: rotate(45deg) scale(1); }
.table-cb-row { min-height: 44px; }
.table-cb-row .table-cb-custom { flex-shrink: 0; }

/* Modern Checkbox */
.checkbox-row, .radio-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  cursor: pointer;
  user-select: none;
}
.checkbox-row input[type="checkbox"],
.checkbox-row input[type="radio"],
.radio-row input[type="radio"],
.address-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.checkbox-custom, .radio-custom {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  transition: all .2s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}
.checkbox-row input:checked + .checkbox-custom {
  background: var(--accent);
  border-color: var(--accent);
}
.checkbox-custom {
  position: relative;
}
.checkbox-custom::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform .2s var(--ease);
}
.checkbox-row input:checked + .checkbox-custom::after {
  transform: rotate(45deg) scale(1);
}
.radio-custom {
  border-radius: 50%;
}
.checkbox-row input:checked + .radio-custom,
.checkbox-row input:checked ~ .radio-custom,
.radio-row input:checked + .radio-custom {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: inset 0 0 0 5px var(--bg-alt);
}
.address-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.address-option:hover { border-color: var(--accent); background: var(--accent-soft); }
.address-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.address-option { position: relative; }
/* Selected state: whole card changes color (no visible radio) */
.address-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }

/* Payment options - Paysera highlighted for easy card checkout (Kosovo) */
.payment-option-paysera { border-left: 3px solid var(--accent); }
.payment-option-paysera:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.payment-option-label { display: flex; flex-direction: column; gap: 2px; }
.payment-badges { font-size: 0.8rem; font-weight: 500; color: var(--accent); }
.payment-desc { font-size: 0.9rem; color: var(--text-muted); }

/* Custom Select - no default browser style */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.custom-select-wrap { position: relative; margin-bottom: 16px; }
.custom-select { position: relative; }
.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  text-align: left;
}
.custom-select.open .custom-select-trigger {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.custom-select-trigger:hover { border-color: var(--accent); }
.custom-select-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.custom-select-arrow {
  width: 20px;
  height: 20px;
  margin-left: 8px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
  transition: transform .2s var(--ease);
}
.custom-select.open .custom-select-arrow { transform: rotate(180deg); }
.custom-select-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  max-height: 280px;
  overflow-y: auto;
  z-index: 300;
  display: none;
}
.custom-select.open .custom-select-list { display: block; }
.custom-select-option {
  padding: 12px 16px;
  cursor: pointer;
  transition: background .15s;
  border-bottom: 1px solid var(--border);
}
.custom-select-option:last-child { border-bottom: none; }
.custom-select-option:hover, .custom-select-option.selected { background: var(--accent-soft); color: var(--accent); }
.custom-select { display: inline-block; min-width: 140px; overflow-anchor: none; }
.table-wrap .custom-select { min-width: 120px; }
.table-wrap .custom-select-list { z-index: 600; }
/* When list is moved to body (table overflow fix) */
body > .custom-select-list { z-index: 9999; position: fixed !important; }

/* Fallback: native select styling for non-js / when custom-select-src not used */
select:not(.custom-select-src) {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
  cursor: pointer;
}

/* Forms */
input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
  width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
input::placeholder, textarea::placeholder { color: var(--text-muted); opacity: 0.7; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 0.9rem; }
.form-group .custom-select { width: 100%; min-width: 0; }

/* Topbar - active promo codes above header (single row, code + copy only) */
.topbar-promos {
  --topbar-height: 40px;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.topbar-promos-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--topbar-height);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.topbar-promos-inner::-webkit-scrollbar { display: none; }
.topbar-promos-list {
  display: flex;
  align-items: center;
  gap: 12px 20px;
  flex-wrap: nowrap;
  padding: 0 12px;
  min-width: min-content;
}
.topbar-promo-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.topbar-promo-code {
  background: rgba(255,255,255,0.2);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-family: ui-monospace, monospace;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}
.topbar-promo-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.2);
  color: #fff;
  cursor: pointer;
  transition: background .2s;
  flex-shrink: 0;
}
.topbar-promo-copy:hover {
  background: rgba(255,255,255,0.35);
}
.topbar-promo-copy.copied {
  background: rgba(255,255,255,0.5);
}
.topbar-promo-copy .icon { width: 13px; height: 13px; }
.topbar-promo-label { opacity: 0.9; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 480px) {
  .topbar-promo-label { display: none; }
}
body.has-topbar { --topbar-height: 40px; }
body.has-topbar .header { top: var(--topbar-height); }
body.has-topbar .page { padding-top: calc(var(--topbar-height) + var(--header-height) + 28px); }

/* Header - fixed navbar */
.header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: var(--shadow);
  flex-shrink: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
  gap: 32px;
  width: 100%;
  margin:20px;
}
.header-inner .logo { position: absolute; left: 0; }
.header-inner .header-actions { position: absolute; right: 0; gap:30px;}
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
}
.lang-link {
  color: var(--text-muted);
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  transition: color .2s var(--ease);
}
.lang-link:hover, .lang-link.active { color: var(--accent); }
.lang-sep { color: var(--border); font-weight: 400; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-form-mobile { display: none; }
.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  transition: color .2s var(--ease);
  display: flex;
  align-items: center;
}
.logo:hover { color: var(--accent); }
.logo-img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  transition: opacity .2s var(--ease);
}
.logo:hover .logo-img { opacity: 0.85; }
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav a:hover { color: var(--accent); }
.nav a.nav-active { color: var(--accent); font-weight: 600; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; }
.nav-link-icon { gap: 0; }
.nav-link-icon .icon { width: 22px; height: 22px; }
/* Categories dropdown - desktop */
.nav-item-has-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
}
.nav-dropdown-trigger:hover { color: var(--accent); }
.nav-dropdown-trigger .icon:last-child { margin-left: 2px; transform: rotate(90deg); transition: transform .2s var(--ease); }
.nav-item-has-dropdown.dropdown-open .nav-dropdown-trigger { color: var(--accent); }
.nav-item-has-dropdown.dropdown-open .nav-dropdown-trigger .icon:last-child { transform: rotate(90deg); }
.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  min-width: 260px;
  max-width: min(86vw, 360px);
  max-height: 70vh;
  overflow-y: auto;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
  padding: 8px;
  z-index: 200;
  display: none;
}
.nav-item-has-dropdown.dropdown-open .nav-dropdown-panel { display: block; }
.nav-dropdown-panel .nav-dropdown-item {
  display: block;
  width: 100%;
  padding: 10px 12px;
  font-size: 0.9rem;
  color: var(--text);
  border-radius: 10px;
  transition: background .12s ease, color .12s ease;
}
.nav-dropdown-panel .nav-dropdown-item:hover { background: var(--bg); color: var(--text); }
/* Mobile close button - hidden on desktop */
.nav-close-btn {
  display: none;
}
/* Mobile categories - hidden on desktop */
.nav-categories-mobile { display: none; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.search-form .search-btn svg { width: 20px; height: 20px; }
.cart-link, .favorite-link, .account-link { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.cart-count, .notif-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notif-badge { background: var(--danger); }
.search-form { position: relative; flex: 1; max-width: 360px; margin: 0 16px; }
.search-form .search-input {
  padding: 12px 44px 12px 16px;
  font-size: 0.95rem;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
}
.search-form .search-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-muted);
  transition: color .2s;
}
.search-form .search-btn:hover { color: var(--accent); }
.search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 6px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  max-height: 360px;
  overflow-y: auto;
  z-index: 200;
  display: none;
}
.search-dropdown.open { display: block; }
.search-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.search-result:last-child { border-bottom: none; }
.search-result:hover { background: var(--accent-soft); }
.search-result img { width: 48px; height: 48px; object-fit: cover; border-radius: var(--radius-sm); }
.search-result-info { flex: 1; min-width: 0; }
.search-result-title { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-result-meta { font-size: 0.8rem; color: var(--text-muted); opacity: 0.9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-result-price { font-size: 0.9rem; color: var(--accent); font-weight: 600; }
.search-no-results { padding: 16px; color: var(--text-muted); font-size: 0.95rem; text-align: center; }

/* Icons - flat minimal, uniform */
.icon { width: 20px; height: 20px; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.search-form .search-btn .icon { width: 20px; height: 20px; }

/* Product cards */
.badge { display: inline-block; padding: 4px 10px; border-radius: var(--radius-sm); font-size: 0.8rem; font-weight: 600; }
.badge-success { background: #d1fae5; color: #065f46; }
.mt-32 { margin-top: 32px; }
.w-100 { width: 100%; }
/* Grey out sold product cards */
.product-card:has(.badge-sold),
.hero-product-card:has(.badge-sold) {
  opacity: 0.75;
}
.product-card:has(.badge-sold) .product-img-wrap img,
.product-card:has(.badge-sold) .product-img-wrap,
.hero-product-card:has(.badge-sold) .hero-product-img img,
.hero-product-card:has(.badge-sold) .hero-product-img {
  filter: grayscale(100%);
}
.product-card:has(.badge-sold) .product-price,
.hero-product-card:has(.badge-sold) .hero-product-price {
  color: var(--text-muted);
}

.badge-sold {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--danger);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 1;
}
.badge-low-stock {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--danger);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  z-index: 1;
}
.badge-view-count {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  z-index: 1;
}
.badge-view-count .icon { width: 18px; height: 18px; opacity: 0.95; }
.size-badge-overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 1;
}
.size-badge-overlay .size-variant-btn {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.55);
  color: #fff;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: all .2s var(--ease);
}
.size-badge-overlay .size-variant-btn:hover {
  background: rgba(0,0,0,0.75);
  border-color: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.size-badge-overlay .size-variant-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 2px 10px rgba(124,58,237,0.4);
}
.product-img-wrap { position: relative; }
.skeleton {
  background: linear-gradient(90deg, var(--border) 25%, #e2e8f0 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: skeleton 1.5s infinite;
}
@keyframes skeleton { to { background-position: 200% 0; } }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 26, 60, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s var(--ease);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(.96);
  transition: transform .25s var(--ease);
  box-shadow: 0 20px 40px -12px rgba(44, 26, 60, 0.2);
}
.modal-overlay.open .modal { transform: scale(1); }
.modal.modal-card {
  padding: 28px;
  max-width: 420px;
}
.modal.modal-card h3 { color: var(--text); font-size: 1.25rem; }
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  opacity: .6;
  transition: opacity .2s, color .2s;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { opacity: 1; color: var(--text); }

/* Order timeline */
.order-timeline { display: flex; gap: 0; margin: 28px 0; }
.timeline-step { flex: 1; text-align: center; position: relative; }
.timeline-step::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border);
  z-index: 0;
}
.timeline-step:first-child::before { left: 50%; }
.timeline-step:last-child::before { right: 50%; }
.timeline-step.done::before { background: var(--success); }
.timeline-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--border);
  margin: 0 auto 10px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}
.timeline-step.done .timeline-dot { background: var(--success); color: #fff; }
.timeline-step.active .timeline-dot { background: var(--accent); color: #fff; }

/* Buttons - uniform size everywhere */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--btn-height);
  padding: 0 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s var(--ease);
  font-family: inherit;
  box-sizing: border-box;
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text);
  min-height: var(--btn-height);
}
.btn-outline:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.btn-sm {
  min-height: var(--btn-height-sm);
  padding: 0 16px;
  font-size: 0.875rem;
}
.btn-outline.btn-sm { min-height: var(--btn-height-sm); }
.btn-icon-only {
  flex: none;
  width: 44px;
  min-width: 44px;
  padding: 0;
}
.btn-icon-only .icon { width: 20px; height: 20px; }
.btn-sm.btn-icon-only { width: 40px; min-width: 40px; min-height: 40px; }
.btn-sm.btn-icon-only .icon { width: 18px; height: 18px; }
.btn-danger { color: var(--danger); background: transparent; border: 2px solid var(--danger); }
.btn-danger:hover:not(:disabled) { background: rgba(220, 38, 38, 0.1); transform: translateY(-1px); }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover:not(:disabled) { background: #047857; transform: translateY(-1px); box-shadow: var(--shadow-hover); }
.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover:not(:disabled) { background: var(--bg-alt); color: var(--text); }
.btn-block { width: 100%; justify-content: center; }
.btn-block + .btn-block { margin-top: 12px; }
.btn-icon-text { display: inline-flex; align-items: center; gap: 6px; }
.btn-icon-text .icon { width: 18px; height: 18px; }

/* Theme: corner style is applied site-wide via :root --radius and --radius-sm (see theme_custom_css) */

/* Product grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.product-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  transition: all .25s var(--ease);
}
.product-card:hover {
  transform: none;
  box-shadow: var(--shadow);
  border-color: var(--border);
}
.product-img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg);
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.product-card:hover .product-img-wrap img { transform: none; }
.product-info { padding: 18px; }
.product-title { font-size: 1rem; font-weight: 600; margin-bottom: 6px; line-height: 1.35; }
.product-price-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.product-price-row .product-price { flex-shrink: 0; }
.size-variants { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.size-variants-inline { margin-bottom: 0; margin-left: auto; }
.size-variant-btn {
  padding: 6px 12px;
  font-size: 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  cursor: pointer;
  transition: all .2s;
}
.size-variant-btn:hover { border-color: var(--accent); }
.size-variant-btn.active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 600; }
a.size-variant-btn { text-decoration: none; color: inherit; display: inline-block; }
.product-detail-sizes { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.product-detail-sizes .product-detail-size-label { font-weight: 600; margin-right: 4px; }
.product-detail-sizes .size-variants { margin-bottom: 0; }
/* Clients: hide product name (SKU) on home/shop grids */
/* product-title and hero-product-title now show product name (not SKU) - no longer hidden */
.product-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.product-price { font-size: 1.15rem; font-weight: 700; color: var(--accent); }
.price-before { text-decoration: line-through; color: var(--text-muted); font-weight: 500; margin-right: 4px; }
.price-after { color: var(--accent); font-weight: 700; }
.price-discount-badge { display: inline-block; font-size: 0.7rem; font-weight: 600; color: var(--accent); background: rgba(124,58,237,.1); padding: 2px 6px; border-radius: 4px; margin-left: 6px; }
.product-actions { padding: 0 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.product-actions .action-buttons {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex: 1;
  min-height: 44px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
}
.product-actions .action-buttons .add-to-cart-form { flex: 1; display: flex; }
.product-actions .action-buttons .add-to-cart-form .cart-btn-wrap { flex: 1; display: flex; }
.product-actions .action-buttons .add-to-cart-form .cart-btn-wrap button:disabled { pointer-events: none; }
.product-actions .action-buttons .add-to-cart-form .cart-btn-wrap-requires-size {
  position: relative;
  cursor: pointer;
}
/* Same for product detail page */
.add-to-cart-form .cart-btn-wrap button:disabled { pointer-events: none; }
.add-to-cart-form .cart-btn-wrap-requires-size { position: relative; cursor: pointer; }
/* btn-requires-size: looks disabled but stays clickable so form submit can be intercepted */
.btn-requires-size { opacity: 0.75; cursor: pointer; }
.product-actions .action-buttons .add-to-cart-form button {
  flex: 1;
  border: none;
  border-radius: 0;
  min-height: 44px;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s var(--ease), opacity .2s;
}
.product-actions .action-buttons .add-to-cart-form button:hover { background: var(--accent-hover); }
.product-actions .action-buttons .add-to-cart-form button .icon { width: 20px; height: 20px; }
.product-actions .action-buttons .btn-fav {
  flex: none;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  border: none;
  border-radius: 0;
  border-left: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s var(--ease), color .2s;
}
.product-actions .action-buttons .btn-fav .icon { width: 18px; height: 18px; }
.product-actions .action-buttons .btn-fav:hover { background: var(--accent-soft); color: var(--accent); }
.product-actions .action-buttons .btn-fav.is-favorited { color: #e11d48; background: rgba(225,29,72,0.08); }
.product-actions .action-buttons .btn-fav.is-favorited:hover { background: rgba(225,29,72,0.15); color: #be123c; }
/* When only cart (no fav), full width */
.product-actions .action-buttons .add-to-cart-form:only-child { width: 100%; }
.btn-quick-view.quick-view-btn {
  flex: none;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  border: none;
  border-radius: 0;
  border-left: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s var(--ease), color .2s;
}
.btn-quick-view.quick-view-btn .icon { width: 18px; height: 18px; }
.btn-quick-view.quick-view-btn:hover { background: var(--accent-soft); color: var(--accent); }

/* Full-width quick view button (below action row) */
.quick-view-btn.btn-quick-view-full {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background .2s var(--ease), color .2s, border-color .2s;
}
.quick-view-btn.btn-quick-view-full .icon { width: 16px; height: 16px; flex-shrink: 0; }
.quick-view-btn.btn-quick-view-full:hover { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-soft); }

/* Deals slider */
.deals-section { margin-bottom: 48px; }
.section-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 20px; letter-spacing: -0.02em; }
.deals-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.deals-slider::-webkit-scrollbar { height: 6px; }
.deals-slider::-webkit-scrollbar-track { background: var(--border); border-radius: 3px; }
.deals-slider::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 3px; opacity: 0.5; }
.deal-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all .2s var(--ease);
}
.deal-card:hover { box-shadow: var(--shadow); transform: none; }
.deal-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.deal-card-info { padding: 18px; }
.deal-card-title { font-weight: 600; margin-bottom: 6px; }
.deal-card-desc { font-size: 0.9rem; color: var(--text-muted); }

/* Products page - sidebar layout */
.products-page { padding: 24px 0 48px; }
.products-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}
.products-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 20px;
  overflow-y: auto;
  max-height: calc(100vh - 120px);
  -webkit-overflow-scrolling: touch;
}
.sidebar-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.sidebar-header-title { font-size: 1rem; font-weight: 600; }
.sidebar-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}
.sidebar-close-btn:hover { color: var(--text); }
.sidebar-close-btn .icon { width: 22px; height: 22px; }
.sidebar-title { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); margin: 20px 0 12px; }
.sidebar-title:first-child { margin-top: 0; }
.sidebar-hint { font-weight: 400; color: var(--text-muted); font-size: 0.75rem; }
.category-tree { display: flex; flex-direction: column; gap: 6px; }
.cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 0 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all .2s var(--ease);
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  text-decoration: none;
  width: fit-content;
  user-select: none;
  border-radius: 0;
}
.cat-pill:hover { color: var(--accent); border-bottom-color: var(--accent); }
.cat-pill.active,
.cat-pill:has(input:checked) { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }
.cat-pill-all { margin-bottom: 4px; }
.cat-group { margin-left: 4px; margin-top: 4px; }
.cat-accordion-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: background .2s var(--ease);
}
.cat-accordion-trigger:hover { background: var(--accent-soft); }
.cat-accordion-trigger .cat-trigger-name { flex: 1; }
.cat-accordion-trigger .cat-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--border);
  padding: 2px 8px;
  border-radius: 999px;
}
.cat-accordion-trigger .cat-chevron {
  transition: transform .2s var(--ease);
}
.cat-accordion-trigger[aria-expanded="true"] .cat-chevron { transform: rotate(90deg); }
.cat-accordion-panel { margin-top: 4px; margin-left: 12px; }
.cat-pill-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 6px;
}
.cat-pill.active .cat-pill-count,
.cat-pill:has(input:checked) .cat-pill-count { color: var(--accent); opacity: 0.9; }
.cat-sub { margin-left: 16px; margin-top: 4px; }
.cat-pill.cat-2 { font-size: 0.88rem; padding: 6px 12px; }
.cat-pill.cat-3 { font-size: 0.85rem; padding: 6px 12px; }
.cat-pill.cat-4 { font-size: 0.82rem; padding: 5px 10px; color: var(--text-muted); }
.cat-pill.cat-4.active { color: var(--accent); }
.sidebar-filters .btn { margin-top: 8px; }
/* Sidebar filters - uniform size */
.sidebar-filters .custom-select-wrap,
.sidebar-filters .custom-select { width: 100%; min-width: 0; }
.sidebar-filters .custom-select-trigger { min-height: var(--btn-height); }

.products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.products-header .section-title { margin-bottom: 0; }
.active-filters-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  font-size: 0.875rem;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all .2s;
}
.filter-chip:hover { background: var(--accent); color: #fff; }
.filter-chip-x { font-size: 1.1rem; font-weight: 700; line-height: 1; opacity: 0.8; }
.filter-chip:hover .filter-chip-x { opacity: 1; }
.filter-chip-clear {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.filter-chip-clear:hover { background: var(--bg-alt); color: var(--text); }
.filters-open-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow);
}
.filters-open-btn:hover { border-color: var(--accent); color: var(--accent); }
.filters-open-btn .icon { width: 20px; height: 20px; }

/* Filters (legacy / other pages) */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
  padding: 20px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.filters select.custom-select-src,
.filters .custom-select { min-width: 160px; }
.filters select:not(.custom-select-src) {
  min-width: 160px;
  padding: 10px 44px 10px 14px;
  font-size: 0.95rem;
}

/* Hero - functional category + product sliders */
.hero-hero { margin-bottom: 48px; }
.hero-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.hero-categories { padding: 22px 0 14px; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.hero-cat-slider {
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
}
.hero-cat-track {
  display: flex;
  gap: 12px;
  width: max-content;
  scroll-snap-type: x mandatory;
}
.hero-cat-slider::-webkit-scrollbar { height: 4px; }
.hero-cat-slider::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.hero-cat-slider-auto {
  overflow-x: scroll;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: auto;
  scroll-snap-type: none;
}
.hero-cat-slider-auto::-webkit-scrollbar { display: none; }
.hero-cat-slider-auto .hero-cat-track { scroll-snap-type: none; }
.hero-discover-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-discover-slider .hero-cat-slider { flex: 1; min-width: 0; overflow-x: scroll; -webkit-overflow-scrolling: touch; }
.hero-cat-card {
  flex: 0 0 auto;
  flex-shrink: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  min-width: 104px;
  min-height: 86px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: all .2s var(--ease);
  position: relative;
  overflow: hidden;
}
.hero-cat-card.has-bg {
  background: var(--bg-alt);
  border-color: transparent;
}
.hero-cat-card.has-bg .hero-cat-icon,
.hero-cat-card.has-bg .hero-cat-name { position: relative; z-index: 1; text-shadow: 0 1px 3px rgba(0,0,0,0.5); color: #fff; }
.hero-cat-card.has-bg .hero-cat-icon { opacity: .9; }
.hero-cat-bg {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.hero-cat-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-cat-bg img.active { opacity: 1; }
.hero-cat-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
  border-radius: inherit;
  pointer-events: none;
}
.hero-cat-card.has-bg:hover {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  box-shadow: none;
}
.hero-cat-card:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  transform: none;
  box-shadow: none;
}
.hero-cat-card.has-bg:hover .hero-cat-icon,
.hero-cat-card.has-bg:hover .hero-cat-name { color: #fff; }
.hero-cat-icon { opacity: .7; }
.hero-cat-icon .icon { width: 28px; height: 28px; }
.hero-cat-name { font-size: 0.9rem; font-weight: 500; text-align: center; white-space: nowrap; }
.hero-products { padding: 22px 0; }
.hero-discover { padding: 16px 0 22px; border-top: 1px solid var(--border); }
.hero-discover .hero-cat-slider { padding-top: 4px; }
.category-spotlight { margin-bottom: 32px; }
.category-spotlight .section-title { margin-bottom: 14px; }
.hero-product-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.slider-nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--text-muted);
  transition: all .2s var(--ease);
}
.slider-nav:hover { border-color: var(--accent); color: var(--accent); }
.slider-nav .icon { width: 24px; height: 24px; }
.hero-product-track {
  flex: 1;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
}
.hero-product-track::-webkit-scrollbar { height: 6px; }
.hero-product-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all .2s var(--ease);
}
.hero-product-card:hover {
  box-shadow: none;
  transform: none;
  border-color: var(--accent);
}
.hero-product-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg);
}
.hero-product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.hero-product-card:hover .hero-product-img img { transform: none; }
.hero-product-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-product-title { font-size: 0.95rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-product-meta { font-size: 0.75rem; color: var(--text-muted); opacity: 0.9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-product-price { font-size: 1rem; font-weight: 600; color: var(--accent); }

/* Footer - Functional multi-column, responsive */
.footer {
  margin-top: auto;
  padding: 48px 0 24px;
  background: var(--footer-bg);
  color: var(--footer-text);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.footer a { color: inherit; opacity: 0.9; transition: opacity .2s var(--ease); }
.footer a:hover { color: var(--footer-text); opacity: 1; text-decoration: underline; text-underline-offset: 2px; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-inner.footer-has-social { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }
.footer-social-links { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.15);
  color: var(--footer-text);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.footer-social-link:hover { background: rgba(255,255,255,0.25); color: var(--footer-text); transform: translateY(-2px); }
.footer-social-link .icon { width: 20px; height: 20px; }
.footer-brand .logo { color: var(--footer-text); font-size: 1.5rem; margin-bottom: 12px; display: inline-block; }
.footer-brand p { max-width: 280px; line-height: 1.7; opacity: .9; }
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--footer-text);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.9rem;
  opacity: .75;
}
.footer-badges {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  white-space: nowrap;
}
.footer-badges span { display: inline-flex; align-items: center; gap: 6px; }
.footer-badges .icon { width: 16px; height: 16px; flex-shrink: 0; }
.footer-license {
  margin-top: 18px;
  padding-top: 2px;
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.88;
}
.footer-license a {
  display: inline-block;
  text-decoration: none;
}
.footer-license a:hover {
  text-decoration: underline;
}

/* Alerts */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  animation: fadeIn .3s var(--ease);
}
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.alert-info { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }
.alert code { background: rgba(0,0,0,.08); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
th {
  font-weight: 600;
  background: var(--bg);
  color: var(--text);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--accent-soft); }

/* Toast */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
/* Size required popup - near add to cart button */
.size-required-popup {
  position: fixed;
  z-index: 99999;
  padding: 12px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
  max-width: 280px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  pointer-events: none;
}
.size-required-popup.visible {
  opacity: 1;
  transform: translateY(0);
}
.toast {
  padding: 16px 24px;
  background: var(--text);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  animation: toastIn .3s var(--ease);
  max-width: 360px;
  font-weight: 500;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0); }
}
.animate-in { animation: fadeIn .3s var(--ease) forwards; }
[data-animate] { opacity: 0; }
[data-animate].visible { animation: fadeIn .4s var(--ease) forwards; }

/* Product detail */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-image-column { display: flex; flex-direction: column; gap: 20px; }
.product-detail .product-img-wrap {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: 0 4px 20px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.06);
}
.product-detail .product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease);
}
.product-detail .product-img-wrap:hover img { transform: scale(1.03); }
.product-image-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-image-actions .share-btns {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-image-actions .share-btn {
  flex: 1;
  min-width: 0;
  justify-content: center;
  padding: 10px 14px;
  font-size: 0.85rem;
}
.product-image-actions .product-back-btn { align-self: flex-start; }
.product-detail h1 { font-size: 1.75rem; font-weight: 700; }
.product-detail .product-price { font-size: 1.75rem; }
.product-detail .price-before { font-size: 1rem; }
.product-detail .price-after { font-size: 1.75rem; }
.product-detail .price-discount-badge { font-size: 0.8rem; padding: 4px 8px; margin-top: 6px; display: inline-block; }
.add-to-cart-row { display: flex; gap: 12px; margin-bottom: 20px; }
.product-detail-actions { display: flex; flex-direction: column; gap: 16px; }
.product-detail-actions .cart-btn-wrap { display: block; }
.product-detail-icons { display: flex; align-items: center; gap: 12px; }
.product-detail-icons .cart-btn-wrap { flex: none; }
.product-detail-icons .qty-input-sm { width: 72px; }
.btn-action-icon-lg { width: 48px; min-width: 48px; min-height: 48px; }
button[type=submit]:disabled, .btn:disabled { opacity: 0.8; cursor: not-allowed; }
.btn-action-icon-lg .icon { width: 22px; height: 22px; }
.btn-lg { min-height: 52px; font-size: 1.05rem; padding: 0 28px; }

/* Stat cards (admin) */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.stat-card {
  padding: 28px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all .2s var(--ease);
}
.stat-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: var(--accent);
}
.stat-value { font-size: 1.35rem; font-weight: 700; color: var(--accent); }
.stat-label { color: var(--text-muted); font-size: 0.95rem; margin-top: 4px; }
.stat-link { font-size: 0.9rem; margin-top: 12px; display: inline-block; font-weight: 600; color: var(--accent); }
.admin-stat-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.stat-card-warning { border-color: var(--warning); }
.stat-card-warning .stat-value { color: var(--warning); }
.admin-analytics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.order-status-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; }
.order-status-new_order { background: rgba(117,74,155,0.15); color: var(--accent); }
.order-status-accepted { background: rgba(59,130,246,0.15); color: #2563eb; }
.order-status-delivering { background: rgba(245,158,11,0.15); color: var(--warning); }
.order-status-delivered { background: rgba(5,150,105,0.15); color: var(--success); }
.order-status-cancelled { background: rgba(220,38,38,0.1); color: var(--danger); }

/* Reviews */
.reviews-section { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.reviews-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.stars { color: #f59e0b; letter-spacing: 2px; }
.stars-empty { color: var(--border); }
.review-card { padding: 20px; background: var(--bg-alt); border-radius: var(--radius); border: 1px solid var(--border); margin-bottom: 12px; }
.review-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.review-form .stars-select { display: flex; gap: 6px; margin-bottom: 14px; }
.review-form .star-btn { background: none; border: none; font-size: 1.6rem; cursor: pointer; padding: 0; color: var(--border); transition: color .2s; }
.review-form .star-btn:hover, .review-form .star-btn.active { color: #f59e0b; }

/* Share */
.share-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.9rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--bg-alt);
  cursor: pointer;
  transition: all .2s;
}
.share-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.section-heading { font-size: 1.25rem; font-weight: 600; margin-bottom: 20px; letter-spacing: -0.01em; }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 64px 32px;
  color: var(--text-muted);
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  box-shadow: var(--shadow);
}
.empty-state-icon {
  margin-bottom: 24px;
  opacity: .7;
  display: inline-flex;
  padding: 24px;
  background: var(--accent-soft);
  border-radius: 50%;
  color: var(--accent);
  transition: transform .2s var(--ease);
}
.empty-state:hover .empty-state-icon { transform: scale(1.05); }
.empty-state-icon .icon { width: 48px; height: 48px; }
.empty-state p { margin-bottom: 24px; font-size: 1.05rem; line-height: 1.6; }
.empty-state .btn { margin-top: 12px; min-height: 48px; padding: 0 28px; }

/* Trust badges */
.trust-badges {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  margin-top: 48px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.trust-badge .icon { color: var(--success); flex-shrink: 0; }

/* Load more */
.load-more-wrap { text-align: center; padding: 40px 0; }
.load-more-btn { min-width: 220px; }

/* Print */
@media print { .no-print { display: none !important; } }

/* Admin sidebar / layout - if needed */
.admin-page .page { padding: calc(var(--header-height) + 24px) 0 32px; }

/* Settings form - wider, responsive */
.settings-form { max-width: 720px; }
.settings-form .form-group { margin-bottom: 20px; }
.settings-form h3 { font-size: 1.1rem; font-weight: 600; }
.settings-form .theme-color-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.settings-form .theme-swatch {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 2px solid var(--border);
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color .2s var(--ease);
}
.settings-form .theme-swatch:hover { border-color: var(--accent); }
.settings-form input[type="color"] {
  width: 48px;
  height: 40px;
  padding: 2px;
  cursor: pointer;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
}
.settings-form .theme-hex-input { width: 100px; font-family: ui-monospace, monospace; font-size: 0.9rem; }
.settings-form .file-input {
  padding: 10px 12px;
  font-size: 0.9rem;
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  cursor: pointer;
}
.settings-form .file-input:hover { border-color: var(--accent); background: var(--accent-soft); }
.settings-form .file-input::file-selector-button {
  padding: 8px 14px;
  margin-right: 12px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  cursor: pointer;
}
.settings-form .social-link-row-flex {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.settings-form .social-link-platform { margin-bottom: 0; min-width: 140px; flex-shrink: 0; }
.settings-form .social-link-platform .custom-select-wrap { margin-bottom: 0; }
.settings-form .social-link-url { margin-bottom: 0; flex: 1; min-width: 200px; }
.settings-form .social-link-url label { margin-bottom: 8px; }
.settings-form .social-remove-btn { flex-shrink: 0; min-width: 44px; min-height: 44px; }
.settings-form .checkbox-row-stacked { align-items: flex-start; }
.settings-form .checkbox-row-stacked .checkbox-custom { margin-top: 2px; }
.settings-form .radio-group-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.settings-form .radio-group-inline .radio-row { margin-bottom: 0; }

/* Payment methods admin */
.payment-methods-add-form { max-width: 640px; }
.payment-methods-table .form-input-inline {
  width: 100%;
  padding: 8px 12px;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
}
.payment-methods-table .form-input-inline:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}
.payment-methods-table .form-textarea-inline { min-height: 44px; resize: vertical; }
.payment-methods-table .form-input-sort { width: 56px; text-align: center; }
.payment-methods-table .checkbox-row-inline { margin: 0; }
.payment-methods-table .checkbox-row-inline .checkbox-custom { flex-shrink: 0; }
.payment-methods-table .checkbox-row-inline .checkbox-label { font-size: 0.9rem; }
.payment-methods-table .table-actions { white-space: nowrap; }
.payment-methods-table .table-actions .btn { margin-right: 6px; }
.payment-methods-table .btn-danger-outline { color: var(--danger); border-color: var(--danger); }
.payment-methods-table .btn-danger-outline:hover { background: rgba(220,38,38,0.1); color: var(--danger); }
.payment-methods-table tr.payment-method-inactive { opacity: 0.7; }
.payment-methods-table tr.payment-method-inactive td { color: var(--text-muted); }

@media (max-width: 768px) {
  .payment-methods-table .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .payment-methods-table .form-input-sort { width: 48px; }
}

/* Theme variant preset cards */
.theme-variant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
  margin-bottom: 0;
}
.theme-variant-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: var(--bg-alt);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s var(--ease);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  text-align: center;
}
.theme-variant-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.theme-variant-card.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.theme-variant-preview {
  display: block;
  width: 100%;
  padding-bottom: 80%;
  border-radius: var(--radius);
  flex-shrink: 0;
  border: 2px solid rgba(0,0,0,.08);
}
.theme-variant-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

@media (max-width: 640px) {
  .settings-form .grid-2 { grid-template-columns: 1fr; }
  .settings-form .social-link-row-flex { flex-direction: column; align-items: stretch; }
  .settings-form .social-link-platform { min-width: 0; }
  .settings-form .social-link-url { min-width: 0; }
  .settings-form .theme-color-controls { flex-wrap: wrap; gap: 10px; }
  .settings-form .theme-hex-input { width: 90px; }
  .settings-form .radio-group-inline { flex-direction: column; align-items: flex-start; }
  .theme-variant-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .theme-variant-preview { padding-bottom: 70%; }
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-inner.footer-has-social { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .products-layout { grid-template-columns: 1fr; }
  .products-sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-height: 100vh;
    z-index: 400;
    transition: right .3s var(--ease);
    box-shadow: -4px 0 20px rgba(0,0,0,.15);
  }
  .products-sidebar.sidebar-open { right: 0; }
  .sidebar-header { display: flex; }
  .sidebar-inner { padding-top: 0; }
  .filters-open-btn { display: flex; }
  .products-sidebar { padding-top: 24px; }
}

@media (max-width: 1050px) {
  .nav-toggle { display: flex; }
  .header-actions { margin-left: auto; }
  .header-inner { gap: 20px; }
  .logo { margin-right: 8px; }
  .search-form-desktop { display: none; }
  .search-form-mobile {
    display: flex;
    position: relative;
    align-items: center;
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 6px;
    padding: 0 0 8px 0;
    border-bottom: 1px solid var(--border);
    box-sizing: border-box;
  }
  .search-form-mobile .search-input {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 44px 0 16px;
    font-size: 0.95rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    -webkit-appearance: none;
    appearance: none;
  }
  .search-form-mobile .search-input::placeholder { color: var(--text-muted); }
  .search-form-mobile .search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
  }
  .cart-link-mobile span:not(.cart-count) { display: none; }
  .nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 90vw);
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-alt);
    padding: 10px 16px 20px;
    gap: 0;
    box-shadow: -4px 0 24px rgba(0,0,0,.12);
    z-index: 102;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .nav.nav-open { display: flex; }
  .nav-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: static;
    align-self: flex-end;
    margin: 0 0 6px 0;
    width: 40px;
    height: 40px;
    padding: 0;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
  }
  .nav-close-btn:hover { color: var(--text); }
  .nav-close-btn .icon { width: 24px; height: 24px; }
  .nav > a,
  .nav > div {
    flex-shrink: 0;
  }
  .nav > a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
    gap: 10px;
  }
  .nav > a:last-of-type { border-bottom: none; }
  .nav > a.nav-link-icon {
    margin-top: auto;
    border-top: 1px solid var(--border);
    border-bottom: none;
    padding-top: 14px;
  }
  .nav-item-has-dropdown { display: none; }
  .nav-categories-mobile {
    display: block !important;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
  }
  .nav-categories-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: flex-start;
    padding: 14px 0;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    text-align: left;
  }
  .nav-categories-toggle:hover,
  .nav-categories-toggle:focus { color: var(--accent); outline: none; }
  .nav-categories-toggle .icon:last-child {
    margin-left: auto;
    transform: rotate(0deg);
    transition: transform .2s var(--ease);
  }
  .nav-categories-mobile.open .nav-categories-toggle .icon:last-child { transform: rotate(90deg); }
  .nav-categories-list {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px 0 12px 12px;
    border-top: none;
  }
  .nav-categories-mobile.open .nav-categories-list { display: flex; }
  .nav-categories-mobile .nav-cat-link {
    display: block;
    padding: 10px 12px;
    font-size: 0.95rem;
  }
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 101;
    opacity: 0;
    transition: opacity .25s var(--ease);
    cursor: pointer;
  }
  .nav-overlay.active { display: block; opacity: 1; }
  .hero-product-slider .slider-nav { display: none; }
  .hero-product-card { flex: 0 0 160px; }
  .hero-cat-card { min-width: 100px; padding: 16px 20px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .product-info, .product-actions { padding: 14px; }
  .deal-card { flex: 0 0 260px; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 24px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .filters { flex-direction: column; }
  .filters select, .filters .custom-select { min-width: 100%; }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
  }
  .footer-inner.footer-has-social { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { margin: 0; }
  /* 2 columns 2 rows: Shop|Support, Legal|Follow Us */
  .footer-col { min-width: 0; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .admin-analytics-grid { grid-template-columns: 1fr; }
  .products-sidebar { right: -100%; width: 85%; max-width: 320px; }
  .table-wrap { margin: 0 -20px; border-radius: 0; border-left: none; border-right: none; }
  .table-wrap th, .table-wrap td { padding: 10px 12px; font-size: 0.9rem; }
  .table-wrap .custom-select { min-width: 100px; }
  .table-wrap .custom-select-trigger { padding: 8px 12px; font-size: 0.9rem; }

  /* Cart page - mobile card layout */
  .cart-table-wrap .cart-table thead { display: none; }
  .cart-table-wrap .cart-table .cart-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-alt);
    box-shadow: var(--shadow);
  }
  .cart-table-wrap .cart-table .cart-row td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    border: none;
  }
  .cart-table-wrap .cart-table .cart-row td::before {
    content: attr(data-label);
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }
  .cart-table-wrap .cart-table .cart-row td[data-label=""]::before { content: none; }
  .cart-table-wrap .cart-table .cart-row td:first-child {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .cart-table-wrap .cart-table .cart-row td:first-child::before { display: none; }
  .cart-table-wrap .cart-table .cart-row td:last-child { justify-content: flex-end; }
  .cart-table-wrap .cart-table .cart-row .cart-item-product { order: -1; }
  .cart-table-wrap .cart-table tr:hover td { background: transparent; }
  .cart-table-wrap .cart-table .cart-row:hover { background: var(--bg-alt); }
  .cart-summary { max-width: none; margin-left: 0; }

  /* Cart card mobile */
  .cart-item-card { flex-wrap: wrap; }
  .cart-item-link { flex: 1 1 100%; }
  .cart-item-actions { flex: 1 1 100%; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border); margin-top: 4px; }

  /* Touch targets - min 44px for accessibility */
  .btn-icon, .cart-qty-stepper .btn-qty-stepper, .btn-icon-remove { min-width: 44px; min-height: 44px; width: 44px; height: 44px; }
  .quick-view-btn.btn-quick-view-full { min-height: 44px; padding: 10px 12px; }
  a.btn-fav { min-width: 44px; min-height: 44px; padding: 10px; display: inline-flex; align-items: center; justify-content: center; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero { padding: 40px 0; }
  .hero h1 { font-size: 1.75rem; }
  .stat-grid { grid-template-columns: 1fr; }
  .footer-inner { gap: 24px; }
  .footer-badges { font-size: 0.75rem; gap: 12px; }
  .floating-cart { left: 16px; bottom: 16px; width: 44px; height: 44px; }
  .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 399;
  opacity: 0;
  transition: opacity .3s var(--ease);
  cursor: pointer;
}
.sidebar-overlay.active { display: block; opacity: 1; }
@media (min-width: 1025px) { .sidebar-overlay { display: none !important; } }

/* Floating cart (left) */
.floating-cart {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-hover);
  z-index: 500;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  text-decoration: none;
}
.floating-cart:hover { background: var(--accent-hover); color: #fff; transform: scale(1.08); box-shadow: 0 8px 25px -5px rgba(117, 74, 155, 0.25); }
.floating-cart .icon { width: 24px; height: 24px; }
.floating-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--danger);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-hover);
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), background .2s;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 25px -5px rgba(117, 74, 155, 0.25); }
.back-to-top .icon { width: 24px; height: 24px; }

/* Spin wheel — clean flat style (reference: radial labels, readable text) */
.spin-wheel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.spin-wheel-overlay.open {
  opacity: 1;
  visibility: visible;
}
.spin-wheel-modal {
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
  padding: 28px 24px;
  max-width: 400px;
  width: calc(100% - 32px);
  text-align: center;
}
.spin-wheel-modal .spin-wheel-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.spin-wheel-modal .spin-wheel-subtitle {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 24px;
  line-height: 1.4;
}
/* Spin wheel — reference spin.html: clean rim, white pointer, premium center */
.spin-wheel-modal .spin-wheel-container {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto 24px;
  padding: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
}
.spin-wheel-modal .spin-wheel-skip {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.spin-wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  transition: transform 0s;
}
#spin-wheel-canvas {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.spin-wheel-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  box-shadow:
    0 12px 36px rgba(0,0,0,.35),
    inset 0 0 0 1px rgba(255,255,255,.15);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.98), rgba(255,255,255,.88) 40%, rgba(255,255,255,.82) 100%);
  border: 8px solid rgba(255,255,255,.88);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.spin-wheel-center-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  line-height: 1.1;
}
.spin-center-main {
  font-size: 13px;
  font-weight: 800;
  color: #0b1220;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.spin-center-to {
  font-size: 9px;
  font-weight: 700;
  color: rgba(11,18,32,.65);
  margin-top: 2px;
  text-transform: lowercase;
}
.spin-wheel-center-loading {
  display: none;
  position: absolute;
  font-size: 14px;
  font-weight: 700;
  color: #0b1220;
}
/* Pointer at 3 o'clock — white triangle like spin.html */
.spin-wheel-pointer {
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid rgba(255,255,255,.92);
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.4));
  z-index: 10;
}
.spin-wheel-center.spin-loading .spin-wheel-center-label { visibility: hidden; }
.spin-wheel-center.spin-loading .spin-wheel-center-loading { display: block; }
.spin-wheel-btn {
  position: absolute;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  padding: 0;
  border-radius: 50%;
  font-size: 0;
  background: transparent;
  color: transparent;
  border: none;
  cursor: pointer;
  transition: opacity .2s;
}
.spin-wheel-btn:hover:not(:disabled) {
  background: rgba(0,0,0,.04);
}
.spin-wheel-btn:disabled {
  cursor: not-allowed;
}
.spin-wheel-result {
  display: none;
  padding: 20px 0;
}
.spin-wheel-result:not(.hidden) {
  display: block;
}
.spin-wheel-result .spin-wheel-won-msg {
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.spin-wheel-result .spin-wheel-gift-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
  padding: 8px 12px;
  background: rgba(124,58,237,.08);
  border-radius: 12px;
  border: 1px solid rgba(124,58,237,.15);
  display: inline-block;
}
.spin-wheel-result .spin-wheel-hint {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.spin-wheel-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  padding: 0;
  background: rgba(0,0,0,.04);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background .2s, color .2s, border-color .2s;
}
.spin-wheel-close:hover {
  background: rgba(0,0,0,.08);
  color: var(--text);
  border-color: rgba(0,0,0,.1);
}
.spin-wheel-skip {
  margin-top: 12px;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0,0,0,.08);
}
.hidden { display: none !important; }

/* Cookie consent — full overlay, blocks page until accepted */
body.cookie-blocked {
  overflow: hidden;
  height: 100vh;
}
body.cookie-blocked > *:not(#cookie-consent) {
  pointer-events: none;
  user-select: none;
}
.cookie-consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.cookie-consent-overlay.visible {
  opacity: 1;
  visibility: visible;
}
.cookie-consent-box {
  max-width: 440px;
  width: 100%;
  padding: 28px;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(0,0,0,.2);
  text-align: center;
}
.cookie-consent-title {
  margin: 0 0 12px;
  font-size: 1.4rem;
  font-weight: 700;
}
.cookie-consent-text {
  margin: 0 0 24px;
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.cookie-consent-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
