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

/* =====================
   BASE
===================== */
body {
  font-family: 'Inter', sans-serif;
  background: #faf8f5;
  color: #2b2b2b;
  line-height: 1.6;
}

/* =====================
   HEADER
===================== */
.header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: #3b2a1a;
  color: #fff;
}

.logo-wrap {
  display: flex;
  align-items: center;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  letter-spacing: 1px;
  color: #fff;
}

.reg {
  font-size: 12px;
  vertical-align: super;
  margin-left: 4px;
}

.header nav a {
  margin-left: 24px;
  padding: 8px 16px;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 6px;
  background: transparent;
}

/* =====================
   HERO
===================== */
.hero,
.hero-slider {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slides img.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 24px;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  margin-bottom: 24px;
}

.hero-content p {
  margin-bottom: 40px;
  max-width: 600px;
}

/* =====================
   BUTTONS
===================== */
.btn-brown,
.btn-light,
.cart-button,
.btn-secondary {
  background: #3b2a1a;
  color: #fff;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
}

/* =====================
   SECTIONS
===================== */
section {
  padding: 80px 24px;
}

.wrapper {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 24px;
}

/* =====================
   PRODUCT PREVIEW
===================== */
.product-preview-section {
  text-align: center;
}

.product-grid {
  display: flex;
  justify-content: space-between;  /* spreads cards left to right */
  gap: 60px;                        /* keeps nice spacing */
  margin-top: 32px;
  width: 100%;
  max-width: 1400px;                /* allows expansion */
  margin-left: auto;
  margin-right: auto;
  padding: 0 60px;                  /* space from screen edges */
}

.product-card {
  width: 400px;     /* slightly wider */
  text-align: center;
}

.product-card img {
  width: 100%;
  height: 360px;
  object-fit: contain;
  background: #f3f1ee;
  border-radius: 12px;
}

.product-card h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 8px;
}

.product-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
}

.product-card a {
  text-decoration: none;
  color: #3b2a1a;
  font-weight: 500;
}

/* =====================
   LISTS & MEDIA
===================== */
ol {
  text-align: left;
  display: inline-block;
  margin-top: 24px;
}

video {
  width: 100%;
  border-radius: 12px;
  margin: 24px 0;
}

/* =====================
   FOOTER
===================== */
footer,
.footer {
  text-align: center;
  padding: 40px 0;
  font-size: 14px;
  color: #777;
}

/* =====================
   HERO SMALL
===================== */
.hero-small {
  position: relative;
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  text-align: center;
  padding-top: 60px;
  margin-bottom: 80px;
}

/* =====================
   HOME ONLY – MOBILE NAV
===================== */
.home-burger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

/* =====================
   MOBILE OVERRIDES ONLY
===================== */
@media (max-width: 768px) {

  body.home nav {
    display: none !important;
  }

  body.home .home-burger {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1002;
  }

  body.home .home-mobile-menu {
    display: none;
    position: absolute;
    top: 72px;
    right: 20px;
    background: rgba(30,20,10,0.95);
    padding: 16px 20px;
    border-radius: 12px;
    z-index: 1001;
  }

  body.home .home-mobile-menu a {
    display: block;
    padding: 10px 0;
    color: #fff;
    text-decoration: none;
  }

  body.home .home-mobile-menu.show {
    display: block;
  }

   .product-grid {
    display: flex;
    flex-direction: column;   /* ✅ one under each other */
    align-items: center;
    gap: 32px;
    padding: 0 20px;
    width: 100%;
  }

  .product-card {
    width: 100%;              /* full width on mobile */
    max-width: 500px;         /* keeps it elegant */
  }

  .product-card img {
    width: 100%;
    height: 420px;            /* keeps image large */
    object-fit: cover;
  }

}


/* ==== PRICE STYLING ==== */

.price {
  margin-top: 6px;
  font-size: 18px;
}

.price-old {
  text-decoration: line-through;
  opacity: 0.6;
  margin-right: 8px;
}

.price-new {
  font-weight: 700;
}
.price {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: baseline;
}

/* ==== FORCE OUR COLLECTION TO STACK ON MOBILE (HOMEPAGE) ==== */
@media (max-width: 768px) {

  /* Force the 3 cards to stack */
  .product-preview-section .product-grid,
  section .product-grid,
  .product-grid {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 28px !important;
    width: 100% !important;
    padding: 0 18px !important;
    max-width: 100% !important;
  }

  /* Each card full width */
  .product-preview-section .product-card,
  section .product-card,
  .product-card {
    width: 100% !important;
    max-width: 520px !important;
  }

  /* Big image */
  .product-preview-section .product-card img,
  section .product-card img,
  .product-card img {
    width: 100% !important;
    height: 420px !important;
    object-fit: cover !important;
  }
}
