/* Estilos específicos da Vitrine */
.store-header {
    background-color: var(--ml-yellow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-bar {
    padding: 10px 15px;
    border-radius: 2px;
    border: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .2);
    font-size: 16px;
    width: 100%;
}

.cart-icon {
    font-size: 26px;
    color: var(--ml-text);
    text-decoration: none;
    position: relative;
    margin-right: 30px;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: 15px;
    background: red;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: bold;
}

/* Grid de Produtos */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.product-card {
    background: #212121;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 7px 16px 0 rgba(0, 0, 0, .1);
}

.product-img {
    width: 100%;
    object-fit: contain;
    border-bottom: 1px solid #ebebeb3e;
    padding: 10px;
    box-sizing: border-box;
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 24px;
    color: var(--ml-text);
    font-weight: 400;
    flex-grow: 1;
    margin-top: -4px;
}

.free-shipping {
    color: var(--ml-green);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.btn-add-cart {
    width: 100%;
    background-color: rgba(255, 47, 0, 0.15);
    color: #ff9e7d;
    font-weight: 600;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-add-cart:hover {
    background-color: rgba(255, 42, 0, 0.29);
}

/* Novas classes para resolver o erro do editor */
.cat-btn {
    padding: 5px 15px;
    font-size: 14px;
    text-decoration: none;
}

.cat-active {
    background-color: var(--ml-blue) !important;
    color: white;
}

.cat-inactive {
    background-color: #ccc !important;
    color: #333;
}

/* Responsividade da Vitrine */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        position: relative;
    }

    form[action="/"] {
        margin: 15px 0 0 0 !important;
        width: 100%;
        order: 3;
    }
}