/* ==========================================
   HEALING HASTHA - MOBILE VIEW STYLESHEET
   Target: Screens <= 768px
   ========================================== */

@media screen and (max-width: 768px) {

  /* ----------------------------------------
     1. HEADER & MOBILE NAVIGATION
     ---------------------------------------- */
  .header {
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(249, 246, 240, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }

  .header__container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.5rem 1rem !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Left: Mobile Navigation Hamburger Toggle */
  .header__mobile-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    color: var(--brand-forest, #1B4D3E) !important;
    padding: 6px !important;
    cursor: pointer !important;
    z-index: 10 !important;
    line-height: 1 !important;
  }

  .header__mobile-toggle svg {
    width: 26px !important;
    height: 26px !important;
  }

  /* Center: Brand Logo */
  .header__logo-link {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    z-index: 5 !important;
  }

  .header__logo-img {
    height: 55px !important;
    width: auto !important;
    max-width: 220px !important;
    object-fit: contain !important;
  }

  /* Hide Desktop Nav on Mobile */
  .header__nav-desktop {
    display: none !important;
  }

  /* Right: Shopping Cart Icon Button */
  .header__actions {
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;
    z-index: 10 !important;
  }

  .header__cart-btn {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background-color: rgba(27, 77, 62, 0.08) !important;
    border-radius: 50% !important;
    color: var(--brand-forest, #1B4D3E) !important;
    text-decoration: none !important;
  }

  .header__cart-badge {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    background-color: var(--brand-terracotta, #E27D60) !important;
    color: #ffffff !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    min-width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 4px !important;
  }

  /* Slide-Out Mobile Navigation Drawer */
  .mobile-menu-drawer {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
  }

  .mobile-menu-drawer.is-open {
    display: block !important;
  }

  .mobile-menu-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
  }

  .mobile-menu-drawer__panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 85vw;
    background: #ffffff;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 10;
  }

  .mobile-menu-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eeeeee;
  }

  .mobile-menu-drawer__close-btn {
    border: none;
    background: transparent;
    font-size: 1.8rem;
    line-height: 1;
    color: #333333;
    cursor: pointer;
    padding: 4px 8px;
  }

  .mobile-menu-drawer__nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .mobile-menu-drawer__link {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--brand-forest, #1B4D3E);
    text-decoration: none;
    padding: 0.65rem 0;
    border-bottom: 1px dashed #f0f0f0;
    transition: color 0.2s ease;
  }

  .mobile-menu-drawer__link:hover {
    color: var(--brand-terracotta, #E27D60);
  }

  /* ----------------------------------------
     2. HOMEPAGE HERO SECTION
     ---------------------------------------- */
  .hero {
    padding: 1.5rem 1rem 2.5rem 1rem !important;
    overflow: hidden !important;
  }

  .hero__container-main {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }

  .hero__left-content {
    width: 100% !important;
    text-align: left !important;
    padding: 0 !important;
  }

  .hero__badge {
    font-size: 0.75rem !important;
    padding: 4px 12px !important;
    margin-bottom: 0.75rem !important;
    display: inline-flex !important;
  }

  .hero__title {
    font-size: calc(3rem + 2vw) !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
    color: var(--brand-forest, #1B4D3E) !important;
    margin-bottom: 1.5rem !important;
    word-break: break-word !important;
  }

  .hero__description {
    font-size: 14px !important;
    line-height: 1.7 !important;
    color: #4A5568 !important;
    margin-bottom: 2rem !important;
    font-weight: 400 !important;
  }

  .hero__actions {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    gap: 1rem !important;
    width: 100% !important;
  }

  .hero__btn,
  .btn-brand-terracotta,
  .btn-outline-brand-forest {
    width: auto !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 1.5rem !important;
    padding: 10px 18px !important;
    border-radius: 50px !important;
  }

  .hero__stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
    margin-top: 1.5rem !important;
  }

  .hero__stat-number {
    font-size: 1.4rem !important;
  }

  .hero__stat-label {
    font-size: 0.75rem !important;
  }

  .hero__right-carousel {
    width: 100% !important;
    margin-top: 0.5rem !important;
  }

  /* ----------------------------------------
     3. 3D PRODUCT CAROUSEL & PRODUCTS GRID
     ---------------------------------------- */
  .products-carousel-3d {
    padding: 1.5rem 0 !important;
    min-height: auto !important;
  }

  .carousel-3d__slide {
    max-width: 250px !important;
    height: auto !important;
  }

  [data-carousel-info] .text-white,
  [data-carousel-info] .text-white-50 {
    color: var(--brand-forest, #1B4D3E) !important;
  }

  [data-carousel-info] h3 {
    font-size: 20px !important;
  }

  [data-carousel-info] p {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  [data-carousel-info] .border-white-20 {
    border-color: var(--brand-forest, #1B4D3E) !important;
  }

  .home-products__grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    padding: 0 0.5rem !important;
  }

  .home-products__product-card {
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .home-products__product-name {
    font-size: 1.25rem !important;
  }

  .home-products__product-desc {
    font-size: 14px !important;
  }

  .home-products__price-current {
    font-size: 1.1rem !important;
  }

  .home-products__trust-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    font-size: 15px;
  }

  /* ----------------------------------------
     4. FOUNDER / DOCTOR SECTION
     ---------------------------------------- */
  .founder {
    padding: 2.5rem 1rem !important;
  }

  .founder__grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .founder__title {
    font-size: calc(1.475rem + 2.7vw) !important;
    line-height: 1.2 !important;
    margin-bottom: 0.75rem !important;
  }

  .founder__subtitle {
    font-size: 0.85rem !important;
  }

  .founder__bio-lead {
    font-size: 1.05rem !important;
    line-height: 1.55rem !important;
  }

  .founder__bio-text p {
    font-size: 14px !important;
    line-height: 1.5rem !important;
  }

  .founder__image-wrapper {
    max-width: 100% !important;
  }

  .founder__image-card {
    padding: 0.5rem !important;
    border-radius: 1.25rem !important;
    border-width: 2px !important;
  }

  .founder__image {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    border-radius: 0.75rem !important;
  }

  .founder__badge {
    width: 90px !important;
    height: 90px !important;
    top: -10px !important;
    right: -10px !important;
  }

  .founder__badge-value {
    font-size: 1.3rem !important;
  }

  .founder__badge-label {
    font-size: 0.6rem !important;
  }

  .founder__metrics-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* ----------------------------------------
     5. KNOWLEDGE HUB SECTION
     ---------------------------------------- */
  .home-knowledge {
    padding: 2.5rem 1rem !important;
  }

  .home-knowledge__title {
    font-size: calc(1.475rem + 2.7vw) !important;
    line-height: 1.2 !important;
  }

  .home-knowledge__grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* ----------------------------------------
     6. TESTIMONIALS SECTION
     ---------------------------------------- */
  .home-testimonials {
    padding: 2.5rem 1rem !important;
  }

  .home-testimonials__title {
    font-size: calc(1.475rem + 2.7vw) !important;
    line-height: 1.2 !important;
  }

  .home-testimonials__grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .home-testimonials__stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }

  /* ----------------------------------------
     7. FOOTER SECTION
     ---------------------------------------- */
  .site-footer {
    padding: 3rem 1rem 1.5rem 1rem !important;
  }

  .site-footer__grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .site-footer__socials {
    justify-content: flex-start !important;
    gap: 0.75rem !important;
  }

  .site-footer__bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1rem !important;
  }

  .site-footer__badges {
    flex-wrap: wrap !important;
    font-size: 0.75rem !important;
    gap: 0.5rem !important;
    justify-content: center !important;
  }

  /* Floating Social Menu Fixes */
  .floating-contact-item {
    white-space: nowrap !important;
  }
}