
/* ============================================================
   30. PRODUCT DETAIL (pd-* prefix)
   ============================================================ */
.pd-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.pd-gallery {}

.pd-main-image {
  width: 100%;
  aspect-ratio: 1 / 1.2;
  background: #F5F5F5;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pd-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.pd-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  border: 2px solid #E5DDD3;
  cursor: pointer;
  overflow: hidden;
  object-fit: cover;
}

.pd-thumb.active,
.pd-thumb:hover {
  border-color: #E8785A;
}

.pd-info {}

.pd-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pd-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.pd-price {
  font-size: 24px;
  font-weight: 700;
}

.pd-old-price {
  font-size: 18px;
  color: #9CA3AF;
  text-decoration: line-through;
}

.pd-badge-france {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #6B7280;
}

.pd-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.pd-colors {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.pd-color-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #E5DDD3;
  cursor: pointer;
  transition: all 0.2s;
}

.pd-color-btn.active,
.pd-color-btn:hover {
  border-color: #1A1A1A;
  box-shadow: 0 0 0 2px white, 0 0 0 4px #1A1A1A;
}

.pd-size-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.pd-size-guide-link {
  font-size: 14px;
  color: #E8785A;
  text-decoration: underline;
  cursor: pointer;
}

.pd-sizes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pd-size-btn {
  min-width: 48px;
  height: 44px;
  border-radius: 8px;
  border: 1.5px solid #E5DDD3;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pd-size-btn:hover {
  border-color: #1A1A1A;
}

.pd-size-btn.active {
  background: #1A1A1A;
  color: white;
  border-color: #1A1A1A;
}

.pd-size-btn.disabled {
  background: #F5F5F5;
  color: #9CA3AF;
  cursor: not-allowed;
  text-decoration: line-through;
  pointer-events: none;
}

.pd-wishlist-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid #E5DDD3;
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.pd-wishlist-btn:hover {
  border-color: #E8785A;
  color: #E8785A;
}

.pd-trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid #E5DDD3;
}

.pd-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #6B7280;
}

.pd-tabs {
  margin-top: 48px;
  border-top: 1px solid #E5DDD3;
}

.pd-tab-headers {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #E5DDD3;
  overflow-x: auto;
}

.pd-tab-btn {
  padding: 14px 24px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #6B7280;
  white-space: nowrap;
  transition: all 0.2s;
}

.pd-tab-btn.active {
  color: #1A1A1A;
  font-weight: 600;
  border-bottom-color: #E8785A;
}

.pd-tab-content {
  padding: 24px 0;
  display: none;
}

.pd-tab-content.active {
  display: block;
}

.pd-related {
  margin-top: 64px;
}

/* ============================================================
   31. CART (cart-* additions)
   ============================================================ */
.cart-color-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 4px;
}

.cart-item-total {
  font-size: 16px;
  font-weight: 700;
  text-align: right;
  min-width: 80px;
}

.cart-shipping-progress {
  margin: 16px 0;
}

.cart-shipping-free {
  font-size: 13px;
  color: #6B7280;
  margin-bottom: 6px;
}

.cart-promo {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.cart-continue {
  display: block;
  text-align: center;
  margin-top: 16px;
  color: #6B7280;
  font-size: 14px;
}

/* ============================================================
   32. PROGRESS BAR
   ============================================================ */
.progress-bar {
  height: 8px;
  background: #E5DDD3;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #22C55E;
  border-radius: 4px;
  transition: width 0.3s;
}

/* ============================================================
   33. CHECKOUT (additions)
   ============================================================ */
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #E5DDD3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  background: white;
  z-index: 1;
}

.checkout-step.active .step-num {
  background: #E8785A;
  color: white;
  border-color: #E8785A;
}

.checkout-step.completed .step-num {
  background: #22C55E;
  color: white;
  border-color: #22C55E;
}

.step-line {
  position: absolute;
  top: 18px;
  left: calc(50% + 24px);
  right: calc(-50% + 24px);
  height: 2px;
  background: #E5DDD3;
}

.checkout-step.completed .step-line {
  background: #22C55E;
}

.checkout-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
}

.checkout-confirmation {
  text-align: center;
  padding: 48px 0;
}

.confirmation-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.confirmation-summary {
  background: #F5EDE3;
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
  text-align: left;
}

/* ============================================================
   34. DELIVERY OPTIONS
   ============================================================ */
.delivery-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.delivery-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 2px solid #E5DDD3;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.delivery-option:hover,
.delivery-option.selected {
  border-color: #E8785A;
}

.delivery-info {
  flex: 1;
}

.delivery-price {
  font-weight: 600;
}

/* ============================================================
   35. PAYMENT
   ============================================================ */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.payment-card-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.payment-divider {
  text-align: center;
  color: #9CA3AF;
  margin: 16px 0;
}

.btn-paypal {
  background: #FFC439;
  color: #1A1A1A;
  border: none;
  height: 52px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
}

.btn-full {
  width: 100%;
}

/* ============================================================
   36. ACCOUNT & AUTH (additions)
   ============================================================ */
.auth-container {
  max-width: 480px;
  margin: 0 auto;
}

.account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
}

.account-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-nav-btn {
  padding: 12px 16px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.2s;
}

.account-nav-btn:hover {
  background: #F5EDE3;
}

.account-nav-btn.active {
  background: #F5EDE3;
  font-weight: 600;
}

.account-content {
  min-height: 400px;
}

/* ============================================================
   37. ORDERS TABLE
   ============================================================ */
.orders-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.orders-table th {
  padding: 12px 16px;
  background: #F5F5F5;
  font-size: 13px;
  text-transform: uppercase;
  color: #6B7280;
  font-weight: 600;
}

.orders-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #E5DDD3;
}

.order-number {
  font-weight: 600;
  color: #E8785A;
}

/* ============================================================
   38. REVIEWS (additions)
   ============================================================ */
.review-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #E5DDD3;
}

.review-avg {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-avg-number {
  font-size: 36px;
  font-weight: 700;
}

.review-count {
  font-size: 14px;
  color: #6B7280;
}

.review-card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.review-empty {
  text-align: center;
  padding: 32px;
  color: #9CA3AF;
}

/* ============================================================
   39. TECHNOLOGY PAGE (tech-* extensions)
   ============================================================ */
.tech-hero {
  background: #F5EDE3;
  padding: 80px 24px;
  text-align: center;
}

.tech-subtitle {
  font-size: 18px;
  color: #6B7280;
  max-width: 600px;
  margin: 0 auto;
}

.tech-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 80px 24px;
}

.tech-feature-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid #E5DDD3;
}

.tech-feature-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.tech-how {
  background: white;
  padding: 80px 24px;
}

.tech-comparison {
  padding: 80px 24px;
}

.tech-cta {
  background: #1A1A1A;
  color: white;
  padding: 80px 24px;
  text-align: center;
}

/* ============================================================
   40. ABOUT PAGE
   ============================================================ */
.about-hero {
  background: #F5EDE3;
  padding: 80px 24px;
  text-align: center;
}

.about-subtitle {
  font-size: 18px;
  color: #6B7280;
}

.about-section {
  padding: 64px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.about-team {
  padding: 64px 24px;
  text-align: center;
}

.about-team-placeholder {
  width: 100%;
  max-width: 600px;
  height: 300px;
  background: #F5F5F5;
  border-radius: 16px;
  margin: 24px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9CA3AF;
}

.about-cta {
  background: #F5EDE3;
  padding: 64px 24px;
  text-align: center;
}

/* ============================================================
   41. SIZE GUIDE
   ============================================================ */
.size-guide {
  max-width: 800px;
  margin: 0 auto;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}

.size-table th {
  background: #F5F5F5;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.size-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #E5DDD3;
  text-align: center;
}

.sg-how-to {
  background: #F5EDE3;
  padding: 24px;
  border-radius: 12px;
  margin-top: 32px;
}

/* ============================================================
   42. CONTACT (additions)
   ============================================================ */
.contact-form {}

.contact-info-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
}

/* ============================================================
   43. FORM HELPERS
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============================================================
   44. QTY SELECTOR (additions)
   ============================================================ */
.qty-input {
  width: 48px;
  height: 44px;
  border: none;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  background: none;
}

/* ============================================================
   45. SEARCH (additions)
   ============================================================ */
.search-overlay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.search-recent {
  margin-top: 16px;
}

.search-recent a {
  display: inline-block;
  padding: 6px 14px;
  background: #F5F5F5;
  border-radius: 999px;
  margin: 4px;
  font-size: 13px;
  color: #6B7280;
  text-decoration: none;
}

.search-recent a:hover {
  background: #E5DDD3;
}

/* ============================================================
   46. PAGE LAYOUT
   ============================================================ */
.page-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-title {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  margin-bottom: 24px;
}

.shop-layout {
  display: flex;
  gap: 32px;
}

.shop-main {
  flex: 1;
}

.filter-sidebar-container {
  width: 250px;
  flex-shrink: 0;
}

/* ============================================================
   47. PRODUCT IMAGE PLACEHOLDER LARGE
   ============================================================ */
.product-image-placeholder-lg {
  font-size: 80px;
}

/* ============================================================
   48. COMPARISON TABLE (additions)
   ============================================================ */
.comparison-table tr:nth-child(even) {
  background: #FAFAF8;
}

/* ============================================================
   49. PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 32px;
}

.page-btn {
  min-width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid #E5DDD3;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s;
}

.page-btn:hover,
.page-btn.active {
  background: #1A1A1A;
  color: white;
  border-color: #1A1A1A;
}

.page-ellipsis {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   50. RESPONSIVE ADDITIONS (<768px)
   ============================================================ */
@media (max-width: 767px) {
  .pd-section {
    grid-template-columns: 1fr;
  }

  .account-layout {
    grid-template-columns: 1fr;
  }

  .tech-features-grid {
    grid-template-columns: 1fr;
  }

  .payment-card-form {
    grid-template-columns: 1fr;
  }

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

@media (min-width: 768px) and (max-width: 1024px) {
  .tech-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
