:root {
  --bg: #f9f8f4;
  --ink: #121212;
  --muted: #6b6b6b;
  --accent: #0f0f0f;
  --accent-2: #111827;
  --card: #ffffff;
  --border: #e6e6e1;
  --shadow: 0 14px 32px rgba(16, 16, 16, 0.08);
}

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

body {
  font-family: "Assistant", sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 229, 188, 0.35), transparent 40%),
    radial-gradient(circle at 90% 0%, rgba(207, 241, 228, 0.35), transparent 45%),
    var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  width: 100%;
  max-width: 100%;
}

.page,
.view {
  width: 100%;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.announcement {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 10px 12px;
  font-size: 12px;
  letter-spacing: 0.4px;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 12px 6vw;
  border-bottom: 1px solid var(--border);
}

.search-open .brand {
  transform: translateX(-10px);
}

.search-open .nav-search {
  display: block;
}

.search-open .nav-search input {
  width: min(420px, 64vw);
}

.nav-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 18px;
  box-shadow: none;
  cursor: pointer;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: "Playfair Display", serif;
}

.brand-name {
  font-weight: 700;
  font-size: 16px;
}

.brand-sub {
  color: var(--muted);
  font-size: 12px;
}

.nav-search {
  margin-right: auto;
  max-width: 900px;
  min-width: 420px;
}

/* Contact Page Styles */
.contact-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 0;
}

.contact-card-full {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.contact-card-full h1 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  margin-bottom: 12px;
}

.contact-form {
  margin: 24px 0;
  display: grid;
  gap: 18px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  background: #fafaf9;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}

.contact-status {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}

.contact-status.sending {
  background: #f0f9ff;
  color: #0369a1;
}

.contact-status.success {
  background: #f0fdf4;
  color: #15803d;
}

.contact-status.error {
  background: #fef2f2;
  color: #dc2626;
}

.contact-info-alt {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.contact-info-alt p {
  margin: 6px 0;
  font-size: 15px;
}

/* Modern Contact Page Styles */
.contact-page-modern {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 20px;
}

.contact-hero {
  text-align: center;
  margin-bottom: 48px;
}

.contact-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  background: linear-gradient(135deg, #0f0f0f 0%, #4a4a4a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.contact-hero p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}

.contact-card-modern {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 40px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

.contact-card-modern::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 229, 188, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.contact-form-modern {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
}

.form-row {
  width: 100%;
}

.form-group-modern {
  display: grid;
  gap: 10px;
}

.form-group-modern label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-2);
}

.form-group-modern label svg {
  opacity: 0.7;
}

.form-group-modern input,
.form-group-modern textarea {
  width: 100%;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 15px;
  font-family: inherit;
  background: #ffffff;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.form-group-modern textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.form-group-modern input:focus,
.form-group-modern textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.08),
    0 0 0 4px rgba(15, 15, 15, 0.04);
  transform: translateY(-1px);
}

.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f0f0f 0%, #2d2d2d 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  overflow: hidden;
}

.btn-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-modern:hover::before {
  left: 100%;
}

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.btn-modern:active {
  transform: translateY(0);
  box-shadow:
    0 5px 15px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.btn-modern:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-modern svg {
  transition: transform 0.3s ease;
}

.btn-modern:hover svg {
  transform: translateX(3px);
}

.contact-status-modern {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  display: none;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-status-modern.sending,
.contact-status-modern.success,
.contact-status-modern.error {
  display: block;
}

.contact-status-modern.sending {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e40af;
  border: 1px solid #93c5fd;
}

.contact-status-modern.success {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.contact-status-modern.error {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #991b1b;
  border: 1px solid #fca5a5;
}

@media (max-width: 768px) {
  .contact-hero h1 {
    font-size: 32px;
  }

  .contact-hero p {
    font-size: 15px;
  }

  .contact-card-modern {
    padding: 28px 20px;
  }

  .btn-modern {
    width: 100%;
    padding: 14px 24px;
  }
}

@media (max-width: 768px) {
  .contact-card-full {
    padding: 24px 18px;
  }

  .contact-card-full h1 {
    font-size: 26px;
  }
}

.nav-search input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  background: #f7f7f5;
  font-size: 15px;
}

.nav-links {
  display: none;
}

.nav-link {
  font-weight: 600;
  padding: 6px 4px;
}

.nav-links a.active {
  color: var(--accent);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 14px;
  font-weight: 600;
  cursor: pointer;
}

.icon-only {
  padding: 8px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.icon-only svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.pill {
  background: var(--accent-2);
  color: #fff;
  font-size: 11px;
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 6px;
}

.icon-only .pill {
  position: absolute;
  top: -6px;
  right: -6px;
  margin-left: 0;
}

.view {
  flex: 1;
  padding: 18px 6vw 60px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  margin-bottom: 32px;
}

.hero-card {
  background: var(--card);
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card h1 {
  font-family: "Playfair Display", serif;
  font-size: 40px;
  margin-bottom: 12px;
}

.hero-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.hero-banner {
  background: #111;
  color: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}

.hero-banner h2 {
  font-family: "Playfair Display", serif;
  font-size: 24px;
}

.filters {
  display: grid;
  grid-template-columns: 240px 1fr;
  grid-template-areas: "filters results";
  gap: 20px;
}

.category-bar {
  position: sticky;
  top: 66px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 10px 24px;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  justify-content: center;
  flex-wrap: wrap;
}

.category-bar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  background: #fff;
}

.category-bar a.active {
  background: #0f0f0f;
  color: #fff;
  border-color: #0f0f0f;
}

.filter-tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  align-items: flex-start;
}

.filter-tags label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: left;
  justify-content: flex-start;
}

.filter-tags label span {
  flex: 1;
  line-height: 1.3;
  text-align: left;
}

.filter-tags input[type="checkbox"],
.filter-tags input[type="radio"] {
  accent-color: #0f0f0f;
  margin: 0;
  width: auto;
  flex: 0 0 auto;
}

.filter-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 14px;
  height: fit-content;
  margin-bottom: 14px;
  grid-area: filters;
}

.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.filter-toggle {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 8px;
  letter-spacing: 0.3px;
}

.filter-panel.collapsed {
  display: none;
}

.results-panel {
  grid-area: results;
}

.results-search {
  margin-bottom: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 6px;
}

.results-search label {
  font-size: 12px;
  color: var(--muted);
}

.results-search input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
}

.price-strip {
  margin-bottom: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 10px;
}

.price-strip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price-strip-title {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.filter-panel h3 {
  font-size: 14px;
}

.filter-panel label {
  font-size: 12px;
  color: var(--muted);
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
}

.price-range {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.price-range input {
  width: 90px;
  text-align: center;
}

.price-slider {
  position: relative;
  height: 22px;
  display: grid;
  align-items: center;
  --min: 0%;
  --max: 100%;
}

.price-track {
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 999px;
  background: #e8e6e1;
}

.price-range-fill {
  position: absolute;
  height: 4px;
  border-radius: 999px;
  left: var(--min);
  right: calc(100% - var(--max));
  background: var(--accent-2);
}

.price-slider input[type="range"] {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.price-slider input[type="range"]::-webkit-slider-runnable-track {
  background: transparent;
}

.price-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent-2);
  box-shadow: 0 8px 18px rgba(16, 16, 16, 0.18);
}

.price-slider input[type="range"]::-moz-range-track {
  background: transparent;
}

.price-slider input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent-2);
  box-shadow: 0 8px 18px rgba(16, 16, 16, 0.18);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(16, 16, 16, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(16, 16, 16, 0.12);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #faf9f6;
  padding: 0;
}

.card-media {
  position: relative;
}

.discount-bubble {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #facc15;
  color: #111827;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

@media (min-width: 980px) {
  .discount-bubble {
    top: auto;
    left: auto;
    right: 12px;
    bottom: -18px;
  }
}

@media (max-width: 600px) {
  .discount-bubble {
    left: calc(12px + 10%);
  }
}

@media (min-width: 980px) {
  .card img {
    height: 200px;
  }
}

.card-body {
  padding: 16px;
  display: grid;
  gap: 8px;
}

.card-title {
  font-weight: 600;
  font-size: 14px;
}

.card-price {
  color: var(--accent-2);
  font-weight: 700;
}

.price-old {
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 500;
  margin-left: 6px;
  font-size: 0.9em;
}

.price-new {
  color: var(--accent-2);
  font-weight: 700;
}

.card-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #7c2d12;
  background: #ffedd5;
  border-radius: 999px;
  padding: 4px 8px;
  width: fit-content;
}

.card-actions {
  display: grid;
  gap: 8px;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--muted);
}

.subcategory-bar {
  display: flex;
  gap: 12px;
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
}

.chip {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  cursor: pointer;
}

.subcategory-bar .chip {
  white-space: nowrap;
  border-color: rgba(0, 0, 0, 0.12);
}

.chip.active {
  background: #111;
  color: #fff;
  border-color: #111;
}

.btn {
  border: none;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

.btn-vipps {
  background: linear-gradient(135deg, #ff5b24 0%, #ff7a00 100%);
  color: #fff;
}

.btn-outline {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink);
}

.btn-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(17, 17, 17, 0.18);
  background: linear-gradient(135deg, #fff7e8 0%, #f1ddbf 100%);
  color: #2b1f0f;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 10px 18px rgba(31, 41, 55, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}

.btn-soft:hover {
  transform: translateY(-1px);
  border-color: rgba(17, 17, 17, 0.35);
  filter: saturate(1.05);
  box-shadow: 0 14px 26px rgba(31, 41, 55, 0.18);
}

.btn-soft:active {
  transform: translateY(0);
  box-shadow: 0 8px 14px rgba(31, 41, 55, 0.14);
}

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.results-count {
  font-size: 13px;
  color: var(--muted);
}

.pager {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pager-info {
  font-size: 12px;
  color: var(--muted);
}

.pager-btn {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  padding: 6px 12px;
  font-weight: 600;
  cursor: pointer;
}

.pager-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pager-bottom {
  justify-content: center;
  margin-top: 18px;
}

.product-page {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.product-standard {
  margin-top: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  display: grid;
  gap: 12px;
}

.product-standard h3 {
  margin: 0;
  font-size: 14px;
}

.product-standard ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}

.gallery {
  background: var(--card);
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 16px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.gallery-video {
  margin-top: 4px;
}

.gallery-video video {
  width: 100%;
  height: 380px;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid var(--border);
  display: block;
  background: #000;
}

.gallery-video.active {
  display: block;
}

.gallery-video:not(.active) {
  display: none;
}

.gallery-main-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 16px;
  background: #f9f8f6;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-main-wrap.hidden {
  display: none;
}

.gallery-main {
  width: 100%;
  height: 380px;
  object-fit: contain;
  border-radius: 16px;
  display: block;
}

.image-lens {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
  background-repeat: no-repeat;
  background-color: #fff;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.12s ease, transform 0.12s ease;
}

.gallery-main-wrap.lens-active .image-lens {
  opacity: 1;
  transform: scale(1);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  gap: 8px;
}

.gallery-thumbs img {
  width: 100%;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
}

.gallery-thumbs img.active {
  border-color: var(--accent-2);
}

.video-thumb {
  width: 100%;
  height: 64px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  background: #101010;
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.video-thumb.active {
  border-color: var(--accent-2);
}

.product-info {
  background: var(--card);
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.price {
  font-size: 24px;
  color: var(--accent-2);
  font-weight: 700;
}

.variant-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.variant-pill {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 13px;
}

.variant-pill.active {
  background: var(--ink);
  color: #fff;
}

.cart-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
}

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

.cart-row-info {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.cart-row-info img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.cart-row-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.cart-row-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-row-controls .qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: #111;
  color: #fff;
  font-weight: 700;
  line-height: 1;
}

.cart-row-controls input {
  width: 50px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 8px;
  text-align: center;
}

.cart-row-controls input[type="number"]::-webkit-outer-spin-button,
.cart-row-controls input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-row-controls input[type="number"] {
  -moz-appearance: textfield;
}

.country-picker {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
  padding: 24px;
}

.country-picker.active {
  display: flex;
}

.country-picker-panel {
  width: min(520px, 94vw);
  max-height: 80vh;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}

.country-picker-head {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.country-picker-head input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}

.country-picker-list {
  padding: 12px;
  overflow: auto;
  display: grid;
  gap: 8px;
}

.country-picker-item {
  text-align: left;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 600;
}

.country-picker-item:hover {
  border-color: rgba(0, 0, 0, 0.35);
  background: #f8f5f1;
}

.cart-summary {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.cart-summary label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
  display: block;
}

.cart-summary input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}

#checkout-form input[name="country"] {
  cursor: pointer;
  background: #fff;
}

.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
}

.checkout-block h2 {
  margin-bottom: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
}

.account-layout {
  margin-top: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.account-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.tab-btn {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  cursor: pointer;
}

.tab-btn.active {
  background: var(--ink);
  color: #fff;
}

.account-panel h2 {
  margin-bottom: 12px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.profile-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.account-orders .cart-panel {
  box-shadow: none;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-grid input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 14px;
}

.input-inline {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Affiliate Link Styles */
.affiliate-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 420px;
}

@media (max-width: 600px) {
  .affiliate-container {
    min-width: 100%;
    margin-top: 16px;
  }
}

.affiliate-box {
  background: rgba(246, 245, 240, 0.5);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.affiliate-box:hover {
  border-color: #d1d1ca;
  background: rgba(246, 245, 240, 0.8);
}

.affiliate-link-text {
  flex: 1;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: transparent;
  border: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  outline: none;
  cursor: text;
}

.copy-btn-mini {
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  min-width: 80px;
}

.affiliate-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: center;
}

.affiliate-stat {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.affiliate-value {
  font-size: 16px;
  font-weight: 700;
}

.affiliate-log {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 10px;
  background: #fff;
}

.affiliate-log-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.affiliate-log-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.order-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.order-actions .btn {
  padding: 12px 18px;
  border-radius: 12px;
}

.btn-success {
  background: #16a34a;
}

.btn-danger {
  background: #dc2626;
}

.order-select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.order-bulk {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.affiliate-log-name {
  font-weight: 600;
}

.affiliate-log-meta {
  text-align: right;
}

.affiliate-log-amount {
  font-weight: 700;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
}

.badge-success {
  background: #dcfce7;
  color: #166534;
}

.badge-warning {
  background: #fef3c7;
  color: #92400e;
}

.badge-in-cart {
  background: #ffedd5;
  color: #c2410c;
}

.copy-btn-mini:hover {
  background: #2d2d2d;
  transform: translateY(-1px);
}

.copy-btn-mini:active {
  transform: translateY(0);
}

.copy-btn-mini.copied {
  background: #10b981;
  color: #fff;
}

.hero-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.input-inline input {
  flex: 1;
}

.coupon-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.coupon-row input {
  flex: 1;
}

.coupon-check {
  color: #16a34a;
  font-weight: 700;
  font-size: 18px;
}

.terms-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.terms-check a {
  font-weight: 600;
  text-decoration: underline;
}

.accordion {
  border-top: 1px solid var(--border);
}

.accordion button {
  width: 100%;
  text-align: left;
  padding: 12px 0;
  background: transparent;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.accordion-content {
  padding-bottom: 12px;
  color: var(--muted);
  display: none;
}

.accordion-content.open {
  display: block;
}

.desc-short {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 10px;
}

.desc-toggle {
  margin-bottom: 12px;
}

.desc-full {
  display: grid;
  gap: 12px;
  color: var(--ink);
}

.desc-full p {
  color: var(--muted);
  line-height: 1.6;
}

.desc-full h3,
.desc-full h4,
.desc-full h5 {
  margin-left: 6px;
}

.desc-full ul,
.desc-full ol {
  margin-left: 6px;
  padding-left: 18px;
}

.desc-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 8px;
  box-shadow: var(--shadow);
}

.cart-drawer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: none;
  justify-content: flex-end;
  z-index: 40;
}

.cart-drawer.open {
  display: flex;
}

.cart-drawer-panel {
  width: min(420px, 95vw);
  background: #fff;
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-body {
  flex: 1;
  overflow: auto;
  display: grid;
  gap: 12px;
}

.cart-drawer-footer {
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.footer {
  padding: 30px 6vw;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  gap: 24px;
  flex-wrap: wrap;
}

.footer-title {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.footer-link {
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}

.footer-about {
  font-size: 12px;
  padding: 8px 12px;
}

.footer-payments {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.footer-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-icon {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
}

.payment-icon img {
  height: 22px;
  width: auto;
  display: block;
}

.contact-card {
  margin-top: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.contact-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: #111;
  color: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  display: none;
  z-index: 60;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.cookie-banner.show {
  display: grid;
  gap: 12px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.login-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 70;
  padding: 16px;
}

.login-modal.open {
  display: flex;
}

.login-panel {
  width: min(420px, 94vw);
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.login-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.terms {
  margin-top: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.terms h2 {
  margin-bottom: 6px;
}

.terms h3 {
  margin-top: 12px;
}

.terms p,
.terms li {
  color: var(--muted);
  line-height: 1.6;
}

.terms ul {
  padding-left: 20px;
  display: grid;
  gap: 6px;
}

.muted {
  color: var(--muted);
}

.login-status {
  font-size: 12px;
}

.status-alert {
  color: #c21d1d;
  font-weight: 600;
}

.hidden {
  display: none;
}

.modal-open {
  overflow: hidden;
}

.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.image-modal.open {
  display: flex;
}

.image-modal-body {
  width: min(92vw, 1100px);
  display: grid;
  gap: 12px;
  align-items: center;
  justify-items: center;
}

.image-modal-panel {
  width: 100%;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 12px;
  align-items: center;
}

.image-modal-media {
  background: #0f0f0f;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 540px;
}

.image-modal-media img,
.image-modal-media video {
  width: 100%;
  height: 540px;
  object-fit: contain;
  background: #000;
  display: block;
}

.image-modal-media video.hidden,
.image-modal-media img.hidden {
  display: none;
}

.image-modal-thumbs {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 10px;
}

.image-modal-thumbs img,
.image-modal-thumbs .video-thumb {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  background: #fff;
}

.image-modal-thumbs .video-thumb {
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
}

.image-modal-thumbs .active {
  border-color: var(--accent-2);
}

.modal-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.modal-arrow:hover {
  background: #fff;
}

@media (max-width: 980px) {

  .hero,
  .product-page,
  .filters,
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .filters {
    grid-template-areas:
      "results"
      "filters";
  }

  .nav {
    grid-template-columns: auto 1fr auto;
    padding: 10px 4vw;
    position: sticky;
    top: 0;
  }

  .brand {
    justify-self: center;
    max-width: calc(100% - 140px);
    text-align: center;
    justify-content: center;
    min-width: 0;
  }

  .brand-mark {
    display: none;
  }

  .brand-name {
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-sub {
    display: none;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    left: 6vw;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
    min-width: 180px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-search {
    grid-column: 1 / -1;
  }

  .nav-search {
    display: none;
  }

  .search-open .nav-search {
    display: block;
  }

  .search-open .nav-search {
    position: absolute;
    top: 10px;
    right: calc(4vw + 104px);
    width: min(62vw, 240px);
    z-index: 2;
  }

  .search-open .nav-search input {
    width: 100%;
    padding: 8px 10px;
    font-size: 16px;
  }

  .nav-search input {
    font-size: 16px;
  }

  .search-open .nav-actions #open-search {
    display: none;
  }

  .search-open .brand-name {
    display: none;
  }

  .search-open .brand-mark {
    display: grid;
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .nav-actions {
    gap: 6px;
    position: static;
    justify-self: end;
  }

  .nav-actions a.icon-btn,
  .nav-actions #search-btn {
    display: none;
  }

  .nav-actions #open-cart {
    padding: 6px 10px;
  }

  .category-bar {
    top: 60px;
    padding: 8px 12px;
    justify-content: flex-start;
    flex-wrap: nowrap;
  }

  .category-bar a {
    padding: 6px 12px;
    font-size: 12px;
  }

  .subcategory-bar {
    padding: 8px 12px;
    margin: 0 0 12px;
  }

  .subcategory-bar .chip {
    padding: 6px 12px;
    font-size: 12px;
  }

  .view {
    padding: 8px 4vw 50px;
  }

  .hero {
    gap: 14px;
  }

  .hero-card {
    padding: 20px;
  }

  .hero-card h1 {
    font-size: 28px;
  }

  .hero-card p {
    font-size: 13px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .hero-actions .btn-outline {
    width: 100%;
  }

  .image-lens {
    display: none;
  }

  .hero-banner {
    border-radius: 16px;
    padding: 18px;
  }

  .trust-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    font-size: 12px;
  }

  .filter-panel {
    border-radius: 14px;
    padding: 16px;
  }

  .price-range {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
  }

  .price-range input {
    width: 70px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .card img {
    height: 160px;
  }

  .card-body {
    padding: 12px;
  }

  .card-actions {
    gap: 6px;
  }

  .card-actions .btn,
  .card-actions .btn-outline {
    width: 100%;
  }

  .card-actions .btn-outline {
    display: none;
  }

  .image-modal-body {
    width: 94vw;
  }

  .image-modal-panel {
    grid-template-columns: 34px 1fr 34px;
  }

  .modal-arrow {
    width: 34px;
    height: 34px;
    font-size: 20px;
  }

  .image-modal-media {
    min-height: 360px;
  }

  .image-modal-media img,
  .image-modal-media video {
    height: 360px;
  }

  .image-modal-thumbs {
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  }

  .image-modal-thumbs img,
  .image-modal-thumbs .video-thumb {
    height: 70px;
  }

  .results-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .pager {
    width: 100%;
    justify-content: space-between;
  }

  .contact-card {
    padding: 16px;
  }

  .gallery-main,
  .gallery-video video {
    height: 260px;
  }

  .gallery-main-wrap {
    height: 260px;
  }

  .product-info {
    padding: 18px;
  }

  .footer {
    flex-direction: column;
  }
}

@media (min-width: 981px) {
  .filter-panel {
    margin-bottom: 0;
  }

  .filter-panel.collapsed {
    display: grid;
  }
}

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

  .card img {
    height: 200px;
  }
}
