/* ===========================================================
   TATTVAM — THE MORNING STORE
   Design tokens
   =========================================================== */
:root{
  --primary:      #556B2F;   /* Earthy Green   */
  --primary-dark: #3E4F22;
  --secondary:    #C8A96E;   /* Antique Gold   */
  --accent:       #C97A5D;   /* Terracotta     */
  --accent-2:     #A8B69A;   /* Sage Green     */
  --base:         #F7F1EC;   /* Warm Ivory     */
  --base-2:       #EFE6DB;
  --neutral:      #2F2F2F;   /* Charcoal       */
  --white:        #FFFDFB;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body:    "Manrope", -apple-system, sans-serif;
  --font-mono:    "Space Mono", monospace;

  --radius: 4px;
  --shadow-soft: 0 10px 30px -12px rgba(47,47,47,.18);
  --ease: cubic-bezier(.22,1,.36,1);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth; overflow-x:hidden; max-width:100%;}
body{
  overflow-x:hidden;
  max-width:100%;
  font-family:var(--font-body);
  color:var(--neutral);
  background:var(--base);
  line-height:1.6;
}
h1,h2,h3,h4,.font-display{font-family:var(--font-display);}
h1,h2,h3,h4{color:var(--primary-dark); font-weight:600;}
a{text-decoration:none; color:inherit;}

.eyebrow{
  font-family:var(--font-mono);
  letter-spacing:.18em;
  text-transform:uppercase;
  font-size:.72rem;
  color:var(--accent);
  font-weight:700;
}

/* ---------- Buttons ---------- */
.btn{
  border-radius:var(--radius);
  font-weight:600;
  letter-spacing:.03em;
  padding:.7rem 1.6rem;
  transition:all .3s var(--ease);
  border:1.5px solid transparent;
}
.btn-tattvam-primary{
  background:var(--primary);
  color:var(--white);
}
.btn-tattvam-primary:hover{
  background:var(--primary-dark);
  color:var(--white);
  transform:translateY(-2px);
  box-shadow:var(--shadow-soft);
}
.btn-tattvam-outline{
  background:transparent;
  border-color:var(--primary);
  color:var(--primary);
}
.btn-tattvam-outline:hover{
  background:var(--primary);
  color:var(--white);
  transform:translateY(-2px);
}
.btn-tattvam-gold{
  background:var(--secondary);
  color:var(--white);
}
.btn-tattvam-gold:hover{
  background:#b5905a;
  color:var(--white);
  transform:translateY(-2px);
  box-shadow:var(--shadow-soft);
}
.btn-sm-outline{
  border:1px solid var(--primary);
  color:var(--primary);
  font-size:.78rem;
  padding:.35rem 1rem;
  border-radius:2px;
  letter-spacing:.05em;
}
.btn-sm-outline:hover{background:var(--primary); color:#fff;}

/* ---------- Announcement bar ---------- */
.announce-bar{
  background:var(--primary-dark);
  color:var(--base);
  font-size:.78rem;
  letter-spacing:.12em;
  text-align:center;
  padding:.5rem 0;
  font-family:var(--font-mono);
  overflow:hidden;
  white-space:nowrap;
}
.announce-bar .marquee-track{
  display:inline-block;
  padding-left:100%;
  animation:marquee 22s linear infinite;
}
@keyframes marquee{
  0%{transform:translateX(0);}
  100%{transform:translateX(-100%);}
}

/* ---------- Header (2 stacked bars: header-bar + menu-bar) ---------- */
.site-header{
  background:var(--white);
  position:sticky;
  top:0;
  z-index:1030;
}
/* Any section used as an in-page anchor target (Wellness, Shop All,
   Best Sellers, Contact Us, etc.) needs breathing room above it equal
   to the sticky header's height — otherwise the header covers the
   top of the section when the browser jumps to the #anchor. */
section[id]{
  scroll-margin-top:160px;
}
@media(max-width:991px){
  section[id]{ scroll-margin-top:122px; }
}
.header-bar{
  border-bottom:1px solid var(--base-2);
}
.header-bar-inner{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  padding:1.1rem 0;
  gap:1rem;
}
.header-bar-inner .navbar-brand{
  grid-column:2;
  justify-self:center;
}
.header-bar-inner .navbar-toggler{
  grid-column:1;
  justify-self:start;
}
.header-bar-inner .header-icons{
  grid-column:3;
  justify-self:end;
}
.menu-bar{
  border-bottom:1px solid var(--base-2);
  padding:0;
}
.menu-bar .container{padding-top:.15rem; padding-bottom:.15rem;}
.navbar-brand-wrap{display:flex; flex-direction:column; align-items:center; line-height:1;}
.brand-title{
  font-family:var(--font-display);
  font-size:1.9rem;
  font-weight:700;
  color:var(--primary-dark);
  letter-spacing:.02em;
}
.brand-sub{
  font-family:var(--font-mono);
  font-size:.6rem;
  letter-spacing:.35em;
  color:var(--accent);
  text-transform:uppercase;
}
.main-nav .nav-link{
  font-size:.8rem;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--neutral);
  padding:.75rem 1rem !important;
  position:relative;
}
.main-nav .nav-link::after{
  content:"";
  position:absolute;
  left:1rem; right:1rem; bottom:0;
  height:2px;
  background:var(--accent);
  transform:scaleX(0);
  transition:transform .25s var(--ease);
}
.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after{transform:scaleX(1);}
.main-nav .nav-link.active{color:var(--primary-dark);}
/* Header icons: keep the icons together with NO spacing between them.
   Only the right side of the icon group gets breathing room. */
.header-icons{
  gap:0 !important;
  padding-right:.75rem;
}
.header-icons a{
  color:var(--neutral);
  font-size:1.05rem;
  margin-left:0 !important;
  margin-right:0 !important;
  padding-left:0;
  padding-right:0;
  transition:color .2s;
}
.header-icons a:first-child{margin-left:0 !important;}
.header-icons a:hover{color:var(--accent);}
.header-icons .account-menu{
  margin-left:0 !important;
  margin-right:0 !important;
}
.header-icons .account-menu .account-menu-trigger.account-menu-avatar{
  margin-left:0 !important;
  margin-right:0 !important;
}

/* ---------- Mobile header layout ---------- */
/* ---------- Desktop header icon spacing ---------- */
@media(min-width:992px){
  .header-icons{
    gap:9px !important;
    padding-right:1rem !important;
    display:flex !important;
    align-items:center;
    white-space:nowrap;
  }
  .header-icons > a,
  .header-icons > .site-search,
  .header-icons > .account-menu{
    margin:0 !important;
    flex:0 0 auto;
  }
}

@media(max-width:991px){
  .header-bar-inner{
    grid-template-columns:36px minmax(0,1fr) auto;
    align-items:center;
    gap:0;
    padding:.65rem 14px;
    min-width:0;
  }

  .header-bar-inner .navbar-toggler{
    justify-self:start;
    margin:0 !important;
    padding:.25rem .15rem !important;
    line-height:1;
  }

  .header-bar-inner .navbar-brand{
    min-width:0;
    max-width:100%;
    overflow:hidden;
  }

  .header-bar-inner .navbar-brand img{
    max-width:120px;
    max-height:52px;
    object-fit:contain;
  }

  .header-icons{
    justify-self:end;
    display:flex !important;
    align-items:center;
    gap:6px !important;
    padding-right:0 !important;
    margin-left:8px;
    white-space:nowrap;
    flex:0 0 auto;
  }

  /* Equal touch boxes keep the icons neatly grouped while leaving
     a small, consistent gap between each icon. */
  .header-icons > a,
  .header-icons > .site-search > a,
  .header-icons > .account-menu > .account-menu-trigger{
    width:24px;
    height:30px;
    padding:0 !important;
    margin:0 !important;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 24px;
  }

  .header-icons > .site-search,
  .header-icons > .account-menu{
    width:24px;
    height:30px;
    margin:0 !important;
    padding:0 !important;
    flex:0 0 24px;
  }

  .header-icons > .site-search > a{
    width:24px;
    height:30px;
  }

  .header-icons i{
    line-height:1;
  }
}

@media(max-width:575px){
  .header-bar-inner{
    grid-template-columns:34px minmax(0,1fr) auto;
    padding-left:12px;
    padding-right:14px;
  }

  .header-icons{
    gap:5px !important;
    margin-left:6px;
  }

  .header-icons > a,
  .header-icons > .site-search,
  .header-icons > .site-search > a,
  .header-icons > .account-menu,
  .header-icons > .account-menu > .account-menu-trigger{
    width:23px;
    flex-basis:23px;
  }

  .header-icons > a,
  .header-icons > .site-search > a,
  .header-icons > .account-menu > .account-menu-trigger{
    height:30px;
  }

  .header-icons i{
    font-size:1.08rem;
  }
}

/* ---------- Header live search ---------- */
.site-search{position:relative; margin-left:0;}
.site-search-box{
  position:absolute;
  top:calc(100% + 14px);
  right:-10px;
  width:380px;
  max-width:90vw;
  background:#fff;
  border-radius:14px;
  box-shadow:0 18px 45px rgba(47,47,47,.16);
  border:1px solid #efe9dd;
  opacity:0;
  visibility:hidden;
  transform:translateY(-8px);
  transition:opacity .2s ease, transform .2s ease, visibility .2s;
  z-index:1050;
  overflow:hidden;
}
.site-search-box.open{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.site-search-form{
  display:flex;
  align-items:center;
  gap:.6rem;
  padding:.9rem 1rem;
  border-bottom:1px solid #f1ece0;
}
.site-search-form-icon{color:var(--secondary); font-size:1rem;}
.site-search-input{
  flex:1;
  border:none;
  outline:none;
  font-size:.95rem;
  background:transparent;
  color:var(--neutral);
}
.site-search-input::placeholder{color:#b8ac97;}
.site-search-close{
  border:none;
  background:transparent;
  color:#b8ac97;
  font-size:.85rem;
  padding:.2rem;
  line-height:1;
  transition:color .2s;
}
.site-search-close:hover{color:var(--accent);}
.site-search-results{
  max-height:420px;
  overflow-y:auto;
  padding:.4rem 0;
}
.site-search-results:empty{display:none;}
.site-search-section-label{
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:#a99f8c;
  font-weight:700;
  padding:.6rem 1rem .3rem;
}
.site-search-item{
  display:flex;
  align-items:center;
  gap:.7rem;
  padding:.5rem 1rem;
  text-decoration:none;
  color:var(--neutral);
  transition:background .15s;
}
.site-search-item:hover{background:#faf7f0;}
.site-search-item-img{
  width:44px; height:44px;
  border-radius:8px;
  object-fit:cover;
  flex-shrink:0;
  background:#f4f0e6;
}
.site-search-item.site-search-item-category .site-search-item-img{border-radius:50%;}
.site-search-item-body{min-width:0; flex:1;}
.site-search-item-name{
  font-size:.88rem;
  font-weight:600;
  color:var(--primary-dark);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.site-search-item-meta{font-size:.78rem; color:#a99f8c;}
.site-search-item-price{font-size:.85rem; font-weight:700; color:var(--primary);}
.site-search-item-price .mrp{
  font-weight:400;
  color:#c9c0ae;
  text-decoration:line-through;
  margin-left:.35rem;
  font-size:.75rem;
}
.site-search-empty, .site-search-hint, .site-search-loading{
  padding:1.6rem 1rem;
  text-align:center;
  color:#a99f8c;
  font-size:.85rem;
}
.site-search-viewall{
  display:block;
  text-align:center;
  padding:.75rem 1rem;
  font-size:.85rem;
  font-weight:600;
  color:var(--primary);
  background:#faf7f0;
  border-top:1px solid #f1ece0;
  text-decoration:none;
}
.site-search-viewall:hover{color:var(--accent);}
.site-search-backdrop{
  position:fixed; inset:0;
  background:rgba(47,47,47,.18);
  z-index:1040;
  opacity:0; visibility:hidden;
  transition:opacity .2s ease, visibility .2s;
}
.site-search-backdrop.open{opacity:1; visibility:visible;}

@media(max-width:575px){
  .site-search-box{
    position:fixed;
    top:0; left:0; right:0; bottom:0;
    width:100%; max-width:100%;
    border-radius:0;
    transform:none;
  }
  .site-search-box.open{transform:none;}
  .site-search-results{max-height:calc(100vh - 64px);}
}

/* ---------- Hero slider ---------- */
/* Height is set dynamically per slide by JS (see js/script.js) to match
   each slide's own image ratio exactly (data-ratio attribute, computed
   server-side) — so background-size:contain fills the FULL box width with
   zero blank space on the sides, and never crops. The aspect-ratio below
   is only a fallback for the instant before JS runs / if JS is disabled. */
.hero-slide{
  aspect-ratio: 1920 / 700;
  width:100%;
  max-width:100%;
  max-height:none;
  min-height:0;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  background-color: var(--primary-dark);
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
  position:relative;
  width:100%;
  transition: height .25s var(--ease);
}
.hero-slide::before{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(47,47,47,.62) 0%, rgba(47,47,47,.15) 65%);
}
.hero-slide.hero-slide-image-only::before{
  content:none; /* pre-designed banner already has its own text baked in — no dark overlay needed */
}

/* Homepage hero must never create horizontal page overflow. The slide height is
   calculated from the actual image ratio in js/script.js, so contain can show
   the complete banner without blank side gutters. */
#carouselHero{
  width:100%;
  max-width:100%;
  overflow:hidden;
}
#carouselHero .carousel-inner,
#carouselHero .carousel-item{
  width:100%;
  max-width:100%;
  overflow:hidden;
}
#carouselHero .hero-slide{
  flex:none;
}

/* ---------- Photographic page hero (static pages like Gifting) ----------
   Unlike the homepage carousel's admin-managed banners — which are always
   an exact known ratio and use background-size:contain so they're never
   cropped — this variant wraps a plain stock photo. It must always fill
   its box edge-to-edge on every screen, so it uses cover instead of
   contain. Height scales with viewport WIDTH via clamp() rather than vh,
   so it stays proportional across phones/tablets/desktops instead of
   jumping around with screen height (portrait vs landscape, short vs
   tall phones, etc.) the way vh-based sizing does. */
.page-hero{
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  background-color:var(--primary-dark);
  min-height:clamp(260px, 45vw, 480px);
  display:flex;
  align-items:center;
  position:relative;
}
.page-hero::before{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(47,47,47,.62) 0%, rgba(47,47,47,.15) 65%);
}
.page-hero .hero-content{position:relative; z-index:2;}
.hero-content{position:relative; z-index:2; color:#fff; max-width:640px;}
.hero-content h1{
  color:#fff;
  font-size:clamp(2.4rem, 5vw, 3.8rem);
  line-height:1.05;
}
.hero-content p{font-size:1.1rem; opacity:.92; max-width:480px;}
.carousel-control-prev, .carousel-control-next{width:5%;}
.carousel-indicators [data-bs-target]{
  background-color:var(--secondary);
  width:8px; height:8px; border-radius:50%;
}

/* ---------- Trust strip / moving logos ---------- */
.trust-strip{
  background:var(--white);
  border-bottom:1px solid var(--base-2);
  padding:1.6rem 0;
}
.trust-item{
  display:flex; align-items:center; justify-content:center; gap:.6rem;
  font-size:.82rem; font-weight:700; color:var(--primary-dark);
  letter-spacing:.02em;
}
.trust-item i{font-size:1.6rem; color:var(--accent);}

/* ---------- Moving logos slider (trust strip) ---------- */
.logo-slider{
  display:flex; align-items:center; gap:1rem;
}
.logo-slider-track{
  display:flex;
  gap:3.5rem;
  overflow-x:hidden;
  flex:1;
  scroll-behavior:smooth;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.logo-slider-item{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.5rem;
  font-size:.78rem; font-weight:700; color:var(--primary-dark);
  letter-spacing:.02em;
  white-space:nowrap;
  flex-shrink:0;
  text-align:center;
}
.logo-slider-item img{height:34px !important;}
.logo-slider-item i{font-size:1.9rem; color:var(--accent);}
.logo-slider-arrow{
  width:38px; height:38px; flex-shrink:0;
  border-radius:50%;
  border:1px solid var(--base-2);
  background:var(--white);
  color:var(--primary-dark);
  display:flex; align-items:center; justify-content:center;
  transition:all .2s var(--ease);
}
.logo-slider-arrow:hover{
  background:var(--primary);
  color:#fff;
  border-color:var(--primary);
}
@media(max-width:575px){
  .logo-slider-arrow{width:32px; height:32px; font-size:.85rem;}
  .logo-slider-track{gap:2rem;}
}

/* ---------- Section spacing ---------- */
.section{padding:5rem 0;}
.section-title{text-align:center; margin-bottom:3rem;}
.section-title h2{font-size:clamp(1.7rem,3vw,2.4rem); margin-top:.5rem;}
.divider-leaf{
  width:46px; height:2px; background:var(--accent-2);
  margin:1rem auto; position:relative;
}
.divider-leaf::before{
  content:"\2766";
  position:absolute; left:50%; top:50%;
  transform:translate(-50%,-55%);
  color:var(--accent);
  background:var(--base);
  padding:0 .5rem;
}

/* ---------- Life stage / category cards ---------- */
.stage-card{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  min-height:360px;
  display:flex; align-items:flex-end;
  background-size:cover; background-position:center;
  box-shadow:var(--shadow-soft);
  transition:transform .4s var(--ease);
}
.stage-card:hover{transform:translateY(-6px);}
.stage-card::before{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(47,47,47,0) 35%, rgba(47,47,47,.85) 100%);
}
.stage-card-body{position:relative; z-index:2; color:#fff; padding:1.6rem;}
.stage-card-body .eyebrow{color:var(--secondary);}
.stage-card-body h4{color:#fff; margin-bottom:.6rem;}

/* Product / collection cards */
.product-card{
  background:var(--white);
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--base-2);
  transition:box-shadow .3s var(--ease), transform .3s var(--ease);
  height:100%;
}
.product-card:hover{box-shadow:var(--shadow-soft); transform:translateY(-4px);}
.product-card .img-wrap{aspect-ratio:1/1; overflow:hidden;}
.product-card img{width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease);}
.product-card:hover img{transform:scale(1.08);}
.product-card .p-body{padding:1rem 1.1rem 1.2rem;}
.product-card h6{font-weight:700; margin-bottom:.15rem;}
.product-card small.cat{color:var(--accent); font-family:var(--font-mono); letter-spacing:.05em;}

/* ---------- Scroll banner ---------- */
.scroll-banner{
  background:var(--primary);
  color:var(--base);
  padding:.9rem 0;
  overflow:hidden;
  white-space:nowrap;
}
.scroll-banner .track{display:inline-block; animation:marquee 18s linear infinite; padding-left:100%;}
.scroll-banner span{
  font-family:var(--font-mono);
  font-size:.8rem; letter-spacing:.15em;
  margin:0 2.2rem;
}

/* ---------- Footer ---------- */
.site-footer{
  background:var(--neutral);
  color:#d9d3c9;
  padding-top:4rem;
}
.site-footer h6{
  color:var(--secondary);
  font-family:var(--font-mono);
  letter-spacing:.14em;
  font-size:.75rem;
  text-transform:uppercase;
  margin-bottom:1.1rem;
}
.site-footer a{color:#d9d3c9; font-size:.88rem;}
.site-footer a:hover{color:var(--secondary);}
.site-footer ul{list-style:none; padding:0; margin:0;}
.site-footer li{margin-bottom:.55rem;}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);
  margin-top:3rem;
  padding:1.2rem 0;
  font-size:.78rem;
  color:#a49f96;
}
.social-icon{
  width:34px; height:34px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  margin-right:.5rem;
  transition:all .2s;
}
.social-icon:hover{background:var(--secondary); border-color:var(--secondary); color:var(--neutral);}
.footer-newsletter{flex-wrap:nowrap;}
.footer-newsletter .form-control{
  flex:1 1 auto;
  min-width:0;
  width:auto;
  font-size:.82rem;
  border-radius:2px 0 0 2px;
  border:1px solid rgba(255,255,255,.25);
  background:transparent; color:#fff;
}
.footer-newsletter .form-control::placeholder{color:#a49f96;}
.footer-newsletter .btn{border-radius:0 2px 2px 0; flex:0 0 auto;}

/* ---------- Steps / process icons (Gifting pages) ---------- */
.step-flow{display:flex; align-items:center; justify-content:center; gap:.5rem; flex-wrap:wrap;}
.step-box{
  background:var(--white);
  border:1px solid var(--base-2);
  border-radius:var(--radius);
  padding:1.5rem 1.2rem;
  text-align:center;
  width:170px;
  box-shadow:var(--shadow-soft);
}
.step-box i{font-size:1.8rem; color:var(--accent); margin-bottom:.6rem; display:block;}
.step-arrow{color:var(--accent-2); font-size:1.4rem;}

.feature-tile{
  text-align:center;
  padding:1.6rem 1rem;
}
.feature-tile .icon-circle{
  width:64px; height:64px;
  border-radius:50%;
  background:var(--base-2);
  display:flex; align-items:center; justify-content:center;
  margin:0 auto .9rem;
  font-size:1.6rem;
  color:var(--primary);
  transition:all .3s;
}
.feature-tile:hover .icon-circle{background:var(--primary); color:#fff; transform:rotate(8deg);}
.feature-tile h6{font-weight:700; margin-bottom:.3rem;}
.feature-tile p{font-size:.85rem; color:#665f56; margin:0;}

/* ---------- Quote / form panels ---------- */
.panel-card{
  background:var(--white);
  border-radius:var(--radius);
  border:1px solid var(--base-2);
  box-shadow:var(--shadow-soft);
  padding:2.2rem;
}
.form-control, .form-select{
  border-radius:2px;
  border:1px solid #d9d1c4;
  padding:.65rem .9rem;
}
.form-control:focus, .form-select:focus{
  border-color:var(--primary);
  box-shadow:0 0 0 .18rem rgba(85,107,47,.18);
}
.form-label{font-size:.82rem; font-weight:700; letter-spacing:.03em; color:var(--neutral);}

/* ---------- Gift box builder (interactive) ---------- */
.builder-progress{display:flex; justify-content:space-between; margin-bottom:2.5rem; position:relative;}
.builder-progress::before{
  content:"";
  position:absolute; top:18px; left:5%; right:5%;
  height:2px; background:var(--base-2); z-index:0;
}
.bp-step{position:relative; z-index:1; text-align:center; flex:1;}
.bp-step .circle{
  width:38px; height:38px; border-radius:50%;
  background:var(--white); border:2px solid var(--base-2);
  display:flex; align-items:center; justify-content:center;
  margin:0 auto .5rem; font-weight:700; color:#a49f96;
  transition:all .3s;
}
.bp-step.active .circle{border-color:var(--primary); background:var(--primary); color:#fff;}
.bp-step.done .circle{border-color:var(--primary); background:var(--white); color:var(--primary);}
.bp-step span.lbl{font-size:.76rem; font-weight:600; color:#8b8477;}
.bp-step.active span.lbl{color:var(--primary-dark);}

.select-tile{
  border:1.5px solid var(--base-2);
  border-radius:var(--radius);
  padding:1rem;
  cursor:pointer;
  transition:all .2s;
  height:100%;
}
.select-tile:hover{border-color:var(--accent-2);}
.select-tile.selected{
  border-color:var(--primary);
  background:#f0f3ea;
  box-shadow:0 0 0 3px rgba(85,107,47,.12);
}
.select-tile img{width:100%; aspect-ratio:1/1; object-fit:cover; border-radius:2px; margin-bottom:.6rem;}
.select-tile h6{font-size:.88rem; margin-bottom:.15rem;}
.select-tile small{color:#8b8477;}

.upload-zone{
  border:2px dashed var(--accent-2);
  border-radius:var(--radius);
  padding:2.2rem 1rem;
  text-align:center;
  color:#8b8477;
  background:var(--base);
  cursor:pointer;
  transition:all .2s;
}
.upload-zone:hover{border-color:var(--primary); color:var(--primary);}
.upload-zone i{font-size:2rem; display:block; margin-bottom:.5rem; color:var(--accent);}

.qty-stepper{display:inline-flex; align-items:center; border:1px solid #d9d1c4; border-radius:2px;}
.qty-stepper button{
  background:none; border:none; width:38px; height:38px;
  font-size:1.1rem; color:var(--primary);
}
.qty-stepper input{
  width:50px; text-align:center; border:none; background:none;
  font-weight:700;
}

/* Summary sidebar */
.summary-card{
  background:var(--primary-dark);
  color:var(--base);
  border-radius:var(--radius);
  padding:1.8rem;
  position:sticky; top:100px;
}
.summary-card h5{color:#fff;}
.summary-card hr{border-color:rgba(255,255,255,.15);}
.summary-line{display:flex; justify-content:space-between; font-size:.88rem; margin-bottom:.6rem; opacity:.9;}

/* ---------- Blog ---------- */
.blog-hero{
  min-height:56vh;
  background-size:cover; background-position:center;
  position:relative;
  display:flex; align-items:flex-end;
}
.blog-hero::before{content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(47,47,47,.1), rgba(47,47,47,.85));}
.blog-hero-content{position:relative; z-index:2; color:#fff; padding-bottom:2.5rem;}
.blog-hero-content .eyebrow{color:var(--secondary);}
.blog-hero-content h1{color:#fff; font-size:clamp(2rem,4vw,3rem);}

.blog-card{
  background:var(--white);
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--base-2);
  height:100%;
  transition:all .3s var(--ease);
}
.blog-card:hover{box-shadow:var(--shadow-soft); transform:translateY(-4px);}
.blog-card .img-wrap{aspect-ratio:16/10; overflow:hidden;}
.blog-card img{width:100%; height:100%; object-fit:cover; transition:transform .5s;}
.blog-card:hover img{transform:scale(1.06);}
.blog-card .b-body{padding:1.1rem 1.2rem 1.3rem;}
.blog-card h6{font-weight:700; line-height:1.35;}
.read-more{
  font-size:.78rem; font-weight:700; letter-spacing:.05em;
  color:var(--accent); text-transform:uppercase;
  display:inline-flex; align-items:center; gap:.35rem;
}
.read-more i{transition:transform .2s;}
.blog-card:hover .read-more i, .article-link:hover i{transform:translateX(4px);}

.cat-pill{
  display:inline-block;
  border:1px solid var(--base-2);
  border-radius:30px;
  padding:.45rem 1.1rem;
  font-size:.8rem; font-weight:600;
  margin:.2rem;
  transition:all .2s;
  background:var(--white);
}
.cat-pill:hover, .cat-pill.active{background:var(--primary); color:#fff; border-color:var(--primary);}

.cat-tile{
  position:relative; border-radius:var(--radius); overflow:hidden;
  aspect-ratio:4/3;
  box-shadow:var(--shadow-soft);
}
.cat-tile img{width:100%; height:100%; object-fit:cover; transition:transform .5s;}
.cat-tile:hover img{transform:scale(1.1);}
.cat-tile::before{content:""; position:absolute; inset:0; background:linear-gradient(180deg, transparent 40%, rgba(0,0,0,.75));}
.cat-tile .cat-tile-body{position:absolute; left:0; right:0; bottom:0; z-index:2; padding:1rem; color:#fff;}
.cat-tile .cat-tile-body small{color:var(--secondary); font-family:var(--font-mono); letter-spacing:.05em;}

/* Our story split */
.story-media{position:relative; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-soft); aspect-ratio:5/4;}
.story-media img{width:100%; height:100%; object-fit:cover; display:block;}

/* Contact panel */
.contact-info-item{display:flex; gap:1rem; margin-bottom:1.3rem;}
.contact-info-item i{color:var(--accent); font-size:1.2rem; margin-top:.15rem;}

/* Breadcrumb */
.tattvam-breadcrumb{font-size:.82rem; color:#8b8477; margin-bottom:.4rem;}
.tattvam-breadcrumb a{color:var(--primary); font-weight:600;}

/* utility */
.text-accent{color:var(--accent) !important;}
.text-primary-dark{color:var(--primary-dark) !important;}
.bg-base-2{background:var(--base-2) !important;}
.reveal{opacity:0; transform:translateY(24px); transition:all .7s var(--ease);}
.reveal.in{opacity:1; transform:translateY(0);}

/* back to top */
.back-to-top{
  position:fixed; right:22px; bottom:22px; z-index:1040;
  width:44px; height:44px; border-radius:50%;
  background:var(--primary); color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-soft);
  opacity:0; visibility:hidden; transform:translateY(10px);
  transition:all .3s;
}
.back-to-top.show{opacity:1; visibility:visible; transform:translateY(0);}

@media(max-width:991px){
  .summary-card{position:static;}
  .menu-bar{border-bottom:none;}
  .menu-bar .navbar-collapse{padding:.4rem 0 1.1rem;}
}
@media(max-width:767px){
  .hero-content{max-width:100%; text-align:center; margin:0 auto;}
  .hero-content p{max-width:100%; margin-left:auto; margin-right:auto;}
}
@media(max-width:480px){
  .hero-content h1{font-size:clamp(1.7rem, 7vw, 2.2rem);}
  .hero-content p{font-size:.95rem;}
}

/* ===========================================================
   SHOP: Category / Product / Cart / Checkout / Tracking
   =========================================================== */

/* cart count badge on header bag icon */
.cart-count-badge{
  position:absolute; top:-6px; right:-10px;
  background:var(--accent); color:#fff;
  font-family:var(--font-mono); font-size:.62rem; font-weight:700;
  min-width:17px; height:17px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  padding:0 3px; line-height:1;
}

/* category banner header */
.category-banner{
  position:relative; min-height:280px; display:flex; align-items:center;
  background-size:cover; background-position:center; background-color:var(--primary-dark);
}
.category-banner-overlay{
  width:100%; padding:3.5rem 0;
  background:linear-gradient(180deg, rgba(47,47,47,.35), rgba(47,47,47,.72));
}
.category-banner .ritual-essence{
  display:flex; gap:2.5rem; flex-wrap:wrap; margin-top:1rem;
}
.category-banner .ritual-essence div{max-width:340px;}
.category-banner .ritual-essence h6{
  font-family:var(--font-mono); text-transform:uppercase; letter-spacing:.08em;
  font-size:.72rem; color:var(--secondary); margin-bottom:.35rem;
}

/* product grid quick-add form */
.product-card .qty-add-form{
  display:flex; align-items:center; gap:.5rem; margin-top:.6rem; justify-content:center;
}
.product-card .price-row{
  display:flex; align-items:center; justify-content:center; gap:.5rem; margin-top:.25rem;
}
.product-card .price-row .mrp{ text-decoration:line-through; color:#9a9186; font-size:.82rem; }
.product-card .price-row .price{ font-weight:700; color:var(--primary-dark); }

/* qty stepper */
.qty-stepper{
  display:inline-flex; align-items:center; border:1.5px solid var(--base-2); border-radius:var(--radius); overflow:hidden;
}
.qty-stepper button{
  background:var(--base-2); border:none; width:30px; height:30px; font-weight:700; color:var(--primary-dark);
  cursor:pointer; transition:background .2s;
}
.qty-stepper button:hover{background:var(--secondary); color:#fff;}
.qty-stepper input{
  width:42px; height:30px; border:none; text-align:center; font-weight:600; -moz-appearance:textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button{-webkit-appearance:none; margin:0;}

/* product detail page */
.product-detail-gallery img{
  width:100%; aspect-ratio:1/1; object-fit:cover; border-radius:var(--radius); border:1px solid var(--base-2);
}
.product-detail-thumbs{display:flex; gap:.6rem; margin-top:.75rem; flex-wrap:wrap;}
.product-detail-thumbs img{
  width:64px; height:64px; object-fit:cover; border-radius:var(--radius); border:1.5px solid var(--base-2);
  cursor:pointer; opacity:.7; transition:all .2s;
}
.product-detail-thumbs img:hover,.product-detail-thumbs img.active{opacity:1; border-color:var(--secondary);}
.product-detail-info .price-block{display:flex; align-items:baseline; gap:.75rem; margin:.5rem 0 1rem;}
.product-detail-info .price-block .price{font-family:var(--font-display); font-size:1.9rem; color:var(--primary-dark); font-weight:700;}
.product-detail-info .price-block .mrp{text-decoration:line-through; color:#9a9186;}
.product-detail-info .price-block .save-badge{
  background:rgba(200,169,110,.18); color:var(--secondary); font-family:var(--font-mono); font-size:.72rem;
  padding:.2rem .55rem; border-radius:20px; font-weight:700;
}
.info-accordion .accordion-button{font-weight:600; color:var(--primary-dark); background:var(--base);}
.info-accordion .accordion-button:not(.collapsed){color:var(--primary); background:var(--base-2); box-shadow:none;}
.info-accordion .accordion-body{color:#5c554c; font-size:.92rem; white-space:pre-line;}

/* cart page */
.cart-table th{font-family:var(--font-mono); font-size:.72rem; text-transform:uppercase; letter-spacing:.06em; color:#9a9186; border-bottom:2px solid var(--base-2);}
.cart-table td{vertical-align:middle; border-bottom:1px solid var(--base-2);}
.cart-item-thumb{width:64px; height:64px; object-fit:cover; border-radius:var(--radius); border:1px solid var(--base-2);}
.cart-remove-link{color:var(--accent); font-size:.82rem; font-weight:600;}
.cart-remove-link:hover{text-decoration:underline;}

.summary-card,
.cart-summary-card{
  background:var(--white); border:1px solid var(--base-2); border-radius:var(--radius);
  padding:1.5rem; box-shadow:var(--shadow-soft);
}
.summary-card .row-line{display:flex; justify-content:space-between; padding:.4rem 0; color:#5c554c;}
.summary-card .row-line.total{font-weight:700; color:var(--primary-dark); font-size:1.1rem; border-top:1px solid var(--base-2); margin-top:.5rem; padding-top:.75rem;}
.empty-state{text-align:center; padding:4rem 1rem;}
.empty-state i{font-size:3rem; color:var(--base-2);}

/* checkout */
.checkout-form label{font-weight:600; font-size:.85rem; color:var(--primary-dark); margin-bottom:.3rem;}
.checkout-form .form-control,.checkout-form .form-select{border-radius:var(--radius); border-color:var(--base-2); padding:.6rem .85rem;}
.checkout-form .form-control:focus,.checkout-form .form-select:focus{border-color:var(--secondary); box-shadow:0 0 0 .15rem rgba(200,169,110,.2);}
.payment-option{
  border:1.5px solid var(--base-2); border-radius:var(--radius); padding:1rem; cursor:pointer; transition:all .2s;
}
.payment-option.active{border-color:var(--secondary); background:rgba(200,169,110,.06);}

/* order success */
.order-success-icon{
  width:84px; height:84px; border-radius:50%; background:rgba(85,107,47,.1); color:var(--primary);
  display:flex; align-items:center; justify-content:center; font-size:2.4rem; margin:0 auto 1.5rem;
}

/* order tracking timeline (frontend) */
.track-timeline{position:relative; padding-left:32px; margin-top:1.5rem;}
.track-timeline .t-item{position:relative; padding-bottom:2rem;}
.track-timeline .t-item:last-child{padding-bottom:0;}
.track-timeline .t-item::before{
  content:''; position:absolute; left:-32px; top:2px; width:16px; height:16px; border-radius:50%;
  background:var(--base-2); border:3px solid var(--white); box-shadow:0 0 0 2px var(--base-2);
}
.track-timeline .t-item.done::before{background:var(--primary); box-shadow:0 0 0 2px var(--primary);}
.track-timeline .t-item::after{
  content:''; position:absolute; left:-25px; top:18px; bottom:-8px; width:2px; background:var(--base-2);
}
.track-timeline .t-item:last-child::after{display:none;}
.track-timeline .t-item h6{margin-bottom:.15rem;}
.track-timeline .t-item.done h6{color:var(--primary);}
.track-timeline .t-item small{color:#9a9186;}

.status-pill{
  display:inline-block; padding:.35rem 1rem; border-radius:20px; font-family:var(--font-mono);
  font-size:.72rem; text-transform:uppercase; letter-spacing:.06em; font-weight:700;
}
.status-pill.pending{background:rgba(200,169,110,.18); color:#a5822f;}
.status-pill.confirmed{background:rgba(168,182,154,.25); color:#4a6b3f;}
.status-pill.processing{background:rgba(85,107,47,.15); color:var(--primary);}
.status-pill.shipped{background:rgba(201,122,93,.15); color:var(--accent);}
.status-pill.delivered{background:rgba(85,107,47,.22); color:var(--primary-dark);}
.status-pill.cancelled{background:rgba(200,60,60,.12); color:#c03c3c;}

@media(max-width:767px){
  .category-banner .ritual-essence{gap:1.25rem;}
}

/* ===========================================================
   SHOP: additional classes actually used by cart/checkout/
   product-view/track-order pages (exact class names)
   =========================================================== */

/* small badges for discount price on product detail page */
.bg-tattvam-gold-soft{ background:rgba(200,169,110,.18); }
.text-tattvam-gold{ color:#a5822f; font-weight:700; }

/* thumbnails reused across cart / checkout / order-success / track-order */
.cart-item-thumb,
.checkout-item-thumb{
  width:56px; height:56px; object-fit:cover; border-radius:var(--radius); border:1px solid var(--base-2); flex-shrink:0;
}
.cart-item-name{ font-weight:600; color:var(--primary-dark); }
.cart-item-name:hover{ color:var(--accent); }

/* order number pill (order-success + track-order) */
.order-number-pill{
  display:inline-block; font-family:var(--font-mono); letter-spacing:.04em;
  background:rgba(85,107,47,.1); color:var(--primary-dark);
  padding:.3rem .85rem; border-radius:20px; font-size:.95rem;
}

/* product-view.php image gallery */
.product-gallery-main{
  aspect-ratio:1/1; overflow:hidden; border-radius:var(--radius); border:1px solid var(--base-2); background:var(--base-2);
}
.product-gallery-main img{ width:100%; height:100%; object-fit:cover; }
.product-gallery-thumb{
  width:64px; height:64px; object-fit:cover; border-radius:var(--radius);
  border:1.5px solid var(--base-2); cursor:pointer; opacity:.7; transition:all .2s;
}
.product-gallery-thumb:hover,
.product-gallery-thumb.active{ opacity:1; border-color:var(--secondary); }

/* product-view.php custom accordion (Ingredients / How To Use / etc.) */
.product-info-accordion{ border-top:1px solid var(--base-2); margin-top:1.5rem; }
.accordion-item{ border-bottom:1px solid var(--base-2); }
.accordion-header{
  width:100%; text-align:left; background:none; border:none; padding:.9rem 0;
  font-weight:600; color:var(--primary-dark); display:flex; align-items:center; justify-content:space-between;
  cursor:pointer;
}
.accordion-header i{ transition:transform .25s var(--ease); color:var(--secondary); }
.accordion-item.open .accordion-header i{ transform:rotate(45deg); }
.accordion-item .accordion-body{
  max-height:0; overflow:hidden; transition:max-height .3s var(--ease); color:#5c554c; font-size:.92rem;
}
.accordion-item.open .accordion-body{ max-height:600px; padding-bottom:1rem; }

/* track-order.php status progress steps */
.tracking-steps{ display:flex; justify-content:space-between; gap:.5rem; flex-wrap:wrap; margin-top:.5rem; }
.tracking-step{
  flex:1; min-width:80px; text-align:center; position:relative; opacity:.45;
}
.tracking-step span{ display:block; font-size:.74rem; margin-top:.4rem; font-weight:600; color:var(--primary-dark); }
.tracking-dot{
  width:34px; height:34px; border-radius:50%; background:var(--base-2); color:#fff;
  display:flex; align-items:center; justify-content:center; margin:0 auto; font-size:.9rem;
}
.tracking-step.done{ opacity:1; }
.tracking-step.done .tracking-dot{ background:var(--primary); }
.tracking-step::before{
  content:''; position:absolute; top:17px; left:-50%; width:100%; height:2px; background:var(--base-2); z-index:-1;
}
.tracking-step:first-child::before{ display:none; }
.tracking-step.done::before{ background:var(--primary); }

/* track-order.php tracking history list */
.timeline-simple{ position:relative; padding-left:22px; }
.timeline-simple-item{ position:relative; padding-bottom:1.2rem; }
.timeline-simple-item:last-child{ padding-bottom:0; }
.timeline-simple-item::before{
  content:''; position:absolute; left:-22px; top:5px; width:10px; height:10px; border-radius:50%; background:var(--secondary);
}
.timeline-simple-item::after{
  content:''; position:absolute; left:-18px; top:15px; bottom:-4px; width:1px; background:var(--base-2);
}
.timeline-simple-item:last-child::after{ display:none; }

/* ===========================================================
   CHECKOUT v2 — progress steps, sectioned blocks, address pills
   =========================================================== */

/* progress steps */
.checkout-progress{
  display:flex; align-items:center; justify-content:center; gap:.5rem; flex-wrap:wrap; max-width:520px; margin:0 auto;
}
.cp-step{ display:flex; flex-direction:column; align-items:center; gap:.4rem; min-width:70px; }
.cp-dot{
  width:32px; height:32px; border-radius:50%; background:var(--base-2); color:#9a9186;
  display:flex; align-items:center; justify-content:center; font-family:var(--font-mono); font-size:.82rem; font-weight:700;
  transition:all .25s var(--ease);
}
.cp-step.done .cp-dot{ background:var(--primary); color:#fff; }
.cp-step.active .cp-dot{ background:var(--secondary); color:#fff; box-shadow:0 0 0 4px rgba(200,169,110,.2); }
.cp-label{ font-family:var(--font-mono); font-size:.68rem; text-transform:uppercase; letter-spacing:.04em; color:#9a9186; }
.cp-step.done .cp-label,.cp-step.active .cp-label{ color:var(--primary-dark); font-weight:700; }
.cp-line{ height:2px; width:44px; background:var(--base-2); margin-bottom:1.4rem; }
.cp-line.done{ background:var(--primary); }

/* sectioned checkout form blocks */
.checkout-block{
  background:var(--white); border:1px solid var(--base-2); border-radius:var(--radius);
  padding:1.5rem; margin-bottom:1.5rem; box-shadow:0 4px 16px -10px rgba(47,47,47,.1);
}
.checkout-block-title{
  display:flex; align-items:center; gap:.55rem; font-family:var(--font-display); font-size:1.05rem;
  color:var(--primary-dark); margin-bottom:1.1rem; padding-bottom:.75rem; border-bottom:1px solid var(--base-2);
}
.checkout-block-title i{ color:var(--secondary); font-size:1.1rem; }

/* address type pills (Home / Office / Other) */
.address-type-pills{ display:flex; gap:.6rem; flex-wrap:wrap; }
.atp{
  border:1.5px solid var(--base-2); border-radius:20px; padding:.5rem 1.1rem; cursor:pointer;
  transition:all .2s; font-size:.86rem; font-weight:600; color:#5c554c;
}
.atp input{ position:absolute; opacity:0; pointer-events:none; }
.atp.active,.atp:has(input:checked){ border-color:var(--secondary); background:rgba(200,169,110,.1); color:var(--primary-dark); }

/* payment option (checkout v2) */
.payment-option{
  display:block; border:1.5px solid var(--base-2); border-radius:var(--radius); padding:1rem; cursor:pointer; transition:all .2s;
}
.payment-option.active,.payment-option:has(input:checked){ border-color:var(--secondary); background:rgba(200,169,110,.06); }

/* sticky order summary on checkout */
.sticky-summary{ position:sticky; top:100px; }
.checkout-trust-badges{
  display:flex; justify-content:space-between; gap:.5rem; margin-top:1.25rem; padding-top:1rem; border-top:1px dashed var(--base-2);
}
.checkout-trust-badges span{
  display:flex; flex-direction:column; align-items:center; gap:.3rem; font-size:.66rem; color:#9a9186; text-align:center; flex:1;
}
.checkout-trust-badges i{ color:var(--primary); font-size:1.1rem; }

@media(max-width:991px){
  .sticky-summary{ position:static; }
  .checkout-progress{ gap:.25rem; }
  .cp-line{ width:24px; }
}

/* ---------- Explore Collections carousel (category slider, homepage) ---------- */
.collection-slider{
  display:flex; align-items:center; gap:.75rem;
}
.collection-slider-track{
  display:flex;
  gap:1.5rem;
  overflow-x:auto;
  scroll-behavior:smooth;
  scroll-snap-type:x mandatory;
  flex:1;
  padding:.25rem .1rem 1rem;
  scrollbar-width:none;
}
.collection-slider-track::-webkit-scrollbar{ display:none; }
.collection-slide{
  flex:0 0 auto;
  width:calc(25% - 1.125rem);
  scroll-snap-align:start;
  display:block;
}
.collection-slider-prev,
.collection-slider-next{
  position:relative; z-index:2;
}
.collection-slider-prev:disabled,
.collection-slider-next:disabled{
  opacity:.35; cursor:not-allowed; pointer-events:none;
}

@media(max-width:991px){
  .collection-slide{ width:calc(50% - .75rem); }
}
@media(max-width:575px){
  .collection-slide{ width:82%; }
  .collection-slider{ gap:.4rem; }
}

/* ---------- Header account menu (My Account dropdown) ---------- */
.account-menu{ position:relative; }
.account-menu-trigger{ display:inline-flex; }
.account-menu-dropdown{
  position:absolute; top:calc(100% + 14px); right:-10px; z-index:1050;
  background:var(--white); border:1px solid var(--base-2); border-radius:var(--radius);
  box-shadow:var(--shadow-soft); min-width:190px; padding:.6rem 0;
  opacity:0; visibility:hidden; transform:translateY(6px);
  transition:all .2s var(--ease);
}
.account-menu:hover .account-menu-dropdown,
.account-menu:focus-within .account-menu-dropdown,
.account-menu.open .account-menu-dropdown{
  opacity:1; visibility:visible; transform:translateY(0);
}
.account-menu-name{
  padding:.3rem 1.1rem .55rem; margin:0 0 .3rem; font-weight:700; color:var(--primary-dark);
  border-bottom:1px solid var(--base-2); font-size:.86rem;
}
.account-menu-dropdown a{
  display:flex; align-items:center; padding:.5rem 1.1rem; color:#5c554c; font-size:.86rem;
  text-decoration:none; transition:all .15s;
}
.account-menu-dropdown a:hover{ background:var(--base); color:var(--primary-dark); }

/* My Orders page detail toggle */
.my-order-toggle{ font-size:.78rem; padding:.35rem .9rem; }

/* ---------- Coupon chip (cart / checkout) ---------- */
.applied-coupon-chip{
  display:flex; align-items:center; justify-content:space-between; gap:.75rem;
  background:rgba(85,107,47,.08); border:1px dashed var(--primary); border-radius:var(--radius);
  padding:.7rem 1rem;
}

/* ---------- Saved address selector (checkout) ---------- */
.saved-address-list{ display:flex; flex-direction:column; gap:.7rem; }
.saved-address-card{
  display:flex; align-items:flex-start; gap:.75rem; border:1.5px solid var(--base-2);
  border-radius:var(--radius); padding:.9rem 1rem; cursor:pointer; transition:all .2s;
}
.saved-address-card.selected,
.saved-address-card:has(.saved-address-radio:checked){
  border-color:var(--secondary); background:rgba(200,169,110,.06);
}
.saved-address-radio{ margin-top:.2rem; flex-shrink:0; }

/* ---------- Track Order: clickable order pick-list cards ---------- */
.order-pick-card{ transition:all .2s var(--ease); cursor:pointer; }
.order-pick-card:hover{ border-color:var(--secondary); box-shadow:0 8px 20px -12px rgba(47,47,47,.25); transform:translateY(-2px); }

/* ===========================================================
   Toast notifications (auto-hide action feedback)
   =========================================================== */
.tattvam-toast-stack{
  position:fixed; top:90px; right:20px; z-index:2000;
  display:flex; flex-direction:column; gap:.6rem; max-width:340px; pointer-events:none;
}
.tattvam-toast{
  display:flex; align-items:center; gap:.6rem;
  background:var(--white); color:var(--primary-dark);
  border-left:4px solid var(--primary); border-radius:var(--radius);
  box-shadow:var(--shadow-soft); padding:.85rem 1rem; font-size:.9rem;
  opacity:0; transform:translateX(30px);
  transition:opacity .25s var(--ease), transform .25s var(--ease);
  pointer-events:auto;
}
.tattvam-toast.show{ opacity:1; transform:translateX(0); }
.tattvam-toast.hide{ opacity:0; transform:translateX(30px); }
.tattvam-toast-success{ border-left-color:var(--primary); }
.tattvam-toast-success i{ color:var(--primary); }
.tattvam-toast-error{ border-left-color:#c0392b; }
.tattvam-toast-error i{ color:#c0392b; }
.tattvam-toast i{ font-size:1.15rem; flex-shrink:0; }
.tattvam-toast span{ flex:1; line-height:1.35; }
.tattvam-toast-close{
  background:none; border:none; font-size:1.1rem; line-height:1; color:#b3ab9d;
  cursor:pointer; padding:0 0 0 .4rem; flex-shrink:0;
}
.tattvam-toast-close:hover{ color:var(--primary-dark); }

@media(max-width:575px){
  .tattvam-toast-stack{ left:16px; right:16px; top:76px; max-width:none; }
}

/* ---------- Cart page: AJAX quantity update feedback ---------- */
.cart-row-updating{ opacity:.45; transition:opacity .15s ease; pointer-events:none; }
.cart-qty-stepper{ margin:0; }

/* ---------- Header "logged-in member" letter avatar (login.php / register.php feature) ---------- */
.account-menu-avatar{
  width:26px; height:26px; border-radius:50%;
  background:var(--primary); color:#fff;
  align-items:center; justify-content:center;
  font-family:var(--font-body); font-size:.72rem; font-weight:700;
  letter-spacing:0; line-height:1;
  transition:background-color .2s;
}
.account-menu-avatar:hover{ background:var(--accent); color:#fff; }

/* ---------- Login / Register page background ---------- */
/* Drop a photo in as assets/img/auth-bg.jpg and it will automatically be used;
   until then (or if it fails to load) the gradient + pattern below show instead. */
.auth-section{
  position:relative;
  padding:4.5rem 0;
  min-height:78vh;
  display:flex;
  align-items:center;
  background-color:var(--primary-dark);
  background-image:
    url('assets/img/auth-bg.jpg'),
    radial-gradient(circle at 12% 18%, rgba(200,169,110,.35), transparent 42%),
    radial-gradient(circle at 88% 82%, rgba(200,169,110,.22), transparent 48%),
    linear-gradient(135deg, rgba(85,107,47,.94) 0%, rgba(62,79,34,.92) 50%, rgba(47,47,47,.9) 100%);
  background-size:cover, auto, auto, cover;
  background-position:center, center, center, center;
  background-repeat:no-repeat, no-repeat, no-repeat, no-repeat;
}
.auth-section .checkout-block{
  position:relative;
  z-index:1;
  background:rgba(255,253,251,.97);
  box-shadow:0 25px 60px -20px rgba(0,0,0,.45);
}
@media(max-width:575px){
  .auth-section{ padding:3rem 0; min-height:auto; }
}
/* ---------- Static CMS pages (About, Privacy Policy, T&C, Shipping, Refund, Careers) ---------- */
.static-page-content h1,
.static-page-content h2,
.static-page-content h3{
  font-family:var(--font-display);
  color:var(--primary);
  margin-top:1.6em;
  margin-bottom:.6em;
}
.static-page-content h1:first-child,
.static-page-content h2:first-child,
.static-page-content h3:first-child{margin-top:0;}
.static-page-content p{margin-bottom:1.1em;}
.static-page-content ul,
.static-page-content ol{margin-bottom:1.1em; padding-left:1.4em;}
.static-page-content li{margin-bottom:.4em;}
.static-page-content a{color:var(--secondary); text-decoration:underline;}

/* ---------- FAQ accordion ---------- */
.faq-accordion .accordion-item{
  border:1px solid var(--base-2);
  border-radius:10px !important;
  margin-bottom:1rem;
  overflow:hidden;
  background:var(--white);
  box-shadow:0 2px 12px -8px rgba(47,47,47,.12);
  transition:border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)){
  border-color:var(--secondary);
  box-shadow:var(--shadow-soft);
}
.faq-accordion .accordion-header{margin:0;}
.faq-accordion .accordion-button{
  font-family:var(--font-display);
  font-weight:600;
  font-size:1.05rem;
  color:var(--primary-dark);
  background:var(--white);
  padding:1.15rem 1.5rem;
  box-shadow:none !important;
}
.faq-accordion .accordion-button:hover{color:var(--primary);}
.faq-accordion .accordion-button:not(.collapsed){background:var(--base); color:var(--primary);}
.faq-accordion .accordion-button:focus{box-shadow:none; border-color:var(--base-2);}
/* Bootstrap's default chevron is a hardcoded navy blue (#052c65) that clashes
   with the earthy green/gold palette — swap it for a theme-colored SVG. */
.faq-accordion .accordion-button::after{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23556B2F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 5L8 11L14 5'/%3E%3C/svg%3E");
  width:1.05rem; height:1.05rem; background-size:1.05rem;
  transition:transform .3s var(--ease);
}
.faq-accordion .accordion-button:not(.collapsed)::after{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23C8A96E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 5L8 11L14 5'/%3E%3C/svg%3E");
  transform:rotate(-180deg);
}
.faq-accordion .accordion-body{color:#665f56; line-height:1.8; font-size:.96rem; padding:0 1.5rem 1.35rem;}
