/* ═══════════════════════════════════════════
   DROPLETS OFFICIAL — RESPONSIVE STYLES
   ═══════════════════════════════════════════ */

/* ══════════ TABLET (< 1024px) ══════════ */
@media (max-width: 1024px) {

    .featured-products__grid,
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .brand-story {
        grid-template-columns: 1fr;
    }

    .brand-story__image {
        height: 300px;
    }

    .product-detail {
        gap: 40px;
    }

    .about-section {
        gap: 40px;
    }

    .values-strip {
        grid-template-columns: 1fr;
    }

    .value-item {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }

    .value-item:last-child {
        border-bottom: none;
    }
}

/* ══════════ MOBILE LANDSCAPE / SMALL TABLETS (< 768px) ══════════ */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    /* Header */
    .header-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* Grids */
    .featured-products__grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-gallery {
        flex-direction: column-reverse;
    }

    .product-gallery__thumbs {
        flex-direction: row;
        width: auto;
    }

    .product-gallery__thumb {
        width: 60px;
        height: 72px;
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-section.reverse {
        direction: ltr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* Cart Table → Cards on mobile */
    .cart-table thead {
        display: none;
    }

    .cart-table,
    .cart-table tbody,
    .cart-table tr,
    .cart-table td {
        display: block;
        width: 100%;
    }

    .cart-table tr {
        padding: 16px 0;
        border-bottom: 1px solid var(--border-light);
    }

    .cart-table td {
        border: none;
        padding: 4px 0;
    }

    .cart-summary {
        margin-left: 0;
        max-width: 100%;
    }

    /* Hero */
    .hero {
        height: 70vh;
        min-height: 400px;
    }

    /* Flowing Menu */
    .flowing-menu-wrap {
        height: 400px;
    }

    /* Contact Form */
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    /* Categories */
    .categories-strip__grid {
        justify-content: flex-start;
        gap: 24px;
    }
}

/* ══════════ MOBILE — 9:16 PORTRAIT (< 480px) ══════════ */
@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }

    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .hero {
        height: 80vh;
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .hero__subtitle {
        font-size: 0.9rem;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.72rem;
    }

    /* Product Cards - 2 col tighter */
    .featured-products__grid,
    .products-grid {
        gap: 12px;
    }

    .product-card__name {
        font-size: 0.85rem;
    }

    .product-card__price {
        font-size: 0.78rem;
    }

    .product-card__quick-add {
        font-size: 0.65rem;
        padding: 10px;
    }

    /* Categories */
    .category-card__img {
        width: 80px;
        height: 80px;
    }

    .category-card__label {
        font-size: 0.65rem;
    }

    /* Flowing Menu */
    .flowing-menu-wrap {
        height: 350px;
    }

    .flowing-menu__item-link {
        font-size: 1.2rem;
    }

    .fm-marquee__part span {
        font-size: 1rem;
    }

    .fm-marquee__img {
        width: 80px;
        height: 32px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2px;
    }

    /* Footer */
    .footer-newsletter-form {
        flex-direction: column;
        gap: 8px;
    }

    .footer-newsletter-form input {
        border-right: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: var(--radius-sm);
    }

    .footer-newsletter-form button {
        border-radius: var(--radius-sm);
        padding: 12px;
    }

    /* Cart Drawer */
    .cart-drawer {
        width: 100%;
    }

    /* Page Hero */
    .page-hero {
        padding: 40px 16px 36px;
    }

    /* About Hero */
    .about-hero {
        height: 40vh;
        min-height: 260px;
    }

    /* Product Detail */
    .product-info__name {
        font-size: 1.5rem;
    }

    .size-option {
        width: 38px;
        height: 38px;
        font-size: 0.75rem;
    }

    .add-to-cart-btn {
        padding: 14px;
    }
}

/* ══════════ EXTRA TALL PHONES — 9:21 (< 400px width, > 700px height) ══════════ */
@media (max-width: 400px) and (min-height: 700px) {
    .hero {
        height: 85vh;
    }

    .hero__title {
        font-size: 2rem;
    }

    .mobile-nav a {
        font-size: 1.6rem;
        padding: 14px 0;
    }
}