.site-brand-short,
.site-nav-icon,
.category-filter-button,
.category-filter-close,
.category-filter-backdrop {
    display: none;
}

.home-carousel {
    background: transparent;
    position: relative;
}

.home-carousel-track,
.home-carousel-slide,
.home-carousel-image {
    width: 100%;
}

.home-carousel-slide {
    display: none;
}

.home-carousel-image {
    display: block;
    height: auto;
    opacity: 1;
    object-fit: contain;
}

.home-carousel-slide.is-active {
    display: block;
}

.home-carousel-control {
    align-items: center;
    background: rgba(9, 9, 11, .76);
    border-radius: 9999px;
    color: #fff;
    display: inline-flex;
    height: 2.25rem;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.25rem;
}

.home-carousel-prev {
    left: .75rem;
}

.home-carousel-next {
    right: .75rem;
}

.home-carousel-dots {
    bottom: .75rem;
    display: flex;
    gap: .4rem;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
}

.home-carousel-dots button {
    background: rgba(255, 255, 255, .7);
    border-radius: 9999px;
    height: .55rem;
    width: .55rem;
}

.home-carousel-dots button.is-active {
    background: #f59e0b;
    width: 1.35rem;
}

.home-carousel-content {
    color: #1f2933;
    left: clamp(1rem, 4vw, 3rem);
    max-width: 21rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.home-carousel:not(.is-first-slide) .home-carousel-content {
    display: none;
}

.home-carousel-content p {
    color: #166534;
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.home-carousel-content h1 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 900;
    line-height: 1.05;
    margin-top: .65rem;
}

.home-carousel-content a {
    align-items: center;
    background: #166534;
    border-radius: .4rem;
    color: #fff;
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
    margin-top: 1.25rem;
    min-height: 2.8rem;
    padding: 0 1.25rem;
}

@media (max-width: 767px) {
    * {
        min-width: 0;
    }

    body {
        overflow-x: hidden;
        padding-bottom: 4.5rem;
    }

    .site-header {
        position: sticky;
        top: 0;
    }

    .site-header-inner {
        align-items: center;
        flex-direction: row;
        gap: .75rem;
        padding: .65rem .85rem;
    }

    .site-brand {
        flex: 1 1 auto;
        font-size: 1rem;
        line-height: 1.15rem;
        overflow: hidden;
        white-space: nowrap;
    }

    .site-brand-full {
        display: none;
    }

    .site-brand-short {
        display: inline;
    }

    .site-nav {
        display: flex;
        flex: 0 0 auto;
        gap: .4rem;
    }

    .site-nav a {
        align-items: center;
        border-radius: 9999px;
        display: inline-flex;
        height: 2.35rem;
        justify-content: center;
        min-width: 2.35rem;
        padding: 0 .65rem;
        white-space: nowrap;
    }

    .site-nav-products {
        border: 1px solid #d4d4d8;
    }

    .site-nav-icon {
        display: block;
    }

    .site-nav-products span,
    .site-nav-label {
        display: none;
    }

    main > section {
        padding-left: .85rem !important;
        padding-right: .85rem !important;
    }

    .home-hero {
        padding-top: 0;
    }

    .home-hero-grid {
        padding-bottom: 1.4rem;
        padding-top: .85rem;
    }

    .home-hero h1,
    .page-title {
        font-size: 1.55rem;
        line-height: 1.9rem;
    }

    .home-hero p {
        line-height: 1.55rem;
    }

    .home-carousel {
        aspect-ratio: auto;
        height: clamp(205px, 58vw, 245px);
    }

    .home-carousel-track {
        height: 100%;
    }

    .home-carousel-slide,
    .home-carousel-image {
        height: 100%;
    }

    .home-carousel-image {
        object-fit: fill;
        object-position: center center;
        width: 100%;
    }

    .home-carousel-content {
        left: .95rem;
        max-width: min(70%, 17rem);
        top: 50%;
        transform: translateY(-50%);
    }

    .home-carousel-content p {
        font-size: .68rem;
    }

    .home-carousel-content h1 {
        font-size: clamp(1.15rem, 6vw, 1.55rem);
        line-height: 1.12;
    }

    .home-carousel-content a {
        font-size: .82rem;
        margin-top: .75rem;
        min-height: 2.35rem;
        padding: 0 .9rem;
        width: auto;
    }

    .home-carousel-control {
        height: 2rem;
        width: 2rem;
    }

    .home-actions a {
        align-items: center;
        display: inline-flex;
        justify-content: center;
        min-height: 2.75rem;
        width: 100%;
    }

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

    .category-sidebar,
    .account-sidebar {
        border-radius: .5rem;
        max-height: none;
        overflow: visible;
    }

    .category-sidebar {
        border-radius: 0;
        bottom: 0;
        box-shadow: 10px 0 30px rgba(0, 0, 0, .18);
        left: 0;
        max-width: 88vw;
        overflow-y: auto;
        padding: 1rem;
        position: fixed;
        top: 0;
        transform: translateX(-105%);
        transition: transform .2s ease;
        width: 320px;
        z-index: 70;
    }

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

    .category-filter-button {
        align-items: center;
        display: inline-flex;
        gap: .5rem;
        justify-content: center;
        min-height: 2.75rem;
        width: 100%;
    }

    .category-filter-close {
        display: inline-flex;
    }

    .category-filter-backdrop {
        background: rgba(0, 0, 0, .35);
        bottom: 0;
        left: 0;
        opacity: 0;
        pointer-events: none;
        position: fixed;
        right: 0;
        top: 0;
        transition: opacity .2s ease;
        z-index: 60;
    }

    .category-filter-backdrop.is-open {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }

    .category-sidebar nav {
        display: grid;
        gap: .35rem;
        max-height: none;
        overflow-y: visible;
        padding-right: .15rem;
    }

    .category-sidebar nav > div {
        padding-top: .25rem;
    }

    .category-sidebar nav a {
        line-height: 1.25rem;
        padding-bottom: .55rem;
        padding-top: .55rem;
        white-space: normal;
    }

    .category-sidebar nav .ml-3 {
        margin-left: .4rem;
        padding-left: .55rem;
    }

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

    .product-card {
        border: 1px solid #d4d4d8 !important;
        border-radius: .5rem;
        box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
        display: flex;
        flex-direction: column;
    }

    .product-card > a {
        background: #fafafa;
        border-bottom: 1px solid #e4e4e7;
    }

    .product-card img {
        aspect-ratio: 4 / 3;
        height: auto;
        max-height: 190px;
        object-fit: contain;
        padding: .65rem;
        width: 100%;
    }

    .product-card > div {
        padding: 1rem;
    }

    .product-card .min-h-20 {
        min-height: 4.25rem;
    }

    .product-card .flex.items-center.justify-between {
        align-items: center;
        flex-direction: row;
        gap: .75rem;
    }

    .product-card button {
        min-height: 2.65rem;
    }

    .product-detail {
        gap: 1rem;
        padding-top: 1rem;
    }

    .product-detail-image img {
        max-height: 280px;
        object-fit: contain;
    }

    .product-detail-info h1 {
        font-size: 1.55rem;
        line-height: 1.9rem;
    }

    .product-detail-form {
        display: grid;
        grid-template-columns: 5rem 1fr;
    }

    .cart-row {
        grid-template-columns: 78px 1fr;
    }

    .cart-row img {
        height: 78px;
        width: 78px;
    }

    .cart-actions {
        grid-column: 1 / -1;
        justify-content: space-between;
    }

    .cart-actions form:first-child {
        flex: 1;
    }

    .cart-actions input {
        flex: 1;
        width: auto;
    }

    .checkout-grid,
    .account-dashboard {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-top: 1rem;
    }

    .checkout-grid form,
    .checkout-grid aside,
    .account-dashboard form,
    .account-dashboard aside {
        border-radius: .5rem;
        padding: 1rem;
    }

    .account-sidebar {
        order: -1;
    }

    .account-sidebar nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .account-sidebar nav a:nth-child(3) {
        grid-column: 1 / -1;
    }

    .floating-whatsapp {
        bottom: .85rem !important;
        padding: .8rem !important;
        right: .85rem !important;
    }

    .floating-whatsapp span {
        display: none;
    }

    footer {
        margin-top: 2.5rem !important;
    }
}

@media (max-width: 420px) {
    .site-header-inner {
        gap: .45rem;
    }

    .site-nav {
        gap: .3rem;
    }

    .site-nav a {
        min-width: 2.2rem;
        padding: 0 .55rem;
    }

    .product-card img {
        max-height: 170px;
    }
}
