/* ============================================
   KIMOLA - Responsive CSS
   Mobile-First Breakpoints
   ============================================ */

/* Tablet: 768px and below */
@media (max-width: 768px) {
    /* Top Bar */
    .top-bar {
        padding: 6px 12px;
    }

    .top-bar__social {
        gap: 10px;
    }

    .top-bar__social a {
        font-size: 12px;
    }

    .top-bar__message span {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .top-bar__spacer {
        display: none;
    }

    /* Navbar */
    .navbar__links--left {
        display: none;
    }

    .navbar__menu-toggle {
        display: flex;
    }

    .navbar__container {
        padding: 12px 16px;
    }

    .navbar__logo {
        font-size: 22px;
        letter-spacing: 6px;
        padding: 0;
    }

    .navbar__links--right {
        gap: 14px;
    }

    .navbar__icon {
        font-size: 16px;
    }

    /* Hero */
    .hero {
        height: 75vh;
        min-height: 500px;
    }

    .hero__title {
        letter-spacing: 8px;
    }

    .hero__subtitle {
        font-size: 11px;
        letter-spacing: 4px;
    }

    .hero__btn {
        padding: 12px 32px;
        font-size: 11px;
    }

    /* Sections */
    .section {
        padding: var(--space-2xl) 0;
    }

    .section__header {
        margin-bottom: var(--space-xl);
    }

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

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

    .product-card__info {
        padding: 12px;
    }

    .product-card__name {
        font-size: 13px;
    }

    .product-card__prices {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .product-card__price {
        font-size: 14px;
    }

    .product-card__price--original {
        font-size: 11px;
    }

    .product-card__actions {
        opacity: 1;
        transform: translateX(0);
    }

    .product-card__quick-add {
        display: none;
    }

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

    .category-card {
        aspect-ratio: 1/1;
    }

    .category-card__name {
        font-size: 16px;
    }

    /* Features */
    .features {
        display: none !important;
    }

    .feature {
        padding: var(--space-lg);
    }

    .feature:nth-child(2) {
        border-right: none;
    }

    .feature:nth-child(1),
    .feature:nth-child(2) {
        border-bottom: 1px solid var(--color-gray-200);
    }

    /* Banner */
    .banner {
        height: 280px;
    }

    .banner__title {
        letter-spacing: 2px;
    }

    /* Footer */
    .footer__newsletter {
        padding: var(--space-2xl) 0;
    }

    .footer__newsletter-form {
        flex-direction: column;
        border: none;
        gap: 12px;
    }

    .footer__newsletter-form input {
        border: 1px solid var(--color-gray-600);
        text-align: center;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer__bottom .container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer__bottom-links {
        gap: 16px;
    }

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

    /* Quick View */
    .quick-view__grid {
        grid-template-columns: 1fr;
    }

    /* Instagram Grid */
    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Tracking */
    .tracking-timeline {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }

    .tracking-timeline::before {
        top: 0;
        bottom: 0;
        left: 24px;
        right: auto;
        width: 3px;
        height: auto;
    }

    .tracking-step {
        flex-direction: row;
        gap: 16px;
    }

    .tracking-step__icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        flex-shrink: 0;
    }

    /* Countdown */
    .countdown__item {
        min-width: 50px;
        padding: 10px 12px;
    }

    .countdown__number {
        font-size: 20px;
    }

    /* Tabs */
    .tabs {
        gap: 6px;
    }

    .tab {
        padding: 8px 16px;
        font-size: 10px;
        letter-spacing: 1px;
    }

    /* Announcement */
    .announcement-bar__item {
        font-size: 10px;
        letter-spacing: 2px;
    }
}

/* Small mobile: 480px and below */
@media (max-width: 480px) {
    .top-bar__message {
        display: none;
    }

    .top-bar {
        justify-content: center;
    }

    .hero {
        height: 65vh;
        min-height: 420px;
    }

    .hero__title {
        letter-spacing: 5px;
    }

    .hero__cta {
        margin-top: 24px;
    }

    .products-grid {
        gap: 8px;
    }

    .product-card__category {
        font-size: 9px;
    }

    .product-card__name {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .product-card__badge {
        font-size: 8px;
        padding: 3px 8px;
    }

    .product-card__action {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .section__title {
        font-size: 22px;
    }

    .section__label {
        font-size: 10px;
        letter-spacing: 3px;
    }

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

    .feature {
        border-right: none;
        border-bottom: 1px solid var(--color-gray-200);
        padding: var(--space-lg);
        flex-direction: row;
        text-align: left;
        gap: 16px;
    }

    .feature:last-child {
        border-bottom: none;
    }

    .feature__icon {
        font-size: 22px;
        margin-bottom: 0;
    }

    .banner {
        height: 220px;
    }

    .categories-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .category-card__content {
        padding: 16px;
    }

    .category-card__name {
        font-size: 14px;
    }

    .footer__newsletter-title {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .footer__newsletter-text {
        font-size: 12px;
    }

    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 11px;
    }

    .btn--lg {
        padding: 14px 28px;
    }

    /* Flash message */
    .flash-message {
        left: 10px;
        right: 10px;
        top: 80px;
    }

    /* Scroll top */
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
}

/* Large Desktop: 1200px+ */
@media (min-width: 1200px) {
    .products-grid--large {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Hover effects only on devices that support it */
@media (hover: hover) {
    .product-card__actions {
        opacity: 0;
    }

    .product-card:hover .product-card__actions {
        opacity: 1;
    }
}

/* Print styles */
@media print {
    .top-bar, .navbar, .footer, .scroll-top, .flash-message {
        display: none !important;
    }

    .hero {
        height: auto;
        min-height: auto;
    }

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