/* Tarjetas y controles de productos. */
.cliente-category-card:first-child {
    grid-column: span 2;
    grid-row: span 1
}

.cliente-category-card:nth-child(2) {
    grid-column: span 1;
    grid-row: span 1
}

.cliente-category-card:nth-child(3) {
    grid-column: span 1;
    grid-row: span 2
}

.cliente-category-card:nth-child(4) {
    grid-column: span 2;
    grid-row: span 1
}

@media(max-width:900px) {

    .cliente-category-card:first-child,
    .cliente-category-card:nth-child(2),
    .cliente-category-card:nth-child(3),
    .cliente-category-card:nth-child(4) {
        grid-column: span 1;
        grid-row: span 1
    }
}

.cliente-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.cliente-product-card {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 5px 20px #1d130c1a;
    transition: transform .2s
}

.cliente-product-card:hover {
    transform: translateY(-3px)
}

.cliente-product-card>img {
    width: 100%;
    height: 210px;
    object-fit: cover
}

.cliente-product-body {
    padding: 16px
}

.cliente-product-body h2 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 850
}

.cliente-product-body p {
    min-height: 40px;
    margin: 0 0 15px;
    color: #718096;
    font-size: .88rem
}

.cliente-product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px
}

.cliente-product-bottom strong {
    font-size: 1.1rem
}

.btn-agregar-producto,
.btn-confirmar-pedido {
    border: 0;
    border-radius: 9px;
    background: #b52f27;
    color: #fff;
    padding: 9px 14px;
    font-weight: 800;
    cursor: pointer
}

.btn-agregar-producto:hover,
.btn-confirmar-pedido:hover {
    background: #8d211c
}

.cliente-subtabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 24px
}

.cliente-subtabs a {
    padding: 9px 16px;
    border-radius: 99px;
    border: 1px solid #eaded8;
    color: #8d2923;
    text-decoration: none;
    font-weight: 750
}

.cliente-subtabs a.active,
.cliente-subtabs a:hover {
    background: #b52f27;
    color: #fff
}

@media(max-width:760px) {
    .cliente-products-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:500px) {
    .cliente-products-grid {
        grid-template-columns: 1fr
    }
}