/* ============================================
   MEHER KAKALIA — RESPONSIVE STYLESHEET
   All media queries live here exclusively.
   Matched to Prestige theme breakpoints.
   ============================================ */

/* ------------------------------------------
   BREAKPOINT: 1200px — Large tablets / small desktops
   ------------------------------------------ */
@media (max-width: 1200px) {
  :root {
    --h1-size: 3.5rem;
    --h2-size: 2.25rem;
    --section-spacing: 6rem;
    --section-spacing-sm: 4rem;
  }

  .header-container {
    padding: 0 var(--space-32);
  }

  .nav-list {
    gap: var(--space-20);
  }

  .container {
    padding-left: var(--space-32);
    padding-right: var(--space-32);
  }

  .logo-img {
    height: 60px;
  }

  .iwt-grid {
    gap: var(--space-56);
  }

  .footer-grid {
    gap: var(--space-40);
  }

  .marquee-text {
    font-size: 3rem;
  }

  .logo-list-inner {
    gap: var(--space-32);
  }

  .logo-list-grid {
    gap: var(--space-32);
  }

  .logo-list {
    padding: 60px 32px;
  }

  .rich-text-quote {
    font-size: 1.875rem;
  }

  .stl-arrow--prev {
    left: -8px;
  }

  .stl-arrow--next {
    right: -8px;
  }

  .faq-layout {
    gap: var(--space-56);
  }

  .faq-intro {
    flex: 0 0 260px;
  }

  .split-image-content {
    padding: var(--space-40);
  }

  /* Hero slide content */
  .hero-slide-heading {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  }
}


/* ------------------------------------------
   BREAKPOINT: 992px — Tablets
   ------------------------------------------ */
@media (max-width: 992px) {
  :root {
    --h1-size: 2.75rem;
    --h2-size: 2rem;
    --h3-size: 1.25rem;
    --section-spacing: 5rem;
    --section-spacing-sm: 3.5rem;
  }

  /* Header — mobile: hamburger left, logo center, cart right */
  .header-left {
    display: none;
  }

  .header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 60px;
  }

  .header-hamburger {
    display: flex;
  }

  .header-right .header-icon:not(.header-icon--cart):not(.header-hamburger) {
    display: none;
  }

  .header-follow,
  .header-divider,
  .header-currency-btn {
    display: none;
  }

  .header-right {
    display: contents;
  }

  .header-hamburger {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .header-center {
    position: static;
    transform: none;
    grid-column: 2;
    grid-row: 1;
    justify-content: center;
  }

  .header-icon--cart {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .logo-img {
    height: 60px;
  }

  /* Collection grid */
  .coll-grid {
    height: 65vh;
    max-height: 580px;
  }

  /* Hero */
  .hero {
    min-height: 0;
    height: 100vh;
  }

  .hero-slide-heading {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: 1.5rem;
  }

  .hero-slide-btn {
    padding: 0.75rem 2rem;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .hero-arrow--prev {
    left: var(--space-16);
  }

  .hero-arrow--next {
    right: var(--space-16);
  }

  /* Collection grid — tighter */
  .collection-grid {
    gap: var(--space-16);
  }

  /* Product grid — 2 visible in slider */
  .product-card {
    flex: 0 0 calc(50% - var(--grid-gutter) / 2);
  }

  /* Image with text — stack */
  .iwt-grid {
    flex-direction: column;
    gap: var(--space-40);
  }

  /* IWT section — stack on tablet */
  .iwt-section-grid {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .iwt-section-media {
    aspect-ratio: 4 / 3;
    position: relative;
  }

  .iwt-section-content {
    padding: var(--space-48) var(--space-40);
  }

  .iwt-content {
    align-items: center;
    text-align: center;
  }

  /* Promo banner */
  .promo-banner {
    min-height: 420px;
  }

  /* Footer — 2x2 grid */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-40) var(--space-32);
  }

  /* Marquee */
  .marquee-text {
    font-size: 2.5rem;
  }

  /* Logo list */
  .logo-list-inner {
    flex-wrap: wrap;
    gap: var(--space-20);
  }

  .logo-list-label {
    width: 100%;
  }

  .logo-list-grid {
    gap: var(--space-24);
  }

  .logo-list-image {
    height: 70px;
  }

  /* Testimonials */
  .testimonials-track {
    min-height: 300px;
  }

  /* Video section */
  .video-section {
    min-height: 450px;
  }

  .video-play-btn {
    width: 72px;
    height: 72px;
    font-size: 1.5rem;
  }

  /* USP — 2x2 grid */
  .usp-grid {
    flex-wrap: wrap;
  }

  .usp-item {
    flex: 0 0 calc(50% - var(--space-16));
  }

  /* Split images */
  .split-image-heading {
    font-size: 2rem;
  }

  .split-image-content {
    padding: var(--space-32);
  }

  /* FAQ — stack */
  .faq-layout {
    flex-direction: column;
    gap: var(--space-40);
  }

  .faq-intro {
    flex: none;
    position: static;
    text-align: center;
    align-items: center;
  }

  /* Shop the Look */
  .stl-look-grid {
    grid-template-columns: 1fr;
    gap: var(--space-32);
  }

  .stl-arrow {
    display: none;
  }

  .stl-product-carousel {
    max-width: 280px;
  }

  /* Choose colour */
  .before-after {
    aspect-ratio: 3 / 2;
  }

  /* Values grid */
  .values-columns {
    flex-wrap: wrap;
    gap: var(--space-40);
  }

  .values-column {
    flex: 0 0 calc(50% - var(--space-20));
    max-width: calc(50% - var(--space-20));
  }

  /* Instagram ticker */
  .instagram-item {
    width: 240px;
  }

  /* Timeline */
  .timeline-slide.is-selected {
    grid-template-columns: 1fr;
    gap: var(--space-32);
  }

  .timeline-slide-content {
    align-self: start;
    padding-bottom: 0;
  }

  .timeline-slide-image {
    aspect-ratio: 16 / 10;
  }

  .timeline-nav {
    gap: var(--space-24);
    overflow-x: auto;
    justify-content: flex-start;
    padding-left: var(--space-8);
  }

  /* Info bar — 2 col */
  .info-bar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ------------------------------------------
   BREAKPOINT: 768px — Small tablets / large phones
   ------------------------------------------ */
@media (max-width: 768px) {
  :root {
    --h1-size: 2.25rem;
    --h2-size: 1.75rem;
    --h3-size: 1.125rem;
    --section-spacing: 4rem;
    --section-spacing-sm: 3rem;
  }

  .container {
    padding-left: var(--space-24);
    padding-right: var(--space-24);
  }

  .container--md,
  .container--lg {
    padding-left: var(--space-24);
    padding-right: var(--space-24);
  }

  .header-container {
    padding: 0 var(--space-24);
    height: 60px;
  }

  .logo-img {
    height: 56px;
  }

  /* Announcement */
  .announcement-bar-inner {
    height: 34px;
  }

  .site-header {
    top: 34px;
  }

  /* Hero */
  .hero {
    height: 100vh;
    min-height: 0;
  }

  .hero-content {
    bottom: 60px;
    left: 24px;
    gap: 16px;
  }

  .hero-cta {
    padding: var(--space-12) var(--space-40);
  }

  .hero-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.1) 40%, transparent 70%);
  }

  .hero-slide-content {
    top: auto;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 88%;
    gap: 24px;
    z-index: 5;
  }

  .hero-slide.is-active .hero-slide-content {
    transform: translateX(-50%);
  }

  .hero-slide-heading {
    font-size: 26px;
    margin-bottom: 0;
    line-height: 1.25;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    color: #fff;
  }

  .hero-slide-buttons .btn {
    text-shadow: none;
  }

  .hero-slide-buttons {
    gap: var(--space-12);
  }

  .hero-slide-buttons .btn {
    padding: 12px 28px;
    font-size: 0.7rem;
  }

  .hero-dots {
    bottom: var(--space-20);
  }

  /* Collection grid — stack */
  .collection-grid {
    flex-direction: column;
    gap: var(--space-16);
  }

  .collection-card-media {
    aspect-ratio: 16 / 10;
  }

  .collection-card-title {
    font-size: 1.375rem;
  }

  /* Section spacing — scale down from 70px */
  .logo-list {
    padding: 50px 24px;
  }

  .rich-text {
    padding: 50px 0;
  }

  .featured-collection {
    padding: 50px 0;
  }

  .testimonials {
    padding: 50px 0;
  }

  .blog-section {
    padding: 50px 0;
  }

  /* Collection tabs */
  .collection-tab {
    font-size: 1.5rem;
  }

  /* Product slider arrow */
  .product-slider-arrow {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }

  .product-slider-arrow--next {
    right: -24px;
  }

  /* Section header */
  .section-header {
    padding-bottom: 32px;
  }

  /* Image with text */
  .iwt-image,
  .iwt-video {
    aspect-ratio: 3 / 2;
  }

  /* Promo banner */
  .promo-banner {
    min-height: 360px;
  }

  .promo-banner-heading {
    font-size: 2rem;
  }

  /* Marquee */
  .marquee {
    padding: var(--space-40) 0;
  }

  .marquee-text {
    font-size: 2rem;
  }

  /* Rich text */
  .rich-text-quote {
    font-size: 1.5rem;
  }

  /* Logo list */
  .logo-list-image {
    height: 60px;
  }

  .logo-list-grid {
    gap: var(--space-20);
  }

  /* Choose colour */
  .before-after__label {
    bottom: var(--space-20);
  }

  .before-after__label--left {
    left: var(--space-20);
  }

  .before-after__label--right {
    right: var(--space-20);
  }

  .before-after__colour-name {
    font-size: var(--font-size-14);
  }

  /* Values */
  .values-columns {
    flex-direction: column;
    gap: var(--space-40);
  }

  .values-column {
    flex: none;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  /* Blog slider — 2 cards visible */
  .blog-card {
    flex: 0 0 calc(50% - 16px);
  }

  .blog-slider-arrow {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }

  .blog-slider-arrow--next {
    right: -24px;
  }

  .blog-card-media {
    aspect-ratio: 16 / 10;
  }

  /* Instagram */
  .instagram-feed {
    padding: 50px 24px;
  }

  .instagram-item {
    width: 220px;
  }

  .instagram-header {
    margin-bottom: 36px;
  }

  /* Split images — stack */
  .split-images-grid {
    flex-direction: column;
    gap: var(--space-20);
  }

  .split-image-card {
    aspect-ratio: 16 / 10;
  }

  .split-image-content {
    padding: var(--space-24) var(--space-32);
  }

  /* Video section */
  .video-section {
    min-height: 380px;
  }

  .video-section-heading {
    font-size: 1.75rem;
  }

  /* Timeline */
  .timeline-nav {
    gap: var(--space-20);
  }

  .timeline-nav-btn {
    font-size: var(--font-size-14);
  }

  .timeline-nav-btn.is-active {
    font-size: var(--font-size-18);
  }

  /* Info Bar */
  .info-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-32) 0;
  }

  /* Footer */
  .footer-main {
    padding: 60px 16px 56px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: var(--space-12);
    text-align: center;
  }

  .footer-bottom-left,
  .footer-payment {
    justify-content: center;
    flex: unset;
  }

  /* Search overlay */
  .search-overlay-inner {
    padding: var(--space-24);
  }

  .search-overlay-label {
    font-size: var(--h4-size);
  }

  .search-overlay-input {
    font-size: var(--font-size-14);
  }

  /* Back to top */
  .back-to-top {
    bottom: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
  }
}


/* ------------------------------------------
   BREAKPOINT: 576px — Phones
   ------------------------------------------ */
@media (max-width: 576px) {
  :root {
    --h1-size: 1.875rem;
    --h2-size: 1.5rem;
    --h3-size: 1rem;
    --section-spacing: 3.5rem;
    --section-spacing-sm: 2.5rem;
  }

  .container {
    padding-left: var(--space-16);
    padding-right: var(--space-16);
  }

  .container--md,
  .container--lg {
    padding-left: var(--space-16);
    padding-right: var(--space-16);
  }

  .header-container {
    padding: 0 var(--space-16);
    height: 56px;
  }

  .header-icon {
    font-size: var(--font-size-18);
  }

  .logo-img {
    height: 50px;
  }

  /* Announcement bar */
  .announcement-bar-inner {
    height: 30px;
  }

  .announcement-item {
    font-size: var(--font-size-14);
    letter-spacing: var(--ls-widest);
  }

  .site-header {
    top: 30px;
  }

  /* Hero */
  .hero {
    height: 100vh;
    min-height: 0;
  }

  .hero-content {
    bottom: 40px;
    left: 16px;
    gap: 14px;
  }

  .hero-heading {
    letter-spacing: var(--ls-normal);
    font-size: 1.75rem;
  }

  .hero-heading br {
    display: none;
  }

  .hero-cta {
    padding: var(--space-12) var(--space-32);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
  }

  .hero-arrow {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .hero-arrow--prev {
    left: var(--space-12);
  }

  .hero-arrow--next {
    right: var(--space-12);
  }

  .hero-slide-content {
    top: auto;
    bottom: 14%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    gap: 20px;
  }

  .hero-slide.is-active .hero-slide-content {
    transform: translateX(-50%);
  }

  .hero-slide-heading {
    font-size: 24px;
    margin-bottom: 0;
    line-height: 1.25;
    letter-spacing: 0.02em;
  }

  .hero-slide-buttons .btn {
    padding: 11px 24px;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  /* Collection grid — single col */
  .collection-grid {
    flex-direction: column;
  }

  /* Prestige coll grid — stack on mobile */
  .coll-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
    max-height: none;
    min-height: unset;
  }

  .coll-cell--large {
    grid-column: 1;
    grid-row: auto;
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .coll-cell--small:nth-child(2),
  .coll-cell--small:nth-child(3) {
    grid-column: 1;
    grid-row: auto;
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .collection-card-media {
    aspect-ratio: 4 / 3;
  }

  .collection-card-title {
    font-size: 1.25rem;
  }

  /* Collection tabs */
  .collection-tab {
    font-size: 1.25rem;
  }

  /* Product grid — show ~1.5 cards to hint scroll */
  .product-card {
    flex: 0 0 70%;
  }

  .product-card-media {
    aspect-ratio: 3 / 4;
  }

  /* Product slider arrow */
  .product-slider-arrow {
    width: 44px;
    height: 44px;
    font-size: 1rem;
    top: 30%;
  }

  .product-slider-arrow--next {
    right: -10px;
  }

  /* Blog slider — ~1.5 cards */
  .blog-card {
    flex: 0 0 75%;
  }

  .blog-slider-arrow {
    width: 44px;
    height: 44px;
    font-size: 1rem;
    top: 25%;
  }

  .blog-slider-arrow--next {
    right: -10px;
  }

  /* Full-width CTA button */
  .btn--full-black {
    max-width: 100%;
  }

  /* Hide Add to Cart on mobile */
  .product-card-atc {
    display: none;
  }

  .product-card-title {
    font-size: 14px;
  }

  /* Image with text */
  .iwt-heading {
    font-size: 1.5rem;
  }

  /* IWT section mobile */
  .iwt-section-content {
    padding: var(--space-40) var(--space-24);
  }

  .iwt-section-heading {
    font-size: 1.5rem;
  }

  .iwt-section-btn {
    padding: var(--space-12) var(--space-32);
    font-size: 0.7rem;
  }

  .iwt-text {
    font-size: var(--font-size-13);
  }

  .iwt-image,
  .iwt-video {
    aspect-ratio: 1 / 1;
  }

  /* Promo banner */
  .promo-banner {
    min-height: 300px;
  }

  .promo-banner-content {
    padding: var(--space-24);
  }

  .promo-banner-heading {
    font-size: 1.5rem;
  }

  /* Mobile nav */
  .mobile-nav {
    width: 100%;
    max-width: 100vw;
  }

  /* Marquee */
  .marquee {
    padding: var(--space-32) 0;
  }

  .marquee-text {
    font-size: 1.5rem;
  }

  .marquee-track {
    gap: var(--space-24);
  }

  /* Section spacing — scale down for mobile */
  .rich-text {
    padding: 40px 0;
  }

  .featured-collection {
    padding: 40px 0;
  }

  .testimonials {
    padding: 40px 0;
  }

  .blog-section {
    padding: 40px 0;
  }

  .section-header {
    padding-bottom: 28px;
  }

  /* Logo list */
  .logo-list {
    padding: 40px 16px;
  }

  .logo-list-label {
    text-align: center;
    font-size: 16px;
  }

  .logo-list-grid {
    gap: var(--space-16);
    flex-wrap: nowrap;
  }

  .logo-list-item {
    flex: 0 0 calc(33.333% - var(--space-16) * 2 / 3);
  }

  .logo-list-arrow {
    display: flex;
  }

  .logo-list-image {
    height: 80px;
  }

  /* Rich text */
  .rich-text-quote {
    font-size: 1.25rem;
  }

  /* Testimonials */
  .testimonials-track {
    min-height: 270px;
  }

  .testimonial-text {
    font-size: var(--font-size-16);
  }

  /* Video section */
  .video-section {
    min-height: 300px;
  }

  .video-play-btn {
    width: 60px;
    height: 60px;
    font-size: 1.25rem;
  }

  .video-section-heading {
    font-size: 1.5rem;
  }

  /* USP — single column */
  .usp-grid {
    flex-direction: column;
    gap: var(--space-32);
  }

  .usp-item {
    flex: 1 1 100%;
  }

  /* Split images */
  .split-image-heading {
    font-size: 1.5rem;
  }

  .split-image-content {
    padding: var(--space-20) var(--space-24);
  }

  /* Timeline */
  .timeline-slide-image {
    aspect-ratio: 3 / 4;
  }

  .timeline-nav {
    gap: var(--space-16);
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .timeline-text {
    font-size: var(--font-size-13);
  }

  /* FAQ */
  .faq-heading {
    font-size: 1.5rem;
  }

  .faq-question {
    font-size: var(--font-size-13);
    padding: var(--space-20) 0;
  }

  /* Shop the Look */
  .stl-product-carousel {
    max-width: 220px;
  }

  .stl-carousel {
    max-width: 100%;
  }

  /* Choose colour */
  .before-after {
    aspect-ratio: 4 / 3;
  }

  .before-after__label {
    bottom: var(--space-16);
  }

  .before-after__label--left {
    left: var(--space-16);
  }

  .before-after__label--right {
    right: var(--space-16);
  }

  .before-after__colour-name {
    font-size: var(--font-size-12);
  }

  .before-after__link {
    font-size: var(--font-size-11);
  }

  .before-after__cursor-circle {
    width: 40px;
    height: 40px;
  }

  .before-after__cursor-circle svg {
    width: 18px;
    height: 18px;
  }

  /* Values */
  .values-column {
    max-width: 100%;
  }

  .values-column-title {
    font-size: 1rem;
  }

  /* Instagram — 2 columns */
  .instagram-feed {
    padding: 40px 16px;
  }

  .instagram-item {
    width: 200px;
  }

  .instagram-ticker-track {
    gap: 14px;
  }

  /* Info Bar */
  .info-bar-grid {
    grid-template-columns: 1fr;
    gap: var(--space-24) 0;
  }

  .info-bar-item {
    padding: var(--space-16) var(--space-20);
  }

  /* Footer — single column, col 2 & 3 side by side */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-32);
  }

  .footer-col--newsletter,
  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  /* Search */
  .search-overlay-close {
    top: -40px;
  }

  .search-suggestion-tags {
    justify-content: center;
  }

  /* Back to top */
  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    font-size: var(--font-size-14);
  }

  /* Newsletter popup — full-width bottom on mobile */
  .newsletter-popup {
    bottom: 0;
    right: 0;
    left: 0;
  }

  .newsletter-popup-box {
    width: 100%;
    padding: 2rem 1.5rem 1.5rem;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
  }
}


/* ------------------------------------------
   BREAKPOINT: 400px — Very small phones
   ------------------------------------------ */
@media (max-width: 400px) {
  :root {
    --h1-size: 1.625rem;
    --h2-size: 1.375rem;
  }

  .hero {
    height: 100vh;
    min-height: 0;
  }

  .hero-heading {
    font-size: 1.5rem;
  }

  .hero-slide-heading {
    font-size: 22px;
    margin-bottom: 0;
    line-height: 1.3;
  }

  .hero-slide-content {
    bottom: 13%;
    gap: 18px;
  }

  .hero-slide-buttons .btn {
    padding: 10px 20px;
    font-size: 0.65rem;
  }

  .btn {
    padding: var(--space-12) var(--space-24);
    font-size: var(--font-size-10);
  }

  .marquee-text {
    font-size: 1.25rem;
  }

  .logo-img {
    height: 44px;
  }

  /* Instagram ticker — smaller */
  .instagram-item {
    width: 180px;
  }

  /* Collection single col */
  .collection-card-media {
    aspect-ratio: 1 / 1;
  }
}
