/* ============================================================
   LUMORA — Storefront styles
   ============================================================ */

:root {
  --ink: #1a1f1c;
  --green: #1c2b24;
  --green-2: #2c4036;
  --accent: #c87533;
  --accent-dark: #a85f26;
  --cream: #faf8f4;
  --tint: #f1eee7;
  --white: #ffffff;
  --muted: #6b7280;
  --border: #e6e2da;
  --shadow: 0 18px 50px rgba(28, 43, 36, 0.12);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; border: none; background: none; }

.container { width: min(1240px, 92%); margin-inline: auto; }

/* ---------- Announcement ---------- */
.announcement {
  background: var(--green);
  color: #f3ece1;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}

.logo {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--green);
  white-space: nowrap;
}
.logo-dot { color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--ink);
  transition: background 0.2s;
}
.icon-btn:hover { background: var(--tint); }
.icon-btn svg { width: 21px; height: 21px; }

.cart-toggle { position: relative; }
.cart-count {
  position: absolute;
  top: 2px; right: 0;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid; place-items: center;
  line-height: 1;
}
.menu-toggle { display: none; }

/* Search panel */
.search-panel {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  box-shadow: 0 12px 24px rgba(0,0,0,0.05);
}
.search-panel.active { transform: translateY(0); opacity: 1; pointer-events: auto; }
.search-panel .container { display: flex; align-items: center; gap: 12px; }
.search-panel input {
  flex: 1;
  border: none;
  border-bottom: 2px solid var(--ink);
  padding: 12px 4px;
  font-size: 18px;
  background: transparent;
  outline: none;
}
.search-close { font-size: 30px; color: var(--muted); line-height: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: 0.25s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--green); }
.btn-light:hover { background: var(--cream); }
.btn-block { width: 100%; }
.btn span { transition: transform 0.25s ease; }
.btn:hover span { transform: translateX(4px); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow-dark { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,20,16,0.82) 0%, rgba(12,20,16,0.45) 55%, rgba(12,20,16,0.15) 100%);
}
.hero-content { position: relative; z-index: 2; color: #fff; padding: 90px 0; }
.hero-content .eyebrow { color: #e9c199; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.hero h1 em { color: #e6c39c; font-style: italic; font-weight: 500; }
.hero-content p { max-width: 480px; font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 32px; }
.scroll-cue {
  position: absolute;
  bottom: 28px; right: 6%;
  z-index: 3;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.scroll-cue i { width: 1px; height: 46px; background: rgba(255,255,255,0.6); position: relative; overflow: hidden; }
.scroll-cue i::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 50%;
  background: #fff; animation: scrollDown 1.8s infinite;
}
@keyframes scrollDown { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }

/* ---------- Benefits ---------- */
.benefits { background: var(--green); color: #f3ece1; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 26px 0;
}
.benefit { display: flex; align-items: center; gap: 14px; }
.benefit svg { width: 30px; height: 30px; flex: 0 0 auto; color: #d7a974; }
.benefit strong { display: block; font-size: 14px; font-weight: 600; }
.benefit span { font-size: 12px; color: rgba(243,236,225,0.65); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 44px;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 600;
  line-height: 1.15;
}
.section-head > p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Products ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.product-card { position: relative; }
.product-image {
  position: relative;
  background: var(--cream);
  aspect-ratio: 3 / 3.6;
  overflow: hidden;
  border-radius: 3px;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .product-image img { transform: scale(1.06); }
.product-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--green); color: #fff;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 2px;
}
.product-badge.sale { background: var(--accent); }
.add-btn {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--green);
  color: #fff;
  text-align: center;
  padding: 13px;
  font-size: 13px;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.product-card:hover .add-btn, .add-btn:focus-visible { transform: translateY(0); }
.product-info { padding: 14px 2px 0; }
.product-cat { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.product-title { font-size: 15px; font-weight: 600; margin: 4px 0 6px; }
.product-price { display: flex; align-items: center; gap: 8px; }
.product-price .current { font-weight: 700; color: var(--green); }
.product-price .old { font-size: 13px; color: var(--muted); text-decoration: line-through; }

/* ---------- Promo ---------- */
.promo { background: var(--green); color: #fff; }
.promo-inner { padding: 80px 0; }
.promo-text { max-width: 620px; }
.promo .eyebrow { color: #e9c199; }
.promo h2 { font-family: var(--serif); font-size: clamp(34px, 5vw, 52px); font-weight: 600; margin-bottom: 16px; }
.promo p { color: rgba(255,255,255,0.8); font-size: 16px; margin-bottom: 28px; }
.promo-form { display: flex; gap: 10px; max-width: 480px; }
.promo-form input {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-radius: 2px;
  outline: none;
}
.promo-form input::placeholder { color: rgba(255,255,255,0.55); }
.promo-form input:focus { border-color: #e9c199; }
.form-msg { display: block; margin-top: 10px; color: #e9c199; font-size: 13px; min-height: 18px; }

/* ---------- Categories ---------- */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.category-card {
  position: relative;
  aspect-ratio: 1 / 1.15;
  overflow: hidden;
  border-radius: 3px;
}
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.category-card:hover img { transform: scale(1.08); }
.category-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(12,20,16,0.72)); }
.category-card span {
  position: absolute; z-index: 2; bottom: 20px; left: 20px;
  color: #fff; font-family: var(--serif); font-size: 22px; font-weight: 600;
}

/* ---------- About ---------- */
.about { padding: 96px 0; background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-media { position: relative; }
.about-media > img { width: 100%; aspect-ratio: 4/4.4; object-fit: cover; border-radius: 3px; }
.about-stats {
  position: absolute;
  bottom: -24px; right: -24px;
  background: var(--white);
  padding: 26px 30px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 28px;
}
.about-stats div { display: flex; flex-direction: column; }
.about-stats strong { font-family: var(--serif); font-size: 30px; color: var(--green); line-height: 1; }
.about-stats span { font-size: 11px; color: var(--muted); margin-top: 4px; }
.about-text h2 { font-family: var(--serif); font-size: clamp(34px, 4vw, 48px); font-weight: 600; margin-bottom: 20px; }
.about-text p { color: #4b5560; font-size: 15.5px; margin-bottom: 16px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--green); font-weight: 600; font-size: 14px;
  border-bottom: 1.5px solid var(--accent); padding-bottom: 3px; margin-top: 10px;
}
.link-arrow span { transition: transform 0.25s ease; }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { background: var(--white); padding: 34px 30px; border-radius: 3px; border: 1px solid var(--border); }
.stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 14px; font-size: 15px; }
.testimonial p { font-size: 14.5px; color: #4b5560; margin-bottom: 18px; font-style: italic; }
.testimonial span { font-size: 13px; font-weight: 600; color: var(--green); }

/* ---------- Contact ---------- */
.contact { background: var(--green); color: #fff; padding: 84px 0; text-align: center; }
.contact .eyebrow { color: #e9c199; }
.contact h2 { font-family: var(--serif); font-size: clamp(32px, 4vw, 46px); font-weight: 600; margin-bottom: 12px; }
.contact > .container > p { color: rgba(255,255,255,0.75); margin-bottom: 40px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.contact-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 28px 20px;
  border-radius: 3px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: 0.25s ease;
}
.contact-card:hover { background: rgba(255,255,255,0.13); transform: translateY(-4px); }
.contact-card svg { width: 28px; height: 28px; color: #e9c199; margin-bottom: 8px; }
.contact-card strong { font-size: 15px; }
.contact-card span { font-size: 13px; color: rgba(255,255,255,0.7); }

/* ---------- Footer ---------- */
.site-footer { background: #14201a; color: rgba(255,255,255,0.72); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand .logo { color: #fff; }
.footer-brand p { font-size: 14px; max-width: 280px; margin-top: 16px; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 18px; font-weight: 600; }
.footer-col a { display: block; font-size: 13.5px; margin-bottom: 11px; transition: color 0.2s; }
.footer-col a:hover { color: #e9c199; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px;
}
.footer-payments { color: rgba(255,255,255,0.5); }

/* ---------- Cart drawer ---------- */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(10,16,12,0.5);
  z-index: 200;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.cart-overlay.active { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  background: var(--white);
  z-index: 201;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
}
.cart-drawer.active { transform: translateX(0); }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 24px; border-bottom: 1px solid var(--border); }
.cart-header h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.cart-header h3 span { font-family: var(--sans); font-size: 14px; color: var(--muted); font-weight: 400; }
.cart-close { font-size: 30px; line-height: 1; color: var(--muted); }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 24px; }
.cart-empty { text-align: center; color: var(--muted); padding: 60px 20px; }
.cart-empty svg { width: 54px; height: 54px; margin: 0 auto 18px; color: var(--border); }
.cart-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); position: relative; }
.cart-item img { width: 78px; height: 92px; object-fit: cover; border-radius: 2px; background: var(--cream); }
.cart-item-details { flex: 1; }
.cart-item-title { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.cart-item-price { font-size: 13px; color: var(--accent); font-weight: 700; }
.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--border); margin-top: 10px; border-radius: 2px; }
.qty-control button { width: 28px; height: 28px; font-size: 16px; color: var(--muted); }
.qty-control span { width: 28px; text-align: center; font-size: 13px; font-weight: 600; }
.cart-item-remove { position: absolute; top: 16px; right: 0; font-size: 18px; color: var(--muted); line-height: 1; }
.cart-item-remove:hover { color: var(--accent); }
.cart-footer { padding: 22px 24px; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.cart-note { font-size: 12px; color: var(--muted); margin-bottom: 16px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 30px; left: 50%;
  transform: translate(-50%, 20px);
  background: var(--green);
  color: #fff;
  padding: 13px 24px;
  border-radius: 3px;
  font-size: 14px;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 12px 0; border-bottom: 1px solid var(--border); box-shadow: 0 12px 24px rgba(0,0,0,0.06); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 6%; }
  .main-nav a::after { display: none; }
  .menu-toggle { display: grid; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .product-grid, .category-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 40px; }
  .about-stats { right: 0; }
}

@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .hero { min-height: 540px; }
  .hero-content { padding: 70px 0; }
  .benefits-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-stats { position: static; margin-top: 20px; justify-content: space-between; }
  .testimonial-grid, .contact-cards, .footer-grid { grid-template-columns: 1fr; }
  .promo-form { flex-direction: column; }
  .footer-grid { gap: 30px; }
  .scroll-cue { display: none; }
}

@media (max-width: 480px) {
  .product-grid, .category-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .product-title { font-size: 13px; }
  .category-card span { font-size: 17px; bottom: 14px; left: 14px; }
  .about-stats { gap: 14px; padding: 20px; }
  .about-stats strong { font-size: 24px; }
}
