*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg-1: #050b15;
  --bg-2: #08101d;
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: #d4dae3;
  --green: #7cc242;
  --green-dark: #69ae32;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --container: 1100px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(21, 128, 195, 0.14), transparent 35%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
}

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

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrapper {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 12px;
  padding-right: 12px;
}

/* HEADER */
.site-header {
  padding: 16px 0;
}

.site-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.header-left {
  justify-self: start;
  min-width: 0;
}

.brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: auto;
  height: 52px;
  max-width: 200px;
}

.main-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--green);
  border-radius: 10px;
  color: var(--green);
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.contact-btn:hover {
  background: var(--green);
  color: #08101d;
  text-decoration: none;
}

/* LANGUAGE */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 100%;
}

.language-label {
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

#language-select {
  min-height: 40px;
  min-width: 150px;
  max-width: 100%;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 14px;
}

#language-select option {
  color: #000000;
}

/* PAGE */
.page {
  padding: 8px 0 24px;
}

.hero {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px 14px 26px;
  box-shadow: var(--shadow);
}

.hero-image {
  width: 100%;
  max-width: 280px;
  max-height: 360px;
  object-fit: contain;
  margin: 0 auto 18px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 8vw, 56px);
  line-height: 1.1;
  color: var(--green);
  font-weight: 800;
}

p {
  margin: 0;
}

.intro {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(17px, 4.8vw, 24px);
  line-height: 1.6;
}

.contact-line {
  margin-top: 18px;
  font-size: clamp(17px, 4.8vw, 22px);
  line-height: 1.5;
  color: #ffffff;
}

.contact-line a {
  color: var(--green);
  font-weight: 700;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  font: inherit;
  appearance: none;
}

.btn-primary {
  background: var(--green);
  color: #08101d;
}

.btn-primary:hover {
  background: var(--green-dark);
  text-decoration: none;
}

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

.btn-outline:hover {
  background: var(--green);
  color: #08101d;
  text-decoration: none;
}

/* MOBIEL */
@media (max-width: 699px) {
  .site-header-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .header-left,
  .brand,
  .main-nav {
    justify-self: center;
    width: 100%;
  }

  .brand {
    text-align: center;
  }

  .brand-logo {
    height: 28px;
    max-width: 120px;
    margin: 0 auto;
  }

  .language-switcher {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .language-label {
    white-space: nowrap;
    text-align: left;
  }

  #language-select {
    width: auto;
    min-width: 170px;
    max-width: 220px;
  }

  .main-nav {
    justify-content: center;
    gap: 10px;
  }

  .contact-btn {
    flex: 1 1 auto;
    max-width: 160px;
  }
}

/* TABLET EN GROTER */
@media (min-width: 700px) {
  .wrapper {
    padding-left: 24px;
    padding-right: 24px;
  }

  .site-header {
    padding: 20px 0;
  }

  .brand-logo {
    height: 56px;
    max-width: 220px;
  }

  .page {
    padding: 12px 0 36px;
  }

  .hero {
    padding: 34px 22px 38px;
  }

  .hero-image {
    max-width: 360px;
    max-height: 500px;
    margin-bottom: 24px;
  }

  .eyebrow {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .intro {
    font-size: 22px;
  }

  .contact-line {
    font-size: 22px;
    margin-top: 20px;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  .btn {
    width: auto;
    min-width: 190px;
  }
}

/* DESKTOP */
@media (min-width: 1024px) {
  .site-header {
    padding: 24px 0;
  }

  .brand-logo {
    height: 60px;
    max-width: 230px;
  }

  .page {
    min-height: calc(100vh - 96px);
    display: flex;
    align-items: center;
    padding: 18px 0 48px;
  }

  .hero {
    padding: 48px 28px;
  }

  .hero-image {
    max-width: 470px;
    max-height: 700px;
    margin-bottom: 28px;
  }

  .intro {
    font-size: 24px;
    line-height: 1.7;
  }

  .contact-line {
    font-size: 24px;
  }
}

/* EXTRA KLEINE TELEFOONS */
@media (max-width: 380px) {
  .wrapper {
    padding-left: 10px;
    padding-right: 10px;
  }

  .brand-logo {
    height: 24px;
    max-width: 100px;
  }

  .contact-btn {
    font-size: 14px;
    min-height: 40px;
  }

  .hero {
    padding: 20px 12px 24px;
    border-radius: 18px;
  }

  .hero-image {
    max-width: 240px;
    max-height: 300px;
  }

  h1 {
    font-size: 28px;
  }

  .intro,
  .contact-line {
    font-size: 16px;
  }
}

/* AANBOD PAGINA */
.section-head {
  text-align: center;
  margin-bottom: 26px;
}

.section-title {
  margin: 0 0 10px;
  font-size: clamp(28px, 6vw, 42px);
  color: var(--green);
  font-weight: 800;
}

.section-text {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 28px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-image-wrap {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
}

.product-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 14px;
}

.product-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #08101d;
  background: var(--green);
}

.product-badge.sold {
  background: #c94b4b;
  color: #ffffff;
}

.product-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.product-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  color: #ffffff;
}

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

.product-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--green);
}

.product-stock {
  font-size: 14px;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.product-description {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.empty-state {
  margin-top: 30px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 30px 18px;
  color: var(--muted);
  box-shadow: var(--shadow);
}

@media (min-width: 700px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .product-image {
    height: 260px;
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .product-image {
    height: 240px;
  }

  .section-head {
    margin-bottom: 34px;
  }
}

/* MODAL / POPUP */
.modal-open {
  overflow: hidden;
}

.product-modal[hidden] {
  display: none;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.product-modal-dialog {
  position: relative;
  width: min(960px, calc(100% - 24px));
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  margin: 12px auto;
  background: linear-gradient(180deg, #111b2a 0%, #162235 100%);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  z-index: 2;
  padding: 22px;
  padding-right: 76px;
}

.product-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  appearance: none;
  -webkit-appearance: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.product-modal-close:hover {
  background-color: #c94b4b !important;
  color: #ffffff !important;
  transform: scale(1.05);
}

.product-modal-close:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.product-modal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.product-modal-image-wrap {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 18px;
  padding: 14px;
}

.product-modal-image {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 14px;
}

.product-modal-title {
  margin: 0 0 10px;
  padding-right: 14px;
  font-size: clamp(28px, 4vw, 40px);
  color: #fff;
}

.product-modal-price {
  margin-bottom: 10px;
  font-size: 30px;
  font-weight: 800;
  color: var(--green);
}

.product-modal-stock {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 14px;
}

.product-modal-description {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.product-modal-specs {
  margin: 0 0 20px;
  padding-left: 20px;
  color: #fff;
  line-height: 1.8;
}

.product-modal-content .btn {
  width: 100%;
}

@media (min-width: 900px) {
  .product-modal-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
.product-actions .btn {
  position: relative;
  z-index: 2;
  touch-action: manipulation;
}

.site-footer {
  margin-top: 28px;
  padding: 24px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  text-align: center;
}

.footer-col {
  min-width: 0;
}

.footer-title {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
}

.footer-text {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.footer-text a {
  color: var(--green);
  font-weight: 700;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 699px) {
  .site-footer {
    margin-top: 24px;
    padding: 24px 0 18px;
  }

  .footer-inner {
    gap: 18px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-bottom {
    margin-top: 18px;
    padding-top: 14px;
    font-size: 13px;
  }
}

@media (min-width: 700px) {
  .site-footer {
    margin-top: 40px;
    padding: 30px 0 20px;
  }

  .footer-inner {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-bottom {
    margin-top: 26px;
  }
}
