/* ============================================
   LuxuryWatch — Responsive Breakpoints
   Mobile-first adjustments
   ============================================ */

/* Mobile: show hero/content without waiting for scroll JS */
@media (max-width: 768px) {
    .animate-fade-in,
    .animate-fade-up,
    .animate-section-header {
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-title .char {
        opacity: 1 !important;
        transform: none !important;
    }

    .magnetic-tilt,
    .blur-reveal {
        transform: none !important;
        filter: none !important;
        opacity: 1 !important;
    }
}

/* ──────── Max 1440px ──────── */
@media (max-width: 1440px) {
    :root {
        --container-max: 1200px;
    }
}

/* ──────── Max 1200px ──────── */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }

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

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-title {
        font-size: 3.25rem;
    }

    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ──────── Max 992px ──────── */
@media (max-width: 992px) {
    /* Header */
    .primary-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        order: -1;
        margin-right: auto;
    }

    .header-secondary__nav {
        display: none;
    }

    .header-action-label {
        display: none;
    }

    .header-secondary__inner {
        display: flex;
        align-items: center;
        position: relative;
        min-height: 60px;
    }

    .site-branding {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .header-actions {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .site-logo img {
        max-height: 56px;
    }

    .top-bar__right {
        display: none;
    }

    .top-bar__text {
        text-align: center;
        width: 100%;
    }

    /* Shop Layout */
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        max-height: 100vh;
        background: var(--color-bg-alt);
        z-index: 9999;
        transform: translateX(-100%);
        transition: transform var(--transition-base);
        padding: var(--space-xl);
        overflow-y: auto;
    }

    .shop-sidebar.is-open {
        transform: translateX(0);
    }

    .filter-toggle-btn {
        display: flex;
    }

    .shop-products-grid .products,
    .shop-products-grid ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Product Detail */
    .single-product-layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .product-gallery {
        position: relative;
        top: 0;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    /* Contact */
    .contact-layout {
        grid-template-columns: 1fr;
    }

    /* Blog */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Home sections */
    .hero-title {
        font-size: 2.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .countdown-inner {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-inner {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form__group {
        margin: 0 auto;
        width: 100%;
    }

    /* Post Navigation */
    .post-navigation__links {
        grid-template-columns: 1fr;
    }
}

/* ──────── Max 768px ──────── */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
        --space-4xl: 3.5rem;
        --space-3xl: 2.5rem;
    }

    /* Hero */
    .hero-section--cinematic {
        min-height: calc(100svh - 60px);
        min-height: calc(100vh - 60px);
        align-items: flex-end;
        padding: 5.5rem var(--container-padding) 2.5rem;
        box-sizing: border-box;
    }

    .hero-section--cinematic .hero-media img {
        object-position: center center;
    }

    .hero-section--cinematic .hero-content {
        max-width: 100%;
        text-align: center;
        width: 100%;
    }

    .hero-section--cinematic .hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.35) 45%,
            rgba(0, 0, 0, 0.65) 100%
        );
    }

    .hero-section--layered {
        min-height: calc(100svh - 60px);
        min-height: calc(100vh - 60px);
        align-items: flex-start;
        padding: 5.5rem var(--container-padding) 3rem;
        box-sizing: border-box;
        flex-direction: column;
    }

    .hero-scene {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        height: 280px;
        transform: none;
        margin-top: var(--space-xl);
        order: 2;
    }

    .hero-watch--back {
        top: 10%;
        right: 8%;
        width: 42%;
        opacity: 0.25;
        transform: rotateY(-8deg) scale(0.7) translateZ(-40px);
    }

    .hero-watch--mid {
        top: 5%;
        right: 28%;
        width: 38%;
        opacity: 0.25;
        transform: rotateY(-10deg) scale(0.75) translateZ(0);
    }

    .hero-watch--front {
        top: 0;
        right: 18%;
        width: 58%;
        transform: rotateY(-8deg) scale(1) translate(0, 20px) translateZ(40px);
    }

    .hero-content {
        order: 1;
        max-width: 100%;
        text-align: center;
        width: 100%;
    }

    .hero-section:not(.hero-section--layered) {
        min-height: calc(100svh - 60px);
        min-height: calc(100vh - 60px);
        background-position: center center;
        align-items: flex-end;
        padding: 5.5rem var(--container-padding) 2.5rem;
        box-sizing: border-box;
    }

    .hero-section:not(.hero-section--layered) .hero-content {
        max-width: 100%;
        text-align: center;
        width: 100%;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
    }

    .hero-scroll-indicator {
        display: none;
    }

    /* Section Headers */
    .section-title {
        font-size: 1.5rem;
    }

    .page-title {
        font-size: 1.75rem;
    }

    /* Category Banner */
    .category-banner {
        padding: var(--space-2xl) 0;
    }

    .category-banner__title {
        font-size: 1.75rem;
    }

    /* Countdown */
    .countdown-number {
        font-size: 1.75rem;
    }

    .countdown-unit {
        min-width: 55px;
    }

    .countdown-title {
        font-size: 1.25rem;
    }

    /* Shop */
    .shop-products-grid .products,
    .shop-products-grid ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--space-md);
    }

    .shop-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-toolbar__left,
    .shop-toolbar__right {
        justify-content: space-between;
    }

    /* Product */
    .product-summary__title {
        font-size: 1.5rem;
    }

    .product-summary__meta {
        flex-wrap: wrap;
    }

    .product-trust {
        grid-template-columns: 1fr;
    }

    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* About */
    .about-hero__title {
        font-size: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    /* Brands */
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .single-article__title {
        font-size: 1.75rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .social-links {
        justify-content: center;
    }

    /* Newsletter */
    .newsletter-form__group,
    .newsletter-standalone__group {
        flex-direction: column;
    }

    .newsletter-form__input,
    .newsletter-standalone__input {
        border-right: 1px solid var(--color-border);
        border-radius: var(--radius-sm);
    }

    .newsletter-form__btn,
    .newsletter-standalone__group .btn {
        border-radius: var(--radius-sm);
        width: 100%;
    }

    /* 404 */
    .page-404__title {
        font-size: 5rem;
    }

    .page-404__subtitle {
        font-size: 1.25rem;
    }

    .page-404__actions {
        flex-direction: column;
        align-items: center;
    }

    /* Search */
    .search-refine form {
        flex-direction: column;
    }

    .search-refine__input {
        border-right: 1px solid var(--color-border);
        border-radius: var(--radius-sm);
    }

    .search-refine .btn {
        border-radius: var(--radius-sm);
        width: 100%;
    }

    .search-result-item {
        flex-direction: column;
    }

    .search-result-item__image {
        width: 100%;
        height: 180px;
    }

    /* FAQ */
    .faq-cta__title {
        font-size: 1.25rem;
    }

    .woocommerce-cart .cart-collaterals .cart_totals {
        max-width: 100%;
    }

    /* List view adjustments */
    .shop-products-grid.view-list .product-card {
        grid-template-columns: 1fr;
    }

    /* Contact Map */
    .contact-map__embed iframe {
        height: 280px;
    }
}

/* ──────── Max 576px ──────── */
@media (max-width: 576px) {
    :root {
        --container-padding: 0.75rem;
    }

    body {
        font-size: 15px;
    }

    /* Header: hide wishlist & account on small screens */
    .wishlist-link,
    .account-link {
        display: none;
    }

    .header-actions {
        gap: 0;
    }

    .site-logo img {
        max-height: 48px;
    }

    .hero-section {
        min-height: 60vh;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-eyebrow {
        font-size: 0.6875rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .countdown-timer {
        gap: 0.25rem;
    }

    .countdown-number {
        font-size: 1.375rem;
    }

    .countdown-unit {
        min-width: 45px;
    }

    .countdown-separator {
        font-size: 1.25rem;
    }

    .product-add-to-cart {
        flex-direction: column;
    }

    .product-details__cart-row {
        flex-direction: column;
        gap: 10px;
    }

    .product-details__cart-row .quantity-selector {
        width: 100%;
        justify-content: center;
    }

    .product-details__cart-row .add-to-cart-btn {
        width: 100%;
        flex: none;
    }

    .quantity-selector {
        width: 100%;
        justify-content: center;
    }

    .add-to-cart-btn {
        width: 100%;
    }

    .product-summary__price {
        font-size: 1.375rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last {
        width: 100% !important;
        float: none !important;
        display: block;
    }

    .woocommerce-MyAccount-content .form-row-first,
    .woocommerce-MyAccount-content .form-row-last {
        width: 100% !important;
        display: block;
    }

    .brands-grid {
        grid-template-columns: 1fr;
    }

    .page-404__title {
        font-size: 3.5rem;
    }

    .page-404__search form {
        flex-direction: column;
    }

    .page-404__search-input {
        border-right: 1px solid var(--color-border);
        border-radius: var(--radius-sm);
    }

    .page-404__search .btn {
        border-radius: var(--radius-sm);
        width: 100%;
    }

    .product-card__info {
        padding: 0.75rem 1rem 1rem;
    }

    .product-card__title {
        font-size: 0.9375rem;
    }

    .product-card__price {
        font-size: 0.9375rem;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
}

/* ──────── Category Hero (Rolex + Reduced) ──────── */
@media (max-width: 860px) {
    .home-category-hero__grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .cat-hero-card,
    .cat-hero-card__body {
        min-height: 240px;
    }

    .cat-hero-card__body {
        max-width: 62%;
        padding: var(--space-xl);
    }

    .cat-hero-card__img {
        height: 82%;
        width: 46%;
    }
}

@media (max-width: 480px) {
    .cat-hero-card,
    .cat-hero-card__body {
        min-height: 200px;
    }

    .cat-hero-card__body {
        max-width: 64%;
        padding: var(--space-lg);
    }

    .cat-hero-card__title {
        font-size: 1.5rem;
    }

    .cat-hero-card__img {
        height: 78%;
        width: 44%;
        right: 2%;
    }

    .cat-hero-card__btn {
        padding: 0.6rem 1.3rem;
        font-size: 0.72rem;
    }
}

/* ──────── Max 375px ──────── */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.875rem;
    }

    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
    }

    .shop-products-grid .products,
    .shop-products-grid ul.products {
        grid-template-columns: 1fr !important;
    }

    .related-products-grid {
        grid-template-columns: 1fr;
    }

    .countdown-timer {
        flex-wrap: wrap;
        justify-content: center;
    }

    .product-summary__meta {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

/* ──────── Home Trust + Category Grid ──────── */
@media (min-width: 768px) {
    .home-trust-authority__headline {
        white-space: nowrap;
    }
}

@media (max-width: 1024px) {
    .home-trust-authority__pills {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-category-grid__cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-shop-by-brand__cards {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .brand-card__media {
        height: 200px;
        padding: 8px 10px;
    }
}

@media (max-width: 640px) {
    .home-trust-authority {
        padding: var(--space-lg) 0;
    }

    .home-trust-authority__pills {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .home-trust-authority__pill {
        padding: var(--space-sm);
    }

    .home-category-grid__cards {
        grid-template-columns: 1fr;
    }

    .home-shop-by-brand__cards {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .home-shop-by-brand {
        padding: var(--space-2xl) 0 var(--space-3xl);
    }

    .brand-card__media {
        height: 175px;
        padding: 8px;
    }

    .brand-card__body {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
        padding: var(--space-sm) var(--space-md);
    }

    .brand-card__title {
        font-size: 0.875rem;
    }

    .brand-card__cta {
        width: 100%;
        text-align: center;
    }

    .category-card__link {
        flex-direction: column;
        min-height: 0;
    }

    .category-card__media {
        flex: none;
        height: 180px;
        min-height: 180px;
    }

    .category-card__media img {
        min-height: 180px;
    }

    .home-customer-pride {
        padding: var(--space-3xl) 0;
    }

    .home-customer-pride__gallery {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: var(--space-md);
        padding-bottom: var(--space-sm);
        margin-left: calc(-1 * var(--container-padding));
        margin-right: calc(-1 * var(--container-padding));
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
        scrollbar-width: none;
    }

    .home-customer-pride__gallery::-webkit-scrollbar {
        display: none;
    }

    .home-customer-pride__card {
        flex: 0 0 40%;
        max-width: 40%;
        scroll-snap-align: start;
    }

    .home-customer-pride__stats {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        padding: var(--space-lg);
    }

    .home-customer-pride__stat strong {
        font-size: 1.25rem;
    }

    .category-card__body {
        padding: var(--space-md) var(--space-lg);
    }

    .home-section-divider__title {
        font-size: 0.75rem;
        letter-spacing: 0.12em;
    }
}

/* ──────── Print ──────── */
@media print {
    .top-bar,
    .site-header,
    .mobile-menu-drawer,
    .mobile-menu-overlay,
    .search-overlay,
    .back-to-top,
    .newsletter-section,
    .newsletter-standalone,
    .site-footer {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    a {
        color: #000;
    }

    .container {
        max-width: 100%;
    }
}
