/* ===== Product Page Styles ===== */

/* Product Hero Section */
.product-hero {
  padding: 40px 20px 80px;
  background: var(--bg-light);
  margin-top: 80px;
}

.product-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-hero-image {
  position: sticky;
  top: 120px;
  width: 100%;
}

.product-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  background: #f5f3f1;
}

/* Product Metadata */
.product-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  align-items: center;
}

.product-tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.04);
  padding: 4px 8px;
  border-radius: 2px;
}

.product-stock {
  font-size: 12px;
  font-weight: 600;
  color: #2e7d32;
}

.product-stock.low {
  color: #d32f2f;
}

/* Product Title */
.product-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-dark);
}

/* Product Excerpt */
.product-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* Product Price */
.product-price {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.price-amount {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.price-note {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Product Options */
.product-options {
  margin-bottom: 40px;
}

.option-group {
  margin-bottom: 25px;
}

.option-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  margin-bottom: 10px;
}

/* Size Select */
.size-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.size-select:focus {
  outline: none;
  border-color: var(--text-dark);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

/* Color Selector */
.color-selector {
  display: flex;
  gap: 15px;
  align-items: center;
}

.color-selector input[type="radio"] {
  display: none;
}

.color-label {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.color-selector input[type="radio"]:checked + .color-label {
  border-color: var(--text-dark);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.color-label:hover {
  transform: scale(1.05);
}

/* Quantity Selector */
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  width: fit-content;
}

.qty-btn {
  background: none;
  border: none;
  padding: 12px 16px;
  font-size: 16px;
  cursor: pointer;
  color: var(--text-dark);
  transition: background 0.2s ease;
  font-weight: 600;
}

.qty-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.qty-btn:active {
  background: rgba(0, 0, 0, 0.1);
}

#quantity {
  border: none;
  padding: 12px 16px;
  width: 60px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
}

#quantity::-webkit-outer-spin-button,
#quantity::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#quantity[type=number] {
  -moz-appearance: textfield;
}

/* Add to Cart Button */
.add-to-cart {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px !important;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.btn-price {
  font-weight: 700;
  opacity: 0.8;
}

/* Drop Item CTA Button Styling Fix */
.drop-item-cta {
  border: none;
  cursor: pointer;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}

/* Cart Feedback Message */
.cart-feedback {
  text-align: center;
  padding: 12px 16px;
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  display: none;
  animation: none;
}

.cart-feedback[aria-hidden="false"] {
  display: block;
  opacity: 1;
  animation: slideInUp 0.3s ease forwards;
}

/* Stock Status Colors */
.product-stock-sold {
  color: #d32f2f !important;
  font-weight: 700;
}

.product-stock-coming {
  color: #1565c0 !important;
  font-weight: 700;
}

.product-stock-preorder {
  color: #f57c00 !important;
  font-weight: 700;
}

/* Sold Out Notice */
.sold-out-notice {
  margin-top: 40px;
  padding: 28px 24px;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 6px;
}

.sold-out-notice h3 {
  font-size: 18px;
  font-weight: 700;
  color: #d32f2f;
  margin: 0 0 12px 0;
}

.sold-out-notice p {
  font-size: 15px;
  color: #333;
  margin: 0 0 20px 0;
  line-height: 1.6;
}

.sold-out-notice .btn {
  width: 100%;
  background: #d32f2f;
  color: #fff;
  border: none;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.sold-out-notice .btn:hover {
  background: #b71c1c;
}

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

/* ===== Product Details Section ===== */
.product-details {
  padding: 80px 20px;
  background: #fff;
}

.details-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 60px;
}

.details-column h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.details-column p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.details-column p:last-child {
  margin-bottom: 0;
}

/* Specs List */
.specs-list {
  display: grid;
  gap: 16px;
}

.specs-list dt {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.specs-list dd {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 4px 0 12px 0;
}

/* Benefits List */
.benefits-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
}

.benefits-list li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
}

.benefits-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2e7d32;
  font-weight: 700;
}

/* ===== Size Guide ===== */
.size-guide {
  padding: 80px 20px;
  background: rgba(0, 0, 0, 0.02);
}

.size-guide-container {
  max-width: 900px;
  margin: 0 auto;
}

.size-guide h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.size-table thead {
  background: rgba(0, 0, 0, 0.05);
}

.size-table th {
  padding: 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.size-table td {
  padding: 16px;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.size-table tbody tr:hover {
  background: rgba(0, 0, 0, 0.02);
}

/* ===== Related Products ===== */
.related-products {
  padding: 80px 20px;
  background: #fff;
}

.related-products h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

.related-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.related-item {
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.related-item:hover {
  transform: translateY(-8px);
}

.related-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 16px;
  background: #f5f3f1;
}

.related-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.related-item p {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== Cart Icon & Preview ===== */
.cart-icon-wrapper {
  position: relative;
}

.cart-icon {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-dark);
  transition: opacity 0.2s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-icon:hover {
  opacity: 0.6;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #d32f2f;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all 0.2s ease;
}

.cart-count.visible {
  opacity: 1;
  transform: scale(1);
}

/* Cart Preview Dropdown */
.cart-preview {
  position: absolute;
  top: 100%;
  right: 0;
  width: 300px;
  margin-top: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 999;
}

.cart-preview[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cart-preview-content {
  padding: 16px;
}

.cart-preview-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.cart-preview-items {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 12px;
}

.cart-empty-text {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 16px 0;
}

.cart-preview-item {
  font-size: 12px;
  padding: 8px 0;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.cart-preview-item:last-child {
  border-bottom: none;
}

.cart-preview-checkout {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--text-dark);
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s ease;
}

.cart-preview-checkout:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
  .product-hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-hero-image {
    position: relative;
    top: auto;
  }

  .product-title {
    font-size: 28px;
  }

  .price-amount {
    font-size: 24px;
  }

  .details-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .related-item img {
    height: 300px;
  }

  .cart-preview {
    width: calc(100vw - 40px);
    left: 20px;
    right: auto;
  }
}

@media (max-width: 480px) {
  .product-hero {
    padding: 30px 16px 60px;
  }

  .product-title {
    font-size: 24px;
  }

  .add-to-cart {
    flex-direction: column;
    gap: 8px;
  }

  .color-selector {
    gap: 10px;
  }

  .color-label {
    width: 40px;
    height: 40px;
  }
}

/* ===== Product Gallery Sections ===== */
.product-gallery-section {
  padding: 80px 20px;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.product-gallery-section.alt {
  background: rgba(0, 0, 0, 0.01);
}

.gallery-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.gallery-container.reversed {
  direction: rtl;
}

.gallery-container.reversed > * {
  direction: ltr;
}

.gallery-main {
  position: relative;
}

.gallery-image-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.gallery-main-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  background: #f5f3f1;
  margin-bottom: 20px;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
}

.gallery-image-wrapper:hover .gallery-nav {
  opacity: 1;
  visibility: visible;
}

.gallery-nav:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.gallery-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.gallery-nav-prev {
  left: 16px;
}

.gallery-nav-next {
  right: 16px;
}

.gallery-nav::before {
  content: '';
  width: 6px;
  height: 6px;
  border: solid var(--text-dark);
  border-width: 2px 0 0 2px;
}

.gallery-nav-prev::before {
  transform: rotate(-45deg);
}

.gallery-nav-next::before {
  transform: rotate(135deg);
}

/* Gallery Thumbnails */
.gallery-thumbnails {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 0;
}

.gallery-thumbnails::-webkit-scrollbar {
  height: 4px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 2px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 2px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

.thumbnail {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  padding: 0;
  transition: all 0.3s ease;
}

.thumbnail.active {
  border-color: var(--text-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.thumbnail:hover {
  border-color: var(--text-dark);
  opacity: 0.8;
}

/* Gallery Context Text */
.gallery-context {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gallery-context h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.gallery-context p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.gallery-context p:last-child {
  margin-bottom: 0;
}

.gallery-context-quote {
  font-size: 18px;
  font-style: italic;
  color: var(--text-dark);
  opacity: 0.8;
  padding: 24px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin: 24px 0 !important;
}

/* Responsive Gallery */
@media (max-width: 768px) {
  .gallery-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gallery-container.reversed {
    direction: ltr;
  }

  .gallery-context h2 {
    font-size: 24px;
  }

  .gallery-thumbnails {
    gap: 10px;
  }

  .thumbnail {
    width: 70px;
    height: 70px;
  }
}
/* ===== RESERVE FORM ===== */
.reserve-form {
  margin-top: 20px;
  padding: 20px;
  background-color: #f5f3f1;
  border-left: 4px solid #ef4444;
  border-radius: 4px;
  animation: slideDown 0.3s ease;
}

.reserve-form p.reserve-text {
  margin: 0 0 15px 0;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

#reserve-email-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#reserve-email {
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
}

#reserve-email:focus {
  outline: none;
  border-color: #121212;
  box-shadow: 0 0 0 3px rgba(18, 18, 18, 0.1);
}

.btn-reserve {
  background-color: #121212;
  color: white;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-reserve:hover {
  background-color: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

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

.reserve-feedback {
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 13px;
  text-align: center;
  background-color: #f0fdf4;
  color: #22c55e;
  line-height: 1.4;
}

.product-stock-coming {
  color: #f97316;
  font-weight: 600;
}

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

@media (max-width: 768px) {
  .reserve-form {
    padding: 16px;
    margin-top: 16px;
  }

  .reserve-form p.reserve-text {
    font-size: 13px;
  }

  .btn-reserve {
    padding: 12px 20px;
    font-size: 13px;
  }
}

/* ===== Landing-podium: donkere editie-landing (deur 1) ===== */
.landing-podium {
  background: #14110f;
  color: #f5f3f1;
}

.landing-podium .product-hero-image img {
  border-radius: 8px;
  background: #14110f;
}

.landing-podium .product-tag {
  color: #ffbd59;
}

.landing-podium .product-stock {
  color: #b8aea6;
}

.landing-podium .product-stock.low {
  color: #ffbd59;
}

.landing-podium .product-title {
  color: #f5f3f1;
}

.landing-podium .product-excerpt {
  color: #cfc9c2;
}

.landing-podium .price-amount {
  color: #f5f3f1;
}

.landing-podium .price-note {
  color: #8f8a85;
}

.landing-podium .option-group label {
  color: #f5f3f1;
}

.landing-fit {
  margin: 6px 0 10px;
  font-size: 13px;
  line-height: 1.6;
  color: #b8aea6;
}

.landing-fit a {
  color: #ffbd59;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.landing-podium .size-select {
  background: #1d1a17;
  border-color: rgba(245, 243, 241, 0.25);
  color: #f5f3f1;
}

.landing-podium .qty-btn {
  background: #1d1a17;
  border-color: rgba(245, 243, 241, 0.25);
  color: #f5f3f1;
}

.landing-podium #quantity {
  background: #1d1a17;
  border-color: rgba(245, 243, 241, 0.25);
  color: #f5f3f1;
}

.landing-podium .add-to-cart {
  background: #ffbd59;
  border-color: #ffbd59;
  color: #14110f;
}

.landing-podium .add-to-cart:hover {
  background: #e6a94a;
  border-color: #e6a94a;
  color: #14110f;
}

.landing-trust {
  margin: 18px 0 0;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #b8aea6;
}

.landing-review {
  margin: 8px 0 0;
  font-size: 13px;
  color: #8f8a85;
}

.landing-review a {
  color: #ffbd59;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* pre-order/coming-soon notices leesbaar houden op donker */
.landing-podium #preorder-notice,
.landing-podium #coming-soon-notice {
  border-radius: 6px;
}

/* ===== FAQ ===== */
.landing-faq {
  padding: 72px 20px;
  background: var(--bg-light);
}

.landing-faq-container {
  max-width: 720px;
  margin: 0 auto;
}

.landing-faq h2 {
  font-size: 28px;
  margin-bottom: 24px;
}

.landing-faq details {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  padding: 4px 0;
}

.landing-faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
  list-style: none;
  position: relative;
  padding-right: 28px;
}

.landing-faq summary::-webkit-details-marker {
  display: none;
}

.landing-faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: #ffbd59;
  font-size: 20px;
  font-weight: 400;
}

.landing-faq details[open] summary::after {
  content: "\2212";
}

.landing-faq details p {
  margin: 0 0 16px;
  color: #555;
  line-height: 1.7;
}

/* ===== Reserveer-vangnet ===== */
.landing-reserveer {
  padding: 72px 20px;
  background: #14110f;
  color: #f5f3f1;
  text-align: center;
}

.landing-reserveer-inner {
  max-width: 560px;
  margin: 0 auto;
}

.landing-reserveer h2 {
  font-size: 26px;
  margin-bottom: 12px;
  color: #f5f3f1;
}

.landing-reserveer p {
  color: #b8aea6;
  margin-bottom: 24px;
  line-height: 1.7;
}

.landing-reserveer .btn {
  background: transparent;
  border: 1px solid #ffbd59;
  color: #ffbd59;
}

.landing-reserveer .btn:hover {
  background: #ffbd59;
  color: #14110f;
}
