:root {
  /* Design Tokens */
  --ink:        #241512;   /* ink cocoa - dark bg / primary text */
  --ink-soft:   #3a241e;   /* lighter cocoa for cards on dark */
  --gold:       #d9a441;   /* golden crust - primary accent */
  --gold-dim:   #b9832f;
  --wheat:      #f0dcb4;   /* toasted wheat - light bg */
  --paper:      #fbf7ee;   /* paper - card bg on light */
  --jaggery:    #7a4b25;   /* secondary accent / borders */
  --chilli:     #b4432a;   /* pop accent, sparingly */
  --line:       rgba(36,21,18,0.12);
  
  /* Shared Transitions */
  --transition-smooth: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================
   FAQ SECTION
========================= */

.section-faq{
    background: linear-gradient(180deg,#f8e4b9 0%,#fdf8ef 100%);
}

.faq-grid{
    display:flex;
    flex-direction:column;
    gap:24px;
    margin-top:40px;
}

.faq-card{
    background:#fff;
    border-radius:24px;
    padding:30px 35px;
    border-left:6px solid var(--gold);
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:all .35s ease;
    cursor:pointer;
}

.faq-card:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 45px rgba(0,0,0,.12);
}

.faq-card h3{
    font-size:1.6rem;
    color:var(--ink);
    margin-bottom:15px;
    font-weight:700;
    line-height:1.3;
}

.faq-card p{
    color:#5b6472;
    font-size:1rem;
    line-height:1.8;
    margin:0;
}

.section-description{
    max-width:620px;
    margin:12px auto 0;
    color:#666;
    font-size:1.05rem;
    line-height:1.7;
}

@media (max-width:768px){

    .faq-card{
        padding:24px;
        border-radius:18px;
    }

    .faq-card h3{
        font-size:1.3rem;
    }

}
.section-header h2{
    margin-bottom: 8px;
}

.section-description{
    margin: 0 auto;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

html { 
  scroll-behavior: smooth; 
}

/* Ensure anchored links account for sticky header */
html { scroll-padding-top: 88px; }
body {
  background: var(--wheat);
  color: var(--ink);
  font-family: 'Work Sans', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1; /* Relaxed slightly from 1.05 to prevent descender clipping */
}

.mono { 
  font-family: 'JetBrains Mono', monospace; 
}

a { 
  color: inherit; 
  text-decoration: none; 
  display: inline-block; /* Improves click target predictability */
}

img { 
  max-width: 100%; 
  height: auto; /* Prevents image distortion */
  display: block; 
}

.wrap { 
  max-width: 1180px; 
  margin: 0 auto; 
  padding: 0 24px; 
}

/* Alias used across some pages — keep .container identical to .wrap */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  font-weight: 700;
}

:focus-visible { 
  outline: 3px solid var(--gold); 
  outline-offset: 3px; 
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { 
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}

/* ---------- PLACEHOLDER MEDIA BOXES ---------- */
.ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(122,75,37,0.08) 0 10px, rgba(122,75,37,0.03) 10px 20px),
    var(--paper);
  border: 2px dashed var(--jaggery);
  border-radius: 14px;
  color: var(--jaggery);
  padding: 24px;
}

.ph span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  max-width: 220px;
}

.ph strong { 
  display: block; 
  font-size: 13px; 
  margin-bottom: 6px; 
  letter-spacing: 0.06em; 
  text-transform: uppercase; 
}

/* ---------- NAV ---------- */
header {
  position: sticky; 
  top: 0; 
  z-index: 100;
  background: rgba(251,247,238,0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Safari support */
  border-bottom: 1px solid var(--line);
}

nav {
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1180px; 
  margin: 0 auto;
}

.brandmark, .site-header .brand {
  display: flex; 
  align-items: center; 
  gap: 12px; 
  flex-shrink: 0;      /* Prevents the logo container from collapsing */
}

/* Restrict the size of any image inside the brandmark/logo area */
.brandmark, .site-header .brand {
  display: flex; 
  align-items: center; 
  gap: 12px; 
  flex-shrink: 0;      /* Prevents the logo container from collapsing */
}
/* Restrict the size of any image inside the brand/header logo area */
.brandmark img,
.logo,
.brand-logo,
.footer-logo {
  height: 80px;        /* Unified header/footer logo height */
  width: auto;         /* Maintains aspect ratio */
  object-fit: contain;
  display: block;
}

.site-header .brand-copy strong {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.1;
}

.site-header .brand-copy small {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jaggery);
}

/* Ensure the navbar items don't squish into each other */
.nav-links { 
  display: flex; 
  gap: 32px; 
  font-size: 14px; 
  font-weight: 600; 
  flex-shrink: 0;      /* Prevents links from shrinking and overlapping */
}

.logo-ph {
  width: 44px; 
  height: 44px; 
  border-radius: 10px;
  background: var(--ink);
  display: flex; 
  align-items: center; 
  justify-content: center;
  color: var(--gold);
  font-family: 'Fraunces', serif; 
  font-weight: 900; 
  font-size: 20px;
  flex-shrink: 0;
}

.brand-name { 
  font-family: 'Fraunces', serif; 
  font-weight: 700; 
  font-size: 21px; 
}

.brand-name small {
  display: block; 
  font-family: 'JetBrains Mono', monospace; 
  font-weight: 500;
  font-size: 10px; 
  letter-spacing: 0.14em; 
  text-transform: uppercase; 
  color: var(--jaggery); 
  margin-top: 1px;
}

.nav-links { 
  display: flex; 
  gap: 32px; 
  font-size: 14px; 
  font-weight: 600; 
}

.nav-links a { 
  opacity: 0.75; 
  transition: opacity var(--transition-smooth); 
}

.nav-links a:hover { 
  opacity: 1; 
}

.nav-cta {
  background: var(--ink); 
  color: var(--wheat);
  padding: 11px 20px; 
  border-radius: 100px; 
  font-size: 13px; 
  font-weight: 700;
  white-space: nowrap;
  transition: background var(--transition-smooth);
}

.nav-cta:hover { 
  background: var(--jaggery); 
}

/* ---------- HERO ---------- */
/* Larger hero image */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  width: 580px;
  max-width: none;
  height: auto;
  display: block;
}


.hero-copy{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-copy h1{
    margin: 12px 0 18px;
}

.hero-copy p{
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.hero-buttons{
    display: flex;
    gap: 18px;
    margin-top: 12px;
}
.hero {
  position: relative;
  background: var(--ink);
  color: var(--wheat);
  padding: 70px 0 40px;
}

.hero-grid {
  display: grid; 
  grid-template-columns: 1.1fr 0.9fr; 
  gap: 32px;
  align-items: center;
  position: relative; 
  z-index: 2;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 74px);
  color: var(--paper);
  margin: 18px 0 22px;
}

.hero h1 em { 
  font-style: normal; 
  color: var(--gold); 
}

.hero p.lede {
  font-size: 18px; 
  line-height: 1.6; 
  color: rgba(240,220,180,0.82);
  max-width: 460px; 
  margin-bottom: 32px;
}

.hero-ctas { 
  display: flex; 
  gap: 14px; 
  flex-wrap: wrap; 
  margin-bottom: 20px;
  margin-top: 30px;  
}

.btn-primary {
  background: var(--gold); 
  color: var(--ink);
  padding: 15px 26px; 
  border-radius: 100px; 
  font-weight: 700; 
  font-size: 15px;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-primary:hover { 
  background: #eab958; 
  transform: translateY(-2px); 
}

.btn-ghost {
  border: 1.5px solid rgba(240,220,180,0.4);
  color: var(--wheat);
  padding: 15px 26px; 
  border-radius: 100px; 
  font-weight: 600; 
  font-size: 15px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.btn-ghost:hover { 
  border-color: var(--gold); 
  background: rgba(217,164,65,0.08); 
}

.hero-fssai {
  display: inline-flex; 
  align-items: center; 
  gap: 10px;
  font-family: 'JetBrains Mono', monospace; 
  font-size: 12px;
  color: rgba(240,220,180,0.65);
  border-top: 1px solid rgba(240,220,180,0.15);
  padding-top: 18px; 
  margin-top: 4px;
}

.dot { 
  width: 6px; 
  height: 6px; 
  border-radius: 50%; 
  background: var(--gold); 
  flex-shrink: 0; 
}


.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
}

.hero-visual .hero-image {
  width: 100%;
  max-width: 620px;
  height: auto;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
}

.hero-visual .ph { 
  aspect-ratio: 4/5; 
  border-color: rgba(217,164,65,0.5); 
  background:
    repeating-linear-gradient(135deg, rgba(217,164,65,0.08) 0 10px, rgba(217,164,65,0.02) 10px 20px),
    rgba(251,247,238,0.04); 
  color: var(--gold); 
}

.crust-edge { 
  position: relative; 
  width: 100%; 
  height: 46px; 
  margin-top: 70px; 
}

.crust-edge svg { 
  position: absolute; 
  bottom: -1px; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  display: block; 
}

/* ---------- MARQUEE BAND ---------- */
.marquee {
  background: var(--gold);
  color: var(--ink);
  overflow: hidden;
  white-space: nowrap;
  padding: 13px 0;
  border-bottom: 1px solid rgba(36,21,18,0.15);
}

.marquee-track {
  display: inline-block;
  animation: scroll-left 26s linear infinite;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700; 
  font-size: 13px; 
  letter-spacing: 0.06em; 
  text-transform: uppercase;
}

.marquee-track span { 
  margin: 0 22px; 
}

@keyframes scroll-left { 
  from { transform: translateX(0); } 
  to { transform: translateX(-50%); } 
}

/* ---------- SECTIONS ---------- */
section { 
  padding: 100px 0; 
}

.section-head { 
  max-width: 640px; 
  margin-bottom: 56px; 
}

.section-head h2 { 
  font-size: clamp(30px, 4vw, 44px); 
  margin-top: 14px; 
}

.section-head p { 
  font-size: 16px; 
  line-height: 1.65; 
  color: var(--jaggery); 
  margin-top: 16px; 
}

/* ---------- STORY ---------- */
/* =========================
   STORY SECTION
========================= */

.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 60px;
}

/* Image area */
.story-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image container */
.story-image-box {
  width: 100%;
  max-width: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Story image */
.story-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  border-radius: 12px;
}

/* Story text */
.story-copy {
  max-width: 620px;
}

/* Parent company strip */
.parent-strip {
  margin-top: 24px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {

  .story-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .story-visual {
    order: 1;
  }

  .story-copy {
    order: 2;
    max-width: 100%;
  }

  .story-image-box {
    max-width: 300px;
  }

  .story-image {
    max-height: 400px;
  }
}

.parent-strip {
  display: flex; 
  align-items: center; 
  gap: 16px;
  margin-top: 32px; 
  padding: 18px 22px;
  background: var(--wheat); 
  border-radius: 14px; 
  border: 1px solid var(--line);
}

.parent-strip .mono { 
  font-size: 12px; 
  color: var(--jaggery); 
  line-height: 1.6; 
}

.parent-strip strong { 
  font-family: 'Fraunces', serif; 
  font-size: 15px; 
  display: block; 
  margin-bottom: 2px; 
}

/* =========================
   MADCRUST STORY - CLEAN WHITE
========================= */

.story {
    background: #ffffff !important;
    color: #241512;
}

.story-grid {
    background: #ffffff;
}

/* Story image area */
.story-visual {
    background: #ffffff;
}

/* Story text */
.story-copy {
    background: transparent;
}

.story-copy .eyebrow {
    color: #a87924;
}

.story-copy h2 {
    color: #241512;
}

.story-copy p {
    color: #4a3a35;
}

/* Parent company box */
.parent-strip {
    background: #faf7f0;
    border: 1px solid #e1c98d;
    color: #241512;
}

.parent-strip strong {
    color: #6f241b;
}

.parent-strip .mono {
    color: #66574e;
}
/*==================================
            PRODUCTS
===================================*/

.products{
    background: var(--wheat);
    padding:100px 0;
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:32px;
    margin-top:50px;
}

/* CARD */

.product-card{
    background:var(--paper);
    border:1px solid var(--line);
    border-radius:20px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    transition:.35s ease;
    box-shadow:0 10px 25px rgba(0,0,0,.05);
}

.product-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(0,0,0,.12);
}

/* IMAGE */

.product-image{
    width:100%;
    height:450px;
    object-fit:contain;
    display:block;
    background:#faf7f2;
    padding:8px;
    transition:.4s;
}

.product-card:hover .product-image{
    transform:scale(1.05);
}

/* CONTENT */

.product-body{
    display:flex;
    flex-direction:column;
    flex:1;
    padding:18px;
}

.sku-tag{
    display:inline-block;
    width:max-content;
    background:rgba(184,134,11,.12);
    color:var(--gold);
    font-family:'JetBrains Mono',monospace;
    font-size:11px;
    font-weight:700;
    letter-spacing:.12em;
    padding:6px 10px;
    border-radius:30px;
    margin-bottom:14px;
}

.product-body h3{
    margin:0 0 12px;
    font-size:34px;
    color:var(--ink);
    line-height:1.3;
}

.desc{
    color:var(--jaggery);
    font-size:15px;
    line-height:1.8;
    margin-bottom:auto;
}

/* FOOTER */

.product-meta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:25px;
    padding-top:18px;
    border-top:1px solid var(--line);
}

.weight{
    font-size:13px;
    color:var(--jaggery);
    font-family:'JetBrains Mono',monospace;
}

.price{
    font-size:18px;
    font-weight:700;
    color:var(--ink);
}

/* NOTE */

.product-note{
    grid-column:1/-1;
    text-align:center;
    margin-top:10px;
    font-style:italic;
    color:var(--jaggery);
    font-size:15px;
}

/* MOBILE */

@media(max-width:768px){

.products{
    padding:70px 0;
}

.product-grid{
    grid-template-columns:1fr;
    gap:24px;
}

.product-image{
    height:220px;
}

.product-body{
    padding:20px;
}

.product-body h3{
    font-size:22px;
}

}
/*---------- TRUST / STAMP ----------*/
.trust { 
  background: var(--ink); 
  color: var(--wheat); 
}

.trust-grid { 
  display: grid; 
  grid-template-columns: 0.7fr 1.3fr; 
  gap: 64px; 
  align-items: center; 
}

.stamp-wrap { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
}

.stamp { 
  width: 220px; 
  height: 220px; 
  position: relative;
}

.stamp-outer { 
  width: 220px; 
  height: 220px; 
  animation: spin 22s linear infinite; 
}

@keyframes spin { 
  from { transform: rotate(0deg); } 
  to { transform: rotate(360deg); } 
}

.stamp-center {
  position: absolute; 
  inset: 0; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  flex-direction: column; 
  text-align: center;
}

.stamp-center .big { 
  font-family: 'Fraunces', serif; 
  font-weight: 900; 
  font-size: 30px; 
  color: var(--gold); 
}

.stamp-center .small { 
  font-family: 'JetBrains Mono', monospace; 
  font-size: 9px; 
  letter-spacing: 0.1em; 
  color: var(--wheat); 
  margin-top: 2px; 
}

.feature-list { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 28px 36px; 
}

.feature { 
  display: flex; 
  gap: 16px; 
}

.feature-icon {
  width: 44px; 
  height: 44px; 
  border-radius: 12px; 
  flex-shrink: 0;
  background: rgba(217,164,65,0.12); 
  border: 1px solid rgba(217,164,65,0.3);
  display: flex; 
  align-items: center; 
  justify-content: center;
}

.feature h4 { 
  font-family: 'Fraunces', serif; 
  font-size: 17px; 
  margin-bottom: 6px; 
  color: var(--paper); 
}

.feature p { 
  font-size: 13.5px; 
  line-height: 1.55; 
  color: rgba(240,220,180,0.7); 
}
/* ======================================
   CONTACT PAGE
====================================== */

.contact{
    padding:90px 0;
    background:#faf7f2;
}

.contact-grid{
    max-width:1200px;
    margin:50px auto 0;

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.contact-item{
    background:#fff;
    border-radius:20px;
    padding:28px 32px;

    display:flex;
    flex-direction:column;
    justify-content:center;

    min-height:150px;

    border:1px solid rgba(0,0,0,.08);
    box-shadow:0 10px 30px rgba(0,0,0,.06);

    transition:.3s ease;
}

.contact-item:hover{
    transform:translateY(-5px);
    box-shadow:0 16px 40px rgba(0,0,0,.10);
}
.contact-item h3{
    font-size:26px;
    margin-bottom:14px;
    color:#3b2418;
    font-family:'Fraunces', serif;
}
.contact-item p{
    margin:0;
    font-size:18px;
    line-height:1.7;
    color:#555;
}

.contact-item a{
    color:#555;
    text-decoration:none;
}

.contact-item a:hover{
    color:#c89b4b;
}
.contact-item .button{
    width:max-content;
    margin-top:10px;
}
.contact-card{

    background:#fff;

    border-radius:18px;

    padding:35px;

    border:1px solid #ece3d5;

    box-shadow:0 10px 25px rgba(0,0,0,.05);
}

.contact-card h3{

    font-size:28px;

    margin-bottom:30px;
}

.info-row{

    display:flex;

    justify-content:space-between;

    gap:20px;

    padding:15px 0;

    border-bottom:1px solid #eee;
}

.info-row:last-child{
    border:none;
}

.label{

    width:110px;

    font-weight:600;

    color:#8a6b38;

    text-transform:uppercase;

    font-size:13px;
}

.value{

    flex:1;

    color:#333;

    line-height:1.6;
}

/* FORM */

.contact-card form{

    display:flex;

    flex-direction:column;

    gap:18px;
}

.contact-card label{

    font-weight:600;

    font-size:15px;

    color:#333;
}

.contact-card input,
.contact-card textarea{

    width:100%;

    padding:14px 18px;

    border-radius:12px;

    border:1px solid #ddd;

    font-size:15px;

    transition:.3s;
}

.contact-card textarea{

    min-height:140px;

    resize:vertical;
}

.contact-card input:focus,
.contact-card textarea:focus{

    outline:none;

    border-color:#b88a3d;

    box-shadow:0 0 0 3px rgba(184,138,61,.15);
}

.contact-card button{

    background:#5b3924;

    color:white;

    border:none;

    padding:15px;

    border-radius:12px;

    cursor:pointer;

    font-size:16px;

    font-weight:600;

    transition:.3s;
}

.contact-card button:hover{

    background:#8d6336;
}

/* Mobile */

@media (max-width:768px){

.contact-grid{
    grid-template-columns:1fr;
    gap:20px;
}

.contact-item{
    min-height:auto;
}
}

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

.site-header{
    position:sticky;
    top:0;
    z-index:1000;

    background:#fbf5e8;

    border-bottom:1px solid #e8ddc9;
}

.container{
    width:min(1200px,90%);
    margin:auto;
}

.header-inner{

    display:flex;

    align-items:center;

    justify-content:space-between;

    min-height:85px;
}

.brand{

    display:flex;

    align-items:center;

    gap:14px;

    text-decoration:none;
}

.brand-logo{

    width:58px;

    height:58px;

    object-fit:contain;
}

.brand-copy{

    display:flex;

    flex-direction:column;
}

.brand-copy strong{

    font-size:28px;

    color:#3b2618;

    font-family:'Playfair Display',serif;
}

.brand-copy small{

    font-size:11px;

    letter-spacing:3px;

    color:#b68a45;

    text-transform:uppercase;
}

.primary-navigation{

    display:flex;
}

.nav-list{

    display:flex;

    align-items:center;

    gap:40px;

    margin:0;

    padding:0;

    list-style:none;
}

.nav-list li{

    list-style:none;
}

.nav-list a{

    color:#3b2618;

    text-decoration:none;

    font-weight:600;

    transition:.3s;
}

.nav-list a:hover{

    color:#b68a45;
}

.nav-toggle{

    display:none;
}

@media (max-width:900px){

.nav-toggle{

display:flex;

flex-direction:column;

gap:5px;

background:none;

border:none;

cursor:pointer;

}

.nav-toggle span{

display:block;

width:25px;

height:3px;

background:#3b2618;

border-radius:5px;

}

.primary-navigation{

display:none;

}

.primary-navigation.active{

display:block;

position:absolute;

top:85px;

left:0;

width:100%;

background:#fbf5e8;

padding:20px;

}

.nav-list{

flex-direction:column;

align-items:flex-start;

gap:20px;

}

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

.primary-navigation{
    display:flex;
}

.nav-list{
    display:flex;
    list-style:none;
    gap:35px;
    margin:0;
    padding:0;
    align-items:center;
}

.nav-list li{
    list-style:none;
}

.nav-list a{
    text-decoration:none;
    color:#3d2a1b;
    font-weight:600;
}

/* ===========================
   HERO BUTTONS
=========================== */

.hero-buttons{
    display:flex;
    gap:18px;
    margin-top:30px;
    flex-wrap:wrap;
}

.button{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:14px 30px;

    border-radius:50px;

    text-decoration:none;

    font-size:15px;

    font-weight:600;

    transition:all .3s ease;

    cursor:pointer;
}

/* Primary Button */

.button-primary{
    background:#c89b4b;
    color:#ffffff;
    border:2px solid #c89b4b;
}

.button-primary:hover{
    background:#d8ad61;
    border-color:#d8ad61;
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(200,155,75,.35);
}

/* Secondary Button */

.button-secondary{
    background:transparent;
    color:#ffffff;
    border:2px solid #ffffff;
}

.button-secondary:hover{
    background:#ffffff;
    color:#3b2418;
    transform:translateY(-3px);
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--ink);
  color: rgba(240,220,180,0.70);
  padding: 48px 0 24px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 32px;
}

/* Brand Section */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Footer Logo */
.footer-logo{
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
}

/* Brand Name */
.footer-brand div:first-of-type{
  line-height: 1.2;
}

/* Legal Text */
.footer-legal{
  max-width: 550px;
  font-size: 12px;
  line-height: 1.8;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(240,220,180,0.65);
}

/* Bottom Section */
.footer-bottom{
  border-top: 1px solid rgba(240,220,180,0.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 12.5px;
}

/* Social Links */
.social-row{
  display: flex;
  gap: 18px;
}

.social-row a{
  color: rgba(240,220,180,0.75);
  text-decoration: none;
  transition: all .3s ease;
}

.social-row a:hover{
  color: var(--gold);
  opacity: 1;
}

/* Responsive */
@media (max-width:768px){

  .footer-grid{
    flex-direction: column;
    gap: 22px;
  }

  .footer-bottom{
    flex-direction: column;
    text-align: center;
  }

  .footer-brand{
    justify-content: center;
  }

  .footer-logo{
    width: 80px;
    height: 80px;
  }
}
/* ---------- RESPONSIVE ---------- */
@media (max-width: 920px) {
  .nav-links { display: none; }
  .hero-grid, .story-grid, .trust-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-grid .story-visual, .hero-grid .hero-visual { order: -1; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-list { grid-template-columns: 1fr; }
  section { padding: 70px 0; }
  .hero-visual .hero-image { max-width: 100%; height: auto; }
  .product-card img.product-image { max-height: 280px; }
}

@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  nav { padding: 14px 20px; }
  .hero-visual .hero-image { max-width: 100%; height: auto; }
  .product-card img.product-image { max-height: 220px; }
}
@media (max-width: 768px) {
  .hero-image {
    width: 100%;
    max-width: 520px;
  }
}


/* =========================================================
   MADCRUST - MOBILE RESPONSIVE FIX
   Paste this at the VERY BOTTOM of style.css
========================================================= */

/* Prevent anything from creating horizontal scrolling */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

/* Make all images responsive */
img {
  max-width: 100%;
  height: auto;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 920px) {

  /* HEADER */
  nav {
    width: 100%;
    max-width: 100%;
    padding: 12px 20px;
    gap: 12px;
  }

  .brandmark {
    min-width: 0;
    flex-shrink: 1;
  }

  .brandmark img,
  .logo {
    width: 55px;
    height: 55px;
    object-fit: contain;
  }

  .brand-name {
    font-size: 17px;
    line-height: 1.1;
  }

  .brand-name small {
    font-size: 7px;
    letter-spacing: 0.08em;
  }

  /* Your HTML uses nav-list, not nav-links */
  .nav-list {
    gap: 15px;
    font-size: 12px;
  }

  nav > .btn-primary {
    padding: 10px 15px;
    font-size: 12px;
    white-space: nowrap;
  }

  /* HERO */
  .hero {
    width: 100%;
    padding: 50px 0 35px;
  }

  .hero-grid {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(38px, 9vw, 58px);
  }

  .hero p.lede {
    max-width: 100%;
    font-size: 16px;
  }

  .hero-visual {
    width: 100%;
    max-width: 100%;
  }

  .hero-visual .hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 20px;
  }

  /* STORY */
  .story-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .story-visual {
    width: 100%;
  }

  /* TRUST */
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  /* PRODUCTS */
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card {
    min-width: 0;
  }

  .product-image {
    width: 100%;
    max-width: 100%;
    height: 280px;
  }

  .product-body h3 {
    font-size: 25px;
  }

  /* CONTACT */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* GENERAL */
  .wrap {
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  section {
    width: 100%;
  }
}


/* =========================================================
   MOBILE - 768px
========================================================= */

@media (max-width: 768px) {

  /* -------------------------
     BODY
  ------------------------- */

  html,
  body {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
  }

  /* -------------------------
     HEADER
  ------------------------- */

  header {
    width: 100%;
    max-width: 100%;
  }

  nav {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
  }

  .brandmark {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    flex: 1 1 auto;
  }

  .brandmark img,
  .logo {
    width: 48px;
    height: 48px;
    max-width: 48px;
    object-fit: contain;
    flex-shrink: 0;
  }

  .brand-name {
    font-size: 15px;
    line-height: 1.05;
    white-space: nowrap;
  }

  .brand-name small {
    font-size: 6px;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  /* ORDER NOW BUTTON */
  nav > .btn-primary {
    flex-shrink: 0;
    padding: 9px 12px;
    font-size: 11px;
    border-radius: 50px;
    white-space: nowrap;
  }

  /* NAVIGATION LINKS */
  .nav-list {
    order: 3;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    overflow-x: auto;
    padding: 8px 0 4px;
    margin: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav-list::-webkit-scrollbar {
    display: none;
  }

  .nav-list a {
    flex: 0 0 auto;
    font-size: 11px;
    padding: 5px 10px;
    white-space: nowrap;
  }


  /* -------------------------
     MAIN CONTAINER
  ------------------------- */

  .wrap,
  .container {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 18px;
    padding-right: 18px;
  }


  /* -------------------------
     HERO
  ------------------------- */

  .hero {
    width: 100%;
    max-width: 100%;
    padding: 35px 0 25px;
    overflow: hidden;
  }

  .hero-grid {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    order: 2;
  }

  .hero-visual {
    width: 100%;
    max-width: 100%;
    order: 1;
    display: block;
  }

  .hero-visual .hero-image {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 52px);
    line-height: 1.05;
    margin: 12px 0 18px;
  }

  .hero p.lede {
    width: 100%;
    max-width: 100%;
    font-size: 15px;
    line-height: 1.65;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .hero-ctas {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost {
    padding: 12px 17px;
    font-size: 12px;
  }

  .hero-fssai {
    width: 100%;
    max-width: 100%;
    font-size: 9px;
    line-height: 1.5;
    flex-wrap: wrap;
  }


  /* -------------------------
     MARQUEE
  ------------------------- */

  .marquee {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .marquee-track {
    font-size: 10px;
  }


  /* -------------------------
     SECTIONS
  ------------------------- */

  section {
    width: 100%;
    max-width: 100%;
    padding: 60px 0;
    overflow: hidden;
  }

  .section-head {
    width: 100%;
    max-width: 100%;
    margin-bottom: 35px;
  }

  .section-head h2 {
    font-size: 32px;
    line-height: 1.15;
  }

  .section-head p {
    font-size: 14px;
    line-height: 1.6;
  }


  /* -------------------------
     STORY
  ------------------------- */

  .story-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .story-visual {
    width: 100%;
    max-width: 100%;
  }

  .story-copy {
    width: 100%;
    max-width: 100%;
  }

  .story-copy h2 {
    font-size: 30px !important;
    line-height: 1.15;
  }

  .story-copy p {
    font-size: 14px;
    line-height: 1.7;
  }

  .parent-strip {
    width: 100%;
    padding: 15px;
  }

  .parent-strip .mono {
    font-size: 9px;
  }


  /* -------------------------
     PRODUCTS
  ------------------------- */

  .products {
    width: 100%;
    padding: 60px 0;
  }

  .product-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 30px;
  }

  .product-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .product-image,
  .product-card img.product-image {
    width: 100%;
    max-width: 100%;
    height: 250px;
    max-height: 250px;
    object-fit: contain;
    padding: 8px;
  }

  .product-body {
    padding: 17px;
  }

  .product-body h3 {
    font-size: 23px;
    line-height: 1.2;
  }

  .desc {
    font-size: 13px;
    line-height: 1.6;
  }

  .product-meta {
    margin-top: 18px;
    padding-top: 14px;
  }

  .weight {
    font-size: 10px;
  }

  .price {
    font-size: 15px;
  }


  /* -------------------------
     TRUST
  ------------------------- */

  .trust {
    width: 100%;
  }

  .trust-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .stamp-wrap {
    width: 100%;
  }

  .stamp,
  .stamp-outer {
    width: 190px;
    height: 190px;
  }

  .feature-list {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .feature {
    width: 100%;
  }


  /* -------------------------
     FOOTER
  ------------------------- */

  footer {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .footer-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  .footer-brand {
    width: 100%;
    justify-content: center;
  }

  .footer-logo {
    width: 65px;
    height: 65px;
  }

  .footer-legal {
    width: 100%;
    max-width: 100%;
    font-size: 9px;
    line-height: 1.6;
    text-align: center;
  }

  .footer-bottom {
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .social-row {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
  }
}


/* =========================================================
   VERY SMALL PHONES - 480px
========================================================= */

@media (max-width: 480px) {

  nav {
    padding: 9px 12px;
  }

  .brandmark img,
  .logo {
    width: 42px;
    height: 42px;
    max-width: 42px;
  }

  .brand-name {
    font-size: 13px;
  }

  .brand-name small {
    font-size: 5px;
  }

  nav > .btn-primary {
    padding: 8px 10px;
    font-size: 10px;
  }

  .nav-list a {
    font-size: 10px;
    padding: 5px 8px;
  }

  .wrap,
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p.lede {
    font-size: 14px;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost {
    padding: 11px 14px;
    font-size: 11px;
  }

  .section-head h2 {
    font-size: 29px;
  }

  .product-image,
  .product-card img.product-image {
    height: 220px;
    max-height: 220px;
  }
}


/* =========================================================
   STOP FIXED-WIDTH ELEMENTS FROM BREAKING MOBILE
========================================================= */

@media (max-width: 768px) {

  .hero *,
  .story *,
  .products *,
  .trust *,
  footer * {
    max-width: 100%;
  }

  .hero-grid,
  .story-grid,
  .trust-grid,
  .product-grid,
  .footer-grid,
  .footer-bottom {
    min-width: 0;
  }

  h1,
  h2,
  h3,
  p {
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

}
/* =========================
   MADCRUST SHOPPING CART
========================= */

.cart-button{
  display:inline-flex;
  align-items:center;
  gap:7px;
  border:1px solid rgba(36,21,18,.16);
  background:var(--paper);
  color:var(--ink);
  padding:10px 14px;
  border-radius:999px;
  font:600 13px 'Work Sans',system-ui,sans-serif;
  cursor:pointer;
  white-space:nowrap;
  transition:all .2s ease;
}
.cart-button:hover{ border-color:var(--gold); transform:translateY(-1px); }
.cart-button b{
  min-width:21px;height:21px;padding:0 6px;
  display:inline-flex;align-items:center;justify-content:center;
  border-radius:50%;background:var(--gold);color:var(--ink);font-size:11px;
}

.add-to-cart{
  width:100%;
  border:none;
  cursor:pointer;
  margin-top:18px;
  text-align:center;
}

.cart-modal{
  position:fixed;inset:0;z-index:2000;
  visibility:hidden;pointer-events:none;
}
.cart-modal.open{visibility:visible;pointer-events:auto;}
.cart-backdrop{
  position:absolute;inset:0;background:rgba(36,21,18,.58);
  opacity:0;transition:opacity .25s ease;
}
.cart-modal.open .cart-backdrop{opacity:1;}

.cart-drawer{
  position:absolute;top:0;right:0;
  width:min(470px,100%);height:100%;
  background:var(--paper);padding:28px;
  box-shadow:-18px 0 55px rgba(0,0,0,.18);
  transform:translateX(100%);transition:transform .28s ease;
  display:flex;flex-direction:column;
}
.cart-modal.open .cart-drawer{transform:translateX(0);}

.cart-header{
  display:flex;align-items:flex-start;justify-content:space-between;
  gap:20px;padding-bottom:22px;border-bottom:1px solid var(--line);
}
.cart-header h2{margin-top:8px;font-size:34px;}
.cart-close{
  width:40px;height:40px;border:1px solid var(--line);
  border-radius:50%;background:transparent;color:var(--ink);
  font-size:28px;line-height:1;cursor:pointer;
}

.cart-items{overflow:auto;padding:12px 0;flex:1;}
.cart-item{
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;padding:18px 0;border-bottom:1px solid var(--line);
}
.cart-item-info{display:flex;flex-direction:column;gap:5px;min-width:0;}
.cart-item-info strong{font-family:'Fraunces',Georgia,serif;font-size:18px;}
.cart-item-info span{color:var(--jaggery);font-size:12px;line-height:1.4;}
.cart-item-actions{display:flex;align-items:center;gap:8px;flex-shrink:0;}
.qty-btn{
  width:30px;height:30px;border:1px solid var(--line);
  border-radius:50%;background:#fff;cursor:pointer;font-size:18px;
}
.remove-item{
  border:0;background:none;color:var(--chilli);
  cursor:pointer;font-size:11px;margin-left:4px;
}
.cart-empty{color:var(--jaggery);line-height:1.6;padding:28px 0;}
.cart-footer{border-top:1px solid var(--line);padding-top:20px;}
.cart-total-row{
  display:flex;justify-content:space-between;align-items:center;
  margin-bottom:16px;font-size:17px;
}
.cart-total-row strong{font-size:22px;}
.whatsapp-order{width:100%;text-align:center;}
.whatsapp-order.disabled{opacity:.5;pointer-events:none;}
.clear-cart{
  width:100%;margin-top:10px;padding:11px;border:0;
  background:transparent;color:var(--jaggery);cursor:pointer;font-weight:600;
}
body.cart-open{overflow:hidden;}

@media(max-width:900px){
  .cart-button span{display:none;}
  .cart-button{padding:10px 12px;}
}
@media(max-width:600px){
  .cart-drawer{padding:22px 18px;}
  .cart-item{align-items:flex-start;flex-direction:column;}
  .cart-item-actions{width:100%;justify-content:flex-end;}
}


/* ---------- PRODUCT IMAGE CAROUSEL ---------- */
.product-image-wrap{
  position:relative;
  width:100%;
  height:450px;
  overflow:hidden;
  background:#faf7f2;
}
.product-image-wrap .product-image{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:8px;
  transition:opacity .2s ease;
}
.product-image-next{
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  width:42px;
  height:42px;
  border:1px solid rgba(36,21,18,.15);
  border-radius:50%;
  background:rgba(251,247,238,.94);
  color:var(--ink);
  font-size:24px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 5px 16px rgba(0,0,0,.12);
  z-index:2;
  transition:all .2s ease;
}
.product-image-next:hover{
  background:var(--gold);
  transform:translateY(-50%) scale(1.06);
}
.product-card:hover .product-image{
  transform:none;
}

/* Keep the cart easy to find in the header */
.cart-button{
  order:1;
}
.nav-list{
  order:2;
}
nav > .btn-primary{
  order:3;
}

@media(max-width:800px){
  .product-image-wrap{height:360px;}
  .product-image-next{width:38px;height:38px;right:10px;}
}
