/* Mobile-first responsive overrides for the public storefront */

.container {
    padding: 0 16px;
}

.main-content {
    padding: 32px 0;
}

.header-top {
    padding: 12px 0;
}

.logo {
    font-size: 13px;
}

.logo img {
    height: 30px !important;
}

.logo span {
    display: none;
}

.header-actions {
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.hamburger {
    display: block;
}

.search-box {
    display: flex;
    width: 100%;
    order: 10;
    margin-top: 8px;
}

.search-box input {
    width: 100%;
    min-width: 0;
}

.nav {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
}

.nav-active {
    max-height: 500px;
}

.nav-menu {
    flex-direction: column;
    gap: 16px;
    padding: 16px 0;
}

.language-dropdown {
    right: 0;
    min-width: 100px;
}

.hero {
    padding: 40px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
}

.hero-title {
    font-size: 22px;
}

.hero-subtitle {
    font-size: 15px;
}

.hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-actions .btn {
    width: 100%;
    justify-content: center;
}

.hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.stat-value {
    font-size: 22px;
}

.stat-label {
    font-size: 13px;
}

.subscribe-content {
    flex-direction: column;
    text-align: center;
    padding: 24px;
}

.products,
.team,
.features,
.testimonials,
.faq,
.brands {
    padding: 40px 0;
}

.section-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 32px;
}

.section-title {
    font-size: 18px;
}

.products-grid,
.team-grid,
.features-grid,
.reviews-grid,
.footer-content {
    grid-template-columns: 1fr;
}

.products-grid,
.team-grid,
.features-grid,
.reviews-grid {
    gap: 16px;
}

.product-card {
    border-radius: 14px;
    max-width: 100%;
}

.product-badge {
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    font-size: 10px;
}

.product-image {
    padding: 12px;
}

.product-image img {
    height: 120px;
}

.product-info {
    padding: 12px;
}

.product-name {
    font-size: 13px;
    margin-bottom: 5px;
}

.product-price {
    font-size: 15px;
    margin-bottom: 5px;
}

.product-stock {
    font-size: 11px;
    margin-bottom: 10px;
}

.btn-buy,
.btn-primary.btn-block {
    padding: 9px 14px;
    font-size: 13px;
}

.team-member img {
    width: 100px;
    height: 100px;
}

.faq-question {
    font-size: 16px;
    padding: 16px;
}

.faq-answer p {
    padding: 0 16px 16px;
}

.brands-logos {
    gap: 24px;
}

.footer {
    padding: 40px 0 20px;
}

.content-wrapper {
    flex-direction: column;
    gap: 16px;
    padding: 16px 0;
}

.sidebar {
    width: 100%;
}

.filter-section {
    padding: 16px;
    border-radius: 14px;
}

.filter-title {
    font-size: 16px;
    margin-bottom: 16px;
}

.price-range {
    gap: 6px;
}

.price-range input {
    min-width: 0;
    padding: 8px 10px;
    font-size: 13px;
}

.btn-filter {
    padding: 10px 18px;
    font-size: 14px;
}

.products-header {
    margin-bottom: 24px;
}

.page-title {
    font-size: 24px;
}

.page-subtitle {
    font-size: 14px;
}

@media (min-width: 321px) {
    .logo {
        font-size: 13px;
    }

    .logo img {
        height: 30px !important;
    }

    .header-actions {
        gap: 6px;
    }

    .hero-title {
        font-size: 22px;
    }

    .section-title {
        font-size: 18px;
    }
}

@media (min-width: 376px) {
    .logo {
        font-size: 14px;
    }

    .logo img {
        height: 35px !important;
    }

    .header-actions {
        gap: 8px;
    }

    .hero-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 20px;
    }
}

@media (min-width: 415px) {
    .hero-title {
        font-size: 26px;
    }

    .section-title {
        font-size: 22px;
    }

    .hero-stats {
        gap: 10px;
    }

    .stat-value {
        font-size: 20px;
    }
}

@media (min-width: 577px) {
    .header-actions {
        flex-wrap: nowrap;
        justify-content: flex-end;
    }

    .search-box {
        width: auto;
        order: 0;
        margin-top: 0;
    }

    .search-box input {
        width: 180px;
    }

    .container {
        padding: 0 24px;
    }

    .logo {
        font-size: 16px;
    }

    .logo img {
        height: 40px !important;
    }

    .logo span {
        display: inline;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 24px;
    }

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

    .product-card {
        border-radius: 16px;
    }

    .product-badge {
        top: 12px;
        left: 12px;
        padding: 4px 12px;
        font-size: 11px;
    }

    .product-image {
        padding: 16px;
    }

    .product-image img {
        height: 140px;
    }

    .product-info {
        padding: 14px;
    }

    .product-name {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .product-price {
        font-size: 16px;
    }

    .btn-buy,
    .btn-primary.btn-block {
        padding: 10px 16px;
        font-size: 14px;
    }

    .team-member img {
        width: 140px;
        height: 140px;
    }

    .main-content {
        padding: 40px 0;
    }

    .page-title {
        font-size: 28px;
    }

    .page-subtitle {
        font-size: 15px;
    }

    .content-wrapper {
        gap: 20px;
        padding: 24px 0;
    }

    .filter-section {
        padding: 20px;
        border-radius: 16px;
    }

    .filter-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .price-range {
        gap: 8px;
    }

    .price-range input {
        padding: 10px 12px;
        font-size: 14px;
    }

    .btn-filter {
        padding: 10px 20px;
    }
}

@media (min-width: 769px) {
    .hamburger {
        display: none;
    }

    .search-box {
        display: flex;
    }

    .nav {
        overflow: visible;
        max-height: none;
    }

    .nav-menu {
        flex-direction: row;
        gap: 40px;
        padding: 12px 0;
    }

    .hero-title {
        font-size: 48px;
    }

    .products-grid,
    .features-grid,
    .reviews-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

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

@media (min-width: 993px) {
    .hero .container {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        text-align: left;
    }

    .hero-actions {
        flex-direction: row;
        width: auto;
        gap: 16px;
        justify-content: flex-start;
        margin-bottom: 48px;
    }

    .hero-actions .btn {
        width: auto;
    }

    .subscribe-content {
        flex-direction: row;
        text-align: left;
        padding: 32px 48px;
    }

    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }

    .content-wrapper {
        flex-direction: row;
        gap: 24px;
    }

    .sidebar {
        width: 280px;
    }
}

@media (min-width: 1025px) {
    .container {
        max-width: 1000px;
    }
}

@media (min-width: 1201px) {
    .container {
        max-width: 1200px;
    }

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

    .team-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }

    .page-title {
        font-size: 32px;
    }

    .page-subtitle {
        font-size: 16px;
    }
}

@media (min-width: 1441px) {
    .container {
        max-width: 1280px;
    }
}
