/* ═══════════════════════════════════════════
   RESPONSIVE STYLES
   ════════════════���══════════════════════════ */

/* Tablet: 720px - 1024px */
@media (max-width: 1024px) {
    :root {
        --section-spacing: 40px;
    }

    .container {
        padding: 0 15px;
    }

    /* Header */
    .main-nav__list {
        gap: 14px;
    }
    .main-nav__item a {
        font-size: 13px;
    }

    /* Hero */
    .hero-slide__title {
        font-size: 32px;
    }
    .hero-slide__overlay .btn {
        font-size: 13px;
        padding: 10px 20px;
    }

    /* Highlights */
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* Product Grid */
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    /* Collection Grid */
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Collection Layout */
    .collection-layout {
        grid-template-columns: 220px 1fr;
        gap: 20px;
    }

    /* Product Detail */
    .product-detail-layout {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* Contact Cards */
    .contact-info-cards {
        grid-template-columns: 1fr;
    }

    /* List view */
    .product-grid.list-view .product-card__actions {
        width: 200px;
    }

    /* Promo Banner */
    .promo-banner__inner {
        padding: 45px 30px;
    }
    .promo-banner__title {
        font-size: 26px;
    }

    /* Category Spotlight */
    .category-spotlight__header .btn {
        position: static;
        transform: none;
    }
    .category-spotlight__header {
        flex-direction: column;
        gap: 10px;
    }
    .category-spotlight .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: below 719px */
@media (max-width: 719px) {
    :root {
        --section-spacing: 30px;
        --container-padding: 15px;
    }

    /* Display utilities */
    .show-desk { display: none !important; }
    .show-mob { display: flex !important; }
    .hide-mob { display: none !important; }

    /* Header */
    .site-header {
        padding: 12px 0;
    }
    .logo-text {
        font-size: 20px;
    }
    .hamburger {
        display: flex;
    }
    .site-header__actions {
        gap: 10px;
    }
    .site-header__actions .header-action-btn:not(.cart-toggle) {
        display: none;
    }

    /* Utility Bar */
    .utility-bar {
        padding: 6px 0;
        font-size: 11px;
    }
    .utility-bar .container {
        flex-direction: column;
        gap: 2px;
    }
    .utility-bar__right {
        display: none;
    }

    /* Hero */
    .hero-slide__title {
        font-size: 24px;
        margin-bottom: 14px;
    }
    .hero-slide__overlay .btn {
        font-size: 12px;
        padding: 8px 16px;
    }

    /* Highlights */
    .highlights-bar {
        padding: 14px 0;
        overflow: hidden;
    }
    .highlights-bar .container {
        padding: 0;
    }
    .highlights-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0;
    }
    .highlights-grid::-webkit-scrollbar {
        display: none;
    }
    .highlight-item {
        flex: 0 0 100%;
        scroll-snap-align: center;
        justify-content: center;
        padding: 0 15px;
    }
    .highlight-item__text {
        font-size: 12px;
    }

    /* Section titles */
    .section-title {
        font-size: 22px;
        margin-bottom: 25px;
    }

    /* Product Grid */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card__image-link {
        padding: 15px;
    }
    .product-card__image-link img {
        height: 150px;
    }
    .product-card__info {
        padding: 12px;
    }
    .product-card__title {
        font-size: 13px;
    }
    .product-card__vendor {
        font-size: 11px;
    }
    .product-card__price {
        font-size: 16px;
    }
    .product-card__desc {
        display: none;
    }
    .product-card__actions {
        padding: 12px;
    }
    .product-card__actions .btn:first-child {
        display: none;
    }
    .product-card__actions .btn {
        font-size: 11px;
        padding: 8px 12px;
    }

    /* Collection Grid */
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .collection-tile__name {
        font-size: 14px;
    }
    .collection-tile__overlay {
        padding: 12px;
    }

    /* Collection Layout */
    .collection-layout {
        grid-template-columns: 1fr;
    }

    /* Sidebar */
    .sidebar {
        position: static;
    }
    .sidebar__toggle-btn {
        display: flex;
    }
    .sidebar__content {
        display: none;
        padding-top: 15px;
    }
    .sidebar__content.is-open {
        display: block;
    }

    /* Sort Bar */
    .sort-bar {
        flex-wrap: wrap;
        gap: 10px;
    }
    .sort-bar__left {
        width: 100%;
    }
    .sort-select {
        flex: 1;
    }

    /* Collection Header */
    .collection-header__title {
        font-size: 24px;
    }
    .collection-header__desc {
        font-size: 13px;
    }

    /* Pagination */
    .pagination {
        gap: 4px;
        margin-top: 30px;
    }
    .pagination__num,
    .pagination__btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    /* Product Detail */
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .product-gallery__main {
        padding: 20px;
    }
    .product-gallery__main-img {
        max-height: 300px;
    }
    .product-gallery__thumb {
        width: 60px;
        height: 60px;
    }
    .product-info__title {
        font-size: 22px;
    }
    .product-info__price {
        font-size: 20px;
    }

    /* Breadcrumbs */
    .breadcrumbs {
        padding: 10px 0;
        font-size: 12px;
    }

    /* Pages */
    .page-title {
        font-size: 24px;
    }
    .contact-info-cards {
        grid-template-columns: 1fr;
    }
    .contact-card {
        padding: 16px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .footer-newsletter-form {
        flex-direction: column;
    }

    /* List view - revert to grid on mobile */
    .product-grid.list-view {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-grid.list-view .product-card {
        flex-direction: column;
    }
    .product-grid.list-view .product-card__image-link {
        width: 100%;
    }
    .product-grid.list-view .product-card__actions {
        flex-direction: column;
        width: 100%;
    }

    /* Lightbox */
    .lightbox__img {
        max-width: 95%;
    }
    .lightbox__prev { left: 10px; }
    .lightbox__next { right: 10px; }
    .lightbox__prev,
    .lightbox__next {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }

    /* Social sharing */
    .social-sharing {
        flex-wrap: wrap;
    }

    /* Promo Banner */
    .promo-banner__inner {
        padding: 35px 20px;
        border-radius: var(--radius-sm);
    }
    .promo-banner__title {
        font-size: 22px;
    }
    .promo-banner__subtitle {
        font-size: 14px;
    }

    /* Category Spotlight */
    .category-spotlight__header .btn {
        position: static;
        transform: none;
    }
    .category-spotlight__header {
        flex-direction: column;
        gap: 10px;
    }

    /* Newsletter */
    .newsletter-section__inner {
        padding: 30px 20px;
        border-radius: var(--radius-sm);
    }
    .newsletter-section__title {
        font-size: 20px;
    }
    .newsletter-section__form {
        flex-direction: column;
    }
    .newsletter-section__input {
        width: 100%;
    }
}

/* Small mobile: below 400px */
@media (max-width: 400px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    .collection-grid {
        grid-template-columns: 1fr;
    }
    .hero-slide__title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .hero-slide__overlay .btn {
        font-size: 11px;
        padding: 6px 14px;
    }
}
