/* Love at First Spice — brand styles
   Palette from LAFS logo: charcoal #2D2D2D, orange #E37328, gold #C8AA5A, off-white #F0F0F0 */
:root {
  --ink: #2d2d2d;
  --ink-soft: #55504a;
  --cream: #f7f5f1;
  --cream-deep: #efece5;
  --orange: #e37328;
  --orange-dark: #c25e1a;
  --gold: #c8aa5a;
  --line: #e0dbd1;
  --white: #fffefb;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.05rem;
}
h1, h2, h3 {
  font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 800;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); }
a:hover { color: var(--orange); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }
.wrap.narrow { max-width: 720px; }
.center { text-align: center; }
.center-block { text-align: center; }
.small { font-size: 0.9rem; color: var(--ink-soft); }
.lead { font-size: 1.18rem; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; position: relative;
}
.brand img { height: 56px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1.35rem; }
.site-nav a {
  text-decoration: none; color: var(--ink); font-weight: 700;
  font-size: 0.92rem; padding: 0.25rem 0;
  text-transform: uppercase; letter-spacing: 0.13em;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--orange); }
.site-nav a.active { color: var(--orange); border-bottom-color: var(--orange); }
.nav-social { display: flex; gap: 0.5rem; margin-left: 0.5rem; }
.soc {
  display: inline-flex; border-bottom: none !important; transition: opacity 0.15s;
}
.soc img { width: 30px; height: 30px; }
.soc:hover { opacity: 0.75; }
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle-label span {
  display: block; width: 24px; height: 3px; background: var(--ink);
  margin: 5px 0; border-radius: 2px;
}

/* Hero */
.hero {
  background: var(--cream);
  padding: 3.5rem 0 3rem;
  text-align: center;
}
.hero-logo {
  width: min(420px, 80vw); margin: 0 auto 2rem;
}
.hero h1 {
  font-size: clamp(1.6rem, 4.2vw, 2.6rem);
  line-height: 1.3; margin-bottom: 1.75rem;
}
.mission { padding: 3rem 0 3.5rem; background: var(--white); border-top: 1px solid var(--line); }
.mission .lead { margin-bottom: 1.4rem; }
.mission .center { margin-top: 2rem; }

/* Buttons */
.btn {
  display: inline-block; background: var(--orange); color: var(--white);
  text-decoration: none; font-weight: 800; padding: 0.85rem 2rem;
  border-radius: 4px; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  font-family: "Outfit", sans-serif;
  transition: background 0.15s;
}
.btn:hover { background: var(--orange-dark); color: var(--white); }
.btn-outline {
  background: transparent; color: var(--orange-dark);
  border: 2px solid var(--orange);
}
.btn-outline:hover { background: var(--orange); color: var(--white); }

/* Page basics */
main { padding-bottom: 3.5rem; }
.page-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  text-align: center; margin: 2.5rem 0 1.75rem;
  position: relative;
}
.page-title::after {
  content: ""; display: block; width: 70px; height: 3px;
  background: var(--gold); margin: 0.7rem auto 0;
}
.breadcrumb { margin: 1.5rem 0 0.5rem; }
.breadcrumb a { text-decoration: none; font-weight: 700; }

/* Blends grid — 4 columns, preserving Tien's arrangement */
.blend-cat { margin-bottom: 2.75rem; }
.blend-cat h2 {
  text-transform: none; letter-spacing: 0.05em;
  font-size: 1.3rem; margin-bottom: 1.2rem;
  border-bottom: 3px solid var(--gold); display: inline-block;
  padding-bottom: 0.3rem;
}
.blend-grid {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(4, 1fr);
}
.blend-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 8px; padding: 1rem; text-align: center;
  text-decoration: none; color: var(--ink);
  transition: transform 0.15s, box-shadow 0.15s;
}
.blend-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(45,45,45,0.14);
  color: var(--orange-dark);
}
.blend-card img {
  aspect-ratio: 5 / 8; object-fit: contain; margin: 0 auto 0.75rem;
  background: var(--white); width: 100%;
}
.blend-name { font-weight: 800; font-size: 0.98rem; }

/* Product page */
.product {
  display: grid; grid-template-columns: minmax(280px, 440px) 1fr;
  gap: 2.5rem; align-items: start; margin-top: 1rem;
}
.product-img #main-img {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 8px; padding: 1.25rem; width: 100%;
  object-fit: contain; max-height: 560px;
}
.thumbs {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem; margin-top: 0.6rem;
}
.thumb {
  border: 2px solid var(--line); border-radius: 6px; background: var(--white);
  padding: 0.2rem; cursor: pointer;
}
.thumb img { aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.thumb:hover { border-color: var(--gold); }
.thumb.sel { border-color: var(--orange); }
.product-info h1 { font-size: 1.7rem; margin-bottom: 0.7rem; }
.tagline { font-size: 1.15rem; color: var(--ink-soft); font-style: italic; margin-bottom: 1.1rem; }
.allergen {
  display: inline-block; background: #f9e8db; color: var(--orange-dark);
  font-weight: 700; font-size: 0.9rem; border-radius: 4px;
  padding: 0.25rem 0.7rem; margin-bottom: 0.9rem;
}
.product-info p { margin-bottom: 0.9rem; }
.pro-tip {
  background: var(--cream-deep); border-left: 4px solid var(--gold);
  padding: 0.8rem 1rem; border-radius: 0 6px 6px 0;
}
.product-info h2 { font-size: 1.05rem; margin: 1.2rem 0 0.4rem; }
.ingredients { color: var(--ink-soft); }
.product-info .btn { margin-top: 0.75rem; }
.prevnext {
  display: flex; justify-content: space-between; gap: 1rem;
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.prevnext a { text-decoration: none; font-weight: 700; }

/* Pricing */
.pricing {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin: 1.75rem 0;
}
.price-card {
  background: var(--white); border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 8px; padding: 1.5rem;
}
.price-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; color: var(--orange-dark); }
.price-note { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0.5rem; }
.price-card table { width: 100%; border-collapse: collapse; }
.price-card td { padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.price-card tr:last-child td { border-bottom: none; }
.price-card td:last-child { text-align: right; font-weight: 800; white-space: nowrap; }
.price-card td span { font-weight: 400; color: var(--ink-soft); font-size: 0.88rem; display: block; }

/* About */
.about { padding-top: 2rem; }
.about-photo {
  width: 240px; height: 240px; object-fit: cover; border-radius: 50%;
  margin: 0 auto 1.75rem; border: 5px solid var(--white);
  box-shadow: 0 8px 30px rgba(45,45,45,0.18);
}
.about h1 { text-align: center; font-size: 1.7rem; margin-bottom: 1.25rem; }
.about p { margin-bottom: 1.1rem; }
.about em { font-size: 1.15rem; }

/* FAQ */
.faq-item {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 8px; margin-bottom: 0.9rem; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; font-weight: 800; font-size: 1rem;
  padding: 1rem 2.9rem 1rem 1.25rem; list-style: none; position: relative;
  font-family: "Outfit", sans-serif; text-transform: uppercase;
  letter-spacing: 0.02em; font-size: 0.98rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 1.25rem; top: 50%;
  transform: translateY(-50%); color: var(--orange);
  font-size: 1.4rem; font-weight: 400;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item[open] summary { color: var(--orange-dark); }
.faq-item p { padding: 0 1.25rem 1.1rem; color: var(--ink-soft); }

/* Contact */
.contact-cards {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 2rem 0;
}
.contact-card {
  background: var(--white); border: 1px solid var(--line);
  border-top: 4px solid var(--gold); border-radius: 8px; padding: 1.75rem;
}
.contact-card h2 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--orange-dark); }
.contact-card a { font-weight: 800; text-decoration: none; font-size: 1.1rem; }

/* Newsletter + footer */
.newsletter {
  background: var(--ink); color: var(--cream);
  padding: 3rem 0; text-align: center; margin-top: 3rem;
}
.newsletter h2 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--white); }
.newsletter p { margin-bottom: 0.9rem; max-width: 640px; margin-left: auto; margin-right: auto; }
.newsletter a { color: var(--gold); }
.newsletter a:hover { color: var(--orange); }
.mailchimp-slot { margin: 1.4rem auto; max-width: 480px; }
.mc-form { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; }
.mc-form input[type="email"] {
  padding: 0.75rem 1rem; border: 1px solid var(--gold); border-radius: 4px;
  font-size: 1rem; flex: 1 1 240px; font-family: inherit;
  background: var(--white); color: var(--ink);
}
.mc-form input[type="submit"] {
  background: var(--orange); color: var(--white); border: none;
  border-radius: 4px; padding: 0.75rem 1.6rem; font-weight: 800;
  font-size: 0.92rem; cursor: pointer;
  font-family: "Outfit", sans-serif; text-transform: uppercase; letter-spacing: 0.08em;
}
.mc-form input[type="submit"]:hover { background: var(--orange-dark); }
.site-footer {
  background: #222120; color: var(--cream);
  padding: 1.75rem 0; text-align: center; font-size: 0.92rem;
}
.footer-social { margin-bottom: 0.5rem; }
.footer-social a { color: var(--cream); margin: 0 0.6rem; font-weight: 700; }
.footer-social a:hover { color: var(--gold); }

/* Responsive */
@media (max-width: 960px) {
  .blend-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
  .nav-toggle-label { display: block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 1rem 1.25rem 1.25rem; gap: 0.9rem;
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 12px 24px rgba(45,45,45,0.14);
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .product { grid-template-columns: 1fr; }
  .product-img { max-width: 420px; margin: 0 auto; }
  .prevnext { flex-direction: column; }
}
@media (max-width: 640px) {
  .blend-grid { grid-template-columns: repeat(2, 1fr); }
  .brand img { height: 46px; }
}


/* Serif accents — Caudex */
.product-info h1, .about h1 {
  font-family: "Caudex", Georgia, serif;
  text-transform: none; letter-spacing: 0.01em; font-weight: 700;
  font-size: 2.1rem;
}
.tagline { font-family: "Caudex", Georgia, serif; }
.about-photo { object-position: 50% 25%; }

/* Extra space above the Purchase page button */
.cta-space { margin-top: 2.25rem; }
