/* RESPONSIVE CSS */
/* -------------------------------
   1) Extra small devices (<=575px)
-------------------------------- */
@media (max-width: 575.98px) {

  /* Containers: 40px padding mobile pe zyada ho jata */
  .container-custom,
  .container.d-flex.justify-content-between {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Buttons: tap-friendly */
  .btn-primary-custom,
  .btn-outline-custom,
  .btn-buy-now,
  .btn-proceed {
    height: 44px;
    /* better tap target */
    font-size: 15px;
    border-radius: 999px;
  }

  /* Outline small buttons */
  .btn.btn-outline,
  .btn.add-cart-btn {
    height: 40px;
    font-size: 14px;
  }

  /* Forms: input + button same line se toot-ta hai -> stack on mobile */
  .d-flex,
  .input-group {
    flex-wrap: wrap;
    gap: 10px;
  }

  /* if kisi jagah inline buttons hain to full width */
  .btn-primary-custom,
  .btn-outline-custom,
  .btn-buy-now {
    width: 100%;
    max-width: 100%;
  }
}

/* -------------------------------
   2) Small devices (>=576px)
-------------------------------- */
@media (min-width: 576px) and (max-width: 767.98px) {

  .container-custom,
  .container.d-flex.justify-content-between {
    padding-left: 20px;
    padding-right: 20px;
  }

  .btn-primary-custom,
  .btn-outline-custom,
  .btn-buy-now {
    width: auto;
    max-width: 212px;
  }
}

/* -------------------------------
   3) Medium devices (>=768px)
-------------------------------- */
@media (min-width: 768px) and (max-width: 991.98px) {

  .container-custom,
  .container.d-flex.justify-content-between {
    padding-left: 28px;
    padding-right: 28px;
  }

  /* spacing refine */
  h3 {
    font-size: clamp(30px, 3.6vw, 40px);
  }
}

/* -------------------------------
   4) Large devices (>=992px)
-------------------------------- */
@media (min-width: 992px) and (max-width: 1199.98px) {

  .container-custom,
  .container.d-flex.justify-content-between {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* -------------------------------
   5) XL devices (>=1200px)
-------------------------------- */
@media (min-width: 1200px) {

  /* Desktop pe tumhara 40px padding ok hai */
  .container-custom,
  .container.d-flex.justify-content-between {
    padding-left: 40px;
    padding-right: 40px;
  }
}


/* ==================================================
   TOPBAR + NAVBAR RESPONSIVE
================================================== */

/* --------- Topbar Base Improvements (All screens) --------- */
.topbar .container {
  gap: 10px;
}

/* keep icons aligned */
.topbar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* --------- Mobile: up to 575px --------- */
@media (max-width: 575.98px) {

  /* Topbar stack and center */
  .topbar {
    font-size: 12px;
    padding: 8px 0;
  }

    .topbar .container.d-flex.justify-content-between {
        flex-direction: row;
        align-items: center;
        text-align: center;
        gap: 6px;
    }

  .topbar a {
    margin-left: 8px;
  }

  /* Navbar padding reduce */
  .navbar-custom {
    padding: 10px 0;
  }

  /* Logo smaller on mobile */
  .navbar-brand img {
    height: 52px;
  }

  /* Mobile icons spacing */
  .navbar-custom .fa {
    margin-left: 0;
  }

  /* When menu opens, make it clean */
  .navbar-collapse {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .navbar-nav {
    align-items: flex-start;
    /* left align on mobile */
  }

  .navbar-custom .nav-link {
    margin: 6px 0;
    padding: 10px 6px;
    width: 100%;
  }
}

/* --------- Small devices: 576px to 767px --------- */
@media (min-width: 576px) and (max-width: 767.98px) {

  .topbar {
    font-size: 13px;
    padding: 7px 0;
  }

  /* Topbar still can wrap nicely */
  .topbar .container.d-flex.justify-content-between {
    flex-wrap: wrap;
    gap: 8px;
  }

  .navbar-custom {
    padding: 12px 0;
  }

  .navbar-brand img {
    height: 60px;
  }

  .navbar-collapse {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .navbar-custom .nav-link {
    margin: 6px 0;
    padding: 10px 6px;
  }
}

/* --------- Tablet: 768px to 991px --------- */
@media (min-width: 768px) and (max-width: 991.98px) {

  .navbar-brand img {
    height: 70px;
  }

  /* Collapse menu spacing (if toggler used on some tablets) */
  .navbar-collapse {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

/* --------- Desktop: >=992px --------- */
@media (min-width: 992px) {

  /* Center menu better and keep icons right */
  .navbar-collapse {
    justify-content: center !important;
  }

  .navbar-custom .nav-link {
    margin: 0 12px;
  }

  .navbar-brand img {
    height: 80px;
    /* original */
  }
}


/* ==================================================
   HERO SLIDER – RESPONSIVE
================================================== */

/* <= 1199px (Small desktops) */
@media (max-width: 1199.98px) {
  .hero-content {
    max-width: 560px;
  }
}

/* <= 991px (Tablets) */
@media (max-width: 991.98px) {
  .hero-banner {
    min-height: clamp(340px, 62vw, 500px);
    border-radius: 20px;
  }

  .hero-slides {
    min-height: clamp(340px, 62vw, 500px);
  }

  /* Tablet: subject/product right side safe */
  .hero-img {
    object-position: right center;
  }

  .hero-content {
    max-width: 520px;
    margin-left: 20px;
    margin-top: 24px;
    padding: 14px;
  }

  .hero-nav {
    width: 44px;
    height: 44px;
  }
}

/* <= 767px (Mobiles – FIXED HEIGHT) */
@media (max-width: 767.98px) {
    .hero-banner {
        height: 436px !important;
        min-height: 400px;
        max-height: 436px;
        border-radius: 16px;
    }

  .hero-slides {
    height: 400px;
    min-height: 400px;
    max-height: 400px;
  }

.hero-slide {
        height: 436px;
    }

  .hero-img {
    height: 100%;
    object-position: center center;
  }

  .hero-content {
    max-width: 100%;
    margin-left: 0;
    margin-top: 0;
    padding: 18px 16px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-nav {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .hero-prev {
    left: 10px;
  }

  .hero-next {
    right: 10px;
  }

  .hero-dots {
    bottom: 10px;
  }
}

/* <= 575px (Small phones – still 400px) */
@media (max-width: 575.98px) {

  .hero-slides {
    height: 400px;
  }

  .hero-content {
    padding: 16px 14px;
  }
}

/* <= 360px (Very small phones) */
@media (max-width: 360px) {
  .hero-nav {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}

/* Motion safety (Accessibility) */
@media (prefers-reduced-motion: reduce) {

  .hero-slide,
  .hero-nav,
  .hero-dot {
    transition: none;
  }
}

/* ==================================================
   RITUAL ACCORDION – RESPONSIVE (FRESH + CLEAN)
   Paste this and REMOVE your old duplicated responsive CSS
================================================== */

/* ---------- TABLET (<=991.98px) ---------- */
@media (max-width: 991.98px){

  .ritual-panel{
    height: 320px;
  }

  .ritual-content{
    padding: 22px 90px 22px 70px;
  }

  .ritual-panel.active .ritual-content{
    padding-left: 90px;
    padding-right: 70px;
    padding-bottom: 50px;
  }

  .ritual-text h2{
    font-size: 28px;
  }

  .ritual-text p{
    font-size: 13.5px;
  }
}


/* ---------- MOBILE (<=767.98px) ---------- */
@media (max-width: 767.98px){

  /* Stack panels */
  .ritual-accordion{
    flex-direction: column;
    gap: 12px;
  }

  .ritual-panel{
    flex: 0 0 auto;
    height: auto;
    border-radius: 12px;
    background-size: cover;
    /* ✅ Face crop fix for mobile (default shift right/top) */
    background-position: 75% 25% !important;
  }

  /* ✅ Specific image tuning (optional but recommended) */
  .ritual-panel[data-index="0"]{  /* DEFY */
    background-position: 80% 25% !important;
  }
  .ritual-panel[data-index="2"]{  /* HYDRATE */
    background-position: 70% 25% !important;
  }

  /* Stronger overlay on mobile */
  .ritual-panel::before{
    background: linear-gradient(
      180deg,
      rgba(0,0,0,0.08) 0%,
      rgba(0,0,0,0.45) 60%,
      rgba(0,0,0,0.72) 100%
    );
  }

  /* Handle becomes top bar */
  .ritual-handle{
    position: relative;
    width: 100%;
    height: 56px;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.35);
  }

  /* Stop desktop left/right switching */
  .ritual-panel.active .ritual-handle{
    left: auto;
    right: auto;
    border-right: none;
  }

  /* Desktop hidden rule disabled on mobile */
  .ritual-panel:not(.active) .ritual-content{
    transform: none;
    opacity: 1;
    pointer-events: none; /* closed by accordion */
  }

  /* Collapsible content */
  .ritual-content{
    display: block;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s ease, opacity .2s ease;
    pointer-events: none;
  }

  .ritual-panel.active .ritual-content{
    max-height: 650px;
    opacity: 1;
    pointer-events: auto;
    padding: 16px;
  }

  .ritual-text{
    max-width: 100%;
  }

  .ritual-text h2{
    font-size: 22px;
    margin: 0 0 8px;
  }

  .ritual-text p{
    font-size: 13px;
    margin: 0 0 12px;
    max-width: 100%;
  }

  .ritual-btn{
    width: 70%;
    text-align: center;
  }

  /* Rotate strip image for top bar */
  .ritual-handle img{
    width: 13px;
    height: auto;
    transform: rotate(90deg);
  }

  .ritual-handle img.is-wide{
    width: 28px;
  }
}


/* ---------- SMALL PHONES (<=480px) ---------- */
@media (max-width: 480px){

  .ritual-handle{
    height: 52px;
  }

  .ritual-text h2{
    font-size: 18px;
  }

  .ritual-text p{
    font-size: 12.5px;
  }

  .ritual-btn{
    width: 75%;
  }

  /* slightly different crop for very small screens */
  .ritual-panel{
    background-position: 78% 22% !important;
  }
  .ritual-panel[data-index="0"]{
    background-position: 82% 22% !important;
  }
}


/* ---------- TINY PHONES (<=360px) ---------- */
@media (max-width: 360px){
  .ritual-panel.active .ritual-content{
    max-height: 800px;
  }
}



/* ======================================================
   BENEFITS SECTION
====================================================== */

/* 1200 -> 992 : keep desktop layout but reduce offsets & widths */
@media (max-width: 1199.98px) {
  .benefit-banner-full {
    height: 380px;
  }

  .benefit-item {
    max-width: 340px;
  }

  .benefit-txt p {
    max-width: 260px;
  }

  .benefit-item.tl {
    top: 40px;
    left: 28px;
  }

  .benefit-item.tr {
    top: 40px;
    right: 28px;
  }

  .benefit-item.bl {
    bottom: 70px;
    left: 28px;
  }

  .benefit-item.br {
    bottom: 70px;
    right: 28px;
  }
}

/* 992 -> 768 : premium tablet layout (2x2 grid cards) */
@media (max-width: 991.98px) {
  .benefit-banner-full {
    height: auto;
    padding: 18px;
    background-position: center top;
  }

  /* overlay ON but slightly stronger for readability */
  .benefit-overlay {
    display: block;
    background: rgba(255, 255, 255, 0.55);
  }

  /* switch to grid */
  .benefit-banner-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start;
  }

  .benefit-item {
    position: static;
    max-width: 100%;
    padding: 14px 14px;
    margin: 0;

    border-radius: 14px;
    border: 1px solid rgba(214, 236, 233, .9);
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(3px);
  }

  .benefit-txt p {
    max-width: 100%;
    font-size: 11px;
  }

  .benefit-txt h5 {
    font-size: 13px;
  }
}

/* <=767 : single column stack */
@media (max-width: 767.98px) {
  .benefit-banner-full {
    grid-template-columns: 1fr;
    padding: 16px;
    /* height: 400px; */
  }

  .benefit-ico svg {
    width: 46px;
    height: 46px;
  }

  .benefit-txt h5 {
    font-size: 17px;
  }

  .benefit-txt p {
    font-size: 13px;
  }
}

/* <=480 : tighter spacing */
@media (max-width: 480px) {
  .benefit-item {
    padding: 12px;
    gap: 12px;
  }

  .benefit-ico svg {
    width: 20px;
    height: 20px;
  }

  .benefit-txt h5 {
    font-size: 13px;
  }

  .benefit-txt p {
    font-size: 11px;
    line-height: 1.5;
  }
}



/* =====================================
   Sun Protection Rituals
===================================== */
/* =====================================
   <=1199 (small desktops)
===================================== */
@media (max-width: 1199.98px) {
  .sun-rituals-card {
    min-height: 460px;
  }

  .sun-rituals-content {
    left: 28px;
    max-width: 380px;
  }
}

/* =====================================
   <=991 (tablets)
===================================== */
@media (max-width: 991.98px) {
  .sun-rituals-card {
    min-height: 360px;
    /* smooth drop instead of 220 */
    border-radius: 16px;
    background-position: center right;
  }

  .sun-rituals-card::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 70%, rgba(0, 0, 0, 0.05) 100%);
  }

  .sun-rituals-content {
    left: 18px;
    right: 18px;
    /* allow safe padding */
    max-width: 520px;
  }

  .sun-rituals-content p {
    max-width: 420px;
  }
}

/* =====================================
   <=767 (mobile)
===================================== */
@media (max-width: 767.98px) {
  .sun-rituals-section {
    padding: 22px 0;
  }

  .sun-rituals-card {
    min-height: 280px;
    background-position: center;
    border-radius: 14px;
  }

  .sun-rituals-content {
    position: absolute;
    left: 14px;
    right: 14px;
    top: auto;
    bottom: 16px;
    /* mobile pe bottom placement looks premium */
    transform: none;
    max-width: 100%;
  }

  .sun-rituals-card::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.45) 65%, rgba(0, 0, 0, 0.75) 100%);
  }
}

/* =====================================
   <=576 (small phones)
===================================== */
@media (max-width: 575.98px) {
  .sun-rituals-card {
    min-height: 240px;
  }
}

/* =====================================
   <=360 (tiny phones)
===================================== */
@media (max-width: 360px) {
  .sun-rituals-card {
    min-height: 220px;
  }
}


/* ==================================================
   HAPPY HORMONES RESPONSIVE
================================================== */

/* -----------------------------
   <= 1199px (large tablets/laptops)
------------------------------ */
@media (max-width: 1199.98px){

  .hh-hero{ min-height: 380px; }

  .hh-hero-content{
    padding: 38px 34px;
    max-width: 680px;
    margin-top: 40px;
  }

  .hh-title{ font-size: 42px; }
  .hh-subtitle{ font-size: 15px; }
}

/* -----------------------------
   <= 991.98px (tablets)
------------------------------ */
@media (max-width: 991.98px){

  .hh-section{ padding: 34px 0; }

  .hh-section-head h3{
    font-size: 26px;
    margin-bottom: 6px;
  }

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

  /* HERO */
  .hh-hero{ min-height: 360px; border-radius: 16px; }

  .hh-hero-overlay{
    background: linear-gradient(90deg, rgba(0,0,0,0.55), rgba(0,0,0,0.18));
  }

  .hh-hero-content{
    padding: 30px 26px;
    max-width: 640px;
    margin-top: 20px;
  }

  .hh-title{ font-size: 36px; }
  .hh-subtitle{ font-size: 14px; max-width: 520px; }

  .hh-hero-actions .btn{
    height: 42px;
    font-size: 14px;
    padding: 0 16px;
  }

  /* cards */
  .hh-hormone-card{ border-radius: 16px; padding: 16px; }
  .hh-hormone-body{ font-size: 13.5px; }

  .hh-vibe-top{ padding: 16px; }
  .hh-vibe-bottom{ padding: 16px; }

  /* loop diagram */
  .hh-loop{ border-radius: 16px; padding: 16px; }
  .hh-node{ min-width: 180px; }
}

/* -----------------------------
   <= 767.98px (mobile)
------------------------------ */
@media (max-width: 767.98px){

  .hh-section{ padding: 28px 0; }

  /* Typography */
  .hh-section-head h3,
  .hh-section h3{
    font-size: 22px;
    line-height: 1.2;
  }

  .hh-section p,
  .hh-muted{
    font-size: 13px;
    line-height: 1.65;
  }

  /* HERO (face visible fix) */
  .hh-hero{
    min-height: 520px;        /* ✅ important for portrait model */
    border-radius: 14px;
  }

    .hh-hero-img {
        background-position: 85%;
    }

  .hh-hero-overlay{
    /* mobile readable overlay */
    background: linear-gradient(
      180deg,
      rgba(0,0,0,0.10) 0%,
      rgba(0,0,0,0.35) 45%,
      rgba(0,0,0,0.72) 100%
    );
  }

  .hh-hero-content{
    padding: 18px 16px;
    max-width: 100%;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 520px; /* aligns content at bottom */
  }

  .hh-pill{
    width: max-content;
    font-size: 12px;
    padding: 6px 10px;
  }

  .hh-title{
    font-size: 28px;
    margin-top: 10px;
  }

  .hh-subtitle{
    font-size: 13px;
    max-width: 100%;
  }

  .hh-hero-actions{
    gap: 10px;
  }

  .hh-hero-actions .btn{
    width: 100%;
    height: 42px;
    font-size: 13px;
  }

  .hh-hero-micro{
    gap: 10px;
  }

  .hh-micro-item{
    width: 100%;
    justify-content: center;
    font-size: 12px;
    padding: 10px 12px;
  }

  /* Hormone Cards */
  .hh-hormone-card{
    border-radius: 14px;
    padding: 14px;
  }

  .hh-hormone-top h5{
    font-size: 16px;
  }

  .hh-hormone-body p{
    font-size: 13px;
    line-height: 1.6;
  }

  .hh-label{
    font-size: 11px;
    margin-bottom: 4px;
  }

  /* Vibe Cards */
  .hh-vibe-card{ border-radius: 14px; }
  .hh-vibe-top{ padding: 14px; }
  .hh-vibe-bottom{ padding: 14px; }
  .hh-vibe-top h5{ font-size: 16px; }
  .hh-vibe-tag{ font-size: 11px; padding: 5px 10px; }

  .hh-vibe-products span{
    font-size: 11px;
    padding: 6px 10px;
  }

  /* Why it works diagram (stack clean) */
  .hh-loop{
    justify-content: center;
    gap: 10px;
    padding: 14px;
    flex-direction: column;
  }

  .hh-node{
    width: 100%;
    min-width: 0;
    border-radius: 14px;
  }

  .hh-arrow{
    width: 42px;
    height: 42px;
    transform: rotate(90deg); /* ✅ vertical flow */
  }

  /* UGC carousel cards */
  .hh-ugc-card{ border-radius: 14px; }
  .hh-ugc-card img{ height: 190px; }

  /* Quiz banner */
  .hh-quiz-banner{
    border-radius: 14px;
    padding: 14px;
  }

  /* Newsletter input */
  .hh-newsletter{
    justify-content: flex-start;
    width: 100%;
  }

  .hh-input{
    width: 100%;
    min-width: 0;
    height: 44px;
  }

  .hh-news-btn{
    width: 100%;
    height: 44px;
  }
}

/* -----------------------------
   <= 480px (small phones)
------------------------------ */
@media (max-width: 480px){

  /* HERO more portrait-friendly */
  .hh-hero{ min-height: 560px; }
  .hh-hero-content{ min-height: 560px; }

  .hh-title{ font-size: 26px; }
  .hh-subtitle{ font-size: 12.8px; }

  .hh-ugc-card img{ height: 175px; }

  /* loop diagram arrows smaller */
  .hh-arrow{
    width: 38px;
    height: 38px;
  }
}

/* -----------------------------
   <= 360px (tiny phones)
------------------------------ */
@media (max-width: 360px){
  .hh-title{ font-size: 24px; }
  .hh-hero{ min-height: 590px; }
  .hh-hero-content{ min-height: 590px; }
}

/* ==============================
   COMMUNITY
============================== */

/* <=991 */
@media (max-width: 991.98px) {
  :root {
    --community-card-w: 260px;
    --community-card-h: 220px;
    --community-speed: 18s;
    /* slightly faster feels smooth */
  }
}

/* <=575 */
@media (max-width: 575.98px) {
  :root {
    --community-card-w: 110px;
    --community-card-h: 150px;
    --community-gap: 10px;
    --community-speed: 16s;
  }

  a.btn.btn-primary-custom.community-btn {
height: 38px;
        font-size: 13px;
        border-radius: 999px;
        width: 60% !important;
    }

section.community-slider-section {
    padding-top: 20px;
    padding-bottom: 20px;
}
}

/* ==================================================
   STAY CONNECTED (RESPONSIVE)
================================================== */
@media (max-width: 575.98px) {
  .stay-connected-box {
    padding: 28px 14px;
  }

  .stay-connected-title {
    font-size: 22px;
  }

  .stay-connected-desc {
    font-size: 13px;
    padding: 0 8px;
  }

  .stay-input-wrap {
    max-width: 100%;
  }
}


/* ==================================================
   FOOTER (RESPONSIVE)
================================================== */

/* mobile/tablet padding */
@media (max-width: 767.98px) {
  .deya-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom-right {
    gap: 12px;
  }

  .payment-icons {
    justify-content: center;
    /* mobile center */
    gap: 12px;
  }

  .payment-icons img {
    height: 28px;
  }
}

/* extra small */
@media (max-width: 575.98px) {
  .footer-logo-img {
    max-width: 220px;
  }

  .footer-desc {
    max-width: 100%;
    font-size: 12px;
  }

  .footer-links a {
    font-size: 13px;
  }

  .footer-contact a {
    font-size: 13px;
    color: #6B7280;
    text-decoration: none;
  }

  .footer-contact i {
    font-size: 13px;
  }
}


/* =========================================
   ABOUT HERO (RESPONSIVE)
========================================= */

/* Tablets */
@media (max-width: 991.98px){
  .about-hero{
    height: 360px;
    border-radius: 16px;
  }

  .about-hero-overlay{
    padding: 22px;
    background: linear-gradient(
      90deg,
      rgba(0,0,0,0.60) 0%,
      rgba(0,0,0,0.28) 60%,
      rgba(0,0,0,0.00) 100%
    );
  }

  .about-hero-content h1{
    font-size: 34px;
  }

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

/* Mobile */
@media (max-width: 767.98px){
  .about-hero{
    height: 320px;
    border-radius: 14px;
  }

  .about-hero-overlay{
    padding: 18px;
    align-items: flex-end;

    background: linear-gradient(
      180deg,
      rgba(0,0,0,0.10) 0%,
      rgba(0,0,0,0.55) 55%,
      rgba(0,0,0,0.78) 100%
    );
  }

  .about-hero-media img {
    object-position: 85% center;  /* try 80% / 90% depending on image */
  }
  
  .about-hero-content{
    max-width: 100%;
  }

  .about-hero-content h1{
    font-size: 28px;
    margin-bottom: 8px;
  }

  .about-hero-content p{
    font-size: 13px;
    margin-bottom: 14px;
  }

  .hero-shop-btn{
    width: 100%;
  }
}

/* Small phones */
@media (max-width: 480px){
  .about-hero{
    height: 280px;
  }

  .about-hero-content h1{
    font-size: 24px;
  }
}


/* =========================================
   ABOUT CARD SECTION
========================================= */

/* Tablets */
@media (max-width: 991.98px){
  .about-two-col{
    display: flex;
    flex-direction: row;
  }

  .about-side-img{
    min-height: 220px;
  }
}

/* Mobile */
@media (max-width: 575.98px){

    .about-two-col{
        display: flex;
        flex-direction: column-reverse;

  }

  .about-soft-card{
    padding: 18px;
    border-radius: 16px;
  }

  .about-founder-card h4,
  .about-text-card h4{
    font-size: 16px;
  }

  .about-founder-card p,
  .about-text-card p{
    font-size: 13px;
  }

  .about-side-img{
    min-height: 250px;
    height: 250px;
  }

  .about-founder-card .signature{
    font-size: 12px;
  }
}




/* =========================================
   ABOUT PAGE FULL WIDTH BANNER
========================================= */

/* =========================================
   RESPONSIVE – TABLETS (≤ 991.98px)
========================================= */
@media (max-width: 991.98px){
  .about-banner img{
    height: 340px;
    object-position: 70% center; /* model thoda right focus */
  }
}

/* =========================================
   RESPONSIVE – MOBILE (≤ 575.98px)
========================================= */
@media (max-width: 575.98px){
  .about-banner{
    border-radius: 14px;
  }

  .about-banner img{
    height: 260px;

    /* ✅ IMPORTANT: model right side visible */
    object-position: 85% center;
  }
}

/* =========================================
   RESPONSIVE – SMALL PHONES (≤ 480px)
========================================= */
@media (max-width: 480px){
  .about-banner img{
    height: 220px;
    object-position: 90% center;
  }
}

/* =========================================
   RESPONSIVE – TINY PHONES (≤ 360px)
========================================= */
@media (max-width: 360px){
  .about-banner img{
    height: 200px;
  }
}


/* =========================================
   ABOUT PAGE OUR VALUES
========================================= */

/* =========================================
   RESPONSIVE – TABLETS (≤ 991.98px)
========================================= */
@media (max-width: 991.98px){

  .values-wrap{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .values-left img{
    width: 100%;
    min-height: 280px;
    object-position: 30% 30%;
    border-radius: 18px;
  }

  .values-right{
    padding: 18px;
  }

  .values-right p{
    max-width: 100%;
  }

  /* Accordion spacing */
  .val-row{
    padding: 14px 0;
  }

  .values-wrap {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 18px;
    align-items: stretch;
    }
}


/* =========================================
   RESPONSIVE – MOBILE (≤ 575.98px)
========================================= */
@media (max-width: 575.98px){

  .values-wrap{
    gap: 12px;
  }

  .values-left img{
    min-height: 220px;
    border-radius: 16px;
    object-position: 80% 30%;
  }

  .values-right{
    padding: 16px;
    border-radius: 16px;
  }

  .values-right h4{
    font-size: 16px;
  }

  .values-right p{
    font-size: 13px;
    margin-bottom: 10px;
  }

  /* tap-friendly rows */
  .val-row{
    padding: 14px 0;
  }

  .val-row span{
    font-size: 13px;
  }

  .val-icon{
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    font-size: 18px;
  }

  .val-body{
    font-size: 12.8px;
    padding: 0 0 12px;
  }

  .values-wrap {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}


/* =========================================
   RESPONSIVE – SMALL PHONES (≤ 480px)
========================================= */
@media (max-width: 480px){

  .values-left img{
    min-height: 200px;
    object-position: 85% 10%;
    height: 270px;
  }

  .values-right{
    padding: 14px;
  }

  .val-icon{
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
  }

  .values-wrap {
        grid-template-columns: 1fr;
        gap: 14px;
    }

}


/* =========================================
   RESPONSIVE – TINY PHONES (≤ 360px)
========================================= */
@media (max-width: 360px){
  .values-left img{
    min-height: 185px;
  }

  .val-row span{
    font-size: 12.8px;
  }
}


/* =========================================
     ABOUT GALLERY SECTION
========================================= */

/* =========================================
   RESPONSIVE – TABLETS (≤ 991.98px)
========================================= */
@media (max-width: 991.98px){

  .about-gallery{
    padding: 34px 18px;
    border-radius: 22px;
  }

  .about-gallery h3{
    font-size: 24px;
  }

  .gallery-card img{
    height: 150px;
  }
}


/* =========================================
   RESPONSIVE – MOBILE (≤ 575.98px)
========================================= */
@media (max-width: 575.98px){

  .about-gallery{
    padding: 28px 14px;
    border-radius: 20px;
  }

  .about-gallery h3{
    font-size: 20px;
    margin-bottom: 20px;
  }

  .gallery-card{
    border-radius: 12px;
  }

  .gallery-card img{
    height: 140px;
  }

  .gc-body{
    padding: 10px 10px 12px;
  }

  .gc-title{
    font-size: 14px;
  }

  .gc-desc{
    font-size: 12.5px;
  }
}


/* =========================================
   RESPONSIVE – SMALL PHONES (≤ 480px)
========================================= */
@media (max-width: 480px){

  .gallery-card img{
    height: 120px;
  }

  .gc-title{
    font-size: 13.5px;
  }
}


/* =========================================
   RESPONSIVE – TINY PHONES (≤ 360px)
   ========================================= */
   @media (max-width: 360px){
     
     .gallery-card img{
       height: 110px;
      }
      
      .gc-desc{
        font-size: 12px;
      }
    }
    

/* ==================================================
   CART PAGE – RESPONSIVE
================================================== */

/* ✅ Desktop safety */
@media (min-width: 992px){
  .cart-item{ align-items: stretch; }
}

/* ✅ Tablet Grid: 2 products per row (576px – 991px) */
@media (min-width: 576px) and (max-width: 991px){

  /* 2 items per row */
  #cartList{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  /* card behaviour inside grid */
  .cart-item{
    flex-direction: column;
    height: 100%;
    gap: 12px;
  }

  .prod-img{
    width: 100%;
    height: 220px;
    border-radius: 14px;
  }

  .prod-title{
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.3;
    font-size: 16px;
  }

  .price .now{ font-size: 22px; }

  /* actions bottom row */
  .prod-actions{
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
  }

  .cart-item + .cart-item {
    margin-top: 0;
  }

  /* Right summary becomes static */
  .cart-right{
    position: static;
    top: auto;
    padding: 16px;
    border-radius: 14px;
  }
  .cart-left{ padding: 16px; }

  /* Coupon wrap */
  .coupon-row{ flex-wrap: wrap; }
  .coupon-row .form-control{ flex: 1 1 180px; }
}

/* ✅ Mobile / Small tablet: 1 product per row (≤ 575px) */
@media (max-width: 575px){

  /* reset grid */
  #cartList{ display: block; }

  .cart-right{
    position: static;
    top: auto;
    padding: 16px;
    border-radius: 14px;
  }
  .cart-left{ padding: 16px; }

  .cart-item{
    flex-direction: column;
    gap: 12px;
  }

  .prod-img{
    width: 100%;
    height: 240px;
    border-radius: 14px;
  }

  .prod-title{
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.3;
  }

  .prod-actions{
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
  }

  .icon-btn{
    width: 38px;
    height: 38px;
  }

  .qty button{
    width: 40px;
    height: 38px;
  }
  .qty input{
    width: 52px;
    height: 38px;
  }

  /* trust row */
  .trust-row{ flex-wrap: wrap; }
  .trust-row .t{
    flex: 1 1 calc(33.33% - 10px);
    min-width: 140px;
  }
}

/* =========================
   MOBILE (≤ 480px)
========================= */
@media (max-width: 480px){

  .page-title{ font-size: 18px; }
  .page-sub{ font-size: 12.5px; }

  .cart-left,
  .cart-right{
    padding: 14px;
    border-radius: 14px;
  }

  .cart-item{
    padding: 12px;
    border-radius: 14px;
  }

  .prod-img{
    height: 330px;
    border-radius: 12px;
  }

  .prod-title{ font-size: 15px; }
  .prod-meta{ font-size: 11.5px; }

  .price .now{ font-size: 20px; }

  .coupon{
    padding: 10px;
    border-radius: 12px;
  }
  .coupon .form-control{
    font-size: 12.5px;
    padding: 10px 10px;
  }

  /* trust row 2 per row */
  .trust-row .t{
    flex: 1 1 calc(50% - 10px);
    min-width: 0;
  }
}

/* =========================
   SMALL PHONES (≤ 360px)
========================= */
@media (max-width: 360px){

  .prod-img{ height: 230px; }

  .qty button{
    width: 36px;
    height: 34px;
  }
  .qty input{
    width: 46px;
    height: 34px;
  }

  .price .now{ font-size: 18px; }
}

/* PRODUCT DETAILS*/

@media (max-width: 575px){

  .product-container {
    padding: 20px 0;
}

.quantity-box {
    display: flex;
    align-items: center;
    gap: 0;
    background: #F2F4F7;
    border: 1px solid #dee2e6;
    border-radius: 90px;
    padding: 0px 10px;
    font-size: 12px;
}

.quantity-display {
    display: flex;
    align-items: center;
    gap: 0px;
}

    .size-dropdown {
        border-radius: 90px;
        padding: 5px 15px;
        font-size: 12px;
        margin-right: 5px;
        cursor: pointer;
        background-color: #F2F4F7;
        color: var(--text-main);
    }

    select#sizeSelect {
      width: 85px !important;
    }

    .quantity-value {
    font-size: 12px;
    font-weight: 500;
    min-width: 20px;
    text-align: center;
}

.quantity-section {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 20px;
}

.product-description {
    margin: 15px 0;
    font-size: 13px;
}

.info-label {
    font-size: 13px;
}

.product-info-line {
    font-size: 11px;
    color: #585858;
}

.product-title {
    font-size: 20px;
}

.current-price {
    font-size: 24px;
}

.original-price {
    font-size: 15px;
}

.discount-badge {
    background: var(--primary-color);
    color: white;
    padding: 3px 13px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 500;
}
}


/* ===== MOBILE VIEW ONLY ===== */
@media (max-width: 575px){

  /* Left column stack properly */
  .product-container .col-lg-6:first-child .row{
    flex-direction: column-reverse;
  }

  /* Thumbnail column full width */
  .product-container .col-3{
    width: 100%;
    order: 1;
  }

  /* Main image below thumbnails */
  .product-container .col-9{
    width: 100%;
    order: 2;
  }

    .product-thumbnail-container {
        height: auto;
        margin-bottom: 12px;
        justify-content: left;
    }

  /* Horizontal thumbnails */
  .product-thumbnails{
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 10px;
    max-height: none;
    padding: 6px 0;
    white-space: nowrap;
  }

  .product-thumbnail{
    width: 65px;
    height: 65px;
    flex: 0 0 auto;
  }

  /* Hide up/down arrow buttons */
  #prevThumbnail,
  #nextThumbnail{
    display: none;
  }

  /* Main image full width */
    .product-image-main {
        width: 100%;
        height: 100%;
        object-fit: fill;
    }
}


/* ==================================================
   RESPONSIVE FONT + SPACING FIX (ONLY Mobile + Tablet)
   Desktop will remain same.
================================================== */

/* ---------- MOBILE (<=575px) ---------- */
@media (max-width: 575.98px){

  /* Section spacing */
  .key-benefits-section,
  .before-after-section,
  .product-details-section,
  .results-stats-section,
  .ingredients-section,
  .simple-steps-section,
  .product-reviews-section{
    padding-top: 15px !important;
    padding-bottom: 15px !important;
  }

  /* Main section headings */
  .key-benefits-section .section-title,
  .product-details-section h3,
  .results-title,
  .ingredients-title,
  .simple-steps-title,
  .reviews-main-title{
    font-size: 22px !important;
    line-height: 1.2 !important;
    margin-bottom: 18px !important;
  }

  /* Before/After big heading */
  .before-after-section .section-heading{
    font-size: 22px !important;
    line-height: 1.25 !important;
    margin-top: 14px !important;
  }

  /* Paragraph + normal text */
  .key-benefits-section p,
  .before-after-section .section-description,
  .accordion-body,
  .result-note,
  .ingredient-overlay p,
  .simple-step-desc,
  .review-date{
    font-size: 11px !important;
    line-height: 1.65 !important;
  }

  /* Key benefits card title */
  .key-benefits-section h5{
    font-size: 13px !important;
    line-height: 1.3 !important;
  }

  /* Product details tabs */
  ul#productDetailsTab{
    width: 100% !important;
    padding: 8px 10px !important;
    border-radius: 16px !important;
    overflow-x: auto !important;
    white-space: nowrap;
  }
  .product-details-section .nav-pills .nav-link{
    padding: 6px 12px !important;
    font-size: 12px !important;
    border-radius: 999px !important;
  }

  /* Accordion headings */
  button.accordion-button.collapsed,
  .accordion-button:not(.collapsed){
    font-size: 13px !important;
    line-height: 1.35 !important;
    padding: 12px 12px !important;
  }
  .accordion-icon{
    width: 24px !important;
    height: 24px !important;
    font-size: 16px !important;
  }

  /* Results stats */
  .result-value{ font-size: 18px !important; }
  .result-heading{ font-size: 13px !important; }
  .result-note{ font-size: 12px !important; }

  /* Ingredients overlay */
  .ingredient-overlay h5{
    font-size: 16px !important;
    line-height: 1.2 !important;
  }

  /* Simple steps */
  .simple-step-heading{
    font-size: 16px !important;
    line-height: 1.25 !important;
  }

  section.key-benefits-section.py-5 .col-md-3.text-center {
    width: 50%;
  }
}


/* ---------- TABLET (576px to 991px) ---------- */
@media (min-width: 576px) and (max-width: 991.98px){

  /* Section spacing */
  .key-benefits-section,
  .before-after-section,
  .product-details-section,
  .results-stats-section,
  .ingredients-section,
  .simple-steps-section,
  .product-reviews-section{
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  /* Main section headings */
  .key-benefits-section .section-title,
  .product-details-section h3,
  .results-title,
  .ingredients-title,
  .simple-steps-title,
  .reviews-main-title{
    font-size: 28px !important;
    line-height: 1.2 !important;
    margin-bottom: 22px !important;
  }

  /* Before/After heading */
  .before-after-section .section-heading{
    font-size: 28px !important;
    line-height: 1.2 !important;
  }

  /* Paragraph + normal text */
  .key-benefits-section p,
  .before-after-section .section-description,
  .accordion-body,
  .result-note,
  .ingredient-overlay p,
  .simple-step-desc,
  .review-date{
    font-size: 14px !important;
    line-height: 1.7 !important;
  }

  /* Key benefits card title */
  .key-benefits-section h5{
    font-size: 18px !important;
  }

  /* Tabs */
  .product-details-section .nav-pills .nav-link{
    padding: 7px 16px !important;
    font-size: 13px !important;
  }

  /* Accordion headings */
  button.accordion-button.collapsed,
  .accordion-button:not(.collapsed){
    font-size: 15px !important;
    padding: 14px 14px !important;
  }

  /* Simple steps */
  .simple-step-heading{
    font-size: 18px !important;
  }

  /* Ingredients overlay */
  .ingredient-overlay h5{
    font-size: 18px !important;
  }




.navbar-toggler-icon {
    display: inline-block;
    width: 1.2em;
    height: 1.5em;
    vertical-align: middle;
    background-image: var(--bs-navbar-toggler-icon-bg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}
}

/* ==================================================
   SIMPLE STEPS SECTION – RESPONSIVE
================================================== */

/* -------------------------------
   1) Extra small devices (<=575px)
-------------------------------- */
@media (max-width: 575.98px){

  .simple-steps-section{
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }

  .simple-steps-title{
    font-size: 22px;
    margin-bottom: 30px !important;
  }

  .simple-step-item{
    margin-bottom: 30px;
  }

  /* Image height reduce */
  .simple-step-img{
    height: 240px;
  }

  /* Remove hard margin */
  .simple-step-text{
    max-width: 100%;
    margin-left: 0 !important;
    text-align: center;
    padding: 0 16px;
  }

  .simple-step-heading{
    font-size: 18px;
  }

  .simple-step-desc{
    font-size: 14px;
    line-height: 1.6;
  }

  /* Reverse layout clean */
  .simple-step-item.flex-lg-row-reverse{
    flex-direction: column !important;
  }
}


/* -------------------------------
   2) Small devices (576px to 767px)
-------------------------------- */
@media (min-width: 576px) and (max-width: 767.98px){

  .simple-steps-title{
    font-size: 26px;
  }

  .simple-step-img{
    height: 280px;
    border-radius: 28px !important;
  }

  .simple-step-text{
    max-width: 100%;
    margin-left: 0 !important;
    text-align: center;
    padding: 0 20px;
  }

  .simple-step-heading{
    font-size: 20px;
  }

  .simple-step-desc{
    font-size: 15px;
  }

  .simple-step-item{
    margin-bottom: 35px;
  }
}


/* -------------------------------
   3) Medium devices (768px to 991px)
-------------------------------- */
@media (min-width: 768px) and (max-width: 991.98px){

  .simple-steps-title{
    font-size: 30px;
  }

  .simple-step-img{
    height: 300px;
    border-radius: 40px !important; /* softer curve */
  }

  .simple-step-text{
    max-width: 100%;
    margin-left: 0 !important;
    padding: 0 30px;
  }

  .simple-step-heading{
    font-size: 22px;
  }

  .simple-step-desc{
    font-size: 15px;
  }
}


/* -------------------------------
   4) Large devices (992px to 1199px)
-------------------------------- */
@media (min-width: 992px) and (max-width: 1199.98px){

  .simple-step-img{
    height: 320px;
  }

  .simple-step-text{
    margin-left: 120px !important; /* reduce from 222px */
  }

  .simple-step-heading{
    font-size: 24px;
  }
}

/* ==================================================
   HAPPY HORMONES RESPONSIVE
================================================== */

/* <=1199px */
@media (max-width: 1199.98px){
  .happy-hormones-overlay{
    padding: 40px;
  }

  .happy-hormones-content{
    max-width: 480px;
  }
}

/* <=991px (tablet) */
@media (max-width: 991.98px){
  .happy-hormones-img{
    height: clamp(300px, 55vw, 460px);
  }

  /* Tablet: text left aligned but still inside image */
  .happy-hormones-overlay{
    justify-content: flex-start;
    padding: 36px;
    background: linear-gradient(
      180deg,
      rgba(255,255,255,0.70) 0%,
      rgba(255,255,255,0.90) 100%
    );
  }

  .happy-hormones-content{
    max-width: 560px;
  }
}

/* <=767px (mobile) */
@media (max-width: 767.98px){
  .happy-hormones-section{
    padding: 28px 0;
  }

  .happy-hormones-img{
    height: clamp(280px, 85vw, 380px);
  }

  .happy-hormones-overlay{
    align-items: flex-end;
    padding: 20px;

    /* mobile readable overlay */
    background: linear-gradient(
      180deg,
      rgba(255,255,255,0.0) 0%,
      rgba(255,255,255,0.85) 65%,
      rgba(255,255,255,0.95) 100%
    );
  }

  .happy-hormones-content{
    max-width: 100%;
  }

  .happy-hormones-content .btn{
        width: 100%;
        font-size: 12px;
        height: 30px;
  }

  .happy-hormones-content h3 {
    font-size: clamp(20px, 3vw, 36px);
}

.happy-hormones-content p {
    font-size: clamp(12px, 1.2vw, 16px);
}
}

/* <=480px */
@media (max-width: 480px){
  .happy-hormones-overlay{
    padding: 18px;
  }
}
