.wccp-products,
.wccp-products * {
    box-sizing: border-box;
}
.wccp-products {
    width: 100%;
    max-width: 100%;
    margin: 1.25rem 0;
    color: inherit;
}
.wccp-products .wccp-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    margin: 0 0 20px;
}
.wccp-products .wccp-search,
.wccp-products .wccp-order {
    min-width: 0;
    max-width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid #d9dee7;
    border-radius: 8px;
    background: #fff;
    color: #202733;
    font: inherit;
    line-height: 1.4;
}
.wccp-products .wccp-search {
    flex: 1 1 220px;
}
.wccp-products .wccp-order {
    flex: 0 1 210px;
}
.wccp-products .wccp-toolbar-submit {
    min-height: 42px;
    padding: 9px 16px;
    border: 1px solid #202733;
    border-radius: 8px;
    background: #202733;
    color: #fff;
    cursor: pointer;
    font: inherit;
}
.wccp-products .wccp-grid {
    display: grid;
    grid-template-columns: repeat(var(--wccp-columns-desktop, 4), minmax(0, 1fr));
    gap: var(--wccp-gap, 20px);
    width: 100%;
    align-items: stretch;
}
.wccp-products .wccp-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0 !important;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e7e9ee;
    border-radius: var(--wccp-radius, 12px);
    background: #fff;
    box-shadow: 0 2px 10px rgba(20, 30, 45, .045);
    transition: box-shadow .18s ease, transform .18s ease;
}
.wccp-products .wccp-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(20, 30, 45, .09);
}
.wccp-products .wccp-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: var(--wccp-image-ratio, 1 / 1);
    overflow: hidden;
    background: #f6f6f4;
}
.wccp-products .wccp-card-image > a {
    display: block;
    width: 100%;
    height: 100%;
}
.wccp-products .wccp-card-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover;
    object-position: center;
}
.wccp-products .wccp-sale-badge {
    position: absolute;
    z-index: 1;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #202733;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.wccp-products .wccp-sale-badge-inline {
    position: static;
    align-self: flex-start;
    margin: 0 0 10px;
}
.wccp-products .wccp-card-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 14px;
}
.wccp-products .wccp-product-title {
    width: 100%;
    margin: 0 0 8px !important;
    padding: 0;
    color: #202733;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.wccp-products .wccp-product-title a {
    color: inherit;
    text-decoration: none;
}
.wccp-products .wccp-product-title a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.wccp-products .wccp-rating {
    min-height: 18px;
    margin: 0 0 7px;
    font-size: 13px;
    line-height: 1;
}
.wccp-products .wccp-rating .star-rating {
    float: none;
    display: inline-block;
    margin: 0;
}
.wccp-products .wccp-price {
    width: 100%;
    margin: 0 0 10px;
    color: #202733;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}
.wccp-products .wccp-price del {
    margin-right: 5px;
    color: #858b95;
    font-size: .88em;
    font-weight: 400;
    opacity: .85;
}
.wccp-products .wccp-price ins {
    color: #202733;
    text-decoration: none;
}
.wccp-products .wccp-stock {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1.4;
}
.wccp-products .wccp-in-stock {
    color: #287447;
}
.wccp-products .wccp-out-of-stock {
    color: #a33b36;
}
.wccp-products .wccp-card-actions {
    width: 100%;
    margin-top: auto;
    padding-top: 4px;
}
.wccp-products .wccp-card-actions .button,
.wccp-products .wccp-card-actions a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    margin: 0 !important;
    padding: 10px 13px !important;
    border: 1px solid #202733 !important;
    border-radius: 8px !important;
    background: #202733 !important;
    color: #fff !important;
    font-family: inherit;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.3;
    text-align: center;
    text-decoration: none !important;
    white-space: normal;
    box-shadow: none !important;
    cursor: pointer;
}
.wccp-products.wccp-button-outline .wccp-card-actions .button,
.wccp-products.wccp-button-outline .wccp-card-actions a.button {
    background: transparent !important;
    color: #202733 !important;
}
.wccp-products .wccp-card-actions .button:hover,
.wccp-products .wccp-card-actions a.button:hover {
    opacity: .84;
}
.wccp-products .wccp-no-products,
.wccp-products .wccp-message {
    margin: 0;
    padding: 18px 20px;
    border: 1px solid #e7e9ee;
    border-radius: 10px;
    background: #fafafa;
    color: #4b5563;
}
.wccp-products .wccp-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 26px 0 0;
}
.wccp-products .wccp-page-link,
.wccp-products .wccp-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 7px 12px;
    border: 1px solid #dfe3e9;
    border-radius: 7px;
    background: #fff;
    color: #202733;
    font-size: 13px;
    line-height: 1.2;
    text-decoration: none;
}
.wccp-products .wccp-page-link.is-current {
    border-color: #202733;
    background: #202733;
    color: #fff;
}
.wccp-products .wccp-load-more {
    min-height: 42px;
    padding-right: 22px;
    padding-left: 22px;
    border-color: #202733;
    background: #202733;
    color: #fff;
    font-weight: 650;
}
@media (max-width: 1024px) {
    .wccp-products .wccp-grid {
        grid-template-columns: repeat(var(--wccp-columns-tablet, 3), minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .wccp-products .wccp-grid {
        grid-template-columns: repeat(var(--wccp-columns-mobile, 2), minmax(0, 1fr));
    }
    .wccp-products .wccp-card-content {
        padding: 11px;
    }
    .wccp-products .wccp-product-title {
        font-size: 13px;
    }
    .wccp-products .wccp-price {
        font-size: 14px;
    }
    .wccp-products .wccp-toolbar {
        justify-content: stretch;
    }
    .wccp-products .wccp-search,
    .wccp-products .wccp-order,
    .wccp-products .wccp-toolbar-submit {
        flex: 1 1 100%;
        width: 100%;
    }
    .wccp-products .wccp-card-actions .button,
    .wccp-products .wccp-card-actions a.button {
        min-height: 40px;
        padding: 8px 9px !important;
        font-size: 12px;
    }
}
@media (max-width: 360px) {
    .wccp-products .wccp-card-content {
        padding: 9px;
    }
    .wccp-products .wccp-sale-badge {
        top: 7px;
        left: 7px;
        padding: 4px 7px;
        font-size: 10px;
    }
}
