/* NordBadClip – Shared Styles */
:root {
  --black: #0f0f0f;
  --matte: #1a1a1a;
  --dark: #2c2c2c;
  --silver: #c9c9c9;
  --light: #f7f7f7;
  --white: #ffffff;
  --muted: #6b6b6b;
  --success: #1b7a4e;
  --success-bg: #e8f5ef;
  --border: rgba(0,0,0,0.08);
  --radius: 14px;
  --shadow: 0 16px 40px rgba(0,0,0,0.07);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.12);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--light);
  color: var(--black);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--black);
}
.logo span {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85rem;
  margin-left: 6px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a {
  text-decoration: none;
  color: var(--dark);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--black); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 11px 22px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.18s ease;
}
.btn-primary {
  background: #0a0a0a;
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  border: 1px solid #000;
}
.btn-primary:hover {
  background: #1a1a1a;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}
.nav-links .btn-primary {
  background: #000000;
  color: #ffffff !important;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 10px 20px;
  border: 2px solid #000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.nav-links .btn-primary:hover {
  background: #222;
  border-color: #222;
}
.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}
.btn-block { width: 100%; }

/* Hero */
.hero {
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 24px 56px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 28px;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 18px;
}
.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
  flex-shrink: 0;
}

h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 14px;
}
.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 26px;
  max-width: 440px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}
.price-current {
  font-size: 2.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.price-old {
  font-size: 1.2rem;
  color: var(--muted);
  text-decoration: line-through;
}
.save-badge {
  display: inline-block;
  background: var(--success-bg);
  color: var(--success);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 24px;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  margin-top: 22px;
  font-size: 0.84rem;
  color: var(--muted);
}
.trust-line span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Product visual */
.product-stage {
  background: var(--white);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.product-gallery {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
  aspect-ratio: 1 / 1;
}
.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  border-radius: 12px;
}
.product-gallery img.active {
  display: block;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.92);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  z-index: 5;
  color: #111;
  transition: background 0.15s;
}
.gallery-nav:hover { background: #fff; }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.gallery-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s;
}
.gallery-dot.active { background: #111; }
.product-meta {
  margin-top: 14px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}
.color-switch {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}
.color-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #ddd;
  cursor: pointer;
  transition: transform 0.15s;
}
.color-dot:hover { transform: scale(1.1); }
.color-dot.active { border-color: var(--black); }
.color-dot.black { background: #1a1a1a; }
.color-dot.silver { background: linear-gradient(135deg, #e0e0e0, #b8b8b8); }

/* Sections */
.section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 64px 24px;
}
.section-header {
  text-align: center;
  margin-bottom: 44px;
}
.section-header h2 {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.section-header p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .benefits { grid-template-columns: 1fr; }
}
.benefit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 22px;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.benefit-card:hover { box-shadow: var(--shadow); }
.benefit-icon {
  width: 42px;
  height: 42px;
  background: var(--light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 14px;
}
.benefit-card h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.benefit-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Details block */
.details-block {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  box-shadow: var(--shadow);
}
@media (max-width: 760px) {
  .details-block {
    grid-template-columns: 1fr;
    padding: 28px;
  }
}
.details-list {
  list-style: none;
  margin-top: 20px;
}
.details-list li {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.details-list li:last-child { border-bottom: none; }
.check {
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  color: var(--black);
}
.faq-q::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--muted);
  transition: transform 0.2s;
}
.faq-item.open .faq-q::after {
  content: "−";
}
.faq-a {
  display: none;
  padding: 0 22px 18px;
  color: var(--muted);
  font-size: 0.95rem;
}
.faq-item.open .faq-a { display: block; }

/* Reviews */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 800px) {
  .reviews { grid-template-columns: 1fr; }
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}
.stars {
  color: #f5a623;
  font-size: 0.95rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.review-card p {
  font-size: 0.92rem;
  color: var(--dark);
  margin-bottom: 14px;
}
.review-author {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

/* CTA bar */
.cta-bar {
  background: var(--matte);
  color: white;
  padding: 48px 24px;
  text-align: center;
}
.cta-bar h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.cta-bar p {
  color: #aaa;
  margin-bottom: 24px;
}
.cta-bar .btn-primary {
  background: #ffffff !important;
  color: #000000 !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.cta-bar .btn-primary:hover {
  background: #f0f0f0 !important;
  color: #000000 !important;
}

/* Checkout page */
.checkout-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.checkout-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: #fafafa;
  transition: border-color 0.15s, background 0.15s;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--matte);
  background: white;
}
.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 500px) {
  .row-2 { grid-template-columns: 1fr; }
}

.order-box {
  background: var(--light);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 24px 0;
}
.order-line {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 0.94rem;
}
.order-line.total {
  font-weight: 700;
  font-size: 1.12rem;
  border-top: 1px solid #ddd;
  margin-top: 10px;
  padding-top: 12px;
}
.order-line .old {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 0.88rem;
  margin-right: 6px;
}

.payment-info {
  background: var(--success-bg);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--success);
  margin-bottom: 22px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.success-state {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.success-state.show { display: block; }
.success-icon {
  width: 64px;
  height: 64px;
  background: var(--success-bg);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 18px;
}

/* Legal pages */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.legal-page h1 {
  font-size: 1.8rem;
  margin-bottom: 24px;
}
.legal-page h2 {
  font-size: 1.15rem;
  margin: 28px 0 10px;
}
.legal-page p, .legal-page li {
  color: var(--dark);
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.legal-page ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

/* Footer */
.site-footer {
  background: var(--matte);
  color: #999;
  padding: 52px 24px 28px;
  margin-top: 40px;
  font-size: 0.9rem;
}
.footer-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.site-footer h4 {
  color: white;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.site-footer a {
  display: block;
  color: #999;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.15s;
}
.site-footer a:hover { color: white; }
.footer-bottom {
  max-width: 1140px;
  margin: 36px auto 0;
  padding-top: 22px;
  border-top: 1px solid #333;
  font-size: 0.8rem;
  color: #666;
  line-height: 1.6;
}

/* Utilities */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.hide { display: none !important; }
.text-center { text-align: center; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }

/* Cookie Banner – full GDPR / Taboola-Realize & Outbrain compliant */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #111111;
  color: #eee;
  padding: 20px 24px;
  display: none;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 24px;
  box-shadow: 0 -6px 30px rgba(0,0,0,0.35);
  font-size: 0.9rem;
  border-top: 1px solid #333;
}
.cookie-banner.visible {
  display: flex;
}
.cookie-banner-inner {
  flex: 1;
  min-width: 260px;
  max-width: 780px;
}
.cookie-banner h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: #fff;
}
.cookie-banner p {
  margin: 0;
  line-height: 1.5;
  color: #bbb;
  font-size: 0.875rem;
}
.cookie-banner a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
  align-items: center;
}
.cookie-btn {
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
  font-family: inherit;
  min-width: 140px;
  text-align: center;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
/* Equal visual weight – no dark patterns */
.cookie-accept {
  background: #ffffff;
  color: #111111;
  border-color: #ffffff;
}
.cookie-accept:hover { background: #f0f0f0; }
.cookie-decline {
  background: transparent;
  color: #ffffff;
  border-color: #888;
}
.cookie-decline:hover {
  background: rgba(255,255,255,0.08);
  border-color: #fff;
}
.cookie-settings-btn {
  background: transparent;
  color: #ccc;
  border-color: transparent;
  text-decoration: underline;
  min-width: auto;
  padding: 11px 12px;
  font-weight: 500;
  border-width: 0;
}
.cookie-settings-btn:hover { color: #fff; }

.cookie-settings {
  display: none;
  width: 100%;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #333;
}
.cookie-settings.open {
  display: block;
}
.cookie-cat {
  margin-bottom: 12px;
  font-size: 0.875rem;
  color: #ccc;
}
.cookie-cat label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  line-height: 1.4;
}
.cookie-cat input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: #fff;
  flex-shrink: 0;
}
.cookie-cat strong {
  color: #fff;
  display: block;
  margin-bottom: 2px;
}
.cookie-settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    padding: 18px 16px 22px;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-btn {
    flex: 1;
    min-width: 0;
  }
  .cookie-settings-btn {
    flex: 0 0 100%;
    text-align: center;
  }
}
