.filter-panel {
    grid-template-columns: 1.4fr 1fr auto;
}

.product-card {
    position: relative;
    background: #fff;
}

.product-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 12px;
}

.product-photo img {
    object-fit: contain;
}

.gallery-counter {
    top: 12px;
    bottom: auto;
}

.product-body {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "name actions"
        "meta actions";
    gap: 3px 12px;
    align-items: center;
    margin: 0;
    padding: 10px 12px 12px;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #151713;
    box-shadow: none;
    text-shadow: none;
}

.product-body h3 {
    grid-area: name;
    overflow: hidden;
    color: #151713;
    font-size: 14px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-meta {
    grid-area: meta;
    justify-content: flex-start;
    gap: 10px;
    margin: 0;
    min-width: 0;
}

.product-price b {
    display: inline;
    color: #151713;
    font-size: 18px;
    line-height: 1;
}

.product-price small {
    display: none;
}

.product-term {
    color: #151713;
    font-size: 10px;
    white-space: nowrap;
}

.product-actions {
    grid-area: actions;
}

.product-actions button {
    min-height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 10px;
    color: #111;
    white-space: nowrap;
}

.cart-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 8px;
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px solid #edf0e9;
}

.cart-services > span {
    grid-column: 1 / -1;
    color: #6f746c;
    font-size: 10px;
    font-weight: 700;
}

.cart-services label {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr);
    gap: 6px;
    align-items: center;
    color: #30342e;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
}

.cart-services input {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: #55b900;
}

@media (max-width: 420px) {
    .product-body {
        grid-template-columns: minmax(0, 1fr) 122px;
        gap: 3px 8px;
        padding-inline: 10px;
    }

    .product-actions button {
        padding-inline: 8px;
        font-size: 10px;
    }
}

@media (max-width: 1020px) {
    .filter-panel {
        grid-template-columns: 1fr 1fr;
    }

    .filter-panel .primary {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .filter-panel {
        grid-template-columns: 1fr;
    }

    .filter-panel .primary {
        grid-column: auto;
    }
}

