:root {
  --dark-green: #0d3818;
  --green: #075d48;
  --teal: #22bdb1;
  --brand: #087568;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, 'Noto Sans Tamil', sans-serif;
  color: #444;
  background: #087568;
 
}




.top-strip {
  height: 34px;
  background-color: #087568;
}

.powered-by {
  text-align: center;
  padding: 12px 15px;
  margin-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 12px;
  color: #aaa;
}

.powered-by a {
  color: #087568;
  font-weight: 600;
  text-decoration: none;
}

.powered-by a:hover {
  text-decoration: underline;
}

.main-header {
  height: 160px;
  background: #fff;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}

.header-inner {
  width: min(1500px, 94%);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 390px;
}

.brand-logo {
  width: 200px;
  height: 200px;
  /* border: 1.5px solid #16c5d3; */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
}

.brand-alagar {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 390px;
}

.brand-alagar-logo {
  width: 160px;
  height: 160px;
  border: 1.5px solid #16c5d3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
}

.hero-slider {
  position: relative;
}

.hero-slider::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 350px;
  height: 350px;
  background-image: url('../images/mandala-pattern.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.bgpattern {
  content: "";
  position: absolute;
  top: -200px;
  right: 450px;
  width: 1000px;
  height: 1000px;
  /* background-image: url('../images/mandala-pattern.png'); */
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.bgpattern1 {
  content: "";
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  /* background-image: url('../images/mandala-pattern.png'); */
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.bgpattern-logo-left {
  content: "";
  position: absolute;
  top: -100px;
  left: 0px;
  width: 300px;
  height: 300px;
  /* background-image: url('../images/mandala-pattern.png'); */
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.bgpattern-logo-right {
  content: "";
  position: absolute;
  top: -100px;
  right: 100px;
  width: 200px;
  height: 200px;
  /* background-image: url('../images/mandala-pattern.png'); */
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
}

.bgpattern2_Slieder_left {
  content: "";
  position: absolute;
  top: 250px;
  left: -100px;
  width: 400px;
  height: 400px;
   /* background-image: url('../images/mandala-pattern.png'); */
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;

} 

/* Replace this logo placeholder with your actual logo image when available. */
.logo-placeholder {
  text-align: center;
  line-height: 1.05;
  padding: 10px;
}

.logo-placeholder .tamil {
  font-size: 24px;
  font-weight: 700;
  color: #8d161b;
}

.logo-placeholder .mini {
  font-size: 9px;
  color: #536b39;
  margin-top: 5px;
}

.brand-name {
  color: var(--brand);
  font-size: clamp(28px, 2.2vw, 43px);
  font-weight: 500;
  letter-spacing: 1px;
  white-space: nowrap;
  margin-left: 20px;
}

.brand-name .alagar {
  color: #087568;
  /* Green */
}

.brand-name .masala {
  color: #a0070c;
  /* Red */
}

.nav-area {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.main-nav a {
  text-decoration: none;
  color: #666;
  font-size: 14px;
  padding: 7px 13px;
  border-radius: 5px;
}

.main-nav a:hover {
  color: #087c6c;
}

.main-nav a.active {
  color: #087c6c;
  border: 1px solid #cfcfcf;
  background: #fafafa;
}

.header-icons {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.header-action {
  position: relative;
  min-width: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: #222;
  font-size: 21px;
  line-height: 1;
}

.header-action span {
  font-size: 11px;
  line-height: 1.1;
  color: #555;
  font-weight: 500;
}

.header-action:hover,
.header-action:hover span {
  color: #087568;
}

.home-cart-count {
  position: absolute;
  top: -7px;
  right: 4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 50%;
  background: #d92525;
  color: #fff;
  font-size: 9px;
  line-height: 17px;
  text-align: center;
  font-weight: 600;
}

.mobile-menu-btn {
  display: none;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 7px;
  width: 42px;
  height: 42px;
  font-size: 25px;
  color: #087568;
}

.mobile-menu {
  display: none;
  position: relative;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 13px 6%;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #eee;
  font-size: 15px;
}

.mobile-menu a:hover {
  color: #087568;
  background: #f6faf9;
}

/* Exact hero structure: green/teal background + left typography + supplied product artwork on right. */
.hero-slider {
  position: relative;
  overflow: hidden;
  background-color: #f47a00;
}

.hero-slide {
  min-height: 560px;
  position: relative;
  display: flex;
  align-items: center;
}

.slide-content {
  width: min(1500px, 94%);
  margin: auto;
  position: relative;
  z-index: 2;
  padding: 55px 0;
}

.small-title {
  color: #fff;
  font-family: Caveat, cursive;
  font-size: clamp(50px, 4.8vw, 84px);
  line-height: 1;
  font-weight: 400;
  margin-bottom: 65px;
}

.small-title .english-name,
.small-title .tamil-name {
  display: block;
}

.small-title .tamil-name {
  font-family: 'Noto Sans Tamil', Inter, sans-serif;
  font-size: .46em;
  line-height: 1.25;
  margin-top: 8px;
  font-weight: 600;
  letter-spacing: 0;
  text-align: center;
}

.hero-title {
  color: #fff;
  font-size: clamp(70px, 7vw, 130px);
  line-height: .92;
  font-weight: 800;
  letter-spacing: -3px;
  width: 65%;
  margin: 0;
  text-shadow: 0 2px 3px rgba(70, 25, 0, .35);
}

.hero-title .line {
  display: block;
}

/* The uploaded images already contain the yellow product outline/background,
       so they are NOT clipped or given another circular border. */
.hero-product {
  position: absolute;
  right: 4.5%;
  top: 50%;
  transform: translateY(-50%);
  width: min(520px, 34vw);
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-product img {
  width: 100%;
  height: auto;
  display: block;
}

.carousel-control-prev,
.carousel-control-next {
  width: 7%;
  opacity: 0;
  transition: opacity .25s ease;
}

.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next {
  opacity: .9;
}

.carousel-indicators [data-bs-target] {
  width: 24px;
  height: 3px;
  margin: 0 3px;
  border: 0;
}

.bottom-mark {
  min-height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.mmm-mark {
  text-align: center;
  color: #214d1f;
  font-weight: 700;
  letter-spacing: 2px;
}

.mmm-mark .letters {
  font-size: 30px;
  line-height: 1;
  color: #7d1818;
}

.mmm-mark .tagline {
  font-size: 8px;
  letter-spacing: 1.2px;
  margin-top: 5px;
}

@media (max-width:991.98px) {
  .main-header {
    height: auto;
    min-height: 110px;
    padding: 14px 0;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 85px;
    height: 85px;
  }

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

  .nav-area {
    width: auto;
    margin-left: auto;
    justify-content: flex-end;
  }

  .main-nav {
    gap: 2px;
    flex-wrap: wrap;
  }

  .main-nav a {
    font-size: 12px;
    padding: 6px 8px;
  }

  .hero-slide {
    min-height: 560px;
  }

  .small-title {
    margin-bottom: 35px;
  }

  .hero-title {
    width: 58%;
    font-size: clamp(52px, 10vw, 90px);
  }

  .hero-product {
    right: 2%;
    width: 40vw;
  }
}

@media (max-width:575.98px) {
  .top-strip {
    height: 20px;
  }

  .brand {
    width: 100%;
  }

  .brand-logo {
    width: 70px;
    height: 70px;
  }

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

  .header-icons {
    gap: 10px;
  }

  .header-action {
    min-width: 42px;
    font-size: 18px;
  }

  .header-action span {
    font-size: 10px;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-area {
    justify-content: flex-end;
  }

  .hero-slide {
    min-height: 520px;
  }

  .slide-content {
    padding-top: 35px;
  }

  .small-title {
    font-size: 45px;
    margin-bottom: 40px;
  }

  .hero-title {
    width: 100%;
    font-size: 62px;
    max-width: 90%;
  }

  .hero-product {
    width: 70vw;
    right: -5%;
    top: auto;
    bottom: 15px;
    transform: none;
  }

  .bottom-mark {
    min-height: 100px;
  }
}

/* Shared header actions and mobile navigation */
.header-actions {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-left: 55px;
}

.header-action {
  position: relative;
  min-width: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: #222;
  font-size: 14px;
  line-height: 1
}

.header-action span {
  font-size: 11px;
  line-height: 1.1;
  color: #555;
  font-weight: 500
}

.header-action:hover,
.header-action:hover span {
  color: #087568
}

.header-cart-count {
  position: absolute;
  top: -7px;
  right: 3px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 50%;
  background: #d92525;
  color: #fff;
  font-size: 9px;
  line-height: 17px;
  text-align: center;
  font-weight: 600
}

.mobile-menu-btn {
  display: none;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 7px;
  width: 42px;
  height: 42px;
  font-size: 25px;
  color: #087568
}

.mobile-menu {
  display: none;
  background: #fff;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
  position: relative;
  z-index: 50
}

.mobile-menu.open {
  display: block
}

.mobile-menu a {
  display: block;
  padding: 13px 6%;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #eee;
  font-size: 15px
}

.mobile-menu a:hover {
  color: #087568;
  background: #f6faf9
}

@media(max-width:850px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 15px 0
  }

  .nav {
    width: auto;
    margin-left: auto
  }

  .nav .main-links {
    display: none
  }

  .header-actions {
    margin-left: 0
  }

  .mobile-menu-btn {
    display: block
  }

  .brand-name {
    font-size: 26px
  }

  .brand-logo {
    width: 78px;
    height: 78px
  }
}

@media(max-width:520px) {
  .nav {
    display: flex
  }

  .header-actions {
    gap: 10px
  }

  .header-action {
    min-width: 42px;
    font-size: 18px
  }

  .header-action span {
    font-size: 10px
  }

  .brand-name {
    font-size: 22px
  }

  .mobile-menu-btn {
    width: 40px;
    height: 40px
  }
}

/* ===== INDEX HEADER FIX ===== */
.header {
  /* height: 178px; */
  background: #fff;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}

.header-inner {
  width: min(1500px, 94%);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.header .brand {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 390px;
}

.header .brand-logo {
  width: 145px;
  height: 145px;
  /* border: 1.5px solid #16c5d3; */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.header .brand-logo:hover {
  text-decoration: none
}

.header .brand-name {
  color: #027746;
  font-size: clamp(28px, 2.2vw, 43px);
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  white-space: nowrap;
}

.header .nav {
  display: flex;
  align-items: center;
  gap: 28px;
  /* margin-right: 200px; */
}

.header .main-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header .main-links a {
  text-decoration: none;
  color: #c20000;
  font-size: 14px;
  padding: 7px 13px;
  border-radius: 5px;
  white-space: nowrap;
  font-weight: 600;
}

.header .main-links a:hover {
  color: #087c6c
}

.header .main-links a.active {
  color: #087c6c;
  border: 1px solid #cfcfcf;
  background: #fafafa;
}

@media(max-width:991.98px) {
  .header {
    height: auto;
    min-height: 110px;
    padding: 14px 0
  }

  .header-inner {
    flex-wrap: wrap
  }

  .header .brand {
    min-width: 0
  }

  .header .brand-logo {
    width: 85px;
    height: 85px
  }

  .header .brand-name {
    font-size: 25px
  }

  .header .nav {
    margin-left: auto
  }

  .header .main-links {
    gap: 2px;
    flex-wrap: wrap
  }

  .header .main-links a {
    font-size: 12px;
    padding: 6px 8px
  }
}

@media(max-width:575.98px) {
  .header .brand {
    width: 100%
  }

  .header .brand-logo {
    width: 70px;
    height: 70px
  }

  .header .brand-name {
    font-size: 22px
  }

  .header .main-links {
    display: none
  }

  .header .nav {
    justify-content: flex-end
  }
}

/* ===== HERO SLIDE BACKGROUND ===== */
.hero-slider {
  background-color: #f47a00;
}

/* Keep the supplied mandala artwork clean without adding another decorative layer. */
.hero-slide::before,
.hero-slide::after {
  display: none;
}

/* Bilingual product name: English on top, Tamil centered directly underneath */
.small-title {
  text-align: center;
  width: 52%;
  position: relative;
  z-index: 4;
}

.small-title .english-name,
.small-title .tamil-name {
  display: block;
  width: 100%;
  text-align: center;
}

.small-title .english-name {
  line-height: 1.05;
}

.small-title .tamil-name {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: .48em;
  line-height: 1.45;
  margin-top: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

@media(max-width:991.98px) {
  .small-title {
    width: 56%;
  }
}

@media(max-width:575.98px) {
  .small-title {
    width: 100%;
    max-width: 88%;
    text-align: center;
  }

  .small-title .english-name,
  .small-title .tamil-name {
    text-align: center;
  }
}

/* =====================================================
   CSS-ONLY MANDALA HERO BACKGROUND
   No background image is required.
   ===================================================== */
.hero-slider {
  --mandala-gold: rgba(255, 230, 70, .46);
  --mandala-gold-soft: rgba(255, 236, 120, .18);
  background-color: #f36b08 !important;
  background-image:
    radial-gradient(circle at 50% 52%, rgba(255, 207, 42, .22) 0 5%, transparent 5.5%),
    radial-gradient(circle at 50% 52%, transparent 0 12%, var(--mandala-gold-soft) 12.2% 12.7%, transparent 13%),
    radial-gradient(circle at 50% 52%, transparent 0 20%, var(--mandala-gold-soft) 20.2% 20.8%, transparent 21%),
    radial-gradient(circle at 50% 52%, transparent 0 29%, var(--mandala-gold-soft) 29.2% 29.7%, transparent 30%),
    linear-gradient(90deg, #ed3005 0%, #ff8b08 48%, #ffd21a 100%) !important;
  background-size: auto, auto, auto, auto, 100% 100%;
  background-position: center;
}

/* Large line-art mandalas at the left and right edges */
.hero-slider::before,
.hero-slider::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  pointer-events: none;
  opacity: .72;
  background:
    repeating-conic-gradient(from 0deg,
      transparent 0deg 7deg,
      var(--mandala-gold) 7deg 7.8deg,
      transparent 7.8deg 15deg);
  -webkit-mask:
    radial-gradient(circle, transparent 0 30%, #000 30.5% 31%, transparent 31.5% 37%, #000 37.5% 38%, transparent 38.5% 45%, #000 45.5% 46%, transparent 46.5% 53%, #000 53.5% 54%, transparent 54.5% 100%);
  mask:
    radial-gradient(circle, transparent 0 30%, #000 30.5% 31%, transparent 31.5% 37%, #000 37.5% 38%, transparent 38.5% 45%, #000 45.5% 46%, transparent 46.5% 53%, #000 53.5% 54%, transparent 54.5% 100%);
}

.hero-slider::before {
  left: -145px;
  top: 50%;
  transform: translateY(-50%);
}

.hero-slider::after {
  right: -145px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .42;
}

/* Fine geometric flower detail in each mandala */
.hero-slide::before,
.hero-slide::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  pointer-events: none;
  background:
    repeating-conic-gradient(from 22.5deg,
      transparent 0deg 14deg,
      rgba(255, 235, 90, .34) 14deg 15deg,
      transparent 15deg 30deg);
  -webkit-mask: radial-gradient(circle, transparent 0 18%, #000 18.5% 19.5%, transparent 20% 33%, #000 33.5% 34.5%, transparent 35% 48%, #000 48.5% 49.5%, transparent 50% 100%);
  mask: radial-gradient(circle, transparent 0 18%, #000 18.5% 19.5%, transparent 20% 33%, #000 33.5% 34.5%, transparent 35% 48%, #000 48.5% 49.5%, transparent 50% 100%);
}

.hero-slide::before {
  left: 20px;
  top: -110px;
  opacity: .28;
}

.hero-slide::after {
  right: 27%;
  bottom: -190px;
  opacity: .26;
}

/* Keep slide content above the CSS artwork */
.slide-content,
.hero-product,
.carousel-control-prev,
.carousel-control-next,
.carousel-indicators {
  z-index: 4;
}

@media (max-width: 767.98px) {

  .hero-slider::before,
  .hero-slider::after {
    width: 300px;
    height: 300px;
  }

  .hero-slider::before {
    left: -130px;
  }

  .hero-slider::after {
    right: -130px;
  }

  .hero-slide::before,
  .hero-slide::after {
    width: 210px;
    height: 210px;
  }
}

/* =========================================================
   HOME PAGE RESPONSIVE OVERRIDES
   ========================================================= */
html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 1100px) {
  .header {
    min-height: 118px;
    padding: 10px 0;
  }

  .header-inner {
    width: 94%;
    gap: 12px;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
    gap: 10px;
  }

  .brand-logo {
    width: 105px;
    height: 105px;
    flex-basis: 105px;
  }

  .brand-name {
    font-size: clamp(22px, 3vw, 30px);
  }

  .nav {
    flex: 0 0 auto;
  }

  .main-links {
    gap: 2px;
  }

  .main-links a {
    padding: 6px 8px;
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .header {
    min-height: 92px;
  }

  .header-inner {
    flex-wrap: nowrap;
  }

  .brand-logo {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
  }

  .brand-name {
    font-size: clamp(20px, 3.4vw, 27px);
  }

  .nav {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .main-links {
    display: none;
  }

  .header-actions {
    display: flex;
    gap: 8px;
  }

  .header-action {
    min-width: 44px;
    font-size: 19px;
  }

  .header-action span {
    font-size: 10px;
  }

  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-slide {
    /* min-height: 500px; */
    height: calc(100vh - 125px);
    min-height: 600px;
  }

  .small-title {
    margin-bottom: 28px;
    font-size: clamp(42px, 6vw, 65px);
  }

  .hero-title {
    width: 60%;
    font-size: clamp(50px, 8vw, 82px);
  }

  .hero-product {
    width: min(40vw, 420px);
    right: 2%;
  }
}

@media (max-width: 700px) {
  .top-strip {
    height: 20px;
  }

  .header {
    min-height: 82px;
    padding: 8px 0;
  }

  .header-inner {
    width: 94%;
    gap: 7px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  .brand-name {
    font-size: clamp(18px, 5vw, 23px);
    letter-spacing: .4px;
  }

  .header-icons,
  .header-actions {
    gap: 4px;
  }

  .header-action {
    min-width: 39px;
    font-size: 17px;
    gap: 3px;
  }

  .header-action span {
    font-size: 9px;
  }

  .mobile-menu-btn {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .hero-slide {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
  }

  .slide-content {
    width: 92%;
    padding: 38px 0 10px;
    text-align: center;
  }

  .small-title {
    font-size: clamp(42px, 12vw, 62px);
    margin-bottom: 20px;
  }

  .small-title .tamil-name {
    font-size: .48em;
  }

  .hero-title {
    width: 100%;
    font-size: clamp(48px, 14vw, 76px);
    line-height: .95;
    letter-spacing: -1.5px;
  }

  .hero-title .line {
    display: block;
  }

  .hero-product {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: min(76vw, 360px);
    margin: 0 auto 20px;
    flex: 0 0 auto;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 12%;
    opacity: .7;
  }

  .carousel-indicators [data-bs-target] {
    width: 18px;
  }

  .bottom-mark {
    min-height: 95px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    width: 96%;
  }

  .brand-logo {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }

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

  .header-action {
    min-width: 35px;
    font-size: 16px;
  }

  .header-action span {
    font-size: 8px;
  }

  .mobile-menu-btn {
    width: 36px;
    height: 36px;
  }

  .slide-content {
    width: 94%;
    padding-top: 30px;
  }

  .small-title {
    font-size: 40px;
  }

  .hero-title {
    font-size: clamp(44px, 14vw, 62px);
  }

  .hero-product {
    width: min(82vw, 330px);
  }
}

@media (max-width: 360px) {
  .brand-name {
    font-size: 16px;
  }

  .header-action {
    min-width: 31px;
  }

  .header-action span {
    font-size: 7px;
  }

  .mobile-menu-btn {
    width: 34px;
    height: 34px;
  }
}

/* =========================================================
   FINAL RESPONSIVE HEADER FIX
   Prevents logo, navigation, actions and menu from overlapping.
   ========================================================= */
.header,
.header-inner,
.header .brand,
.header .nav {
  min-width: 0;
}

.header-inner {
  width: min(1500px, 94%);
}

.header .nav {
  margin-right: 0 !important;
}

.header .brand-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

.header .header-actions {
  position: static !important;
  transform: none !important;
  flex: 0 0 auto;
}

@media (max-width: 1100px) {
  .header {
    height: auto;
    min-height: 108px;
    padding: 8px 0;
  }

  .header-inner {
    flex-wrap: nowrap;
    gap: 12px;
  }

  .header .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 10px;
  }

  .header .brand-logo {
    width: 92px;
    height: 92px;
    flex: 0 0 92px;
  }

  .header .brand-name {
    font-size: clamp(21px, 3vw, 30px);
  }

  .header .nav {
    flex: 0 0 auto;
    margin: 0 !important;
    gap: 8px;
  }

  .header .main-links {
    gap: 2px;
  }

  .header .main-links a {
    font-size: 12px;
    padding: 6px 7px;
  }
}

@media (max-width: 900px) {
  .header {
    min-height: 90px;
  }

  .header-inner {
    width: 94%;
    gap: 10px;
  }

  .header .brand-logo {
    width: 76px;
    height: 76px;
    flex-basis: 76px;
  }

  .header .brand-name {
    font-size: clamp(19px, 3.5vw, 27px);
  }

  .header .main-links {
    display: none !important;
  }

  .header .header-actions {
    display: flex;
    gap: 7px;
  }

  .header-action {
    min-width: 42px;
    font-size: 19px;
  }

  .header-action span {
    font-size: 9px;
  }

  .mobile-menu-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;
  }
}

@media (max-width: 700px) {
  .top-strip {
    height: 20px;
  }

  .header {
    min-height: 76px;
    padding: 7px 0;
  }

  .header-inner {
    width: 94%;
    gap: 8px;
  }

  .header .brand {
    gap: 8px;
  }

  .header .brand-logo {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .header .brand-name {
    font-size: clamp(18px, 5vw, 23px);
    letter-spacing: .3px;
  }

  /* On phones/tablet portrait, the hamburger contains Login/Cart/navigation.
     Keeping the three labelled actions here causes header compression/overlap. */
  .header .header-actions {
    display: none !important;
  }

  .mobile-menu-btn {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .mobile-menu {
    position: relative;
    width: 100%;
  }

  .mobile-menu a {
    padding: 13px 6%;
  }
}

@media (max-width: 480px) {
  .header-inner {
    width: 96%;
  }

  .header .brand-logo {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .header .brand-name {
    font-size: 18px;
  }

  .mobile-menu-btn {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    font-size: 21px;
  }
}

@media (max-width: 360px) {
  .header .brand-logo {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .header .brand-name {
    font-size: 16px;
  }
}


/* =========================================================
   NEW SLIDE DESIGN (photo + circle + badge)
   ========================================================= */

.hero-slider:has(.model-slide)::before,
.hero-slider:has(.model-slide)::after {
  display: none;
}

.hero-slide.model-slide {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(480px, 30vw, 600px);
  padding: 0;
  background: linear-gradient(90deg, #ee4a06 0%, #ff8b08 45%, #ffc21a 100%);
}

.hero-slide.model-slide::before,
.hero-slide.model-slide::after {
  display: none;
}

/* left photo fading into the orange gradient */
.ms-photo {
  position: absolute;
  inset: 0 auto 0 0;
  width: 64%;
  z-index: 0;
  background: linear-gradient(rgba(0, 0, 0, .14), rgba(0, 0, 0, .14)), var(--img) center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, #000 50%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 50%, transparent 100%);
}

.ms-script1{
   font-family: 'Great Vibes', 'Caveat', cursive;
  font-weight: 400;
  margin: 0; 
  position: absolute;
  left: 4%;
  top: 5%;
  z-index: 3;
  color: #fff;
  font-size: clamp(44px, 5.6vw, 60px);
}

.ms-script,
.ms-tagline {
  font-family:  'Caveat', cursive;
  font-weight: 400;
  margin: 0;
}

.ms-script {
  position: absolute;
  left: 6%;
  top: 5%;
  z-index: 3;
  color: #fff;
  font-size: clamp(44px, 5.6vw, 108px);
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}

.ms-tamil {
  position: absolute;
  left: 0;
  top: 27%;
  z-index: 3;
  padding: .22em .7em .26em .8em;
  background: #ff6a13;
  color: #fff;
  font: 600 clamp(22px, 2.6vw, 50px)/1.2 'Noto Sans Tamil', Inter, sans-serif;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}

/* centre column: tagline, three keywords, brush badge */
.ms-center {
  position: absolute;
  left: 42.5%;
  top: 5%;
  width: 26%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(8px, 1.6vw, 26px);
}

.ms-tagline {
  color: #ffe21f;
  font-size: clamp(26px, 3.1vw, 60px);
  line-height: 1.12;
  text-shadow: 0 2px 5px rgba(120, 40, 0, .4);
}

.ms-tagline::after {
  content: '❦';
  display: block;
  font-family: Inter, sans-serif;
  font-size: .45em;
  color: #ffd21a;
}

.ms-keys {
  color: #fff;
  font: 500 clamp(9px, .85vw, 17px)/1.9 Inter, sans-serif;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.ms-badge-wrap {
  filter: drop-shadow(0 6px 10px rgba(110, 30, 0, .35));
  width: 100%;
}

.ms-badge {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  padding: 5% 4% 4%;
  color: #3b2400;
  background: linear-gradient(#ffe820, #ffc400);
  clip-path: polygon(1% 14%, 6% 4%, 20% 9%, 35% 2%, 50% 8%, 66% 3%, 82% 9%, 95% 3%, 99% 22%, 96% 46%, 100% 70%, 94% 92%, 78% 97%, 62% 92%, 45% 99%, 28% 94%, 12% 98%, 3% 88%, 0 60%, 3% 36%);
}

.ms-badge>div {
  text-align: center;
  padding: 0 4%;
  font: 500 clamp(11px, 1.15vw, 22px)/1.25 Inter, sans-serif;
}

.ms-badge>div+div {
  border-left: 1px solid rgba(90, 50, 0, .35);
}

.ms-badge svg {
  display: block;
  margin: 0 auto .3em;
  width: 2.3em;
  height: 2.3em;
  stroke: #1b6f1b;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* big title along the bottom */
.ms-title {
  position: absolute;
  /* left: 5%;  */
  right: 25%;
  bottom: 5%;
  width: 100%;
  z-index: 1;
  margin: 0;
  color: #fff;
  font: 800 clamp(40px, 5.3vw, 75px)/.98 Inter, 'Noto Sans Tamil', sans-serif;
  letter-spacing: -.02em;
  text-wrap: balance;
  text-align: center;
  text-shadow: 0 4px 8px rgba(70, 25, 0, .55);
}

/* round photo with yellow ring */
.ms-circle {
  position: absolute;
  right: 5.5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: min(24.4vw, 470px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: clamp(5px, .45vw, 9px) solid #ffd21a;
  box-shadow: 0 0 0 3px rgba(255, 150, 0, .8), 0 18px 40px rgba(90, 25, 0, .35);
  background: var(--circle-img, var(--img)) center / cover no-repeat;
}

/* indicators / arrows stay on top */
.hero-slider:has(.model-slide) .carousel-indicators {
  z-index: 5;
  margin-bottom: 14px;
}

.hero-slider:has(.model-slide) .carousel-indicators [data-bs-target] {
  width: 28px;
  height: 3px;
  background: #fff;
  opacity: .5;
}

.hero-slider:has(.model-slide) .carousel-indicators .active {
  opacity: 1;
}

/* one entrance moment per slide */
@media (prefers-reduced-motion: no-preference) {
  .carousel-item.active .ms-photo {
    animation: msZoom 9s ease-out both;
  }

  .carousel-item.active .ms-circle {
    animation: msPop .9s cubic-bezier(.2, .8, .2, 1) both;
  }

  .carousel-item.active .ms-title {
    animation: msRise .8s .15s ease-out both;
  }

  @keyframes msZoom {
    from {
      transform: scale(1.08);
    }

    to {
      transform: scale(1);
    }
  }

  @keyframes msPop {
    from {
      opacity: 0;
      transform: translateY(-50%) scale(.85);
    }

    to {
      opacity: 1;
      transform: translateY(-50%) scale(1);
    }
  }

  @keyframes msRise {
    from {
      opacity: 0;
      transform: translateY(18px);
    }

    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* tablet / phone: stack vertically */
@media (max-width: 800px) {
  .hero-slide.model-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 26px 14px 54px;
    min-height: 0;
  }

  .ms-photo {
    width: 100%;
    -webkit-mask-image: none;
    mask-image: none;
    opacity: .55;
  }

  .ms-script,
  .ms-tamil,
  .ms-center,
  .ms-title,
  .ms-circle {
    position: static;
    transform: none;
  }

  .ms-script {
    font-size: clamp(46px, 13vw, 70px);
    order: 1;
  }
   .ms-script1 {
    position: static;
    transform: none;
    font-size: clamp(46px, 13vw, 70px);
    order: 1;
  }

  .ms-tamil {
    order: 2;
    border-radius: 4px;
    margin-top: 6px;
    font-size: clamp(20px, 6vw, 30px);
  }

  .ms-circle {
    order: 3;
    width: min(66vw, 320px);
    margin: 22px 0 14px;
    animation: none !important;
  }

  .ms-title {
    order: 4;
    width: 100%;
    font-size: clamp(38px, 11vw, 64px);
  }

  .ms-center {
    order: 5;
    width: min(94%, 440px);
    margin-top: 14px;
  }

  .ms-tagline,
  .ms-keys {
    display: none;
  }

  .ms-badge>div {
    font-size: clamp(11px, 3vw, 15px);
  }
}

/* =========================================================
   FULL-SCREEN SLIDER  (top strip + header + slider = 1 screen)
   The slider takes whatever height is left under the header,
   so it works at every header size.
   ========================================================= */
.first-screen {
  display: flex;
  flex-direction: column;
  height: 100vh;            /* fallback */
  height: 100svh;           /* real visible height on phones/tablets */
  min-height: 620px;        /* never get too cramped on short windows */
}

.first-screen .top-strip,
.first-screen .header {
  flex: 0 0 auto;           /* keep their own height */
}

.first-screen .hero-slider {
  flex: 1 1 auto;           /* fill the rest of the screen */
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.first-screen .carousel-inner {
  flex: 1 1 auto;
  min-height: 0;
}

.first-screen .carousel-item,
.first-screen .hero-slide.model-slide {
  height: 100%;
  min-height: 0;
}

/* phones: slide content is stacked, so let it grow naturally */
@media (max-width: 800px) {
  .first-screen { height: auto; min-height: 100svh; }
  .first-screen .hero-slider { display: block; }
  .first-screen .carousel-item,
  .first-screen .hero-slide.model-slide { height: auto; }
}


/* =========================================================
   TRUST STRIP  (Premium Quality / Traditional Recipes ...)
   Sits directly below the hero slider.
   ========================================================= */
.trust-strip {
  background: #fbf4ea;
  border-bottom: 1px solid #efe3d0;
  padding: 26px 0;
}

.trust-inner {
  width: min(1300px, 94%);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 6px 18px;
}

.trust-item + .trust-item {
  border-left: 1px solid rgba(60, 40, 10, .22);
}

.trust-icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  fill: #1d7a22;
}

.trust-text strong {
  display: block;
  color: #1c1c1c;
  font: 700 clamp(16px, 1.25vw, 20px)/1.25 Inter, sans-serif;
}

.trust-text span {
  display: block;
  color: #6b625a;
  font: 400 clamp(14px, 1.1vw, 17px)/1.3 Inter, sans-serif;
}

/* tablet: 2 x 2 */
@media (max-width: 900px) {
  .trust-inner { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .trust-item:nth-child(3) { border-left: 0; }
}

/* phone: stacked list, icon on the left */
@media (max-width: 520px) {
  .trust-inner { grid-template-columns: 1fr; row-gap: 0; }
  .trust-item { justify-content: flex-start; padding: 14px 10px; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid rgba(60, 40, 10, .18); }
  .trust-icon { width: 44px; height: 44px; }
}
