:root{
  --container-w: 1100px;
  --gutter: 16px;
  --topbar-h: 40px;
  --header-h: 150px;  /* adjust if your header is taller/shorter */
  --footer-h: 80px;
}




*{box-sizing:border-box}



html, body { height: 100%; }
body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,'Helvetica Neue',Arial,sans-serif;
  margin:0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #faf7f0;
}




/* Top black strip */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--topbar-h, 40px); /* Fallback to 40px if --topbar-h isn't set */
  background: #000;
  z-index: 1000;
  display: flex;
  align-items: center;   /* Vertical centering */
  justify-content: center; /* Horizontal centering */
  padding: 0 10px;
  font-size: 14px;
}

.topbar-message {
  color: #fff;
  margin: 0;
  font-weight: 500;
  text-align: center;
}


/* ===== Header (no grid; icons are absolutely positioned to the right) ===== */
.site-header{
  position: fixed;
  top: var(--topbar-h); left: 0; right: 0;
  /*background: #fff;*/
 /* background: #f7f1e6; */
  background: #d6cfc3;
  z-index: 3000;
}

.site-header__inner{
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 18px var(--gutter) 10px; /* space for title + nav */
  text-align: center;
}

/* Title on its own line, centered */
.site-title{
  display: block;
  margin: 0 0 30px;
  text-decoration: none;
  color: #111;
  font-weight: 200;
  letter-spacing: 1px;
  font-size: clamp(2rem, 4vw, 2.5rem);
  text-transform: uppercase;
  text-align: center;
}

/* Nav centered beneath the title */
.site-nav{ margin-top: 6px; }
.site-nav ul{
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}
.site-nav a{
  color: #111;
  text-decoration: none;
  font-weight: 400;
  padding: 6px 4px;
}
.site-nav a:hover,
.site-nav a:focus{ text-decoration: underline; outline: none; }

/* Icons: pin to far right of full-width header */
.site-icons{
  position: absolute;                 /* relative to .site-header */
  top: 28px;
  right: clamp(16px, 4vw, 48px);
  display: flex;
  gap: 18px;
  align-items: center;
}


/* Icon buttons */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; 
  height: 36px;
  text-decoration: none;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.icon-btn:hover,
.icon-btn:focus {
  background-color: rgba(0,0,0,0.05); /* subtle circle hover */
}

/* PNG icons (monochrome effect) */
.icon-image {
  width: 22px;
  height: 22px;
  display: block;
  filter: grayscale(100%) brightness(0); /* makes them black */
  transition: filter 0.2s ease;
}

.icon-btn:hover .icon-image,
.icon-btn:focus .icon-image {
  filter: grayscale(100%) brightness(0.3); /* darker on hover */
}



/* ===========================  Mega menu (Products) ======================== */

.site-nav li.has-mega { position: relative; }

/* Panel base (hidden by default) */
.site-nav .mega {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 10px);
  top: 100%;
  width: min(1100px, 92vw);        /* match your container width-ish */
  background: #fff;
  border: 1px solid #e6e6e6;
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
  border-radius: 8px;
  padding: 18px 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  z-index: 1200;
}

/* Open on hover or keyboard focus */
.site-nav li.has-mega:hover > .mega,
.site-nav li.has-mega:focus-within > .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}

/* Columns */
.mega__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Each column */
.mega__col { min-width: 0; }

/* Column title (type) */
.mega__title {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.mega__title a {
  color: #111;
  text-decoration: none;
}
.mega__title a:hover { text-decoration: underline; }

/* Category links */
.mega__col ul { list-style: none; margin: 0; padding: 0; }
.mega__col li + li { margin-top: 6px; }
.mega__col a {
  color: #111;
  text-decoration: none;
  font-size: 0.96rem;
}
.mega__col a:hover, .mega__col a:focus { text-decoration: underline; }





/* Products link + arrow */
.site-nav .has-mega > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;                 /* space between text and arrow */
  position: relative;
}

/* Caret (Products arrow) */
.site-nav .has-mega > .nav-link .caret {
  width: 12px;              /* keep it small */
  height: 12px;
  object-fit: contain;
  display: inline-block;
  margin-top: 1px;          /* nudges up if it looks too low */
  transform: rotate(0deg);
  transition: transform .2s ease;
  filter: grayscale(100%) brightness(0); 
  pointer-events: none;
  vertical-align: middle;   /* align with text */
}


/* Rotate arrow on hover and keyboard focus */
.site-nav li.has-mega:hover > .nav-link .caret,
.site-nav li.has-mega:focus-within > .nav-link .caret {
  transform: rotate(180deg);  /* points up while open/hovered */
}



/* Make ALL nav links align their contents the same way */
.site-nav ul{
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;           /* <- vertically center items in the row */
}

.site-nav a{
  display: inline-flex;          /* <- same layout for all links */
  align-items: center;           /* <- centers text + arrow */
  gap: 6px;                      /* spacing between "Products" and arrow */
  line-height: 1;                /* avoid tall text lines */
  color: #111;
  text-decoration: none;
  font-weight: 400;
  padding: 6px 4px;
}

/* Caret (arrow) inside Products link */
.site-nav .has-mega > .nav-link .caret{
  width: 12px;
  height: 12px;
  object-fit: contain;
  display: block;                /* works nicely inside flex */
  margin: 0;                     /* remove any vertical nudge */
  transform: rotate(0deg);
  transition: transform .2s ease;
  filter: grayscale(100%) brightness(0);
}

/* Rotate on hover/focus (keep what you had) */
.site-nav li.has-mega:hover > .nav-link .caret,
.site-nav li.has-mega:focus-within > .nav-link .caret{
  transform: rotate(180deg);
}

/* (Optional) Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .site-nav .has-mega > .nav-link .caret { transition: none; }
}





/* ========================================= Hero ============================= */
.hero{
  /*background:#d2c3af; */
  background : #1e1a17;
  /* color:#111; */
  color: #faf7f0;
  margin:0; padding:0;
  border:0.5px solid grey;
}
.hero--split .hero__inner{
  display:flex;
  flex-direction:column;
  min-height:380px;
}
.hero--split .hero__copy,
.hero--split .hero__media{
  flex:1 1 50%;   /* both halves equal */
  width:50%;
}
/* vertically centered copy, nudged slightly upward */
.hero--split .hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 6vw, 80px) clamp(20px, 4vw, 64px);
  margin-top: -5%;
}
.hero__eyebrow{
  margin: 0 0 .4rem;
  font-size: 1.2rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  opacity: .85;
}
.hero__title{
  margin: .1rem 0 .6rem;
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: .2px;
}
.hero__subtitle{
  margin: 0 0 1.1rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.6;
  max-width: 40ch;
  color: #faf7f0;
  opacity: .95;
}

/**************************************** our story ********************************************************/
.hero__eyebrow-our-story{
  margin: 0 0 .4rem;
  font-size: 1.2rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  opacity: .85;
  color: #202020;
}

.hero__title-our-story{
  margin: .1rem 0 .6rem;
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: .2px;
  color: #202020;
}

.hero__subtitle-our-story{
  margin: 0 0 1.1rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.6;
  max-width: 40ch;
  
  opacity: .95;
  color: #202020;
}

/**************************************** End of our story ********************************************************/
.hero--split .hero__media{
  position:relative;
  min-height:320px;
}
.hero--split .hero__media img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  border-radius:0;
}
@media (min-width:768px){
  .hero--split .hero__inner{ flex-direction:row; min-height:520px; }
}

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  padding: 0.9rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .06s ease;
}
.btn--primary {
 /* background: #A52A2A; */
   background: #404040;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.btn--primary:hover {
  background: #111;
  color: #fff;
  transform: translateY(-1px);
}
.btn--primary:active { transform: translateY(0); }
.btn--primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(17,17,17,.15);
}


.btn--add[aria-disabled="true"] {
  background: #ccc;         /* greyed out */
  color: #666;
  cursor: not-allowed;
  pointer-events: none;     /* makes sure it’s not clickable */
  opacity: 0.8;
  text-transform: uppercase;
}


/* ===== Featured categories ===== */
.featured-cats{ margin:0; padding:0; }
.featured-cats__inner{
  max-width:none; margin:0; padding: clamp(20px, 4vw, 48px);
}
.featured-cats__title{
  font-size:clamp(1.4rem,2.8vw,2rem);
  margin:0 0 1rem;
  text-align: center;
  color: #111;
  font-weight: 300;
  margin-bottom: 35px;
}
.featured-cats__grid{
  display:grid; grid-template-columns:1fr;
  gap:clamp(12px,2vw,20px);
}



/* Featured Category Images */
.cat-card__img {
  width: 100%;
  height: 220px;               /* fixed height for uniform grid */
  object-fit: cover;           /* crops to fill */
  border-radius: 10px;
  margin-bottom: 0.75rem;
  display: block;
}
.cat-card__body {
  text-align: center;
}
.cat-card__title {
  margin: 0.25rem 0;
  font-size: 1.125rem;
  font-weight: 600;
}
.cat-card__text {
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
}

/* ===== Brand Promise band ===== */
.brand-promise{
  background: #DEB887;                 /* light brown */
  color: #111;
  margin: 0; 
}
.brand-promise__inner{
  max-width: var(--container-w);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 64px) clamp(16px, 4vw, 32px);
  text-align: center;
}
.brand-promise__title{
  margin: 0 0 .5rem;
  font-weight: 600;
  letter-spacing: .02em;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
}
.brand-promise__text{
  margin: 0 auto;
  max-width: 60ch;
  line-height: 1.7;
  font-size: clamp(0.98rem, 2.3vw, 1.05rem);
  color: #2a2a2a;
}


/* Variant styling for the second split section */
.hero--alt{
  background: #f7f1e6;            /* subtle light brown */
  background :#f2e5ce;
  border: 0;                       /* cleaner edge than the first hero */
}




/* ===== Inspiration band (clean, centered) ===== */
.inspo{
  /*background: #F4A460;*/                  /* a touch lighter than brand-promise */
  /*background: #f2c8bd; */
  background: #e89572; /************* our story background color **********************************************************************/
  color: #111;
}
.inspo__inner{
  max-width: var(--container-w);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 72px) clamp(16px, 4vw, 32px);
  text-align: center;
}
.inspo__eyebrow{
  margin: 0 0 .35rem;
  font-size: 0.95rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .75;
}
.inspo__title{
  margin: 0 0 .6rem;
  font-weight: 600;
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  letter-spacing: .01em;
}
.inspo__text{
  margin: 0 auto;
  max-width: 62ch;
  line-height: 1.7;
  font-size: clamp(0.98rem, 2.3vw, 1.06rem);
  color: #2a2a2a;
}







/* ===== Info + Subscribe band ===== */
.info-band{
 /* background:#d2c3af; /* same soft beige as before */
  /*background: #f7f1e6;*/
  background: #d6cfc3;
  color:#111;
  margin:0; 
}
.info-band__inner{
  max-width:var(--container-w);
  margin:0 auto;
  padding: clamp(28px, 6vw, 72px) clamp(16px, 4vw, 32px);
  display:grid;
  gap: clamp(20px, 4vw, 40px);
  grid-template-columns: 1fr;
}
@media (min-width: 900px){
  .info-band__inner{
    grid-template-columns: repeat(4, 1fr); /* 3 lists + subscribe */
    align-items:start;
  }
}

/* Left lists */
.info-band__lists{
  display:grid;
  gap:20px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px){
  .info-band__lists{ grid-template-columns: repeat(3, 1fr); }
}

/* Columns */
.info-col__title{
  margin:5px 0 .5rem;
  font-size:1.05rem;
  font-weight:700;
  letter-spacing:.02em;
  text-transform:uppercase;
}
.info-col__list{
  list-style:none;
  margin:0;
  padding:0;
}
.info-col__list li + li{ margin-top:.45rem; }
.info-col__list a{
  text-decoration:none;
  color:#1b1b1b;
}
.info-col__list a:hover,
.info-col__list a:focus{
  text-decoration:underline;
  outline:none;
}

/* Subscribe column (no background) */
.info-sub{
  padding:0; /* strip padding */
  border:0;  /* remove border */
  box-shadow:none;
}
.info-sub__title{
  margin:0 0 .4rem;
  font-size:1.05rem;
  font-weight:700;
  text-transform:uppercase;
}
.info-sub__text{
  margin:0 0 1rem;
  font-size:.95rem;
  color:#2a2a2a;
}
.info-sub__form{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.info-sub__input{
  flex:1 1 220px;
  min-width:0;
  height:42px;
  padding:0 12px;
  border:1px solid #d8d8d8;
  border-radius:6px;
  font-size:.95rem;
}
.info-sub__btn{
  height:42px;
  padding:0 16px;
  border-radius:6px;
}

/* Remove spacing between info band and footer */
.info-band + .site-footer{
  margin-top:0;
}




/* Let <main> take the leftover height */
main{
  flex: 1 0 auto;           /* grow to fill, don’t shrink below content */
  padding-top: calc(var(--topbar-h) + var(--header-h));
  padding-bottom: 0;
  display: flex;            /* you already had this */
  flex-direction: column;
  gap: 30px;
}



/* 2) Proper 3+1 column layout with even spacing on desktop */
.info-band__inner{
  display: grid;
  grid-template-columns: 1fr;           /* mobile: single column */
  gap: clamp(24px, 4vw, 48px);
}

@media (min-width: 900px){
  .info-band__inner{
    grid-template-columns: repeat(4, 1fr);  /* 4 equal columns */
    align-items: start;
  }

  /* Make the three link columns span the first three grid columns */
  .info-band__lists{
    grid-column: 1 / span 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* 3 equal columns inside */
    column-gap: clamp(16px, 3vw, 32px);
    row-gap: 16px;
  }

  /* Subscribe sits in the 4th column and aligns to the top */
  .info-sub{
    grid-column: 4 / span 1;
    align-self: start;
  }
}

/* Remove any unintended background/padding around the subscribe block */
.info-sub{
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}
.info-sub__form{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.info-sub__input{
  flex: 1 1 220px;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  font-size: .95rem;
}
.info-sub__btn{
  height: 42px;
  padding: 0 16px;
  border-radius: 6px;
}


/* ===== Standard vertical rhythm for sections ===== */

/* Remove margin from the last section above the footer */
section:last-of-type {
  margin-bottom: 0;
}







/* Give a little space ABOVE the info band (so it's not stuck to the section above)
   but keep it flush with the footer below */


/* Keep the info band attached to the footer */
.info-band { margin-bottom: 0; }




@media (min-width:768px){
  .featured-cats__grid{ grid-template-columns:repeat(3,1fr); }
}
.cat-card{
  display:block; border:1px solid #e5e7eb; border-radius:7px;
  padding:1.25rem; text-decoration:none; color:inherit;
  transition: box-shadow .2s ease, transform .08s ease, border-color .2s ease;
}
.cat-card:hover{
  transform: translateY(-2px);
  border-color:#d1d5db; box-shadow:0 10px 22px rgba(0,0,0,.06);
}
.cat-card__title{ margin:0 0 .25rem; font-size:1.125rem; font-weight:600; }
.cat-card__text{ margin:0; color:#6b7280; font-size:.98rem; }



/* ===== Footer ===== */
.site-footer{
  left:0; right:0; bottom:0;
  min-height:var(--footer-h);
  background:#111; color:#fff;
  display:flex; align-items:center;

 margin-top: auto; 

}
.site-footer__inner{
  max-width:var(--container-w);
  margin:0 auto; padding:0 var(--gutter);
  width:100%;
  display:flex; gap:12px; align-items:center; justify-content:space-between;
  flex-wrap:wrap;
}
/* Push copy to the left; nav on the right */
.footer-copy{
  margin:0; font-size:.95rem; opacity:.9; margin-right:auto;
}
.footer-nav ul{
  list-style:none; margin:0; padding:0;
  display:flex; gap:14px; flex-wrap:wrap;
}
.footer-nav a{ color:#fff; text-decoration:none; font-size:.9rem; }
.footer-nav a:hover, .footer-nav a:focus{ text-decoration:underline; }

/* Mobile footer stack */
@media (max-width: 720px){
  .site-footer__inner{
    flex-direction:column; align-items:center; gap:8px; text-align:center;
  }
}

/* === Uniform spacing between home sections === */
main {
  /* keep footer flush + consistent section spacing */
  padding-top: calc(var(--topbar-h) + var(--header-h));
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
/* neutralize section margins so gap controls spacing */

main > section > *:first-child { margin-top: 0; }
main > section > *:last-child  { margin-bottom: 0; }

/* Keep the info band attached to the footer (single declaration) */
.info-band { margin-bottom: 0; }




/* Mobile: keep your existing stack behavior */
@media (max-width: 720px){
  .site-footer__inner{
    flex-direction:column;
    align-items:center;  /* centers both lines when stacked */
    gap:8px;
    text-align:center;
  }
}


/* Utility / a11y */
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* Stock badges */
.stock-badge{display:inline-block; padding:.25rem .5rem; border-radius:.375rem; font-size:.85rem; line-height:1;}
.stock-badge.in{background:#e9f7ef; color:#1e7e34; border:1px solid #c9e7d3;}
.stock-badge.low{background:#fff8e1; color:#8a6d3b; border:1px solid #ffe9a8;}
.stock-badge.out{background:#fdecea; color:#a94442; border:1px solid #f5c6cb;}



/* === Uniform spacing between all home sections === */
main {
  /* you already have these: */
  padding-top: calc(var(--topbar-h) + var(--header-h));
  padding-bottom: 0;            /* keep footer flush */
  /* make main a vertical stack */
  display: flex;
  flex-direction: column;
  gap: 30px;                    /* <-- the only spacing between sections */
  
    background: #faf7f0; /****************** this the background color for the product details page **************************************************************************/
}



/* optional: stop inner headings from adding odd extra space at the edges */
main > section > *:first-child { margin-top: 0; }
main > section > *:last-child  { margin-bottom: 0; }




/* ===== Hero: tighten copy, full-width columns, stable media height ===== */
@media (max-width: 991px){
  .hero--split .hero__inner{
    min-height: unset;           /* let content define height on mobile */
  }

  /* Make both halves full-width when stacked */
  .hero--split .hero__copy,
  .hero--split .hero__media{
    width: 100%;
  }

  .hero--split .hero__copy{
    padding: 20px 16px 24px;     /* smaller side padding on phones */
    margin-top: 0;               /* remove the negative nudge */
  }

  .hero__eyebrow{ font-size: 0.95rem; }
  .hero__title{   font-size: clamp(1.6rem, 6vw, 2.2rem); line-height: 1.15; }
  .hero__subtitle{
    font-size: clamp(.98rem, 3.8vw, 1.05rem);
    max-width: 100%;
  }

  /* Keep the image tall enough to feel immersive on small screens */
  .hero--split .hero__media{
    min-height: 260px;           /* tweak to taste (220–300px) */
  }
}

/* Tiny phones: shave sizes a touch more */
@media (max-width: 360px){
  .hero__title{   font-size: clamp(1.4rem, 7vw, 2rem); }
  .hero__subtitle{font-size: .95rem;}
}


/* Info band: center like inspo + slimmer email field (mobile) */
@media (max-width: 991px){
  .info-band__inner{
    text-align: center;              /* center headings, text, links */
  }
  .info-band__lists{
    justify-items: center;           /* center each column block */
  }
  .info-col,
  .info-sub{
    margin: 0 auto;                  /* center the blocks themselves */
    max-width: 560px;                /* avoid super-wide lines */
  }
  .info-col__list{
    text-align: center;              /* center list items/links */
  }

  /* Form: centered, narrower, slimmer input */
  .info-sub__form{
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .info-sub__input{
    width: 100%;
    max-width: 420px;
    height: 38px;                    /* ↓ was taller */
    padding: 0 12px;
  }
  .info-sub__btn{
    width: 100%;
    max-width: 420px;
    height: 38px;                    /* match input height */
    padding: 0 14px;                 /* keep button compact */
  }


.info-band .info-sub__input{
    height: 36px !important;   /* force shorter box */
    line-height: 36px;         /* make text baseline match height */
    padding: 0 12px;           /* vertical padding = 0 so height wins */
    -webkit-appearance: none;  /* iOS/Safari form control reset */
    appearance: none;
  }
  .info-band .info-sub__btn{
    height: 36px;
    line-height: 36px;         /* vertically centers the label */
    padding: 0 14px;
  }




}



  @media (max-width: 991px){
  .info-band .info-sub .info-sub__form .info-sub__input{ /* same props as above */ }
}




@media (max-width: 991px){
  /* Center the form contents */
  .info-band .info-sub__form{
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  /* Stop flex from stretching; clamp width; slim the height */
  .info-band .info-sub__input{
    flex: 0 0 auto;           /* <-- overrides flex:1 1 220px */
    width: 100%;
    max-width: 320px;         /* adjust to taste (e.g., 360px or 280px) */
    height: 40px !important;  /* ensure shorter box */
    line-height: 36px;
    padding: 0 12px;
    box-sizing: border-box;
    -webkit-appearance: none;
            appearance: none;
  }

  .info-band .info-sub__btn{
    flex: 0 0 auto;
    width: 100%;
    max-width: 320px;         /* match input width */
    height: 40px;
    line-height: 36px;
    padding: 0 14px;
  }
}


/* Mobile header: same row + shorter overall height */
@media (max-width: 991px){
  /* ↓ shrink the header height variable so <main> doesn't leave a big gap */
  :root{ --header-h: 84px; }   /* tweak to taste: 72–96px */

  .site-header__inner{
    padding: 8px var(--gutter);     /* tighter vertical padding */
    text-align: left;               /* title aligns left */
  }

  .site-title{
    margin: 0;                      /* no extra white space */
    font-size: clamp(1.25rem, 5vw, 1.6rem);
    line-height: 1.1;
    display: inline-block;          /* keeps it compact next to icons */
    text-align: left;  
  }

  .site-icons{
    top: 12px;                      /* line up with the title */
    gap: 12px;
  }
}


/* Force left-aligned header/title on mobile */
@media (max-width: 991px){
  .site-header__inner{
    text-align: left !important;   /* beats earlier center rules */
    padding: 8px var(--gutter);
  }
  .site-title{
    display: inline-block;
    margin: 0;
    text-align: left !important;
  }
}


/* Desktop: never show the hamburger */
@media (min-width: 992px){
  .site-icons .mobile-menu-trigger{
    display: none !important;
  }
  .menu-overlay{ display: none !important; }
}



/* ===== Product catalogue grid (list_categories.php) ===== */
.small-container.catalogue{
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--gutter) 48px;
}

/* Optional: tidy the heading/intro above the grid */
.small-container.catalogue .col-2{
  margin-bottom: 12px;
}
.list-categories-title{
  margin: 0 0 6px;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  font-weight: 600;
  letter-spacing: .01em;
}
.list-categories-description{
  margin: 0 0 8px;
  color: #444;
  line-height: 1.55;
}

/* The grid of products */
.row-catalogue{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));   /* phones */
  gap: 16px;
  margin-top: 10px;
}

/* scale up columns on wider screens */
@media (min-width: 560px){
  .row-catalogue{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px){
  .row-catalogue{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Each product card */
.col-catalogue{
  border: 1px solid #e6e6e6;
  border-radius: 7px;
  background: #fff;
  padding: 12px;
  text-align: center;
  transition: box-shadow .2s ease, transform .08s ease, border-color .2s ease;
}
.col-catalogue:hover{
  transform: translateY(-2px);
  border-color: #d8d8d8;
  box-shadow: 0 10px 20px rgba(0,0,0,.06);
}

/* Make images consistent rows (square cards; change ratio if you like) */
.col-catalogue img{
  width: 100%;
  aspect-ratio: 1 / 1;         /* square thumbnails */
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 10px;
}

/* Text */
.col-catalogue h4{
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}
.col-catalogue .price-now{
  font-weight: 700;
}
.col-catalogue .price-was{
  margin-left: 6px;
  font-weight: 500;
}

/* Availability badge area */
.col-catalogue .availability{
  margin-top: 6px;
}

/* Make sure product links don’t get underlines, keep color */
.col-catalogue a{
  text-decoration: none;
  color: inherit;
}
.col-catalogue a:focus{
  outline: 2px solid rgba(0,0,0,.2);
  outline-offset: 2px;
}


/* Center the header area above the grid on all catalogue pages */
.small-container.catalogue .col-2 {
  text-align: center;
  margin-bottom: 18px; /* some space before the grid */
}

/* Center titles like "Our Products", "Shampoos", etc. */
.list-categories-title {
  text-align: center;
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  font-weight: 600;
  letter-spacing: .01em;
}

/* Center and space the type/category description */
.list-categories-description {
  text-align: center;
  margin: 0 auto 24px;    /* increased bottom space as requested */
  color: #444;
  line-height: 1.55;
  max-width: 60ch;        /* keeps lines readable */
}


/* Make each card fill its grid track and stack content vertically */
.row-catalogue {
  align-items: stretch;                /* ensure items stretch to equal row height */
}

.col-catalogue {
  display: flex;
  flex-direction: column;
  height: 100%;                        /* fill the grid track */
}

/* Push the badge to the bottom of the card */
.col-catalogue .availability {
  margin-top: auto;                    /* 👈 forces vertical alignment */
}

/* (optional) tighten spacing above the badge a tad */
.col-catalogue h4 + .availability,
.col-catalogue h4 + h4 + .availability {
  margin-top: 10px;
}



/* First h4 in the card = product name */
.col-catalogue h4:first-of-type {
  display: -webkit-box;
  -webkit-line-clamp: 2;               /* show up to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1em * 1.3 * 2);     /* reserve height for 2 lines (1.3 = line-height) */
}



/* Title: clamp to 2 lines and reserve height */
.col-catalogue h4:first-of-type {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
  min-height: calc(1em * 1.3 * 2);   /* 2 lines worth of space */
}

/* Price block: always present; reserve space so cards balance */
.col-catalogue .price {
  min-height: 1.6rem;                /* desktop/tablet ~1 line */
  display: flex;                      /* helps center one or two spans */
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  margin-bottom: 12px;
}

/* On narrow screens prices often wrap; reserve a bit more */
@media (max-width: 720px) {
  .col-catalogue .price {
    min-height: 2.4rem;              /* room for 1–2 lines on mobile */
  }
}

/* Keep what you already have */
.row-catalogue { align-items: stretch; }
.col-catalogue { display: flex; flex-direction: column; }
.col-catalogue .availability { margin-top: auto; }





/* Make each grid cell be the wrapper, not the card */
.row-catalogue > .catalogue-item {
  display: flex;
  flex-direction: column;
}

/* Let the inner product card stretch; button sits beneath */
.catalogue-item .col-catalogue {
  flex: 1 1 auto;
  background: #faf7f0;  /*********************** This is the background color for the product images. If I remove this, the background will become white ********************/
}

.catalogue-item .card-actions {
  margin-top: 8px;
}

.catalogue-item .btn--add {
  width: 100%;
  height: 40px;
  
}

/* (Optional) A disabled-look helper if you ever render a non-clickable element */
.btn[aria-disabled="true"] {
  pointer-events: none;
  opacity: .55;
}




.catalogue-item .btn--add {
  width: 100%;
  height: 40px;
  display: flex;                  /* make the button a flexbox */
  align-items: center;            /* vertical center */
  justify-content: center;        /* horizontal center */
  font-weight: 600;               /* make label look balanced */
  text-transform: uppercase;      /* optional: keep consistent with theme */
  text-align: center;
  font-size: 13px;
}



/* ===================== Auth / Register ===================== */
.auth {
  padding: clamp(4px, 4vw, 4px) var(--gutter);
}
.auth__container {
  max-width: 520px;
  margin: 0 auto;
}
.auth-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: clamp(20px, 4vw, 32px);
  box-shadow: 0 10px 24px rgba(0,0,0,.05);
  margin-bottom: 40px;
}

.auth-title {
  margin: 0 0 6px;
  text-align: center;
  font-size: clamp(1.4rem, 3.2vw, 1.5rem);
  font-weight: 100;
  letter-spacing: .01em;
}
.auth-subtitle {
  margin: 0 0 18px;
  text-align: center;
  color: #555;
  font-size: 0.98rem;
}

/* Grid: 1 column on mobile, 2 for the name fields on >=640px */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.field.half { grid-column: 1 / -1; }
@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .field { grid-column: 1 / -1; }     /* full width by default */
  .field.half { grid-column: auto; }  /* half width for name pair */
}

/* Make common form elements pretty even if helper outputs vary */
.auth-form label {
  display: inline-block;
  margin: 0 0 6px;
  font-size: .95rem;
  font-weight: 300;
}
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  font-size: .98rem;
  transition: border-color .15s ease, box-shadow .15s ease;
  background: #fff;
}
.auth-form input::placeholder { color: #9aa0a6; }
.auth-form input:focus {
  outline: none;
  border-color: #bbb;
  box-shadow: 0 0 0 3px rgba(0,0,0,.08);
}

/* Helper hint under a field */
.auth-form .hint {
  display: block;
  margin-top: 6px;
  color: #6b7280;
  font-size: .9rem;
}

/* Error styles (works if your helper prints .error or similar) */
.auth-form .error, .auth-form .error-message {
  display: block;
  margin-top: 6px;
  color: #a94442;
  font-size: .9rem;
}
.auth-form .has-error input,
.auth-form input.input-error {
  border-color: #e09a9a;
  box-shadow: 0 0 0 3px rgba(230, 84, 84, .12);
}

/* Submit button */
.auth-submit {
  width: 100%;
  margin-top: 10px;
  height: 44px;
  border-radius: 8px;
}

/* Bottom link */
.auth-alt {
  margin: 14px 0 0;
  text-align: center;
  font-size: .95rem;
}
.auth-alt a { color: #111; text-decoration: none; }
.auth-alt a:hover { text-decoration: underline; }

/* Alerts (you already use .alert) */
.alert {
  border-radius: 8px;
  padding: 12px 14px;
  margin: 0 0 14px;
  border: 1px solid transparent;
}
.alert-success { background:#e9f7ef; border-color:#c9e7d3; color:#1e7e34; }
.alert-danger  { background:#fdecea; border-color:#f5c6cb; color:#a94442; }

.page-title{
  text-align:center;
  margin: 10 0 12px;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 300;
  color: #111;
}


/* Login page small helpers */
.auth-links {
  display: flex;
  justify-content: flex-end;
  margin: 6px 0 8px;
}
.forgot-link {
  font-size: .95rem;
  text-decoration: none;
  color: #111;
}
.forgot-link:hover { text-decoration: underline; }



/* Forgot password: map legacy helpers to your auth styles */
.auth-form .help-block {          /* if any template still outputs .help-block */
  display: block;
  margin-top: 6px;
  color: #a94442;
  font-size: .9rem;
}
.auth-form .has-error input {
  border-color: #e09a9a;
  box-shadow: 0 0 0 3px rgba(230,84,84,.12);
}



.page-title{
  text-align:center;
  margin: 10px 0 12px;   /* ensure px on the first value */
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 300;
  color: #111;
}



.btn--add[aria-disabled="true"] {
  background: #ccc;         /* greyed out */
  color: #666;
  cursor: not-allowed;
  pointer-events: none;     /* makes sure it’s not clickable */
  opacity: 0.8;
  text-transform: uppercase;
}




/*******************************
  PRODUCT DETAIL POLISH
  (append to your stylesheet)
*******************************/

/* Page wrapper spacing */
.small-container.single-product {
  max-width: 1080px;
  margin: 20px auto 60px;
  padding: 0 16px;
}

/* Two-column layout (mobile first = stacked) */
.small-container.single-product .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

/* Main image */
.small-container.single-product #ProductImg {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

/* Thumbnails row */
.small-img-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.small-img-col img.small-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  outline: 1px solid rgba(0,0,0,.06);
  transition: transform .15s ease, outline-color .15s ease;
}
.small-img-col img.small-img:hover {
  transform: translateY(-2px);
  outline-color: rgba(0,0,0,.18);
}

/* Text column */
.small-container.single-product .col-2.text {
  line-height: 1.6;
}

/* Title + price */
.small-container.single-product h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 6px;
}
.small-container.single-product .price,
.small-container.single-product > .row .col-2.text > p:first-of-type {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
}

/* Controls (size, color, qty) */
.single-product-size,
.single-product-color {
  display: inline-block;
  min-width: 64px;
  font-size: 14px;
  margin: 10px 8px 6px 0;
}
.single-product select {
  appearance: none;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 14px;
  background: #fff;
}
.single-product .cart-input {
  width: 72px;
  height: 40px;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  padding-left: 12px;
  font-size: 14px;
  margin: 10px 0 0;
}

/* Add to Cart / Out of Stock */
.col-2 > p > .btn,
.btn.btn-noItems {
  display: inline-block;
  margin: 18px 0 10px;
  border-radius: 7px;
  padding: 10px 22px 9px;
  font-weight: 600;
  letter-spacing: .2px;
  text-decoration: none;
}
.col-2 > p > .btn { 
  background: #383838; 
  color: #fff; 
}


.col-2 > p > .btn:hover { background: #563434; }
.btn.btn-noItems {
  background: #d6d6d6;
  color: #666;
  cursor: not-allowed;
}

/* Stock badge */
.stock-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}
.stock-badge.in  { background: #e9f9ef; color: #18794e; }
.stock-badge.low { background: #fff7e6; color: #9a6700; }
.stock-badge.out { background: #feecec; color: #b42318; }

/* Section headings */
.small-container.single-product h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 18px 0 6px;
}
.small-container.single-product p {
  margin: 0 0 8px;
}

/* Make thumbnails bigger and 2-col layout on tablets/desktops */
@media (min-width: 793px) {
  .small-container.single-product .row {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .small-img-row {
    gap: 10px;
    margin-top: 12px;
  }
  .small-container.single-product h2 { font-size: 28px; }
  .small-container.single-product .price,
  .small-container.single-product > .row .col-2.text > p:first-of-type {
    font-size: 22px;
  }
}


/*******************************
  RELATED PRODUCTS (re-using catalogue grid)
*******************************/
.related {
  max-width: 1080px;
  margin: 0px auto 80px;
  padding: 0 16px;
}

.related__title {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 18px;
  line-height: 1.2;
}
.related__subtitle {
  text-align: center;
  font-size: 14px;
  opacity: .75;
  margin: 0 0 24px;
}

/* Use your existing catalogue grid classes */
.related .row-catalogue {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 12px;
  margin-bottom: 0;
  padding-bottom: 0;
}

.related .catalogue-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.related .catalogue-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}

.related .col-catalogue {
  padding: 10px 12px 12px;
  flex: 1 1 auto;
}
.related .col-catalogue img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}

.related .col-catalogue h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 2px 0 6px;
}
.related .price {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
}

/* The button row you output under .col-catalogue */
.related .card-actions {
  margin: 0;
  padding: 10px 12px 14px;
}
.related .btn--add {
  display: inline-block;
  border-radius: 7px;
  padding: 9px 16px 8px;
  font-weight: 600;
  text-decoration: none;
  background: #111;
  color: #fff;
}
.related .btn--add[aria-disabled="true"],
.related .btn--add[disabled] {
  background: #d6d6d6;
  color: #666;
  cursor: not-allowed;
}
.related .btn--add:hover { background: #563434; }

/* 3–4 columns on larger screens */
@media (min-width: 640px) {
  .related .row-catalogue { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}
@media (min-width: 980px) {
  .related .row-catalogue { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
}



/* ---- Make related cards/buttons match catalogue exactly ---- */
.related .col-catalogue img{
  aspect-ratio: 1 / 1;     /* same as catalogue */
  border-radius: 8px;
}

/* Use the same primary button look; remove the custom override */
.related .btn--add{
  background: #404040;            /* same as .btn--primary */
  border: 2px solid transparent;  /* no visible border */
  border-radius: 4px;             /* match base .btn */
}
.related .btn--add:hover{ background: #111; }

/* Keep button below the card like catalogue */
.related .card-actions{
  margin-top: 8px;
}




/* === Make related grid match list_categories exactly === */
.related .catalogue-item{
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.related .card-actions{
  padding: 0 !important;
  margin-top: 8px;            /* same spacing as catalogue */
  background: transparent !important;
}

/* Buttons: same look as .btn--primary (no visible border, dark bg) */
.related .btn--add{
  background: #404040 !important;   /* same as .btn--primary */
  border: 0 !important;             /* kills any faint border look */
  border-radius: 4px !important;    /* match base .btn */
}
.related .btn--add:hover{
  background: #111 !important;
}




/* Center the "Add to Cart" label in related products buttons */
.related .btn--add{
  display: flex !important;
  align-items: center !important;   /* vertical center */
  justify-content: center !important; /* horizontal center */
  height: 40px !important;          /* same height as catalogue */
  width: 100% !important;
  line-height: 1 !important;        /* avoid baseline offset */
  padding: 0 16px !important;       /* keep side padding */
  background: #404040 !important;   /* same as .btn--primary */
  border: 0 !important;             /* no border */
  border-radius: 4px !important;    /* match base .btn */
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.related .btn--add:hover{ background:#111 !important; }

/* Ensure the button sits on its own, not on a white card */
.related .catalogue-item{ background:transparent !important; box-shadow:none !important; }
.related .card-actions{ padding:0 !important; margin-top:8px !important; background:transparent !important; }



.variant-section {
  margin: 20px 0 16px;
}
.variant-options {
  display: flex;
  gap: 16px;
}
.variant-option {
  padding: 12px 20px;
  border: 2px solid #111;
  border-radius: 8px;
  position: relative;
  cursor: pointer;
  background: #fff;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}
.variant-option.selected {
  /* nested bullet / circle inside box effect */
}
.variant-option.selected::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid #111;
  border-radius: 50%;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  background: #fff;
}
.variant-option.selected::after {
  content: "•";
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translate(0, -50%);
  font-size: 10px;
  color: #111;
}

.qty-cart-container {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quantity-label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}
.quantity-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  height: 44px;
}
.qty-btn {
  width: 36px;
  height: 44px;
  border: none;
  background: #f7f7f7;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover {
  background: #e2e2e2;
}
.qty-input {
  width: 48px;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  outline: none;
  appearance: none;
  -moz-appearance: textfield; /* remove up/down arrows in some browsers */
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}




