:root {
  --bg: #fffaf2;
  --card: #fff;
  --cream: #f7f0e4;
  --orange: #f7ab3d;
  --red: #d9483c;
  --flame: #f26b3a;
  --deep-red: #8d2d2d;
  --brown: #432718;
  --gold: #f7d07c;
  --sage: #e9f0d8;
  --shadow: rgba(67, 39, 24, 0.12);
  --muted: #6f5a4f;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, #fffaf2, #fff7ec 20%, #fffaf2 100%);
  color: var(--brown);
}

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

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 242, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(67, 39, 24, 0.06);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  background: linear-gradient(135deg, var(--orange), var(--flame));
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(242, 107, 58, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  color: var(--brown);
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--red);
}

.cart-link {
  padding: 0.65rem 1rem;
  background: rgba(217, 73, 60, 0.08);
  border-radius: 999px;
  border: 1px solid rgba(217, 73, 60, 0.08);
}

#cart-count {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  align-items: center;
  justify-content: center;
  margin-left: 0.35rem;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.7rem;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  min-height: 650px;
  gap: 3rem;
  padding: 3rem 0 1rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--red);
  font-weight: 700;
}

.hero-copy h1,
.section-heading h2,
.product-detail h2,
.review-card strong,
.quote {
  font-family: 'Playfair Display', serif;
}

.hero-copy h1 {
  margin: 1.2rem 0 1.4rem;
  font-size: clamp(3rem, 5vw, 5.1rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  max-width: 560px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.primary-btn,
.secondary-btn,
.quiz-option,
.qty-control button,
.cart-item button {
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.8rem 1.5rem;
  font-weight: 700;
}

.primary-btn {
  background: linear-gradient(135deg, var(--orange), var(--flame));
  color: var(--white);
  box-shadow: 0 18px 35px rgba(242, 107, 58, 0.3);
}

.secondary-btn {
  background: rgba(217, 73, 60, 0.1);
  color: var(--deep-red);
}

.primary-btn:hover,
.secondary-btn:hover,
.quiz-option:hover,
.qty-control button:hover,
.cart-item button:hover {
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bottle {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 320px;
  border-radius: 30px;
  background: linear-gradient(180deg, #fef7e7, #f7d9a1 50%, #d85449 100%);
  box-shadow: 0 30px 50px rgba(116, 52, 38, 0.18);
  border: 1px solid rgba(76, 36, 23, 0.08);
}

.bottle-one {
  transform: rotate(-8deg) translateX(20px);
  animation: float 5s ease-in-out infinite;
}

.bottle-two {
  transform: rotate(9deg) translateX(-20px) translateY(30px);
  background: linear-gradient(180deg, #fff9ee, #f5c26a 50%, #ca4f3f 100%);
  animation: floatAlt 6.4s ease-in-out infinite;
}

.bottle-cap {
  position: absolute;
  top: -34px;
  width: 70px;
  height: 52px;
  border-radius: 12px 12px 4px 4px;
  background: linear-gradient(180deg, #f6d39d, #d6943c);
  border: 1px solid rgba(77, 41, 29, 0.1);
}

.bottle-body {
  position: relative;
  z-index: 1;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  color: rgba(67, 39, 24, 0.9);
}

.spark {
  position: absolute;
  font-size: 2rem;
  filter: drop-shadow(0 8px 12px rgba(67, 39, 24, 0.1));
}

.spark-one { top: 10%; left: 16%; }
.spark-two { right: 14%; top: 18%; }
.spark-three { bottom: 14%; left: 22%; }

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  margin: 0.5rem 0 0;
  line-height: 1.05;
}

.featured,
.scent-finder,
.product-detail,
.why-us,
.reviews,
.cart-section {
  padding: 3.6rem 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.product-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(67, 39, 24, 0.08);
  border-radius: 26px;
  box-shadow: 0 20px 45px rgba(87, 47, 34, 0.06);
  padding: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 48px rgba(87, 47, 34, 0.1);
}

.product-thumb {
  border-radius: 18px;
  aspect-ratio: 1 / 1.1;
  background: linear-gradient(135deg, rgba(247, 171, 61, 0.15), rgba(217, 73, 60, 0.14));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-thumb img {
  width: 72%;
  object-fit: contain;
}

.product-card h3 {
  margin: 1rem 0 0.4rem;
  font-size: 1.3rem;
}

.product-card .mood {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-meta,
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.product-meta {
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.product-footer {
  margin-top: 1rem;
}

.price {
  font-weight: 800;
  font-size: 1.2rem;
}

.product-card button,
.cart-item button {
  padding: 0.7rem 0.95rem;
  background: rgba(242, 107, 58, 0.12);
  color: var(--brown);
  font-weight: 700;
}

.scent-finder {
  background: linear-gradient(180deg, rgba(247, 171, 61, 0.08), rgba(255, 255, 255, 0.2));
  border-top: 1px solid rgba(67, 39, 24, 0.05);
  border-bottom: 1px solid rgba(67, 39, 24, 0.05);
}

.quiz-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(67, 39, 24, 0.08);
  border-radius: 28px;
  box-shadow: 0 24px 48px rgba(71, 36, 19, 0.06);
  padding: 2rem;
}

.quiz-question + .quiz-question {
  margin-top: 1.8rem;
}

.quiz-question p {
  margin: 0 0 0.9rem;
  font-weight: 700;
  font-size: 1.04rem;
}

.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.quiz-option {
  padding: 0.8rem 1rem;
  background: var(--cream);
  color: var(--brown);
  border: 1px solid rgba(67, 39, 24, 0.06);
}

.quiz-option.active {
  background: linear-gradient(135deg, var(--orange), var(--flame));
  color: var(--white);
  box-shadow: 0 14px 28px rgba(242, 107, 58, 0.18);
}

.quiz-result {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(67, 39, 24, 0.08);
}

.result-tag {
  margin: 0 0 0.25rem;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--red);
  font-weight: 800;
}

.quiz-result h3 {
  margin: 0 0 0.4rem;
  font-size: 2.1rem;
  font-family: 'Playfair Display', serif;
}

.product-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.detail-bottle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  background: radial-gradient(circle at center, rgba(247, 171, 61, 0.2), rgba(247, 171, 61, 0) 60%);
}

.detail-bottle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 350px;
  border-radius: 34px;
  background: linear-gradient(180deg, #fff5dd, #f2be70 50%, #d15443 100%);
  box-shadow: 0 28px 60px rgba(87, 47, 34, 0.12);
}

.detail-bottle .bottle-body {
  font-size: 1.5rem;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.7rem 0 0.8rem;
}

.detail-price {
  margin: 0 0 1rem;
  font-size: 2rem;
  font-weight: 800;
  color: var(--deep-red);
}

.detail-description {
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 1.3rem;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.notes-grid div {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(67, 39, 24, 0.06);
  border-radius: 18px;
  padding: 1rem;
}

.notes-grid span {
  display: block;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.notes-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.purchase-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(67, 39, 24, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.qty-control button {
  width: 42px;
  height: 42px;
  background: transparent;
  color: var(--brown);
  font-size: 1.4rem;
}

#qtyValue {
  min-width: 38px;
  text-align: center;
  font-weight: 700;
}

.why-us {
  background: rgba(247, 171, 61, 0.06);
}

.centered {
  text-align: center;
}

blockquote {
  margin: 1rem auto 2rem;
  max-width: 860px;
  text-align: center;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-family: 'Playfair Display', serif;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 20px;
  border: 1px solid rgba(67, 39, 24, 0.07);
  text-align: center;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.feature-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.review-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(67, 39, 24, 0.07);
  border-radius: 20px;
  padding: 1.6rem;
  box-shadow: 0 18px 32px rgba(69, 42, 28, 0.04);
}

.review-card p {
  margin: 0 0 1rem;
  line-height: 1.7;
  color: var(--muted);
}

.review-form,
.checkout-panel {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(67, 39, 24, 0.08);
  border-radius: 22px;
  box-shadow: 0 18px 30px rgba(77, 44, 31, 0.04);
  padding: 1.5rem;
}

.review-form {
  display: grid;
  gap: 1rem;
}

.review-form h3,
.checkout-panel h3 {
  margin: 0 0 1rem;
  font-size: 1.4rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.review-form label,
.checkout-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--brown);
}

.review-form input,
.review-form select,
.review-form textarea,
.checkout-form input {
  width: 100%;
  border: 1px solid rgba(67, 39, 24, 0.12);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  background: #fff;
  color: var(--brown);
}

.review-form textarea,
.checkout-form textarea {
  resize: vertical;
  min-height: 120px;
}

.checkout {
  padding: 3.6rem 0;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.checkout-form {
  display: grid;
  gap: 1rem;
}

.summary-panel {
  display: grid;
  align-content: start;
}

.checkout-summary {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.checkout-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.checkout-line strong,
.checkout-total {
  color: var(--brown);
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(67, 39, 24, 0.08);
  font-weight: 800;
  font-size: 1.2rem;
}

.checkout-message {
  min-height: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--red);
  font-weight: 600;
}

.full-width {
  width: 100%;
}

.cart-box {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(67, 39, 24, 0.08);
  border-radius: 22px;
  padding: 1.2rem;
  box-shadow: 0 18px 30px rgba(77, 44, 31, 0.04);
}

.empty-cart {
  padding: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0.5rem;
  border-bottom: 1px solid rgba(67, 39, 24, 0.08);
}

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

.cart-item h4 {
  margin: 0 0 0.3rem;
}

.item-qty {
  color: var(--muted);
  font-size: 0.9rem;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(67, 39, 24, 0.08);
}

.total {
  font-size: 1.3rem;
  font-weight: 800;
}

.site-footer {
  background: #2e1a12;
  color: rgba(255, 255, 255, 0.85);
  padding-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  margin-bottom: 1rem;
}

.site-footer h4 {
  margin: 0 0 0.9rem;
  font-size: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.7);
}

.copyright {
  margin-top: 1.6rem;
  padding: 1rem 0 2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
}

@keyframes float {
  0%, 100% { transform: rotate(-8deg) translateY(0px); }
  50% { transform: rotate(-8deg) translateY(-16px); }
}

@keyframes floatAlt {
  0%, 100% { transform: rotate(9deg) translateY(30px); }
  50% { transform: rotate(9deg) translateY(12px); }
}

@media (max-width: 980px) {
  .hero,
  .product-detail,
  .footer-grid,
  .feature-grid,
  .review-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-row {
    justify-content: center;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    background: rgba(255, 250, 242, 0.98);
    border: 1px solid rgba(67, 39, 24, 0.08);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 20px 40px rgba(67, 39, 24, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .product-grid,
  .feature-grid,
  .review-grid,
  .notes-grid,
  .footer-grid,
  .product-detail,
  .checkout-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section-heading h2 {
    font-size: 2.2rem;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .cart-item {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}
