:root {
  --bg: hsl(0 0% 96%);
  --fg: hsl(0 0% 4%);
  --card: #ffffff;
  --primary: hsl(140 45% 33%);
  --primary-hover: hsl(140 45% 26%);
  --muted: hsl(0 0% 90%);
  --muted-fg: hsl(0 0% 45%);
  --border: hsl(0 0% 89%);
  --black: #0a0a0a;
  --accent: #ff6b00;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'IBM Plex Sans', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .display { font-family: 'Chivo', sans-serif; }
img { max-width: 100%; display: block; }

/* NAVBAR */
.navbar { position: sticky; top: 0; z-index: 50; background: white; border-bottom: 2px solid var(--black); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--black); }
.logo-icon { 
  width: 40px; height: 40px; 
  background: var(--primary); 
  display: flex; align-items: center; justify-content: center; 
  border-radius: 4px;
}
.logo-text h1 { font-family:'Chivo', sans-serif; font-size: 19px; font-weight: 900; line-height: 1; letter-spacing: -0.2px; text-transform: uppercase; color: var(--black); }
.logo-text p { font-family:'IBM Plex Sans', sans-serif; font-size: 10px; letter-spacing: 2px; color: var(--primary); font-weight: 800; margin-top: 2px; text-transform: uppercase; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { text-decoration: none; color: var(--black); font-weight: 500; font-size: 15px; transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.cart-btn { position: relative; background: transparent; border: 2px solid var(--black); padding: 8px 10px; cursor: pointer; display: flex; align-items: center; transition: all 0.15s; color: var(--black); }
.cart-btn:hover { background: var(--black); color: white; }
.cart-btn svg { width: 20px; height: 20px; }
.cart-badge { position: absolute; top: -8px; right: -8px; background: var(--primary); color: white; font-size: 11px; font-weight: 700; padding: 2px 6px; min-width: 20px; text-align: center; }

/* HERO */
.hero {
  position: relative;
  min-height: 650px;
  background:
    linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.15) 100%),
    url('bilder/hero-modern.jpg') center/cover;
  display: flex;
  align-items: center;
  color: white;
  padding: 100px 24px;
}
.hero-inner { max-width: 1280px; margin: 0 auto; width: 100%; }
.hero-content { max-width: 640px; }
.hero-eyebrow { font-size: 13px; letter-spacing: 3px; font-weight: 600; margin-bottom: 20px; opacity: 0.9; }
.hero h2 { font-size: clamp(38px, 5.5vw, 68px); font-weight: 900; line-height: 1.0; margin-bottom: 24px; letter-spacing: -0.02em; }
.hero p { font-size: 18px; margin-bottom: 32px; max-width: 520px; opacity: 0.95; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* BUTTONS */
.btn { padding: 14px 24px; font-weight: 600; font-size: 15px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; border: 2px solid transparent; cursor: pointer; transition: all 0.15s; font-family: inherit; }
.btn-primary { background: var(--primary); color: white; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn-white { background: white; color: var(--black); border-color: white; }
.btn-white:hover { background: transparent; color: white; border-color: white; }
.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: white; }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* SECTIONS */
section { padding: 80px 24px; }
.container { max-width: 1280px; margin: 0 auto; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 20px; }
.section-eyebrow { font-size: 12px; letter-spacing: 3px; font-weight: 700; color: var(--muted-fg); margin-bottom: 12px; }
.section-title { font-family: 'Chivo', sans-serif; font-size: clamp(32px, 4vw, 44px); font-weight: 800; line-height: 1.1; }
.link-more { color: var(--primary); text-decoration: none; font-weight: 600; display: flex; align-items: center; gap: 6px; font-size: 14px; }

/* PRODUCTS */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.product { background: white; border: 2px solid var(--black); transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; text-decoration: none; color: inherit; display: block; position: relative; }
.product:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--black); }
.product-badge { position: absolute; top: 12px; right: 12px; background: var(--accent); color: white; padding: 4px 10px; font-size: 12px; font-weight: 700; z-index: 2; }
.product-img { aspect-ratio: 1 / 1; background-size: contain; background-repeat: no-repeat; background-position: center; background-color: white; border-bottom: 2px solid var(--black); }
.product-info { padding: 20px; }
.product-category { font-size: 11px; letter-spacing: 2px; color: var(--primary); font-weight: 700; margin-bottom: 8px; }
.product-name { font-weight: 700; font-size: 16px; margin-bottom: 12px; font-family: 'Chivo', sans-serif; line-height: 1.3; }
.product-price-row { display: flex; align-items: baseline; gap: 10px; }
.product-price { font-family: 'Chivo', sans-serif; font-weight: 800; font-size: 22px; color: var(--primary); }
.product-price-old { color: var(--muted-fg); text-decoration: line-through; font-size: 14px; }
.product-rating { display: flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 13px; color: var(--muted-fg); }
.stars { color: #ffa500; letter-spacing: 1px; }

/* FEATURES */
.features { background: white; border-top: 2px solid var(--black); border-bottom: 2px solid var(--black); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 48px; text-align: center; }
.feature-icon { width: 64px; height: 64px; background: hsl(140 45% 95%); border: 2px solid var(--primary); margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; color: var(--primary); }
.feature h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; font-family: 'Chivo', sans-serif; }
.feature p { color: var(--muted-fg); font-size: 15px; }

/* ABOUT */
.about { background: var(--primary); color: white; padding: 100px 24px; }
.about-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; line-height: 1.1; margin-bottom: 24px; }
.about p { font-size: 17px; margin-bottom: 16px; opacity: 0.95; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 32px; }
.stat-num { font-family: 'Chivo', sans-serif; font-size: 48px; font-weight: 900; line-height: 1; }
.stat-label { font-size: 14px; opacity: 0.9; margin-top: 4px; }

/* KONTAKT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-item { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; font-size: 15px; }
.contact-item .icon-box { width: 44px; height: 44px; background: hsl(140 45% 95%); border: 2px solid var(--primary); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-form { background: white; padding: 32px; border: 2px solid var(--black); }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-row input, .form-row textarea { width: 100%; padding: 12px; border: 2px solid var(--border); background: white; font-family: inherit; font-size: 15px; transition: border-color 0.15s; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--primary); }
.form-row textarea { min-height: 120px; resize: vertical; }

/* FOOTER */
footer { background: var(--black); color: white; padding: 60px 24px 24px; }
.footer-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { font-family: 'Chivo', sans-serif; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #aaa; text-decoration: none; font-size: 14px; transition: color 0.15s; }
.footer-col a:hover { color: white; }
.footer-about { color: #aaa; font-size: 14px; line-height: 1.6; margin-top: 12px; max-width: 320px; }
.footer-bottom { max-width: 1280px; margin: 0 auto; padding-top: 24px; border-top: 1px solid #333; text-align: center; color: #888; font-size: 13px; }

/* TOAST */
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--primary); color: white; padding: 14px 20px; border: 2px solid var(--black); font-weight: 600; transform: translateX(120%); transition: transform 0.3s; z-index: 100; }
.toast.show { transform: translateX(0); }


/* CLEAN PRODUCT CARDS (Bestseller) */
.products-clean { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .products-clean { grid-template-columns: 1fr; } }
.product-clean { background: white; border: 1px solid #e0e0e0; border-radius: 6px; text-decoration: none; color: inherit; display: block; overflow: hidden; transition: box-shadow 0.2s; }
.product-clean:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.10); }
.product-clean-img { aspect-ratio: 4/3; background-size: contain; background-repeat: no-repeat; background-position: center; background-color: #f8f8f8; }
.product-clean-info { padding: 16px 18px 18px; }
.product-clean-name { font-weight: 700; font-size: 15px; margin-bottom: 4px; font-family: 'Chivo', sans-serif; line-height: 1.3; }
.product-clean-price { font-family: 'Chivo', sans-serif; font-weight: 800; font-size: 20px; color: var(--fg); margin-left: 6px; }
.btn-cart { background: var(--primary); color: white; border: none; padding: 9px 14px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; border-radius: 2px; transition: background 0.15s; white-space: nowrap; }
.btn-cart:hover { background: var(--primary-hover); }


@media (max-width: 768px) {
  /* Navigation */
  .nav-inner { height: 56px; padding: 0 14px; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: inline-flex !important; }
  .logo-text h1 { font-size: 18px; }
  .logo-text p { font-size: 9px; letter-spacing: 2px; }
  .logo-icon { width: 32px; height: 32px; }

  /* Hero */
  .hero { min-height: 460px; padding: 48px 18px; }
  .hero-badge { font-size: 11px; letter-spacing: 2px; }
  .hero h1 { font-size: 34px; line-height: 1.15; }
  .hero-sub { font-size: 15px; }
  .hero-buttons { flex-direction: column; gap: 10px; width: 100%; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  /* Sections */
  section, .about, .contact { padding: 48px 18px; }
  .section-title { font-size: 26px; }
  .section-label { font-size: 11px; letter-spacing: 2px; }

  /* Layouts */
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; padding: 40px 18px; }

  /* Product cards */
  .products-clean { grid-template-columns: 1fr; gap: 14px; }
  .product-clean-img { aspect-ratio: 16/10; }

  /* Cart drawer */
  .cart-drawer { width: 100%; max-width: 100%; border-left: none; }
  .cart-drawer-header { padding: 0 18px; }
  .cart-items-list { padding: 14px 18px; }
  .cart-drawer-footer { padding: 14px 18px; }

  /* Versand modal */
  .versand-modal { max-width: 100%; margin: 0; border: none; max-height: 100vh; height: 100%; overflow-y: auto; }
  .modal-overlay { padding: 0; align-items: stretch; }
  .versand-modal-header { padding: 16px 18px; }
  .versand-modal-header h3 { font-size: 17px; }
  .versand-modal-body { padding: 16px 18px 24px; font-size: 13.5px; }
  .versand-modal-body h4 { font-size: 14px; }
  .versand-list li { font-size: 12.5px; padding: 8px 0; }

  /* Buttons */
  .btn { font-size: 13px; padding: 10px 18px; }
  .btn-lg { padding: 12px 22px; font-size: 14px; }

  /* Forms */
  .contact-form { padding: 0; }
  .form-row { grid-template-columns: 1fr !important; }
  .form-row input, .form-row textarea { padding: 11px 12px; font-size: 16px; /* 16px prevents iOS zoom */ }

  /* Cart badge */
  .cart-btn { width: 40px; height: 40px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .section-title { font-size: 22px; }
  .stat-num, .stat-label { text-align: center; }
}

/* Ensure 16px font on all inputs to prevent iOS zoom */
@media (max-width: 768px) {
  input[type="text"], input[type="email"], input[type="tel"],
  input[type="number"], input[type="password"], input[type="search"],
  textarea, select { font-size: 16px !important; }
}

/* ===== CART SYSTEM ===== */
.cart-btn { cursor: pointer; }

/* ===== MOBILE MENU ===== */
.mobile-menu-btn {
  display: none; width: 40px; height: 40px; background: transparent;
  border: 1px solid var(--border); cursor: pointer; border-radius: 2px;
  align-items: center; justify-content: center; color: var(--fg);
}
.mobile-menu-btn:hover { background: var(--muted); }
.mobile-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 99;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.mobile-menu-overlay.open { opacity: 1; pointer-events: all; }
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; width: 280px; max-width: 85vw;
  background: white; z-index: 100; transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); padding: 0;
  display: flex; flex-direction: column;
}
.mobile-menu.open { transform: translateX(0); box-shadow: -4px 0 24px rgba(0,0,0,0.15); }
.mobile-menu-header {
  padding: 0 18px; height: 56px; display: flex; align-items: center;
  justify-content: space-between; border-bottom: 1px solid var(--border);
}
.mobile-menu-title { font-family: 'Chivo', sans-serif; font-weight: 800; font-size: 15px; letter-spacing: 1px; }
.mobile-menu-close {
  width: 36px; height: 36px; border: 1px solid var(--border); background: white;
  cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.mobile-menu-links {
  flex: 1; display: flex; flex-direction: column; padding: 10px 0; overflow-y: auto;
}
.mobile-menu-links a {
  display: block; padding: 14px 22px; font-size: 15px; font-weight: 600;
  color: var(--fg); text-decoration: none; border-bottom: 1px solid #f0f0f0;
  transition: background 0.1s;
}
.mobile-menu-links a:hover, .mobile-menu-links a.active { background: #f8f8f8; color: var(--primary); }
.mobile-menu-footer {
  padding: 18px 22px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--muted);
}

/* Cart Drawer */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 200; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 100vw;
  background: white; z-index: 201; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  border-left: 2px solid var(--black);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 64px; border-bottom: 2px solid var(--black); background: white;
  flex-shrink: 0;
}
.cart-drawer-header h3 { font-family: 'Chivo', sans-serif; font-size: 20px; font-weight: 800; }
.cart-close-btn {
  background: transparent; border: 2px solid var(--black); width: 36px; height: 36px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.15s; font-size: 18px;
}
.cart-close-btn:hover { background: var(--black); color: white; }

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

.cart-empty {
  text-align: center; padding: 60px 20px; color: var(--muted-fg);
}
.cart-empty svg { margin: 0 auto 16px; opacity: 0.3; }
.cart-empty p { font-size: 16px; font-weight: 500; }

.cart-item {
  display: flex; gap: 14px; padding: 14px 0;
  border-bottom: 1px solid var(--border); align-items: flex-start;
}
.cart-item-img {
  width: 72px; height: 72px; background-size: contain; background-repeat: no-repeat;
  background-position: center; background-color: #f8f8f8; border: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 700; font-size: 13px; line-height: 1.3; margin-bottom: 4px; font-family: 'Chivo', sans-serif; }
.cart-item-price { font-weight: 800; color: var(--primary); font-size: 15px; margin-bottom: 8px; }
.cart-item-qty {
  display: flex; align-items: center; gap: 0; border: 1.5px solid var(--border); width: fit-content;
}
.cart-qty-btn {
  background: white; border: none; width: 28px; height: 28px; cursor: pointer;
  font-size: 16px; display: flex; align-items: center; justify-content: center;
  transition: background 0.1s; font-family: inherit;
}
.cart-qty-btn:hover { background: var(--muted); }
.cart-qty-num { padding: 0 10px; font-size: 14px; font-weight: 600; min-width: 32px; text-align: center; }
.cart-item-remove {
  background: transparent; border: none; cursor: pointer; color: var(--muted-fg);
  font-size: 18px; padding: 4px; transition: color 0.15s; flex-shrink: 0;
}
.cart-item-remove:hover { color: #e53e3e; }

.cart-drawer-footer {
  padding: 20px 24px; border-top: 2px solid var(--black); background: white;
}
.cart-subtotal {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px; font-size: 15px;
}
.cart-subtotal span:first-child { color: var(--muted-fg); }
.cart-subtotal span:last-child { font-weight: 800; font-size: 20px; font-family: 'Chivo', sans-serif; }
.cart-free-shipping {
  font-size: 12px; color: var(--primary); font-weight: 600; margin-bottom: 16px; display: block;
}
.cart-checkout-btn {
  width: 100%; padding: 15px; background: var(--primary); color: white;
  border: 2px solid var(--primary); font-size: 16px; font-weight: 700;
  cursor: pointer; font-family: 'Chivo', sans-serif; transition: all 0.15s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.cart-checkout-btn:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.cart-continue-btn {
  width: 100%; padding: 11px; background: white; color: var(--black);
  border: 2px solid var(--black); font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: inherit; margin-top: 10px; transition: all 0.15s;
}
.cart-continue-btn:hover { background: var(--black); color: white; }

/* ===== VERSAND MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  z-index: 300; opacity: 0; pointer-events: none;
  transition: opacity 0.25s; display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.versand-modal {
  background: white; max-width: 580px; width: 100%; max-height: 90vh;
  overflow-y: auto; border: 2px solid var(--black);
  transform: scale(0.95) translateY(10px); transition: transform 0.25s;
  position: relative;
}
.modal-overlay.open .versand-modal { transform: scale(1) translateY(0); }

.versand-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px 16px; border-bottom: 2px solid var(--black); position: sticky; top: 0; background: white; z-index: 2;
}
.versand-modal-header h3 { font-family: 'Chivo', sans-serif; font-size: 20px; font-weight: 800; }
.modal-close {
  background: transparent; border: 2px solid var(--black); width: 34px; height: 34px;
  cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.modal-close:hover { background: var(--black); color: white; }

.versand-modal-body { padding: 20px 24px 28px; font-size: 14px; line-height: 1.65; color: var(--fg); }
.versand-modal-body p { margin-bottom: 14px; }
.versand-modal-body a { color: var(--primary); }
.versand-modal-body h4 { font-family: 'Chivo', sans-serif; font-size: 15px; font-weight: 800; margin: 22px 0 10px; }
.versand-list { list-style: none; padding: 0; margin: 0 0 16px; }
.versand-list li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; line-height: 1.55; }
.versand-list li:last-child { border-bottom: none; }
.versand-highlight {
  background: #f0faf3; border-left: 3px solid var(--primary);
  padding: 12px 16px; margin: 16px 0; font-size: 13.5px;
}
.versand-highlight-green { background: #f0faf3; border-left-color: var(--primary); color: var(--primary); }
.versand-highlight-orange { background: #fff4e5; border-left-color: #ff9800; color: #c65f00; }
.versand-islands { background: #f8f8f8; border: 1px solid var(--border); padding: 14px 16px; margin: 14px 0; border-radius: 2px; }
.versand-islands h4 { font-size: 13px; font-weight: 700; margin-bottom: 10px; font-family: 'Chivo', sans-serif; }
.versand-island-row { margin-bottom: 8px; font-size: 12.5px; }
.versand-island-row strong { display: block; font-weight: 700; margin-bottom: 2px; }
.versand-island-row span { color: var(--muted-fg); }
.versand-warning {
  color: var(--primary); font-weight: 700; font-size: 14px; margin-top: 16px;
}

/* Versand link style in footer */
.versand-link {
  color: #aaa; text-decoration: none; font-size: 14px; transition: color 0.15s; cursor: pointer;
  background: none; border: none; font-family: inherit; padding: 0;
}
.versand-link:hover { color: white; }

/* Toast update */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px); background: var(--black); color: white; padding: 12px 20px; border: 2px solid var(--primary); font-weight: 600; transition: transform 0.3s; z-index: 400; font-size: 14px; white-space: nowrap; }
.toast.show { transform: translateX(-50%) translateY(0); }

/* LEGAL PAGE STYLES - PIXEL PERFECT TO SCREENSHOT */
.legal-page-body { background: #f8f9fa !important; min-height: 100vh; padding-bottom: 80px; }
.legal-container { 
  max-width: 960px !important; 
  margin: 60px auto !important; 
  padding: 0 20px !important; 
  text-align: left !important;
  display: block !important;
}

.legal-title-section { margin-bottom: 40px; text-align: left; }
.legal-title-section span { font-size: 11px; letter-spacing: 2px; color: #888; font-weight: 700; text-transform: uppercase; display: block; margin-bottom: 8px; }
.legal-title-section h1 { font-family: 'Chivo', sans-serif; font-size: 52px; font-weight: 900; color: #111; margin: 0; }

.legal-card { 
  background: white !important; 
  padding: 60px 80px !important; 
  border: 1px solid #ddd !important; 
  border-radius: 4px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
  width: 100% !important;
  max-height: 75vh !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
}

/* Custom Scrollbar for the Legal Card */
.legal-card::-webkit-scrollbar { width: 8px; }
.legal-card::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; }
.legal-card::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
.legal-card::-webkit-scrollbar-thumb:hover { background: #bbb; }

.legal-section-title { 
  font-family: 'Chivo', sans-serif; 
  font-size: 18px; 
  font-weight: 800; 
  margin-top: 40px; 
  margin-bottom: 20px; 
  color: #111; 
  border-bottom: 1px solid #eee; 
  padding-bottom: 12px;
}
.legal-section-title:first-child { margin-top: 0; }

.legal-row { 
  display: flex; 
  justify-content: space-between; 
  margin-bottom: 12px; 
  font-size: 15px; 
}
.legal-row-label { color: #666; width: 250px; }
.legal-row-value { color: #111; font-weight: 700; text-align: right; flex: 1; }

.legal-block { margin-top: 15px; }
.legal-block p { font-size: 15px; color: #111; line-height: 1.7; margin-bottom: 10px; }
.legal-card strong { font-weight: 700; color: #111; }

@media (max-width: 768px) {
  .legal-container { margin: 20px auto !important; padding: 20px 15px !important; }
  .legal-title-section { margin-bottom: 25px; }
  .legal-title-section h1 { font-size: 32px; }
  .legal-title-section span { font-size: 10px; }
  
  .legal-card { 
    padding: 30px 20px !important; 
    max-height: 65vh !important; /* Slightly smaller for mobile */
  }
  
  .legal-section-title { font-size: 16px; margin-top: 30px; }
  
  .legal-row { 
    flex-direction: column; 
    gap: 2px; 
    border-bottom: 1px solid #f5f5f5; 
    padding-bottom: 10px; 
    margin-bottom: 10px;
  }
  .legal-row-label { font-size: 12px; width: 100%; }
  .legal-row-value { text-align: left; font-size: 14px; }
  
  .legal-block p { font-size: 14px; }
}
