/* ==========================================================================
   FAMILY CHOICE - RESPONSIVE & MOBILE OPTIMIZATIONS
   ========================================================================== */

/* Large Laptops / Desktops (max-width: 1200px) */
@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .stage-container {
    gap: 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* Tablets (max-width: 992px) */
@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex !important;
  }
  
  .hero-section {
    min-height: auto;
    padding-top: calc(var(--header-height) + 16px);
    padding-bottom: 40px;
  }
  .hero-top-badge-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto 14px auto;
    text-align: center;
  }
  .hero-top-badge-wrapper .badge-pill {
    margin-bottom: 0;
    font-size: 0.78rem;
    padding: 6px 16px;
    letter-spacing: 0.05em;
    background: rgba(46, 125, 50, 0.12);
    border: 1px solid rgba(46, 125, 50, 0.22);
    box-shadow: 0 4px 14px rgba(46, 125, 50, 0.08);
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .hero-showcase-wrapper {
    order: 1;
    height: 350px;
    width: 100%;
    max-width: 440px;
    margin: 0 auto 10px auto;
    position: relative;
  }
  .hero-floating-badge {
    display: none !important;
  }
  .hero-product-composition {
    max-width: 420px;
    height: 330px;
    margin: 0 auto;
  }
  .hero-center-bottle {
    width: 205px;
    height: 310px;
  }
  .hero-bottle-left {
    left: 15px;
    bottom: 12px;
    width: 145px;
    height: 235px;
  }
  .hero-bottle-right {
    right: 15px;
    bottom: 14px;
    width: 140px;
    height: 248px;
  }
  .hero-content {
    order: 2;
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-headline {
    font-size: clamp(2.3rem, 7vw, 3.4rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
  }
  .hero-description {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-trust-bar {
    justify-content: center;
  }
  
  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .story-visual {
    order: 2;
  }
  .story-content {
    order: 1;
    text-align: center;
  }
  .story-pillars {
    text-align: left;
  }

  /* Mobile / Tablet Accordion Style Feature Cards */
  .features-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 1.75rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .feature-3d-card {
    padding: 14px 18px;
    border-radius: 16px;
    background: #ffffff;
    border: 1.5px solid rgba(18, 31, 23, 0.09);
    box-shadow: 0 4px 16px rgba(18, 31, 23, 0.04);
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, padding 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform: none !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent !important;
  }

  .feature-3d-card:hover {
    transform: none !important;
  }

  .feature-card-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    user-select: none;
    gap: 12px;
    -webkit-tap-highlight-color: transparent !important;
  }

  .feature-header-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex: 1;
  }

  .feature-icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 1.2rem;
    margin-bottom: 0;
    flex-shrink: 0;
    transform: none !important;
  }

  .feature-3d-card:hover .feature-icon-wrapper {
    transform: none !important;
  }

  .feature-card-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--forest-950);
    margin-bottom: 0;
    line-height: 1.25;
    text-align: left;
  }

  .feature-accordion-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(46, 125, 50, 0.08);
    color: var(--primary);
    border: none;
    font-size: 0.88rem;
    cursor: pointer;
    flex-shrink: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, color 0.25s ease;
  }

  .feature-card-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
    width: 100%;
  }

  .feature-card-body-inner {
    overflow: hidden;
    padding-top: 0;
  }

  .feature-3d-card.is-expanded {
    padding: 18px 18px 22px 18px;
    border-color: rgba(46, 125, 50, 0.3);
    box-shadow: 0 8px 24px rgba(46, 125, 50, 0.1);
  }

  .feature-3d-card.is-expanded .feature-card-body {
    grid-template-rows: 1fr;
    opacity: 1;
  }

  .feature-3d-card.is-expanded .feature-card-body-inner {
    padding-top: 14px;
  }

  .feature-3d-card.is-expanded .feature-accordion-btn {
    transform: rotate(180deg);
    background: var(--primary);
    color: #ffffff;
  }

  .feature-card-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 12px;
    text-align: left;
  }

  .feature-benefit-list {
    gap: 8px;
    padding-top: 10px;
    border-top: 1px dashed rgba(18, 31, 23, 0.12);
  }

  .feature-benefit-item {
    font-size: 0.82rem;
    text-align: left;
  }

  .stage-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .stage-canvas-box {
    height: 420px;
  }
  .stage-info-box {
    text-align: center;
  }
  .stage-price-row, .stage-benefits-list, .stage-cta-row {
    justify-content: center;
  }
  .stage-benefits-list {
    align-items: center;
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  /* Mobile / Tablet Accordion Style Testimonial Cards */
  .testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 1.75rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .testimonial-card {
    padding: 14px 18px;
    border-radius: 16px;
    background: #ffffff;
    border: 1.5px solid rgba(18, 31, 23, 0.09);
    box-shadow: 0 4px 16px rgba(18, 31, 23, 0.04);
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, padding 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform: none !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent !important;
  }

  .testimonial-card:hover {
    transform: none !important;
  }

  .testimonial-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    user-select: none;
    gap: 12px;
    margin-bottom: 0;
    -webkit-tap-highlight-color: transparent !important;
  }

  .testimonial-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
  }

  .testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    flex-shrink: 0;
  }

  .testimonial-header-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    text-align: left;
  }

  .author-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--forest-950);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .testimonial-stars {
    color: #f59e0b;
    font-size: 0.78rem;
    display: flex;
    gap: 2px;
  }

  .author-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .testimonial-accordion-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(46, 125, 50, 0.08);
    color: var(--primary);
    border: none;
    font-size: 0.88rem;
    cursor: pointer;
    flex-shrink: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, color 0.25s ease;
  }

  .testimonial-card-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
    width: 100%;
  }

  .testimonial-card-body-inner {
    overflow: hidden;
    padding-top: 0;
  }

  .testimonial-card.is-expanded {
    padding: 18px 18px 22px 18px;
    border-color: rgba(46, 125, 50, 0.3);
    box-shadow: 0 8px 24px rgba(46, 125, 50, 0.1);
  }

  .testimonial-card.is-expanded .testimonial-card-body {
    grid-template-rows: 1fr;
    opacity: 1;
  }

  .testimonial-card.is-expanded .testimonial-card-body-inner {
    padding-top: 14px;
    margin-top: 10px;
    border-top: 1px dashed rgba(18, 31, 23, 0.12);
  }

  .testimonial-card.is-expanded .testimonial-accordion-btn {
    transform: rotate(180deg);
    background: var(--primary);
    color: #ffffff;
  }

  .testimonial-quote-icon {
    font-size: 1.3rem;
    margin-bottom: 6px;
  }

  .testimonial-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
    text-align: left;
  }

  .trust-mosaic-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Small Tablets & Large Phones (max-width: 768px) */
@media (max-width: 768px) {
  .display-title {
    font-size: 2.35rem;
  }
  .section-title {
    font-size: 1.85rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 1.25rem;
  }

  .hero-floating-badge {
    padding: 8px 12px;
    gap: 8px;
  }
  .badge-icon {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }
  .badge-title {
    font-size: 0.78rem;
  }
  .badge-sub {
    font-size: 0.68rem;
  }

  .newsletter-brand-logo {
    width: 110px;
    height: 110px;
    border-radius: 22px;
    padding: 10px;
    margin-bottom: 16px;
  }

  .newsletter-form {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
  }
  .newsletter-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: 10px;
  }
  .newsletter-btn {
    width: 100%;
    padding: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Side-by-Side 3-Product Lineup on Tablet/Mobile (Ek ke side me ek) */
  .products-trio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    align-items: end;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
  .trio-product-item {
    width: 100%;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent !important;
  }
  .trio-pedestal-stage {
    height: 200px;
    margin-bottom: 12px;
  }
  .trio-halo {
    width: 110px;
    height: 110px;
    filter: blur(25px);
  }
  .trio-bottle-img {
    max-width: 90%;
    max-height: 145px;
    pointer-events: none;
  }
  .trio-pedestal-disc {
    width: 105px;
    height: 22px;
    margin-top: -10px;
  }
  .trio-info {
    gap: 6px;
  }
  .trio-badge {
    font-size: 0.62rem;
    padding: 2px 7px;
    letter-spacing: 0.04em;
  }
  .trio-title {
    font-size: 0.82rem;
    line-height: 1.2;
    font-weight: 700;
  }
  .trio-price {
    font-size: 1.05rem;
    font-weight: 800;
  }
  .trio-inspect-btn {
    padding: 5px 10px;
    font-size: 0.72rem;
    gap: 4px;
    margin-top: 2px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent !important;
  }
  .trio-inspect-btn .btn-arrow-icon {
    width: 14px;
    height: 14px;
  }

  /* Full Spotlight Stage on Mobile/Tablet */
  .product-modal-backdrop {
    padding: 10px 8px;
  }
  .product-modal-dialog {
    height: 100dvh;
    max-height: 100dvh;
    padding: 14px 8px max(24px, env(safe-area-inset-bottom, 24px));
    justify-content: space-between;
  }
  .modal-top-header {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 42px 10px;
  }
  .modal-brand-tagline {
    font-size: 0.76rem;
    padding: 5px 14px;
    margin: 0 auto;
    text-align: center;
  }
  .product-modal-close {
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
    background: rgba(255, 255, 255, 0.16);
  }
  .modal-scene-container {
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
    width: 100%;
    margin: auto 0;
    align-items: center;
    justify-content: center;
  }
  .modal-floating-column {
    gap: 12px;
    width: 100%;
  }
  .glass-benefit-pill {
    padding: 8px 10px;
    border-radius: 12px;
    gap: 7px;
    width: 100%;
    max-width: 125px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  }
  .glass-benefit-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    font-size: 0.8rem;
    background: rgba(46, 125, 50, 0.55);
    border: 1px solid rgba(76, 175, 80, 0.6);
    color: #a5d6a7;
  }
  .glass-benefit-text {
    font-size: 0.68rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  }

  /* Large & Prominent Product Cutout on Mobile */
  .modal-center-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
  }
  .modal-center-bottle {
    height: clamp(260px, 44vh, 360px);
    width: auto;
    max-width: min(190px, 48vw);
    object-fit: contain;
    margin-bottom: 0;
    filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.75));
  }

  /* Hide Pedestal Base & Signature on Mobile as Requested */
  .modal-marble-pedestal {
    display: none !important;
  }
  .modal-signature-text {
    display: none !important;
  }

  .modal-ambient-halo {
    width: 260px;
    height: 260px;
    filter: blur(45px);
    opacity: 0.6;
  }
  .modal-bottom-bar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 14px;
    width: 100%;
    max-width: 100%;
    border-radius: 9999px;
    margin-top: 8px;
    margin-bottom: max(32px, env(safe-area-inset-bottom, 32px));
    gap: 8px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
  }
  .modal-bottom-product-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex: 1 1 auto;
    min-width: 0;
  }
  .modal-bottom-right-group {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px;
    flex: 0 0 auto;
  }
  .modal-bottom-price {
    font-size: 1.18rem;
    font-weight: 800;
    color: #81c784;
    padding: 0 6px 0 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    line-height: 1;
    white-space: nowrap !important;
    flex-shrink: 0;
  }
  .modal-bottom-buy-btn {
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    gap: 5px;
    white-space: nowrap !important;
    flex-shrink: 0;
    border-radius: 9999px;
  }
  .modal-bottom-buy-btn .amazon-btn-icon {
    width: 13px !important;
    height: 13px !important;
  }
  .modal-bottom-buy-btn .btn-arrow-icon {
    width: 14px !important;
    height: 14px !important;
  }
}

/* Small Mobile Phones (max-width: 480px) */
@media (max-width: 480px) {
  .container, .container-wide {
    padding-left: 16px;
    padding-right: 16px;
  }

  .btn-primary, .btn-secondary, .btn-accent {
    width: 100%;
    padding: 13px 20px;
    font-size: 0.92rem;
  }

  .nav-actions .btn-primary {
    width: auto !important;
    padding: 8px 16px !important;
    font-size: 0.82rem !important;
  }

  .brand-logo {
    padding: 4px 12px 4px 5px;
    gap: 8px;
  }
  .brand-logo-img {
    width: 34px;
    height: 34px;
  }
  .brand-name {
    font-size: 1.05rem;
  }
  .brand-sub {
    font-size: 0.60rem;
  }

  .hero-top-badge-wrapper {
    margin-bottom: 10px;
  }
  .hero-top-badge-wrapper .badge-pill {
    font-size: 0.70rem;
    padding: 5px 12px;
    gap: 6px;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-showcase-wrapper {
    height: 330px;
    max-width: 375px;
    margin: 0 auto;
  }
  .hero-product-composition {
    max-width: 365px;
    height: 310px;
  }
  .hero-center-bottle {
    width: 180px;
    height: 285px;
  }
  .hero-bottle-left {
    left: 8px;
    bottom: 8px;
    width: 125px;
    height: 215px;
  }
  .hero-bottle-right {
    right: 8px;
    bottom: 10px;
    width: 120px;
    height: 228px;
  }
  .hero-floating-badge {
    display: none !important;
  }

  .stage-canvas-box {
    height: 340px;
  }

  .feature-3d-card {
    padding: 12px 16px;
  }
  .feature-3d-card.is-expanded {
    padding: 14px 16px 18px 16px;
  }
  .feature-icon-wrapper {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    border-radius: 10px;
  }
  .feature-card-title {
    font-size: 1.05rem;
  }
  .feature-accordion-btn {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

  .testimonial-card {
    padding: 12px 14px;
  }
  .testimonial-card.is-expanded {
    padding: 14px 14px 18px 14px;
  }
  .testimonial-avatar {
    width: 38px;
    height: 38px;
  }
  .author-name {
    font-size: 0.96rem;
  }
  .testimonial-accordion-btn {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

  .newsletter-brand-logo {
    width: 95px;
    height: 95px;
    border-radius: 18px;
    padding: 8px;
    margin-bottom: 12px;
  }

  .story-pillars {
    grid-template-columns: 1fr;
  }

  /* Side-by-side 3 products lineup on small mobile */
  .products-trio-grid {
    gap: 8px;
  }
  .trio-pedestal-stage {
    height: 205px;
    margin-bottom: 10px;
  }
  .trio-halo {
    width: 105px;
    height: 105px;
    filter: blur(22px);
  }
  .trio-bottle-img {
    max-width: 95%;
    max-height: 155px;
  }
  .trio-pedestal-disc {
    width: 105px;
    height: 22px;
    margin-top: -8px;
  }
  .trio-badge {
    font-size: 0.52rem;
    padding: 2px 5px;
  }
  .trio-title {
    font-size: 0.72rem;
    line-height: 1.15;
  }
  .trio-price {
    font-size: 0.95rem;
  }
  .trio-inspect-btn {
    padding: 4px 8px;
    font-size: 0.65rem;
    gap: 3px;
  }

  /* Extra Small Phone Tuning */
  .modal-scene-container {
    gap: 6px;
  }
  .glass-benefit-pill {
    padding: 6px 8px;
    border-radius: 10px;
    gap: 5px;
    max-width: 110px;
  }
  .glass-benefit-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    font-size: 0.72rem;
  }
  .glass-benefit-text {
    font-size: 0.62rem;
  }
  .modal-center-bottle {
    height: clamp(240px, 42vh, 330px);
    max-width: 160px;
    margin-bottom: 0;
  }
  .modal-bottom-bar {
    padding: 6px 10px;
    gap: 6px;
    margin-bottom: max(28px, env(safe-area-inset-bottom, 28px));
  }
  .modal-bottom-product-name {
    font-size: 0.74rem;
    line-height: 1.2;
    flex: 1 1 auto;
    min-width: 0;
  }
  .modal-bottom-right-group {
    gap: 6px;
  }
  .modal-bottom-price {
    font-size: 1.05rem;
    padding: 0 4px 0 6px;
  }
  .modal-bottom-buy-btn {
    padding: 5px 10px;
    font-size: 0.74rem;
    gap: 4px;
  }
  .modal-bottom-buy-btn .amazon-btn-icon {
    width: 12px !important;
    height: 12px !important;
  }
  .modal-bottom-buy-btn .btn-arrow-icon {
    width: 13px !important;
    height: 13px !important;
  }
}
