/* =========================================================
   SMIRRA — shared stylesheet
   Palette pulled from the brand logo (terracotta wordmark,
   black tagline, warm neutral ground).
   ========================================================= */

:root{
  --terracotta: #d4674c;
  --terracotta-dark: #9A5237;
  --white:#ffffff;
  --ink: #241C14;
  --linen: #FAF6F0;
  --sand: #EFE6D8;
  --sage: #7A8268;
  --line: rgba(36,28,20,0.12);

  --font-display: 'Fraunces', serif;
  --font-body: 'Work Sans', sans-serif;

  --container: 1200px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font-body);
  background: var(--linen);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}

@media (max-width: 640px){
  .wrap{ padding: 0 22px; }
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: 30px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn--primary{ background: var(--terracotta); color: var(--linen); }
.btn--primary:hover{ background: var(--terracotta-dark); }
.btn--outline{ background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--outline:hover{ background: var(--ink); color: var(--linen); }

/* ---------- Site header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,246,240,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header__logo img{ height: 40px; width: auto; }

.site-nav{ display: flex; align-items: center; gap: 36px; }
.site-nav a{
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  padding-bottom: 2px;
}
.site-nav a::after{
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--terracotta);
  transition: width 0.25s ease;
}
.site-nav a:hover::after{ width: 100%; }

.nav-toggle{ display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--ink); }

@media (max-width: 780px){
  .site-header__inner{ padding: 16px 22px; }
  .site-nav{
    position: fixed; inset: 72px 0 0 0;
    background: var(--linen);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 22px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .site-nav.is-open{ transform: translateX(0); }
  .nav-toggle{ display: block; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb{
  font-size: 13px;
  color: var(--sage);
  padding: 22px 0 0;
}
.breadcrumb a{ text-decoration: none; color: var(--sage); }
.breadcrumb a:hover{ color: var(--terracotta); }
.breadcrumb span{ margin: 0 6px; }

/* ---------- Section basics ---------- */
.section{ padding: 88px 0; }
.section--tight{ padding: 56px 0; }
.section--sand{ background: var(--sand); }

.section-head{ margin: 0 0 40px; }
.section-head h2{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 12px;
  line-height: 1.1;
}
.section-head p{ margin: 0; color: #4A4038; font-size: 16px; max-width: 52ch; }

/* =====================================================
   HERO SLIDER
   ===================================================== */
.hero-slider{
  position: relative;
  width: 100%;
  height: 88vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--ink);
}
.hero-slide{
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.1s ease; z-index: 0;
}
.hero-slide.is-active{ opacity: 1; z-index: 1; }
/* Background image for each slide is now set directly in the HTML via
   inline style="background-image:..." on each .hero-slide div — see index.html. */

.hero-content{
  position: relative; z-index: 2; height: 100%;
  max-width: var(--container); margin: 0 auto;
  text-align: center;
}
/* Each slide's caption block is its own element in the HTML (see index.html) —
   only the one with .is-active is shown; JS just toggles that class. */
.hero-slide-content{
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 48px 88px;
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-slide-content.is-active{
  opacity: 1; transform: translateY(0); pointer-events: auto;
  transition-delay: 0.15s;
}
.hero-eyebrow{
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--sand); margin: 0 0 18px;
}
.hero-heading{
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.05;
  color: var(--linen); margin: 0;
}
.hero-cta{ margin-top: 32px; width: fit-content; }

.hero-nav{
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  background: rgba(250,246,240,0.15); border: 1px solid rgba(250,246,240,0.4);
  color: var(--linen); width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 18px; backdrop-filter: blur(2px);
  transition: background 0.2s ease;
}
.hero-nav:hover{ background: rgba(250,246,240,0.3); }
.hero-nav--prev{ left: 28px; }
.hero-nav--next{ right: 28px; }

.hero-dots{
  position: absolute; z-index: 3; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px;
}
.hero-dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(250,246,240,0.4); border: none; cursor: pointer; padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero-dot.is-active{ background: var(--linen); transform: scale(1.2); }

@media (max-width: 640px){
  .hero-slide-content{ padding: 0 22px 56px; }
  .hero-nav{ display: none; }
}
@media (prefers-reduced-motion: reduce){
  .hero-slide, .hero-slide-content{ transition: none; }
}

/* =====================================================
   COLLECTION CAROUSELS (home page)
   ===================================================== */
.carousel{
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 12px; margin: 0 -48px; padding-left: 48px; padding-right: 48px;
  scrollbar-width: thin;
}
@media (max-width: 640px){ .carousel{ margin: 0 -22px; padding-left: 22px; padding-right: 22px; } }

.carousel h3{
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.3rem; margin: 18px 0 4px;
}
.carousel-block{ margin-bottom: 48px; }
.carousel-block__head{
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
}
.carousel-block__head a{ font-size: 14px; font-weight: 600; color: var(--terracotta); text-decoration: none; white-space: nowrap; }
.carousel-block__head a:hover{ text-decoration: underline; }

.carousel-card{
  flex: 0 0 260px; scroll-snap-align: start; text-decoration: none; color: var(--ink);
}
.carousel-card__img{
  aspect-ratio: 4/5; border-radius: 3px; overflow: hidden; background: var(--sand);
}
.carousel-card__img img{ width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.carousel-card:hover .carousel-card__img img{ transform: scale(1.04); }
.carousel-card__name{ margin-top: 12px; font-weight: 500; font-size: 14px; }
.carousel-card__tag{ font-size: 14px; color: var(--terracotta); font-weight: 700; }

/* =====================================================
   BRAND STORY / WHY CHOOSE / TESTIMONIALS
   ===================================================== */
.story{ display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.story__media{ aspect-ratio: 4/5; border-radius: 3px; overflow: hidden; background: var(--sand); }
.story__media img{ width: 100%; height: 100%; object-fit: cover; }
.story__text h2{ font-family: var(--font-display); font-size: clamp(1.8rem,3vw,2.6rem); margin: 0 0 18px; }
.story__text p{ color: #4A4038; max-width: 48ch; }
@media (max-width: 860px){ .story{ grid-template-columns: 1fr; gap: 32px; } }

.usp-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.usp{ text-align: left; }
.usp__icon{
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--terracotta); color: var(--terracotta);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 18px; margin-bottom: 16px;
}
.usp h3{ font-size: 16px; margin: 0 0 6px; }
.usp p{ font-size: 14px; color: #4A4038; margin: 0; }
@media (max-width: 860px){ .usp-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px){ .usp-grid{ grid-template-columns: 1fr; } }

.testimonials{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.testimonial{ background: var(--linen); border: 1px solid var(--line); padding: 28px; border-radius: 3px; }
.testimonial p{ font-size: 15px; color: #3A322A; margin: 0 0 20px; }
.testimonial__who{ display: flex; align-items: center; gap: 12px; }
.testimonial__who img{ width: 40px; height: 40px; border-radius: 50%; }
.testimonial__who span{ font-size: 14px; font-weight: 600; }
@media (max-width: 860px){ .testimonials{ grid-template-columns: 1fr; } }

/* =====================================================
   COLLECTION TEMPLATE PAGE
   ===================================================== */
.collection-header{ padding: 40px 0 8px; }
.collection-header h1{
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.2rem, 4vw, 3.2rem); margin: 10px 0 16px;
}
.collection-header p{ color: #4A4038; }

.product-grid{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.product-card{ text-decoration: none; color: var(--ink); }
.product-card__img{ aspect-ratio: 1/1; border-radius: 3px; overflow: hidden; background: var(--sand); }
.product-card__img img{ width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-card__img img{ transform: scale(1.05); }
.product-card__name{ margin-top: 12px; font-weight: 500; font-size: 14px; }
.product-card__tag{ font-size: 14px; color: var(--terracotta); font-weight: 700; }
@media (max-width: 960px){ .product-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .product-grid{ grid-template-columns: 1fr 1fr; gap: 16px; } }

.seo-copy{ color: #4A4038; font-size: 15px; }
.seo-copy h2{ font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); margin: 0 0 14px; }

/* ---------- FAQ accordion ---------- */
.faq-list{ max-width: 760px; border-top: 1px solid var(--line); }
.faq-item{ border-bottom: 1px solid var(--line); }
.faq-item__q{
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0; font-family: var(--font-body); font-size: 16px; font-weight: 600;
  color: var(--ink);
}
.faq-item__q .faq-icon{
  flex: 0 0 auto; width: 22px; height: 22px; position: relative;
}
.faq-item__q .faq-icon::before, .faq-item__q .faq-icon::after{
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--terracotta);
  transform: translate(-50%,-50%);
}
.faq-item__q .faq-icon::before{ width: 14px; height: 2px; }
.faq-item__q .faq-icon::after{ width: 2px; height: 14px; transition: transform 0.25s ease; }
.faq-item.is-open .faq-icon::after{ transform: translate(-50%,-50%) rotate(90deg) scaleY(0); }

.faq-item__a{
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.faq-item__a p{ margin: 0 0 20px; font-size: 15px; color: #4A4038; max-width: 62ch; }
.faq-item.is-open .faq-item__a{ max-height: 240px; }

/* ---------- Stats / trust section ---------- */
.stats-section{ background: var(--white); }
.stats-head{ text-align: center; margin: 0 0 48px; }
.stats-head h2{
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 12px; line-height: 1.15;
}
.stats-head p{ margin: 0; font-size: 16px; }

.stats-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat{ border-left: 1px solid rgb(136 136 136 / 20%); padding-left: 24px; }
.stat:first-child { border:unset; }
.stat__num{
  font-family: var(--font-display); font-weight: 600; color: var(--terracotta);
  font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; margin-bottom: 10px;
}
.stat__label{ font-size: 14px;}
@media (max-width: 860px){ .stats-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .stats-grid{ grid-template-columns: 1fr 1fr; gap: 24px; } .stat{ padding-left: 16px; } }

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-banner{
  height: 320px; background-size: cover; background-position: center;
  display: flex; align-items: center; position: relative;
}
.contact-banner::after{
  content: ""; position: absolute; inset: 0; background: rgba(36,28,20,0.45);
}
.contact-banner__inner{ position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; padding: 0 48px; }
.contact-banner h1{
  font-family: var(--font-display); font-weight: 600; color: var(--linen);
  font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 10px;
}
.contact-banner p{ color: var(--sand); margin: 0; }

.contact-grid{ display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
@media (max-width: 860px){ .contact-grid{ grid-template-columns: 1fr; gap: 40px; } }

.form-field{ margin-bottom: 20px; }
.form-field label{ display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.form-field input, .form-field textarea{
  width: 100%; padding: 13px 14px; border: 1px solid var(--line);
  border-radius: 2px; background: var(--linen); font-family: var(--font-body);
  font-size: 15px; color: var(--ink);
}
.form-field textarea{ min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus{
  outline: none; border-color: var(--terracotta);
}

.contact-info{ background: var(--sand); border-radius: 3px; padding: 32px; }
.contact-info h3{ font-family: var(--font-display); font-size: 1.2rem; margin: 0 0 18px; }
.contact-info dl{ margin: 0 0 24px; }
.contact-info dt{ font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--sage); margin-bottom: 4px; }
.contact-info dd{ margin: 0 0 16px; font-size: 15px; }
.social-links{ display: flex; gap: 14px; }
.social-links a{
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink);
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  font-size: 14px; transition: background 0.2s ease, color 0.2s ease;
}
.social-links a:hover{ background: var(--ink); color: var(--linen); }

.form-success{
  display: none; background: var(--sage); color: var(--linen);
  padding: 14px 18px; border-radius: 2px; font-size: 14px; margin-bottom: 20px;
}
.form-success.is-visible{ display: block; }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer{ background: var(--terracotta); color: var(--white); padding: 64px 0 28px; }
.footer-grid{ display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-grid h4{ color: var(--linen); font-size: 14px; margin: 0 0 16px; font-weight: 600; }
.footer-grid p{ font-size: 14px; color: var(--white); opacity: 0.8; max-width: 32ch; }
.footer-links{ list-style: none; margin: 0; padding: 0; }
.footer-links li{ margin-bottom: 10px; }
.footer-links a{ text-decoration: none; color: var(--white); font-size: 14px; opacity: 0.85; }
.footer-links a:hover{ opacity: 1; color: var(--white); }
.popular-searches ul{ list-style:none;display:flex;padding:0 }
.popular-searches ul li{ margin:0 10px 0 0; }
.popular-searches ul li a{ text-decoration: none; color: var(--white); font-size: 14px; opacity: 0.85; }
.popular-searches ul li a::after{ content:" | " }
.footer-bottom{
  border-top: 1px solid rgba(250,246,240,0.15); padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(250,246,240,0.6);
  flex-wrap: wrap; gap: 12px;
}
@media (max-width: 860px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-grid{ grid-template-columns: 1fr; } }

.whatsapp_wrapper {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: 14px;
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #4dc247;
    color: #fff;
    border-radius: 50px;
    padding: 8px 15px;
    z-index: 999;
}