/* ==========================================================================
   Glamorous — Responsive Breakpoints
   All responsive rules in ONE file. No media queries elsewhere.
   Desktop: 1920  |  Tablet: 768  |  Mobile: 480
   ========================================================================== */

/* ── Smaller laptops ── */
@media (max-width: 1536px) {
  .header-right {
    right: 40px;
    top: 50%;
  }
  .block-image-text .image-text__content {
    padding: 40px;
  }
  .block-image-text.image-right .image-text__content {
    padding: 40px;
  }
}

/* ── Large desktop down ── */
@media (max-width: 1200px) {
  :root {
    --container-padding: 40px;
  }
  .header-right {
    right: 20px;
  }
  .block-hero .hero-content {
    left: 50%;
    width: 480px;
  }
  .card-grid__card {
    height: 500px;
    width: 350px;
  }
}

/* ── Medium screens ── */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .pink-cta__inner {
    flex-wrap: wrap;
  }
  .pink-cta__center {
    order: -1;
    flex: 0 0 100%;
    text-align: center;
  }
  .pink-cta__center img {
    margin: 0 auto;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   TABLET + MOBILE (max-width: 1024px)
   Matches Figma mobile design node 7386:2802 (360px viewport)
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root {
    --container-padding: 24px;
    --section-padding: 40px;
    --hero-height: 100vh;
  }

  /* ─── 1. HEADER (69px, single line) ─── */
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 13px;
    height: 69px;
    flex-direction: row;
  }
  .header-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    padding: 0;
  }
  .logo-title { font-size: 24px; letter-spacing: 2px; }
  .logo-subtitle { font-size: 6px; letter-spacing: 2.5px; }
  .header-nav { display: none; }
  .btn-appointment { display: none; }
  .mobile-menu-btn { display: flex; order: -1; }
  .mobile-menu-btn span { width: 28px; height: 2px; }
  .header-right {
    position: static;
    transform: none;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .header-icons { display: flex; align-items: center; gap: 16px; }
  .header-icons a[aria-label="Account"] { display: none; }

  /* ─── 2. HERO (100vh, centered on tablet, left on phone) ─── */
  .block-hero {
    height: 100vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 69px;
    margin-bottom: 0;
  }
  .block-hero .hero-bg {
    object-position: center center;
  }
  .block-hero .hero-content {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    padding: 0 60px;
    z-index: 2;
    text-align: center;
  }
  .block-hero .hero-label {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .block-hero h1 {
    font-size: 38px;
    line-height: 1.049;
    margin-bottom: 16px;
  }
  .block-hero .hero-desc {
    font-size: 16px;
    line-height: 1.56;
    /* full width */
  }
  .block-hero .btn-pink {
    font-size: 16px;
    padding: 13px 30px;
    min-width: 152px;
    min-height: 47px;
  }

  /* ─── 3. ABOUT — image + text (stacked) ─── */
  .block-image-text {
    flex-direction: column;
    padding: 0;
    gap: 0;
  }
  /* Image: full-width edge-to-edge */
  .block-image-text .image-text__image {
    flex: none;
    width: 100%;
  }
  .block-image-text .image-text__image img {
    width: 100%;
    height: auto;
    min-height: auto;
    object-fit: cover;
    display: block;
  }
  /* Text: centered, padded */
  .block-image-text .image-text__content,
  .block-image-text.image-right .image-text__content {
    padding: 40px 24px;
    flex: none;
    width: 100%;
    text-align: center;
  }
  .block-image-text .image-text__content h2 {
    font-size: 28px;
    line-height: 1.049;
    margin: 0 auto 20px;
  }
  .block-image-text .image-text__content p,
  .block-image-text .image-text__body p {
    font-size: 16px;
    line-height: 1.56;
    margin: 0 auto 14px;
  }
  .block-image-text .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-size: 16px;
    margin-top: 16px;
  }

  /* ─── 4. WEDDING — image-right variant (text first, image below) ─── */
  .block-image-text.image-right {
    flex-direction: column;
    padding: 40px 0 0;
    gap: 30px;
  }
  .block-image-text.image-right .image-text__content {
    order: 1;
    padding: 0 30px;
    text-align: center;
  }
  .block-image-text.image-right .image-text__content .image-text__body p {
    text-align: justify;
    /* full width */
    margin: 0 auto 14px;
  }
  .block-image-text.image-right .image-text__image {
    order: 2;
    width: 100%;
  }
  .block-image-text.image-right .image-text__image img {
    height: 237px;
    width: 100%;
    object-fit: cover;
  }

  /* ─── 5. DISCOVER / CARD GRID (single column dome cards) ─── */
  .block-card-grid {
    padding: 40px 0;
  }
  .block-card-grid .container {
    padding: 0 24px;
  }
  .block-card-grid .section-heading {
    font-size: 28px;
    line-height: 1.049;
  }
  .block-card-grid .section-desc {
    font-size: 16px;
    line-height: 1.27;
    text-align: center;
    /* full width */
    margin: 0 auto 30px;
  }
  .card-grid__cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .card-grid__card {
    width: calc(100vw - 48px);
    max-width: 370px;
    height: 469px;
  }
  .card-grid__label {
    font-size: 24.8px;
    line-height: 1.204;
  }

  /* ─── 6. SHOP FAVORITES (single column, black buttons) ─── */
  .block-product-cards {
    padding: 40px 0;
  }
  .block-product-cards .container {
    padding: 0 24px;
  }
  .block-product-cards .section-heading {
    font-size: 28px;
    line-height: 1.049;
  }
  .block-product-cards .section-desc {
    font-size: 14px;
    text-align: center;
    /* full width */
    margin: 0 auto;
  }
  .product-cards__grid {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
  }
  .product-cards__card {
    width: calc(100vw - 48px);
    max-width: 370px;
  }
  .product-cards__img {
    height: 380px;
  }
  .product-cards__card h3 {
    font-size: 16px;
    text-align: center;
  }
  .product-cards__price {
    font-size: 16px;
    text-align: center;
  }
  .product-cards__card {
    position: relative;
    overflow: visible;
    text-align: center;
  }
  .product-cards__card .btn-cart {
    position: static;
    transform: none;
    opacity: 1;
    background: #0f0f0f;
    color: #fff;
    border: none;
    width: 100%;
    height: 48px;
    padding: 0;
    font-size: 16px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px 0 0;
    z-index: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }
  .product-cards__card h3 {
    font-size: 16px;
    text-align: center;
  }
  .product-cards__card h3 a {
    color: #000;
  }
  .product-cards__price {
    font-size: 16px;
    text-align: center;
  }
  /* "Explore All" button — outlined, centered */
  .block-product-cards .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-size: 16px;
  }

  /* ─── 7. GALLERY (2-col slider with arrows) ─── */
  .block-gallery-grid {
    padding: 40px 0 0;
  }
  .block-gallery-grid .container {
    padding: 0 24px;
  }
  .block-gallery-grid .section-heading {
    font-size: 28px;
    line-height: 1.049;
  }
  .block-gallery-grid .section-desc {
    font-size: 14px;
    text-align: center;
  }
  .gallery-slider-wrap {
    margin-top: 30px;
    display: block;
  }
  .gallery-arrow {
    display: none;
  }
  .gallery-slider {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: none !important;
    grid-auto-flow: row !important;
    grid-auto-columns: unset !important;
    grid-auto-rows: 50vw !important;
    gap: 0 !important;
    overflow-x: hidden !important;
    overflow-y: scroll !important;
    max-height: 100vw !important;
    scroll-snap-type: y mandatory !important;
    flex: none !important;
    -webkit-overflow-scrolling: touch;
  }
  .gallery-slider__item {
    width: 100%;
    height: 50vw;
    scroll-snap-align: start;
  }
  .gallery-slider__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* ─── 8. PINK CTA / BOTTOM — order: left(hair salon), center(image), right(why choose) ─── */
  .pink-cta__inner {
    flex-direction: column;
    padding: 40px 24px;
    gap: 40px;
    text-align: center;
    align-items: center;
  }
  .pink-cta__left {
    order: 1;
    text-align: center;
  }
  .pink-cta__center {
    order: 2;
    flex: none;
    text-align: center;
  }
  .pink-cta__center img {
    width: 100%;
    height: auto;
    max-width: 300px;
    margin: 0 auto;
    display: block;
  }
  .pink-cta__right {
    order: 3;
    text-align: center;
  }
  .pink-cta__inner h2 {
    font-size: 28px;
    line-height: 1.049;
  }
  .pink-cta__body p {
    font-size: 14px;
    line-height: 1.53;
    /* full width */
    margin: 0 auto 14px;
  }
  .pink-cta__body ul {
    font-size: 14px;
    line-height: 1.53;
    text-align: left;
    /* full width */
    margin: 0 auto;
    padding-left: 20px;
  }

  /* ─── 9. FOOTER (stacked, centered, black bg) ─── */
  .footer-cols {
    flex-direction: column;
    gap: 30px;
  }
  .footer-col .footer-heading {
    font-size: 32px;
    margin-bottom: 12px;
  }
  .footer-col p {
    font-size: 16px;
    line-height: 1.526;
  }
  .footer-col .email-link {
    color: var(--color-pink);
  }
  .footer-newsletter p {
    font-size: 16px;
    padding: 0 20px;
    opacity: 0.8;
  }
  .footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    text-align: center;
    max-width: 320px;
    margin: 0 auto 16px;
  }
  .footer-nav a {
    font-size: 14px;
    line-height: 1.2;
  }

  /* ─── 10. SECTION HEADINGS (global) ─── */
  .section-heading {
    font-size: 28px;
    line-height: 1.049;
  }
  .section-desc {
    font-size: 16px;
  }

  /* ─── 11. TEAM GRID ─── */
  .team-grid__cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 40px;
  }

  /* ─── 12. GALLERY GRID (non-slider pages) ─── */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ─── 13. SERVICE DETAIL PAGES ─── */
  .svc-hero { height: 480px; }
  .svc-hero h1 { font-size: 32px; padding: 0 24px; }
  .svc-section, .svc-section.reverse { flex-direction: column; border-top: none; }
  .svc-section__image { flex: 0 0 auto; width: 100%; }
  .svc-section__image img { height: 450px; }
  .svc-section__content { padding: 40px 27px; text-align: center; }
  .svc-section__content h2 { font-size: 28px; }
  .svc-section__content h3 { font-size: 20px; }
  .svc-section__content ul, .svc-section__content ol { text-align: left; display: inline-block; }
  .svc-dark { flex-direction: column; padding: 60px 27px; }
  .svc-dark__text { flex: 0 0 auto; }
  .svc-dark__text h2 { font-size: 28px; }
  .svc-dark__image img { height: 450px; }
  .svc-row, .svc-row.reverse { flex-direction: column; border-top: none; }
  .svc-row__image { flex: 0 0 auto; width: 100%; }
  .svc-row__image img { height: 450px; }
  .svc-row__content { padding: 40px 27px; text-align: center; }
  .svc-row__content h2 { font-size: 28px; }
  .svc-prices { text-align: left; }
  .svc-faq { padding: 60px 24px; }
  .svc-faq-q { font-size: 18px; }
  .svc-gallery { padding: 60px 0 0; }
  .svc-gallery h2 { padding: 0 24px; font-size: 28px; }
  .svc-cta { padding: 60px 24px; }
  .svc-cta h2 { font-size: 28px; }

  /* ─── 13b. TEAM MEMBER PAGES ─── */
  .tm-hero { height: 480px; }
  .tm-section, .tm-section.reverse { flex-direction: column; }
  .tm-section__image { flex: 0 0 auto; width: 100%; }
  .tm-section__image img { height: 450px; }
  .tm-section__content { padding: 40px 27px; text-align: center; }
  .tm-section__content h2 { font-size: 28px; line-height: 1.089; }
  .tm-portfolio { padding: 60px 0 0; }
  .tm-portfolio h2 { padding: 0 24px; font-size: 28px; }
  .tm-cta { padding: 60px 24px; }
  .tm-cta h2 { font-size: 28px; }

  /* ─── 13c. WEDDING PAGE ─── */
  .wed-hero { height: 500px; }
  .wed-hero__title { font-size: 32px; max-width: 324px; left: 50%; }
  .wed-section, .wed-section.reverse { flex-direction: column; padding: 0; gap: 0; }
  .wed-section.reverse .wed-section__text { padding: 40px 27px; }
  .wed-section__image { flex: 0 0 auto; width: 100%; }
  .wed-section__image img { height: 450px; object-fit: cover; }
  .wed-section__text { padding: 40px 27px; text-align: center; }
  .wed-section__text h2 { font-size: 28px; margin-bottom: 20px; }
  .wed-section__text ul { text-align: left; display: inline-block; }
  .wed-process { padding: 60px 27px 80px; }
  .wed-process__header { margin-bottom: 60px; }
  .wed-process__header .serif { font-size: 42px; }
  .wed-process__header .script { font-size: 64px; }
  .wed-process__steps { flex-direction: column; gap: 60px; }
  .wed-process__step:not(:last-child)::after { display: none; }
  .wed-process__step .step-title { font-size: 48px; }
  .wed-process__step .step-num { font-size: 36px; }
  .wed-faqs { padding: 60px 24px; }
  .wed-faqs__title { font-size: 28px; }
  .wed-faq-item__question { font-size: 18px; }
  .wed-brides { padding: 60px 0 0; }
  .wed-brides__title { font-size: 28px; }
  .wed-brides__fallback img { height: 300px; }
  .wed-cta { flex-direction: column; padding: 60px 24px; text-align: center; }
  .wed-cta__text { text-align: center; }
  .wed-cta__text h2 { font-size: 28px; }
  .wed-cta__text p { font-size: 20px; }
  .wed-cta__buttons { flex-direction: column; gap: 12px; }
  .wed-cta__btn { width: 100%; height: 70px; font-size: 20px; }
  .wed-cta__image { display: none; }

  /* ─── 13d. CONTACT PAGE ─── */
  .contact-hero { height: 480px; }
  .contact-hero h1 { font-size: 32px; padding: 0 24px; }
  .visit-us { flex-direction: column; gap: 0; padding: 0; margin-top: 0; }
  .visit-us__info { padding: 40px 27px; text-align: center; }
  .visit-us__info h2 { font-size: 28px; }
  .visit-us__image { flex: 0 0 auto; width: 100%; }
  .visit-us__image img { height: 450px; }
  .visit-details { text-align: left; }
  .contact-info-cards { flex-direction: column; gap: 20px; padding: 0 24px; margin-top: 40px; }
  .get-in-touch { flex-direction: column; padding: 0; margin-top: 0; }
  .get-in-touch__image { flex: 0 0 auto; width: 100%; }
  .get-in-touch__image img { height: 450px; }
  .get-in-touch__form { padding: 40px 27px; }
  .get-in-touch__form h2 { font-size: 28px; }
  .contact-form-row { flex-direction: column; gap: 0; }
  .contact-faq { padding: 60px 24px; }
  .contact-faq h2 { font-size: 28px; }
  .contact-faq-q { font-size: 18px; }
  .contact-map iframe { height: 350px; }
  .contact-map > div[style*="position:absolute"] { position: relative !important; top: auto !important; left: auto !important; max-width: 100% !important; box-shadow: none !important; border-top: 1px solid #eee; }

  /* ─── 13e. FAQ PAGE ─── */
  .faq-hero { height: 480px; }
  .faq-hero h1 { font-size: 32px; }
  .faq-body { flex-direction: column; padding: 40px 24px; }
  .faq-sidebar { position: static; flex: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 20px; }
  .faq-sidebar ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
  .faq-sidebar li { margin-bottom: 0; }
  .faq-sidebar a { font-size: 14px; }
  .faq-category-heading { font-size: 28px; margin-bottom: 32px; }
  .faq-category-heading:not(:first-child) { margin-top: 40px; }
  .faq-question { font-size: 18px; }
  .faq-promo { flex-direction: column; padding: 40px 24px; gap: 40px; }
  .faq-promo__text h2 { font-size: 28px; }
  .faq-promo__image { flex: none; width: 100%; }
  .faq-promo__image img { width: 100%; height: auto; }

  /* ─── 14. SHOP PAGES ─── */
  .shop-layout {
    flex-direction: column;
    padding: 100px 24px 60px;
  }
  .shop-sidebar {
    flex: none;
    width: 100%;
  }
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  /* ─── 14. SINGLE PRODUCT ─── */
  .glam-single-product {
    padding: 0 24px 60px;
  }
  .glam-sp-top {
    flex-direction: column;
    gap: 30px;
  }
  .glam-sp-description { max-width: 100%; }
  .glam-sp-related-card { flex: 0 0 220px; }
  .glam-sp-arrow { width: 40px; height: 40px; font-size: 18px; }

  /* ─── 15. CART ─── */
  .glam-cart-page {
    padding: 100px 24px 40px;
  }
  .glam-cart-page > div[style*="display:flex"] {
    flex-direction: column;
    padding: 0;
  }

  /* ─── 16. MY ACCOUNT ─── */
  .woocommerce-account .woocommerce {
    padding: 100px 24px 60px;
    flex-direction: column;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation {
    flex: none;
    width: 100%;
    margin-bottom: 24px;
  }
  .woocommerce-account .woocommerce-Addresses {
    flex-direction: column;
  }

  /* ─── 17. CHECKOUT ─── */
  .woocommerce-checkout form.checkout {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px;
    padding-bottom: 0 !important;
  }
  .woocommerce-checkout .col2-set,
  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout .woocommerce-checkout-review-order {
    position: static !important;
    width: 100% !important;
    grid-column: auto;
    grid-row: auto;
  }
  .woocommerce-checkout .woocommerce {
    padding: 100px 20px 40px !important;
  }

  /* ─── 18. MINI CART DRAWER ─── */
  .mini-cart-drawer {
    width: 100%;
    right: -100%;
  }

  /* ─── 19. SERVICE PAGE TEMPLATES ─── */
  .sp-hero, .mkp-hero, .hc-hero { height: 400px; }
  .sp-hero h1, .mkp-hero h1, .hc-hero h1 { font-size: 28px; padding: 0 24px; }
  .sp-section, .sp-section.reverse,
  .mkp-section, .mkp-section.reverse,
  .hc-section, .hc-section.reverse { flex-direction: column; }
  .sp-section__image img, .mkp-section__image img, .hc-section__image img { height: 400px; }
  .sp-section__content, .mkp-section__content, .hc-section__content { padding: 40px 24px; }
  .sp-faq, .mkp-faq, .hc-faq, .svc-faq { padding: 60px 24px; }
  .sp-cta, .mkp-cta, .hc-cta, .svc-cta { padding: 60px 24px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   SMALL MOBILE (max-width: 480px)
   ══════════════════════════════════════════════════════════════════════════ */
/* ── Phone landscape ── */
@media (max-height: 500px) and (orientation: landscape) {
  .block-hero {
    padding-top: 69px;
    margin-bottom: 0;
  }
  .block-hero h1 {
    font-size: 28px;
    margin-bottom: 8px;
  }
  .block-hero .hero-desc {
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.4;
  }
  .block-hero .hero-label {
    margin-bottom: 2px;
  }
}

/* ── Small phone ── */
@media (max-width: 480px) {
  /* Hero: left-aligned on phones */
  .block-hero {
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 100px;
    margin-bottom: 0;
  }
  .block-hero .hero-content {
    padding: 0 31px;
    text-align: left;
  }
  .block-hero h1 {
    font-size: 36px;
  }
  .block-hero .hero-desc {
    font-size: 15px;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-form button {
    width: 100%;
  }
  .card-grid__card {
    width: calc(100vw - 48px);
    max-width: 340px;
    height: 420px;
  }
  .glam-sp-related h2 {
    font-size: 28px;
  }
}
