/* =========================
   SUGAR ORCHID BRAND STYLES
   ========================= */

:root {
  --cream: #f8f2e9;
  --ivory: #fffaf4;
  --blush: #ead4c8;
  --burgundy: #6f1d1b;
  --burgundy-dark: #4d1212;
  --gold: #b88a44;
  --brown: #4a332a;
  --text: #3e2d28;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cormorant Garamond", Georgia, serif;
  background: var(--ivory);
  color: var(--text);
  line-height: 1.5;
  font-size: 1.02rem;
}

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

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

/* =========================
   HEADER / NAVIGATION
   ========================= */

.shipping-bar {
  background: var(--burgundy);
  color: var(--white);
  text-align: center;
  padding: 7px 16px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 8px 3%;
  min-height: 88px;
  background: var(--ivory);
  border-bottom: 1px solid #eadfd4;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-left {
  justify-content: flex-start;
}

.nav-right {
  justify-content: flex-end;
}

.site-header nav a {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-header nav a:hover {
  color: var(--burgundy);
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
}

.brand-logo img {
   width: 55px;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  position: relative;
  color: var(--burgundy);
}

.icon-link svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-link {
  margin-left: 2px;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -7px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--burgundy);
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.55rem;
  line-height: 17px;
  text-align: center;
}

main {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: 560px;
  background: var(--cream);
}

.hero-copy {
  padding: 80px 7vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.eyebrow {
  color: var(--burgundy);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--burgundy);
  font-weight: 400;
  font-size: clamp(3.4rem, 6vw, 5.5rem);
  line-height: 0.96;
  max-width: 650px;
  margin-bottom: 24px;
  letter-spacing: -0.015em;
}

.hero-description {
  max-width: 560px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.28rem;
  line-height: 1.35;
  margin-bottom: 28px;
  letter-spacing: 0;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  padding: 14px 26px;
  border: 1px solid var(--burgundy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.button-primary {
  background: var(--burgundy);
  color: var(--white);
}

.button-primary:hover {
  background: var(--burgundy-dark);
}

.button-secondary {
  background: transparent;
  color: var(--burgundy);
}

.button-secondary:hover {
  background: var(--burgundy);
  color: var(--white);
}

.hero-image-wrap {
  min-height: 560px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

main section:not(.hero):not(.promo-banner) {
  padding: 70px 6%;
}

main section h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--burgundy);
  font-weight: 500;
  text-align: center;
  margin-bottom: 36px;
  letter-spacing: 0;
}

.best-sellers {
  background: var(--ivory);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  text-align: center;
  background: var(--white);
  border: 1px solid #eadfd4;
  overflow: hidden;
}

.product-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--burgundy);
  font-size: 1.4rem;
  font-weight: 500;
  padding: 16px 12px 4px;
  letter-spacing: 0;
}

.product-card p {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 12px 18px;
}

.discovery-section {
  background: var(--cream);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
}

.discovery-copy {
  max-width: 560px;
}

.script-accent {
  font-family: "Allura", cursive;
  color: var(--burgundy);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: 0;
}

.discovery-section h2 {
  text-align: left;
  margin-bottom: 18px;
}

.discovery-section p:not(.script-accent):not(.price) {
  font-size: 1.18rem;
  letter-spacing: 0;
}

.price {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--burgundy);
  font-size: 1.65rem;
  letter-spacing: 0;
}

.discovery-section img {
  border: 1px solid #eadfd4;
}

.why-section {
  background: var(--ivory);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  text-align: center;
}

.why-grid h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--burgundy);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 8px;
  line-height: 1.1;
  letter-spacing: 0;
}

.why-grid p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.98rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.gift-section {
  background: var(--cream);
}

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

.gift-card {
  background: var(--white);
  border: 1px solid #eadfd4;
  overflow: hidden;
}

.gift-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gift-copy {
  padding: 24px;
}

.gift-copy h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--burgundy);
  font-size: 1.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.05;
  letter-spacing: 0;
}

.gift-copy a {
  display: inline-block;
  margin-top: 14px;
  color: var(--burgundy);
  border-bottom: 1px solid var(--burgundy);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.promo-banner {
  background: var(--ivory);
}

.promo-banner img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

footer {
  background: var(--burgundy-dark);
  color: var(--ivory);
  text-align: center;
  padding: 55px 20px;
}

footer p:first-child {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  letter-spacing: 0;
  margin-bottom: 8px;
}

footer p:not(:first-child) {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 4%;
  }

  .brand-logo {
    grid-row: 1;
    min-width: 0;
  }

  .brand-logo img {
    max-width: 130px;
    max-height: 65px;
  }

  .nav-left,
  .nav-right {
    justify-content: center;
    flex-wrap: wrap;
  }

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

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

@media (max-width: 768px) {
  .site-header nav {
    gap: 14px;
  }

  .site-header nav a {
    font-size: 0.92rem;
  }

  .brand-logo img {
    max-width: 115px;
    max-height: 58px;
  }

  .hero,
  .discovery-section {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 56px 7%;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 14vw, 4.2rem);
  }

  .hero-description {
    font-size: 1.18rem;
  }

  .hero-image-wrap {
    min-height: 360px;
  }

  main section:not(.hero):not(.promo-banner) {
    padding: 50px 5%;
  }

  .product-grid,
  .gift-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .discovery-section h2 {
    text-align: center;
  }

  .discovery-copy {
    text-align: center;
    margin: 0 auto;
  }
}
