:root {
  --color-bg: #f7f1e6;
  --color-surface: #fffaf0;
  --color-primary: #0f3d2a;
  --color-primary-light: #16563c;
  --color-accent: #9c1c2b;
  --color-accent-hover: #7d1522;
  --color-gold: #e9c46a;
  --color-gold-hover: #d4ad49;
  --color-text: #1f2a22;
  --color-border: #c9bda5;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition-speed: 0.25s;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--color-primary);
}

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

/* Layout */
.page-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px clamp(20px, 5vw, 64px);
  background-color: var(--color-primary);
  color: var(--color-bg);
  position: relative;
  z-index: 50;
}

.brand-logo {
  font-family: var(--font-serif);
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn-header {
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  border: 1px solid var(--color-gold);
  padding: 9px 18px;
  border-radius: 999px;
  transition: all var(--transition-speed) ease;
  white-space: nowrap;
}

.btn-header:hover {
  background-color: var(--color-gold);
  color: var(--color-primary);
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 80px) clamp(20px, 5vw, 64px);
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-tag {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(36px, 5.5vw, 68px);
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.hero-desc {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 34em;
  color: #2b3a2e;
}

.hero-price-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background-color: var(--color-surface);
  border: 1.5px solid rgba(233, 196, 106, 0.7);
  padding: 4px 22px 4px 4px;
  border-radius: 999px;
  margin-bottom: 26px;
  box-shadow: 0 4px 16px rgba(15, 61, 42, 0.07);
  width: fit-content;
  height: 50px;
  box-sizing: border-box;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.hero-price-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 61, 42, 0.12);
  border-color: var(--color-gold);
}

.price-pill {
  background-color: var(--color-primary);
  color: var(--color-gold);
  border: 1px solid rgba(233, 196, 106, 0.45);
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
  box-sizing: border-box;
}

.price-desc {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.015em;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  display: inline-block;
  background-color: var(--color-accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 16px;
  transition: background-color var(--transition-speed) ease, transform 0.15s ease, box-shadow var(--transition-speed) ease;
  box-shadow: 0 4px 14px rgba(156, 28, 43, 0.25);
  text-align: center;
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(156, 28, 43, 0.35);
}

.btn-primary:active {
  transform: translateY(1px);
}

/* Carousel */
.carousel-container {
  width: 100%;
  max-width: 460px;
  justify-self: center;
}

.carousel-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background-color: var(--color-primary);
  box-shadow: 0 20px 50px rgba(15, 61, 42, 0.28);
  border: 6px solid var(--color-surface);
  touch-action: pan-y pinch-zoom;
  user-select: none;
}

.carousel-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background-color: rgba(255, 250, 240, 0.92);
  color: var(--color-primary);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-speed) ease, transform 0.15s ease;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.carousel-nav:hover {
  background-color: #ffffff;
  transform: translateY(-50%) scale(1.06);
}

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

.carousel-nav.prev {
  left: 10px;
}

.carousel-nav.next {
  right: 10px;
}

.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  z-index: 5;
}

.carousel-dot {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dot-pill {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: rgba(255, 250, 240, 0.7);
  transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s ease;
  display: block;
}

.carousel-dot.active .dot-pill {
  width: 26px;
  background-color: var(--color-gold);
}

/* Features Section */
.features-section {
  background-color: var(--color-primary);
  color: var(--color-bg);
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px);
  width: 100%;
}

.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(24px, 4vw, 36px);
}

.feature-item {
  display: flex;
  flex-direction: column;
}

.feature-title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 24px);
  color: var(--color-gold);
  margin-bottom: 8px;
  font-weight: 500;
}

.feature-desc {
  font-size: 15.5px;
  line-height: 1.55;
  color: rgba(247, 241, 230, 0.9);
}

/* Fragrances Section */
.fragrances-section {
  padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 64px);
  background-color: rgba(255, 250, 240, 0.5);
  border-bottom: 1px solid rgba(201, 189, 165, 0.25);
}

.fragrances-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto clamp(32px, 5vw, 48px);
}

.section-tag {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.5vw, 44px);
  color: var(--color-primary);
  margin-bottom: 14px;
  font-weight: 700;
}

.section-subtitle {
  font-size: clamp(15.5px, 1.8vw, 17px);
  line-height: 1.6;
  color: #2b3a2e;
}

.fragrances-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(20px, 3vw, 28px);
  align-items: stretch;
}

.fragrance-card {
  background-color: var(--color-surface);
  border: 1.5px solid rgba(201, 189, 165, 0.45);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, border-color var(--transition-speed) ease;
  box-shadow: 0 6px 20px rgba(15, 61, 42, 0.05);
  cursor: pointer;
  position: relative;
}

.fragrance-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold);
  box-shadow: 0 14px 32px rgba(15, 61, 42, 0.12);
}

.fragrance-icon-wrap {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 14px;
}

.fragrance-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  color: #8c6814;
  background-color: rgba(233, 196, 106, 0.22);
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-block;
  width: fit-content;
  margin-bottom: 12px;
}

.fragrance-title {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--color-primary);
  margin-bottom: 12px;
  font-weight: 700;
}

/* Olfactory notes pyramid structure with spacious layout */
.olfactory-list {
  list-style: none;
  padding: 16px 0 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid rgba(201, 189, 165, 0.35);
  flex: 1;
}

.olfactory-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.olfactory-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8c6814;
}

.olfactory-value {
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--color-primary);
  font-weight: 600;
}

/* Pre-order Section */
.preorder-section {
  max-width: 850px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) clamp(20px, 5vw, 40px) clamp(28px, 4vw, 44px);
  width: 100%;
}

.preorder-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 5vw, 46px);
  color: var(--color-primary);
  margin-bottom: 10px;
  font-weight: 700;
}

.preorder-subtitle {
  font-size: clamp(15.5px, 2vw, 17px);
  line-height: 1.55;
  margin-bottom: 20px;
  color: #2b3a2e;
}

/* Payment Notices Grid & Cards */
.payment-notices-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.payment-notices-grid .payment-notice-card {
  margin-bottom: 0;
  width: 100%;
}

.payment-notice-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--color-surface);
  border: 1.5px solid var(--color-gold);
  border-left: 5px solid var(--color-gold);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 28px;
  box-shadow: 0 4px 18px rgba(15, 61, 42, 0.06);
}

.notice-icon-wrapper {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(233, 196, 106, 0.22);
  color: #8c6814;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.notice-body {
  flex: 1;
}

.notice-heading {
  display: block;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--color-primary);
  margin-bottom: 6px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.notice-text {
  font-size: 15px;
  line-height: 1.55;
  color: #2b3a2e;
  margin: 0;
}

.notice-text strong {
  color: var(--color-primary);
}

.delivery-cities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.city-tag {
  display: inline-flex;
  align-items: center;
  background-color: rgba(15, 61, 42, 0.06);
  color: var(--color-primary);
  border: 1px solid rgba(15, 61, 42, 0.12);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  line-height: 1.35;
  transition: background-color var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.city-tag:hover {
  background-color: rgba(233, 196, 106, 0.22);
  border-color: rgba(233, 196, 106, 0.6);
}

/* Pre-order Form */
.preorder-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 18px;
  background-color: var(--color-surface);
  border-radius: 20px;
  padding: clamp(20px, 4vw, 36px);
  box-shadow: 0 10px 30px rgba(15, 61, 42, 0.1);
  border: 1px solid rgba(201, 189, 165, 0.3);
}

.form-field {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}

.form-field.full-width {
  grid-column: 1 / -1;
}

.delivery-group {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 18px;
  animation: fadeIn 0.3s ease;
}

.delivery-group[hidden] {
  display: none !important;
}

.field-label {
  letter-spacing: 0.01em;
}

.form-input {
  font-family: inherit;
  font-weight: 400;
  font-size: 16px;
  padding: 13px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  background-color: #ffffff;
  color: var(--color-text);
  width: 100%;
  transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.form-input::placeholder {
  color: #9f9888;
}

.form-input:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 61, 42, 0.12);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="8"%3E%3Cpath d="M1 1l5 5 5-5" fill="none" stroke="%230f3d2a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-color: #ffffff;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 105px;
}

.form-status-error {
  grid-column: 1 / -1;
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 500;
  min-height: 1.2em;
}

.btn-submit {
  grid-column: 1 / -1;
  background-color: var(--color-accent);
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 17px;
  padding: 16px;
  cursor: pointer;
  transition: background-color var(--transition-speed) ease, opacity var(--transition-speed) ease, transform 0.15s ease;
  box-shadow: 0 4px 12px rgba(156, 28, 43, 0.2);
}

.btn-submit:hover:not(:disabled) {
  background-color: var(--color-accent-hover);
}

.btn-submit:active:not(:disabled) {
  transform: scale(0.99);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Success Card */
.preorder-success-card {
  background-color: var(--color-surface);
  border: 2px solid var(--color-primary);
  border-radius: 16px;
  padding: clamp(28px, 5vw, 40px);
  text-align: center;
  box-shadow: 0 10px 30px rgba(15, 61, 42, 0.08);
  animation: fadeIn 0.4s ease;
  margin-top: clamp(24px, 4vw, 36px);
}

.preorder-success-card[hidden] {
  display: none !important;
}

.success-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4vw, 30px);
  color: var(--color-primary);
  margin-bottom: 10px;
}

.success-desc {
  font-size: 16px;
  line-height: 1.55;
  color: #2b3a2e;
  margin-bottom: 24px;
}

.btn-reset-order {
  display: inline-block;
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  padding: 10px 24px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.btn-reset-order:hover {
  background-color: var(--color-primary);
  color: var(--color-bg);
}

/* Honeypot field (hidden from genuine users) */
.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Contact Section & Discreet Card */
.contact-section {
  max-width: 850px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px) clamp(44px, 6vw, 68px);
  width: 100%;
}

.contact-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: clamp(20px, 3.5vw, 26px) clamp(20px, 4.5vw, 32px);
  box-shadow: 0 4px 16px rgba(15, 61, 42, 0.05);
  transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.contact-card:hover {
  border-color: rgba(233, 196, 106, 0.65);
  box-shadow: 0 6px 20px rgba(15, 61, 42, 0.08);
}

.contact-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(219, 207, 196, 0.6);
}

.contact-header-icon {
  color: #8c6814;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.contact-title {
  font-family: var(--font-serif);
  font-size: clamp(17px, 2.2vw, 19px);
  color: var(--color-primary);
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.01em;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background-color: rgba(15, 61, 42, 0.06);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

.contact-item:hover .contact-icon-box {
  background-color: var(--color-primary);
  color: var(--color-gold);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.contact-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--color-text-muted);
}

.contact-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-speed) ease;
  word-break: break-word;
}

.contact-link:hover {
  color: var(--color-accent);
}

.contact-address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-text);
}

.contact-address strong {
  display: block;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 1px;
}

.contact-address-line {
  color: var(--color-text-muted);
}

/* Footer */
.site-footer {
  background-color: var(--color-primary);
  color: var(--color-bg);
  text-align: center;
  padding: 28px 20px;
  font-size: 14px;
  letter-spacing: 0.03em;
}

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

/* Responsive adjustments */
@media (max-width: 600px) {
  .site-header {
    padding: 14px 18px;
  }

  .btn-header {
    padding: 7px 14px;
    font-size: 14px;
  }

  .hero-section {
    padding-top: 28px;
    padding-bottom: 40px;
    gap: 36px;
  }

  .hero-desc {
    margin-bottom: 18px;
  }

  .hero-price-badge {
    width: fit-content;
    max-width: 100%;
    padding: 3px 16px 3px 3px;
    gap: 10px;
    margin-bottom: 22px;
    height: 40px;
  }

  .price-pill {
    font-size: 16.5px;
    height: 34px;
    padding: 0 13px;
  }

  .price-desc {
    font-size: 13.5px;
  }

  .btn-primary {
    width: 100%;
    padding: 15px 20px;
  }

  .carousel-nav {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .preorder-form {
    padding: 20px 16px;
    gap: 14px;
  }

  .payment-notice-card {
    padding: 16px 14px;
    gap: 12px;
  }

  .notice-heading {
    font-size: 16.5px;
  }

  .notice-text {
    font-size: 14.5px;
  }

  .contact-card {
    padding: 18px 16px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Accessible focus visible */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* Falling snow canvas */
.snow-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99;
}

@media (prefers-reduced-motion: reduce) {
  .snow-canvas {
    display: none;
  }
}

