.zoma-catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    padding: 0 10px;
}

.zoma-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 14px;
    border: 1px solid #e1e7ee;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 4px 16px #182b4510;
    color: #182338;
    font-family: 'BPG Arial', 'BPGMrgvlovani', Arial, sans-serif;
    text-align: left;
}

.zoma-product-card [hidden] { display: none !important; }
.zoma-product-card a:focus-visible,
.zoma-product-card button:focus-visible,
.zoma-product-card input:focus-visible {
    outline: 2px solid #3767aa;
    outline-offset: 2px;
}

.zoma-product-card .zoma-card-link { display: block; color: inherit; text-decoration: none; }
.zoma-card-image {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1.22;
    overflow: hidden;
    padding: 10px;
    border-radius: 13px;
    background: #f5f7fa;
}

.zoma-card-image img {
    position: absolute;
    inset: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    object-fit: contain;
    mix-blend-mode: multiply;
}

.zoma-card-sale {
    position: absolute;
    z-index: 1;
    top: 8px;
    left: 8px;
    padding: 3px 7px;
    border-radius: 6px;
    color: #9c2547;
    background: #fce9ef;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.zoma-card-image .psproductcountdown { position: absolute; bottom: 0; max-width: 100%; }
.zoma-card-title,
.zoma-card-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.zoma-card-title {
    min-height: 2.6em;
    margin: 12px 0 4px;
    color: #182338;
    font: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.zoma-card-description { min-height: 1.4em; margin: 0 0 5px; color: #5f6d7f; font-size: 13px; line-height: 1.4; }
.zoma-card-code { margin-bottom: 8px; color: #5f6d7f; font-size: 11px; overflow-wrap: anywhere; }
.zoma-product-card .zoma-qty-card { display: flex; flex: 1; flex-direction: column; font-family: inherit; }
.zoma-card-pricing { margin: 0 0 10px; }
.zoma-card-price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.zoma-card-price { color: #182338; font-size: 25px; font-weight: 800; line-height: 1.15; white-space: nowrap; }
.zoma-card-price, .zoma-card-price > span, .zoma-card-compare, .zoma-card-add strong { font-family: Arial, Helvetica, sans-serif; font-variant-numeric: tabular-nums; }
.zoma-card-unit, .zoma-card-compare { color: #5f6d7f; font-size: 12px; }
.zoma-card-limits { margin: -4px 0 9px; color: #5f6d7f; font-size: 11px; }
.zoma-card-badge { align-self: center; }
.zoma-card-volume { margin-bottom: 8px; border-top: 1px solid #e8edf3; padding-top: 9px; }
.zoma-card-volume-title { margin: 0 0 7px; color: #4b5b71; font-size: 12px; font-weight: 700; }
.zoma-card-volume .zoma-qty-list { gap: 6px; }
.zoma-card-volume .zoma-qty-tier { gap: 3px; padding: 7px 6px; border-radius: 10px; }
.zoma-card-volume .zoma-qty-tier-head { flex-wrap: wrap; gap: 3px; margin: 0; }
.zoma-card-volume .zoma-qty-badge,
.zoma-card-volume .zoma-qty-tier-from,
.zoma-card-volume .zoma-qty-tier-unit { font-size: 11px; }
.zoma-card-volume .zoma-qty-tier-price { font-size: 13px; }
.zoma-card-volume .zoma-qty-tier .zoma-qty-saving { display: none; }

.zoma-card-pack,
.zoma-card-next {
    margin: 7px 0 0;
    padding: 5px 8px;
    border-radius: 8px;
    background: #eff5fb;
    color: #294f7e;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.zoma-card-next { align-self: flex-start; margin: 0 0 8px; }
.zoma-card-pack:empty,
.zoma-card-next:empty,
.zoma-card-status:empty { display: none; }

.zoma-card-controls { display: grid; gap: 7px; margin-top: auto; }
.zoma-card-stepper {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    min-height: 46px;
    border: 1px solid #ccd7e4;
    border-radius: 10px;
    background: #fff;
}

.zoma-card-stepper button,
.zoma-card-stepper input {
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #182338;
    font: inherit;
    font-weight: 700;
    text-align: center;
}

.zoma-card-stepper input { width: 100%; font-size: 16px; appearance: textfield; }
.zoma-card-stepper input::-webkit-inner-spin-button,
.zoma-card-stepper input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.zoma-card-stepper button { color: #17365f; font-size: 20px; cursor: pointer; }
.zoma-card-stepper button:disabled { color: #8a97a8; cursor: default; }
.zoma-card-stepper button:hover:not(:disabled) { background: #edf3f9; }

.zoma-product-card .zoma-card-add {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    width: 100%;
    padding: 8px 11px;
    border: 0;
    border-radius: 10px;
    background: #15335a;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
    text-decoration: none;
}

.zoma-card-add strong { margin-left: auto; font-size: 14px; white-space: nowrap; }
.zoma-card-add svg { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.zoma-product-card .zoma-card-add:hover { background: #254878; color: #fff; text-decoration: none; }
.zoma-card-add:disabled { opacity: .65; cursor: wait; }
.zoma-card-status, .zoma-card-unavailable { margin: 6px 0 0; color: #23714f; font-size: 12px; overflow-wrap: anywhere; }
.zoma-card-status.is-error, .zoma-card-unavailable { color: #952947; }
.zoma-card-unavailable { margin-top: auto; }

@media (min-width: 992px) {
    .zoma-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 16px; }
}

@media (min-width: 1200px) {
    .zoma-catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
    .zoma-card-volume, .zoma-card-limits { display: none; }
}

@media (max-width: 575px) {
    .zoma-catalog-grid { gap: 8px; padding: 0 8px; }
    .zoma-product-card { padding: 8px; border-radius: 13px; }
    .zoma-card-image { aspect-ratio: 1.14; border-radius: 8px; }
    .zoma-card-title { margin-top: 8px; font-size: 13px; line-height: 1.4; min-height: 2.8em; }
    .zoma-card-description { -webkit-line-clamp: 1; min-height: 1.4em; margin-bottom: 7px; font-size: 11px; }
    .zoma-card-code { display: none; }
    .zoma-card-price { font-size: clamp(16px, 5.2vw, 22px); }
    .zoma-card-unit, .zoma-card-compare { font-size: 10px; }
    .zoma-card-add-label { display: none; }
}
