.dolozena-storefront .dolozena-commerce-card.dolu-product-card {
    --dolu-card-ink: #182638;
    --dolu-card-muted: #556579;
    --dolu-card-gold: #ffba20;
    --dolu-card-line: #dfe5ed;
    display: flex;
    width: 100%;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--dolu-card-line);
    border-radius: 13px;
    background: #fff;
    box-shadow: none;
    container: dolu-product-card / inline-size;
}

.dolu-product-card__media {
    position: relative;
    aspect-ratio: 1.42;
    background: #fff;
}

.dolu-product-card__image {
    position: absolute;
    inset: 0;
    display: block;
    padding: clamp(7px, 4.5cqi, 18px);
}

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

.dolu-product-card__shortcuts {
    position: absolute;
    z-index: 1;
    inset-block-start: 8px;
    inset-inline-end: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dolu-product-card__shortcuts button {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--dolu-card-line);
    border-radius: 50%;
    background: #fff;
    color: var(--dolu-card-ink);
    font-size: 14px;
    line-height: 1;
}

.dolu-product-card__shortcuts button:hover { color: #ac3829; }

@media (hover: hover) and (pointer: fine) {
    .dolu-product-card__shortcuts { opacity: 0; pointer-events: none; }
    .dolu-product-card:is(:hover, :focus-within) .dolu-product-card__shortcuts { opacity: 1; pointer-events: auto; }
}

.dolu-product-card__promotion {
    position: absolute;
    z-index: 1;
    inset-block-start: 8px;
    inset-inline-start: 8px;
    max-width: calc(100% - 52px);
    padding: 3px 6px;
    border-radius: 5px;
    background: #fff1ce;
    color: #603a00;
    font-size: 10px;
    font-weight: 700;
}

.dolu-product-card__content {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 5px;
    padding: clamp(10px, 4.8cqi, 19px);
}

.dolu-product-card__title {
    margin: 0;
    color: var(--dolu-card-ink);
    font-size: clamp(13px, 7.1cqi, 18px);
    font-weight: 750;
    line-height: 1.32;
    overflow-wrap: anywhere;
}

.dolozena-storefront .dolu-product-card .dolu-product-card__title a {
    display: -webkit-box;
    max-height: 2.64em;
    overflow: hidden;
    color: inherit;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.dolu-product-card__title a:hover { text-decoration: underline; text-underline-offset: 2px; }

.dolu-product-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 8px;
    color: var(--dolu-card-muted);
    font-size: clamp(10px, 4.8cqi, 13px);
    line-height: 1.3;
}

.dolu-product-card__rating { white-space: nowrap; }
.dolu-product-card__rating i { color: #9b6200; }

.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: 4px 0 0;
    border: 0;
    background: transparent;
}

.dolu-product-card__buy-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 7px;
}

.dolu-product-card__prices {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: baseline;
    grid-column: 1;
    grid-row: 1;
    gap: 2px 7px;
    padding-block: 1px;
    font-variant-numeric: tabular-nums;
    line-height: 1.18;
    overflow-wrap: anywhere;
}

.dolu-product-card__prices strong {
    color: #925600;
    font-size: clamp(13px, 7.5cqi, 19px);
    font-weight: 800;
    letter-spacing: -.025em;
}

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

.dolozena-storefront .dolu-product-card .dolu-product-card__buy-row > .dolozena-card-add-button {
    display: inline-flex;
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 40px;
    grid-column: 2;
    grid-row: 1;
    align-items: center;
    justify-content: center;
    padding: 6px clamp(7px, 4cqi, 15px);
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--dolu-card-gold);
    box-shadow: none;
    color: #22180a;
    font-size: clamp(11px, 5.55cqi, 14px);
    font-weight: 750;
    letter-spacing: 0;
    line-height: 1.14;
    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) {
    background: #ffc951;
    border-color: #d78a00;
    color: #22180a;
}

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

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

.dolu-product-card__extras {
    margin-top: 8px;
    border-top: 1px solid var(--dolu-card-line);
    color: var(--dolu-card-muted);
    font-size: clamp(10px, 4.9cqi, 12px);
}

.dolu-product-card__extras summary {
    display: flex;
    min-height: 28px;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding: 3px 0 0;
    list-style: none;
    cursor: pointer;
    line-height: 1.22;
}

.dolu-product-card__extras summary::-webkit-details-marker { display: none; }
.dolu-product-card__extras[open] summary i { transform: rotate(180deg); }

.dolu-product-card__extra-content {
    display: grid;
    gap: 8px;
    padding-top: 5px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.dolu-product-card__extra-content p { margin: 0; }
.dolu-product-card__savings strong { color: #925600; }

.dolu-product-card__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 8px;
}

.dolozena-storefront .dolu-product-card .dolu-product-card__extra-content > .dolozena-card-quantity {
    display: grid;
    width: 112px;
    max-width: 100%;
    height: 34px;
    grid-template-columns: 30px minmax(24px, 1fr) 30px;
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--dolu-card-line);
    border-radius: 7px;
    background: #fff;
}

.dolu-product-card :is(a, button, summary):focus-visible {
    outline: 2px solid #356f9e;
    outline-offset: -2px;
}

@container dolu-product-card (max-width: 260px) {
    .dolu-product-card__title { min-height: 2.64em; }
}

@container dolu-product-card (max-width: 185px) {
    .dolozena-storefront .dolu-product-card .dolu-product-card__buy-row > .dolozena-card-add-button:is(:not(:disabled), .is-loading) {
        width: 41px;
        min-height: 41px;
        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: 17px;
    }

    .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;
    }
}
