@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

/* Color Variables */
:root {
  --bg-primary: #F5F3EC;       /* Organic Warm Sand */
  --bg-secondary: #FFFFFF;     /* Pure Alabaster Card BG */
  --bg-tertiary: #272C29;      /* Dark Forest/Charcoal */
  
  --accent-olive: #556B2F;     /* Sage Olive Green */
  --accent-olive-hover: #3E4F22;
  --accent-gold: #C7A75C;      /* Antique Brass Gold */
  
  --text-main: #272C29;
  --text-muted: #6B726F;
  --text-light: #F5F3EC;
  
  --border-color: #E6E2D8;
  --border-focus: #556B2F;
  
  --border-radius-sm: 4px;
  --border-radius-md: 10px;
  --border-radius-lg: 20px;
  
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-lg: 0 15px 35px rgba(39, 44, 41, 0.04);
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}

p {
  color: var(--text-muted);
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-olive { color: var(--accent-olive); }
.text-gold { color: var(--accent-gold); }
.text-muted { color: var(--text-muted); }

/* Header Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(245, 243, 236, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.logo span {
  color: var(--accent-olive);
}

.lang-switch-btn {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
  margin-right: 15px;
}

.lang-switch-btn:hover {
  color: var(--text-main);
}

.nav-cta-btn {
  background-color: var(--bg-tertiary);
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 22px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-cta-btn:hover {
  background-color: var(--accent-olive);
  transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
  padding: 80px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--accent-olive);
  color: var(--accent-olive);
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* Lookbook Split Section */
.lookbook-section {
  padding: 80px 0;
}

.lookbook-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.lookbook-visual {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.lookbook-viewport {
  width: 100%;
  aspect-ratio: 2/3;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  position: relative;
}

.lookbook-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.lookbook-viewport:hover img {
  transform: scale(1.03);
}

.lookbook-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 15px;
}

.lookbook-thumb-item {
  aspect-ratio: 2/3;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: var(--transition-smooth);
}

.lookbook-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lookbook-thumb-item:hover {
  opacity: 0.9;
}

.lookbook-thumb-item.active {
  opacity: 1;
  border-color: var(--accent-olive);
}

.lookbook-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.lookbook-details h2 {
  font-size: 2.8rem;
  line-height: 1.15;
}

.price-tag {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.price-sale {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--accent-olive);
  font-family: 'Cormorant Garamond', serif;
}

.price-regular {
  font-size: 1.3rem;
  text-decoration: line-through;
  color: var(--text-muted);
}

.price-discount {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.bullet-icon {
  color: var(--accent-olive);
  font-size: 0.8rem;
}

/* Feature Walkthrough Card */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.feature-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  border-color: var(--accent-olive);
  transform: translateY(-2px);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--accent-olive);
}

/* Sizing Options styling */
.sizing-box {
  background: rgba(85, 107, 47, 0.02);
  border: 1px dashed var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.size-select-row {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.size-radio-item {
  position: relative;
  flex-grow: 1;
}

.size-radio-item input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.size-radio-label {
  display: block;
  text-align: center;
  padding: 12px;
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.size-radio-item input:checked + .size-radio-label {
  border-color: var(--accent-olive);
  background-color: rgba(85, 107, 47, 0.05);
  color: var(--accent-olive);
}

.custom-measurements-panel {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border-color);
  display: none;
}

.measurements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* Brooch Accessory Checkbox */
.brooch-box {
  background: rgba(199, 167, 92, 0.05);
  border: 1px dashed var(--accent-gold);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  margin-bottom: 1.5rem;
}

.brooch-checkbox-row {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
}

.brooch-checkbox-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-olive);
}

/* Form Styles */
.checkout-section {
  padding: 80px 0 120px;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: start;
}

.checkout-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.checkout-card h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.checkout-card .subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-main);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form-input, .form-textarea {
  width: 100%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 14px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  background-color: white;
}

/* Quantity Selection */
.qty-selector {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.qty-btn {
  background: transparent;
  border: none;
  color: var(--text-main);
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.qty-btn:hover {
  background-color: var(--border-color);
}

.qty-input {
  width: 50px;
  height: 44px;
  border: none;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-main);
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
}

/* Shipping options */
.shipping-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shipping-option {
  position: relative;
}

.shipping-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.shipping-option-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.shipping-option input:checked + .shipping-option-label {
  border-color: var(--accent-olive);
  background-color: rgba(85, 107, 47, 0.02);
}

.shipping-option-label .radio-bullet {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.shipping-option-label .radio-bullet::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: inline-block;
  transition: var(--transition-smooth);
}

.shipping-option input:checked + .shipping-option-label .radio-bullet::before {
  border-color: var(--accent-olive);
  background-color: var(--accent-olive);
  box-shadow: inset 0 0 0 3px white;
}

.shipping-price {
  font-weight: 700;
  color: var(--accent-olive);
}

/* Calculations Invoice table */
.invoice-summary {
  margin: 2.5rem 0;
  padding: 1.8rem;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
}

.invoice-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.invoice-row:last-child {
  margin-bottom: 0;
}

.invoice-row.total-row {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed var(--border-color);
  font-size: 1.3rem;
  font-weight: 700;
  font-family: 'Cormorant Garamond', serif;
}

.invoice-row.total-row .val {
  color: var(--accent-olive);
  font-size: 1.4rem;
}

/* Form Fallback validations */
.user-invalid-fallback {
  border-color: var(--accent-olive) !important;
  background-color: rgba(85, 107, 47, 0.01) !important;
}

.user-valid-fallback {
  border-color: var(--border-color) !important;
}

.validation-error-msg {
  color: var(--accent-olive);
  font-size: 0.8rem;
  margin-top: 5px;
  font-weight: 500;
  display: none;
}

/* Sidebar specs card */
.checkout-sidebar {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.spec-info-card {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.spec-info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  background-color: var(--bg-tertiary);
  color: var(--text-light);
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background-color: var(--accent-olive);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background-color: var(--bg-primary);
  border-color: var(--text-main);
}

/* FAQ Accordion list */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  padding: 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  color: var(--text-main);
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--accent-olive);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  background-color: rgba(0,0,0,0.003);
}

.faq-content p {
  padding: 0 20px 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active {
  border-color: var(--accent-olive);
}

.faq-item.active .faq-content {
  max-height: 200px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Verified Customer reviews */
.reviews-section {
  padding: 80px 0;
  background-color: white;
}

.review-card {
  padding: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.review-card:last-child {
  border-bottom: none;
}

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

.review-author {
  font-weight: 600;
}

.review-stars {
  color: var(--accent-gold);
  font-size: 0.9rem;
}

.review-text {
  font-style: italic;
}

/* Footer Section */
footer {
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-tertiary);
  color: var(--text-light);
  text-align: center;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer-logo span {
  color: var(--accent-olive);
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 1.5rem 0;
}

.footer-socials a {
  color: var(--text-muted);
  font-size: 1.25rem;
  transition: var(--transition-smooth);
}

.footer-socials a:hover {
  color: var(--accent-olive);
}

/* Responsive Queries */
@media (max-width: 991px) {
  .lookbook-grid, .checkout-grid, .features-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .site-header .container {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .checkout-card {
    padding: 1.5rem;
  }

  .hero-btns {
    flex-direction: column;
    gap: 10px;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
  }

  .measurements-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
