@media (min-width: 992px) {
    .dolozena-storefront .dolu-catalog-layout {
        display: grid;
        grid-template-columns: clamp(220px, 25%, 352px) minmax(0, 1fr);
        column-gap: 8px;
        margin-inline: 0;
    }

    .dolu-catalog-layout > :is(aside, section) {
        width: auto;
        min-width: 0;
        max-width: none;
        padding-inline: 0;
    }
}

.dolozena-storefront .dolozena-commerce-card.dolu-product-card {
    --dolu-card-ink: #1c342b;
    --dolu-card-muted: #52675d;
    --dolu-card-accent: #275c38;
    --dolu-card-line: #dfe8e1;
    display: flex;
    width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
    padding: clamp(6px, .7vw, 11px);
    border: 1px solid var(--dolu-card-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
    container: dolu-product-card / inline-size;
}

.dolozena-storefront .dolozena-commerce-card.dolu-product-card:hover {
    border-color: #bfd3c3;
    transform: none;
}

.dolu-product-card__media {
    position: relative;
    flex: 0 0 auto;
    aspect-ratio: 6 / 7;
    overflow: hidden;
    border-radius: 5px;
    background: #f4f6f4;
}

.dolu-product-card__image {
    position: absolute;
    inset: 0;
    display: block;
    padding: 0;
}

.dolu-product-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dolu-product-card__sale,
.dolu-product-card__rating,
.dolu-product-card__shortcut,
.dolu-product-card__age-link {
    position: absolute;
    z-index: 1;
}

.dolu-product-card__sale {
    inset-block-start: 8px;
    inset-inline-start: 8px;
    padding: 4px 8px;
    border-radius: 4px;
    background: var(--dolu-card-accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 750;
    line-height: 1.25;
}

.dolu-product-card__shortcut {
    inset-inline-end: 7px;
    display: grid;
    width: clamp(30px, 15cqi, 36px);
    height: clamp(30px, 15cqi, 36px);
    place-items: center;
    padding: 0;
    border: 1px solid var(--dolu-card-line);
    border-radius: 50%;
    background: #fff;
    color: var(--dolu-card-accent);
    font-size: 0.875rem;
    line-height: 1;
}

.dolu-product-card__favorite { inset-block-start: 7px; }
.dolu-product-card__preview { inset-block-end: 7px; }

.dolu-product-card__shortcut:hover {
    border-color: var(--dolu-card-accent);
    background: #edf5ee;
}

.dolu-product-card__rating {
    inset-block-end: 7px;
    inset-inline-start: 7px;
    display: inline-flex;
    min-height: 25px;
    align-items: center;
    gap: 5px;
    padding: 3px 7px;
    border: 1px solid var(--dolu-card-line);
    border-radius: 5px;
    background: #fff;
    color: var(--dolu-card-ink);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.dolu-product-card__rating i { color: #936000; }
.dolu-product-card__rating small { color: var(--dolu-card-muted); }

.dolu-product-card__content {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    padding: 10px 3px 2px;
}

.dolu-product-card__title {
    margin: 0;
    color: var(--dolu-card-ink);
    font-size: clamp(13px, 6.8cqi, 16px);
    font-weight: 650;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.dolozena-storefront .dolu-product-card .dolu-product-card__title a {
    display: block;
    color: inherit;
}

.dolu-product-card__title a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.dolu-product-card__brand {
    display: block;
    margin-block-end: 3px;
    color: var(--dolu-card-accent);
    font-size: 0.83em;
    font-weight: 800;
}

.dolu-product-card__name,
.dolu-product-card__description {
    display: -webkit-box;
    min-block-size: 2.7em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.dolu-product-card__description {
    margin: 0;
    color: var(--dolu-card-muted);
    font-size: clamp(11px, 5cqi, 13px);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.dolu-product-card__prices {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 3px 7px;
    margin-block-start: 3px;
    padding-block: 0 2px;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

.dolu-product-card__prices strong {
    color: var(--dolu-card-ink);
    font-size: clamp(14px, 7.7cqi, 20px);
    font-weight: 800;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
}

.dolu-product-card__prices > :is(del, span) {
    color: var(--dolu-card-muted);
    font-size: clamp(10px, 5cqi, 13px);
    overflow-wrap: anywhere;
}

.dolu-product-card__prices > .dolu-product-card__discount {
    color: var(--dolu-card-accent);
    font-weight: 750;
}

.dolu-product-card__offer {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding-block: 7px 2px;
    border-block-start: 1px solid var(--dolu-card-line);
    color: var(--dolu-card-accent);
    font-size: 0.75rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.dolu-product-card__offer span { display: block; }

.dolozena-storefront .dolu-product-card .dolu-product-card__purchase.dolozena-card-cart-form {
    display: block;
    width: 100%;
    min-width: 0;
    margin: auto 0 0;
    padding: 7px 0 0;
    border: 0;
    background: transparent;
}

.dolu-product-card__buy-row {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px;
    padding-block-start: 8px;
    border-block-start: 1px solid var(--dolu-card-line);
}

.dolu-product-card__buy-row:not(:has(.dolu-product-card__controls)) {
    grid-template-columns: minmax(0, 1fr);
}

.dolu-product-card__controls {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 5px;
}

.dolu-product-card__quantity-label {
    color: var(--dolu-card-muted);
    font-size: 0.7rem;
    font-weight: 650;
}

.dolozena-storefront .dolu-product-card .dolu-product-card__controls > .dolozena-card-quantity {
    display: grid;
    width: 94px;
    min-width: 0;
    max-width: 100%;
    height: 36px;
    grid-template-columns: minmax(0, 25px) minmax(26px, 1fr) minmax(0, 25px);
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--dolu-card-line);
    border-radius: 6px;
    background: #fff;
}

.dolu-product-card .dolozena-card-quantity :is(button, input) {
    width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 0;
}

.dolozena-storefront .dolu-product-card .dolu-product-card__buy-row > .dolozena-card-add-button {
    display: inline-flex;
    width: auto;
    min-width: 0;
    height: 36px;
    min-height: 36px;
    grid-column: -2 / -1;
    grid-row: 1;
    align-items: center;
    justify-content: center;
    padding: 5px clamp(6px, 4cqi, 13px);
    border: 1px solid var(--dolu-card-accent);
    border-radius: 6px;
    background: var(--dolu-card-accent);
    box-shadow: none;
    color: #fff;
    font-size: clamp(11px, 5.3cqi, 13px);
    font-weight: 750;
    line-height: 1.15;
    text-align: center;
    text-transform: none;
    white-space: nowrap;
}

.dolozena-storefront .dolu-product-card .dolu-product-card__buy-row > .dolozena-card-add-button:hover:not(:disabled) {
    border-color: #1e482b;
    background: #1e482b;
    color: #fff;
}

.dolozena-storefront .dolu-product-card .dolu-product-card__buy-row > .dolozena-card-add-button:disabled:not(.is-loading) {
    border-color: var(--dolu-card-line);
    background: #f3f6f4;
    color: var(--dolu-card-muted);
    opacity: 1;
    white-space: normal;
}

.dolu-product-card .dolozena-card-add-button i { display: none; }

.dolu-product-card__facts {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    gap: 3px 8px;
    margin-block-start: 5px;
    color: var(--dolu-card-muted);
    font-size: 0.65rem;
    line-height: 1.25;
}

.dolu-product-card__facts:not(:has(> span)) { display: none; }

.dolu-product-card__sku {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dolu-product-card :is(a, button, input):focus-visible {
    outline: 2px solid #35734d;
    outline-offset: -2px;
}

@container dolu-product-card (max-width: 230px) {
    .dolu-product-card__quantity-label { display: none; }
}

@container dolu-product-card (max-width: 177px) {
    .dolozena-storefront .dolu-product-card .dolu-product-card__buy-row > .dolozena-card-add-button:is(:not(:disabled), .is-loading) {
        width: 36px;
        padding-inline: 0;
    }

    .dolozena-storefront .dolu-product-card .dolu-product-card__buy-row > .dolozena-card-add-button:is(:not(:disabled), .is-loading) i {
        display: inline-block;
        font-size: 16px;
    }

    .dolu-product-card__buy-row > .dolozena-card-add-button:is(:not(:disabled), .is-loading) span {
        position: absolute;
        width: 1px;
        height: 1px;
        clip-path: inset(50%);
        overflow: hidden;
        white-space: nowrap;
    }
}

[data-dolu-empty-product-card] { display: none !important; }

.dolu-product-card__age-link {
    inset: 0;
    width: max-content;
    max-width: calc(100% - 16px);
    height: fit-content;
    margin: auto;
    padding: 4px 8px;
    border: 1px solid var(--dolu-card-line);
    border-radius: 6px;
    background: #fff;
    color: var(--dolu-card-ink);
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
}
