/* ── Reset & Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root,
[data-theme="dark"] {
  --bg: #0f0f0f;
  --bg2: #1a1a1a;
  --surface: #232323;
  --accent: #ff6b35;
  --accent-dim: #cc5528;
  --text: #f0f0f0;
  --text-muted: #888;
  --border: rgba(255,255,255,0.08);
  --radius: 12px;
  --transition: 0.3s ease;
}

[data-theme="light"] {
  --bg: #f5f5f5;
  --bg2: #ebebeb;
  --surface: #ffffff;
  --accent: #e85a20;
  --accent-dim: #c44a18;
  --text: #1a1a1a;
  --text-muted: #666;
  --border: rgba(0,0,0,0.1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Container ────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-dim); border-color: var(--accent-dim); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; border-radius: 40px; }

/* ── Theme toggle ─────────────────────────────── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle svg { width: 17px; height: 17px; }
[data-theme="dark"]  .icon-moon { display: none; }
[data-theme="light"] .icon-sun  { display: none; }

/* ── Navbar ───────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), backdrop-filter var(--transition);
}
.navbar.scrolled {
  background: rgba(15,15,15,0.88);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] .navbar.scrolled {
  background: rgba(245,245,245,0.92);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.5px; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(255,107,53,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 30%, rgba(255,107,53,0.06) 0%, transparent 60%),
    linear-gradient(180deg, #0f0f0f 0%, #1a0f0a 100%);
}
[data-theme="light"] .hero-bg {
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(232,90,32,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 30%, rgba(232,90,32,0.07) 0%, transparent 60%),
    linear-gradient(180deg, #f5f5f5 0%, #fff0e8 100%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,107,53,0.15) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.4;
}
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to right, #0f0f0f 22%, rgba(15,15,15,0.75) 48%, transparent 72%);
}
[data-theme="light"] .hero::before {
  background: linear-gradient(to right, #f5f5f5 22%, rgba(245,245,245,0.75) 48%, transparent 72%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  max-width: 720px;
  padding-left: 80px;
}
.hero-tag {
  display: inline-block;
  background: rgba(255,107,53,0.15);
  color: var(--accent);
  border: 1px solid rgba(255,107,53,0.3);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease both;
}
.hero-content h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.1s ease both;
}
.hero-content h1 span { color: var(--accent); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 40px;
  animation: fadeUp 0.8s 0.2s ease both;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  z-index: 2;
}
.hero-scroll span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid var(--border);
  border-radius: 12px;
  position: relative;
}
.hero-scroll span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDot 2s infinite;
}

/* ── Section ──────────────────────────────────── */
.section { padding: 100px 0; }
.section-dark { background: var(--bg2); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  background: rgba(255,107,53,0.12);
  color: var(--accent);
  border: 1px solid rgba(255,107,53,0.25);
  border-radius: 50px;
  padding: 5px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.section-sub { color: var(--text-muted); max-width: 480px; margin: 0 auto; font-size: 1rem; }
.section-sub-accent {
  font-size: clamp(1.05rem, 2.2vw, 1.55rem);
  font-weight: 700; line-height: 1.2;
  color: var(--text); max-width: 600px;
}
.section-sub-accent span { color: var(--accent); }

/* ── Gallery ──────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
}
.gallery-item img { width: 100%; height: auto; display: block; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 4px 12px;
  border-radius: 20px;
}

/* ── Products filter bar ─────────────────────── */
.products-filter {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 36px;
}
.badge-filter-wrap { position: relative; }
.badge-filter-trigger {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 14px; color: var(--text);
  font-family: inherit; font-size: 0.85rem; cursor: pointer;
  transition: border-color 0.2s; white-space: nowrap;
}
.badge-filter-trigger:hover { border-color: var(--accent); }
.badge-filter-arrow { font-size: 0.75rem; color: var(--text-muted); transition: transform 0.2s; }
.badge-filter-wrap.open .badge-filter-arrow { transform: rotate(180deg); }
.badge-filter-wrap.open .badge-filter-trigger { border-color: var(--accent); }
.badge-filter-dropdown {
  display: none; position: absolute; top: calc(100% + 6px); left: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 6px; min-width: 180px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25); z-index: 100;
}
.badge-filter-wrap.open .badge-filter-dropdown { display: block; }
.badge-filter-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 6px; cursor: pointer;
  font-size: 0.87rem; color: var(--text); transition: background 0.15s;
  user-select: none;
}
.badge-filter-item:hover { background: var(--surface-2); }
.badge-filter-item input[type="checkbox"] { accent-color: var(--accent); width: 15px; height: 15px; cursor: pointer; flex-shrink: 0; }
.filter-sort-select {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 14px; color: var(--text);
  font-family: inherit; font-size: 0.85rem; cursor: pointer;
  transition: border-color 0.2s;
}
.filter-sort-select:focus { outline: none; border-color: var(--accent); }

/* ── Products ─────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.product-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--bg);
}
.product-img img { transition: transform 0.5s ease, opacity 0.6s ease; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-slideshow { position: absolute; inset: 0; }
.product-slideshow .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
}
.product-slideshow .slide.active { opacity: 1; }
.slide-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.slide-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.45;
  transition: background 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}
.slide-dots .dot.active {
  background: var(--accent);
  opacity: 1;
  transform: scale(1.4);
}
.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}
.product-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.product-body { padding: 24px; }
.product-body h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.product-body p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-size: 1.05rem; font-weight: 700; color: var(--accent); }

/* ── Contact ──────────────────────────────────── */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }
.form-group input,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-success {
  display: none;
  color: #22c55e;
  font-size: 0.9rem;
  font-weight: 500;
}
.form-success.visible { display: block; }

.contact-info { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-icon {
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-item strong { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 4px; }
.info-item p { font-size: 0.95rem; }

/* ── Footer ───────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-copy { color: var(--text-muted); font-size: 0.85rem; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }

/* ── Animations ───────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
@keyframes scrollDot {
  0% { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 22px; }
}

/* ── Cart button ─────────────────────────────── */
.cart-btn {
  position: relative; background: none; border: none; cursor: pointer;
  color: var(--text); padding: 6px; display: flex; align-items: center;
  transition: color var(--transition);
}
.cart-btn:hover { color: var(--accent); }
.cart-count {
  position: absolute; top: 0; right: 0;
  background: var(--accent); color: #fff;
  font-size: 0.62rem; font-weight: 700;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ── Cart panel ──────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200;
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-panel {
  position: fixed; top: 0; right: 0; width: 360px; max-width: 100vw;
  height: 100vh; background: var(--surface); border-left: 1px solid var(--border);
  z-index: 201; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform var(--transition);
}
.cart-panel.open { transform: translateX(0); }
.cart-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-bottom: 1px solid var(--border);
}
.cart-header h3 { font-size: 1.1rem; font-weight: 600; }
.cart-close {
  background: none; border: none; font-size: 1.6rem; cursor: pointer;
  color: var(--text-muted); line-height: 1; padding: 2px 6px;
  transition: color var(--transition);
}
.cart-close:hover { color: var(--text); }
.cart-body { flex: 1; overflow-y: auto; padding: 16px; }
.cart-empty { text-align: center; color: var(--text-muted); padding: 48px 0; font-size: 0.9rem; }
.cart-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 54px; height: 54px; border-radius: 8px;
  object-fit: contain; flex-shrink: 0; background: var(--bg2);
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 0.85rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.cart-qty { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; }
.cart-qty button {
  width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--bg2); cursor: pointer; font-size: 1rem; color: var(--text);
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.cart-qty button:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.cart-remove {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 1.2rem; padding: 4px;
  transition: color var(--transition);
}
.cart-remove:hover { color: #e74c3c; }
.cart-footer { padding: 20px 24px; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 14px; }
.cart-total strong { font-size: 1.1rem; color: var(--accent); }

/* ── Checkout modal ──────────────────────────── */
.checkout-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.65); z-index: 300;
  align-items: center; justify-content: center; padding: 16px;
}
.checkout-modal {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); width: 100%; max-width: 760px;
  max-height: 92vh; overflow-y: auto; display: flex; flex-direction: column;
}
.checkout-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--surface); z-index: 1;
}
.checkout-header h3 { font-size: 1.1rem; font-weight: 600; }
.checkout-body { display: grid; grid-template-columns: 1fr 1fr; }
.checkout-form-col { padding: 24px; border-right: 1px solid var(--border); }
.checkout-summary-col { padding: 24px; }
.checkout-form-col h4, .checkout-summary-col h4 {
  font-size: 0.8rem; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px;
}
.co-row { display: grid; grid-template-columns: 120px 1fr; gap: 10px; }
.checkout-form-col .form-group { margin-bottom: 12px; }
.checkout-form-col .form-group label {
  display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 5px;
}
.checkout-form-col input, .checkout-form-col textarea {
  width: 100%; background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; padding: 9px 13px; color: var(--text);
  font-family: inherit; font-size: 0.88rem; transition: border-color var(--transition);
}
.checkout-form-col input:focus, .checkout-form-col textarea:focus {
  outline: none; border-color: var(--accent);
}
.checkout-form-col textarea { resize: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.label-optional { font-size: 0.75rem; color: var(--text-muted); }
.same-address-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; cursor: pointer; user-select: none;
  color: var(--text-muted);
}
.same-address-label input[type="checkbox"] { accent-color: var(--accent); width: 15px; height: 15px; cursor: pointer; }
.co-shipping-row {
  border-top: 1px solid var(--border); margin-top: 8px;
  padding-top: 8px; color: var(--text-muted); font-size: 0.85rem;
}
.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.payment-option { cursor: pointer; }
.payment-option input { display: none; }
.payment-card {
  border: 2px solid var(--border); border-radius: 10px; padding: 12px 8px;
  text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 6px; font-size: 0.82rem;
  transition: border-color var(--transition), background var(--transition);
}
.payment-card span:first-child { font-size: 1.6rem; }
.payment-option input:checked + .payment-card {
  border-color: var(--accent); background: rgba(255,107,53,0.07);
}
.co-item {
  display: flex; justify-content: space-between;
  font-size: 0.87rem; padding: 8px 0; border-bottom: 1px solid var(--border);
}
.co-item:last-child { border-bottom: none; }
.checkout-total {
  display: flex; justify-content: space-between;
  font-size: 0.9rem; margin-top: 16px; padding-top: 14px;
  border-top: 2px solid var(--border);
}
.checkout-total strong { color: var(--accent); font-size: 1.1rem; }
.checkout-error {
  color: #e74c3c; font-size: 0.82rem; margin-top: 10px;
  background: rgba(231,76,60,0.1); padding: 8px 12px; border-radius: 6px;
}
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 400;
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.modal {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; max-width: 420px; width: 100%;
}
.modal h3 { font-size: 1.1rem; margin-bottom: 10px; }
.modal p  { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; }
.order-success-modal { text-align: center; max-width: 480px; }
.success-icon { font-size: 3rem; margin-bottom: 12px; }
.order-success-modal h3 { margin-bottom: 12px; }
.order-success-modal p { white-space: pre-line; font-size: 0.88rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.7; }

/* ── Product color swatches ──────────────────── */
.product-colors {
  display: flex; gap: 7px; flex-wrap: wrap; margin: 6px 0 2px;
}
.color-swatch {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid transparent;
  cursor: pointer; padding: 0; transition: transform 0.15s, border-color 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.color-swatch.active, .color-swatch:hover { border-color: var(--accent); transform: scale(1.25); }
.product-card { cursor: pointer; }

/* ── Product detail modal ─────────────────────── */
.product-modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.78); display: flex;
  align-items: center; justify-content: center; padding: 16px;
}
.product-modal {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; width: 100%; max-width: 860px;
  max-height: 92vh; overflow-y: auto; position: relative;
}
.product-modal-close {
  position: absolute; top: 14px; right: 18px; background: none; border: none;
  font-size: 2rem; line-height: 1; cursor: pointer; color: var(--text-muted);
  z-index: 2; transition: color var(--transition);
}
.product-modal-close:hover { color: var(--text); }
.pm-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 36px;
}
.pm-gallery { display: flex; flex-direction: column; gap: 10px; }
.pm-main-wrap {
  position: relative; aspect-ratio: 1; background: var(--bg);
  border-radius: 12px; overflow: hidden;
}
.pm-main-wrap img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }

/* ── Lightbox ─────────────────────────────────── */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(0,0,0,0.93); cursor: zoom-out;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-img {
  max-width: 95vw; max-height: 95vh;
  object-fit: contain; width: auto; height: auto;
  border-radius: 6px; cursor: default;
}
.lightbox-close {
  position: absolute; top: 16px; right: 22px;
  background: none; border: none; color: rgba(255,255,255,0.8);
  font-size: 2.6rem; line-height: 1; cursor: pointer; z-index: 1;
  transition: color 0.2s;
}
.lightbox-close:hover { color: #fff; }
.pm-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.45); color: #fff; border: none;
  font-size: 2rem; padding: 2px 10px; cursor: pointer;
  border-radius: 8px; transition: background 0.2s;
}
.pm-nav:hover { background: rgba(0,0,0,0.7); }
.pm-prev { left: 8px; }
.pm-next { right: 8px; }
.pm-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.pm-thumb {
  width: 58px; height: 58px; border-radius: 8px; object-fit: cover;
  cursor: pointer; border: 2px solid transparent; opacity: 0.55;
  transition: opacity 0.2s, border-color 0.2s;
}
.pm-thumb.active { border-color: var(--accent); opacity: 1; }
.pm-thumb:hover { opacity: 0.85; }
.pm-info {
  display: flex; flex-direction: column; gap: 14px; padding-top: 4px;
}
.pm-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.pm-info h2 { font-size: 1.4rem; font-weight: 700; }
.pm-info p  { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.pm-funfact { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin: 0; }
.pm-desc-html p   { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 8px; }
.pm-desc-html ul,
.pm-desc-html ol  { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; padding-left: 20px; margin-bottom: 8px; }
.pm-desc-html strong { color: var(--text); }
.pm-desc-html h3,
.pm-desc-html h4  { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin: 14px 0 6px; }

/* ── Termékleírás szekciók (HTML módú leíráshoz) ── */
.desc-section {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.desc-section:last-child { margin-bottom: 0; }
.desc-section-label {
  font-size: 0.68rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 10px;
}
.desc-section p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin: 0; }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--border);
  font-size: 0.87rem; line-height: 1.5; color: var(--text-muted);
}
.feature-list li:last-child { border-bottom: none; padding-bottom: 0; }
.feature-list li strong { color: var(--text); }
.feature-icon { font-size: 1.1rem; color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.desc-section.tudta { background: rgba(255,107,53,0.06); border-color: rgba(255,107,53,0.25); }
.desc-section.tudta .desc-section-label { color: var(--accent); }
[data-theme="light"] .desc-section.tudta { background: #fff8ee; border-color: #f5d99a; }
[data-theme="light"] .desc-section.tudta .desc-section-label { color: #a06b00; }
.pm-colors  { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pm-color-btn {
  display: flex; align-items: center; gap: 7px;
  background: none; border: 2px solid var(--border);
  border-radius: 20px; padding: 5px 12px 5px 8px;
  cursor: pointer; font-size: 0.82rem; color: var(--text);
  transition: border-color 0.2s;
}
.pm-color-btn .swatch-dot {
  width: 16px; height: 16px; border-radius: 50%; display: inline-block;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.pm-color-btn.active, .pm-color-btn:hover { border-color: var(--accent); }
.pm-price-row { margin-top: auto; }
.pm-price-row .price { font-size: 1.5rem; }
@media (max-width: 640px) {
  .pm-inner { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
}

/* ── Mobile ───────────────────────────────────── */
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 2; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrapper { grid-template-columns: 1fr; }
  .hero-content { padding-left: 24px; }
}
@media (max-width: 640px) {
  .hero-content {
    padding: 100px 24px 60px;
    text-align: center;
    max-width: 100%;
  }
  .hero-cta { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero::before {
    background: linear-gradient(to bottom,
      rgba(15,15,15,0.82) 0%,
      rgba(15,15,15,0.65) 60%,
      rgba(15,15,15,0.45) 100%);
  }
  [data-theme="light"] .hero::before {
    background: linear-gradient(to bottom,
      rgba(245,245,245,0.82) 0%,
      rgba(245,245,245,0.65) 60%,
      rgba(245,245,245,0.45) 100%);
  }
}

/* ── Cookie banner ────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 16px 24px; display: flex; align-items: center;
  gap: 16px; flex-wrap: wrap; box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}
.cookie-banner p { font-size: 0.85rem; color: var(--text-muted); margin: 0; flex: 1; min-width: 220px; line-height: 1.6; }
.cookie-banner p a { color: var(--accent); }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ── Checkout ÁSZF checkbox ───────────────────── */
.co-aszf-row { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 4px; font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.co-aszf-row input[type="checkbox"] { accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; cursor: pointer; }
.co-aszf-row a { color: var(--accent); }
.co-payment-note { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin-top: 8px; }

@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(15,15,15,0.97); padding: 24px; gap: 20px; border-bottom: 1px solid var(--border); }
  [data-theme="light"] .nav-links { background: rgba(245,245,245,0.97); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .products-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .section { padding: 70px 0; }
  .cart-panel { width: 100vw; }
  .checkout-body { grid-template-columns: 1fr; }
  .checkout-form-col { border-right: none; border-bottom: 1px solid var(--border); }
}
