.cbspc,
.cbspc * {
    box-sizing: border-box;
}
.cbspc {
    --cbspc-accent: #2f4928;
    --cbspc-text: #17364a;
    --cbspc-muted: #8b949e;
    --cbspc-card-bg: #fff;
    --cbspc-card-border: #e8edf2;
    --cbspc-gap: 20px;
    --cbspc-image-height: 180px;
    --cbspc-card-min-height: 340px;
    --cbspc-desktop: 4;
    --cbspc-tablet: 3;
    --cbspc-mobile: 2;
    width: 100%;
    color: var(--cbspc-text);
}
.cbspc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}
.cbspc-heading {
    margin: 0;
    color: var(--cbspc-text);
}
.cbspc-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}
.cbspc-arrow {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(47,73,40,.16);
    border-radius: 999px;
    background: #fff;
    color: var(--cbspc-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(0,0,0,.06);
    transition: transform .18s ease, opacity .18s ease;
}
.cbspc-arrow:hover { transform: translateY(-1px); }
.cbspc-arrow.is-disabled { opacity: .35; cursor: default; pointer-events: none; }
.cbspc-window {
    width: 100%;
    overflow: hidden;
}
.cbspc-track {
    display: flex;
    gap: var(--cbspc-gap);
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    padding: 2px 2px 8px;
}
.cbspc-track::-webkit-scrollbar { display: none; }
.cbspc-slide {
    flex: 0 0 calc((100% - (var(--cbspc-gap) * (var(--cbspc-desktop) - 1))) / var(--cbspc-desktop));
    min-width: 0;
    scroll-snap-align: start;
}
.cbspc-product {
    position: relative;
    min-width: 0;
    min-height: var(--cbspc-card-min-height);
    background: var(--cbspc-card-bg);
    border: 1px solid var(--cbspc-card-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .18s ease, box-shadow .18s ease;
}
.cbspc-product:hover {
    transform: translateY(-2px);
}
.cbspc-product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: var(--cbspc-image-height);
    height: var(--cbspc-image-height);
    text-decoration: none;
    overflow: hidden;
    padding: 14px;
}
.cbspc-product-image img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.cbspc-actions-floating {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
}
.cbspc-wishlist .tinvwl_add_to_wishlist_button,
.cbspc-wishlist a,
.cbspc-wishlist button {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    border: 1px solid rgba(0,0,0,.08) !important;
    color: var(--cbspc-accent) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,.08) !important;
    margin: 0 !important;
}
.cbspc-product-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    flex: 1 1 auto;
}
.cbspc-product-category {
    color: var(--cbspc-muted);
    font-size: 12px;
    line-height: 1.3;
}
.cbspc-product-title {
    color: inherit;
    text-decoration: none;
    line-height: 1.35;
    min-height: 2.7em;
}
.cbspc-price {
    color: var(--cbspc-accent);
    line-height: 1.3;
}
.cbspc-vat {
    color: var(--cbspc-muted);
    font-size: 12px;
    line-height: 1.3;
}
.cbspc-add-cart {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 42px;
    padding: 10px 14px;
    text-decoration: none;
    border: 0;
    line-height: 1.2;
    position: relative;
    overflow: hidden;
}
.cbspc-cart-icon {
    display: inline-flex;
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
}
.cbspc-cart-icon svg {
    width: 100%;
    height: 100%;
}
.cbspc-loader {
    display: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid currentColor;
    border-top-color: transparent;
    animation: cbspcSpin .7s linear infinite;
}
.cbspc-add-cart.loading .cbspc-loader { display: inline-block; }
.cbspc-add-cart.loading .cbspc-cart-icon { display: none; }
@keyframes cbspcSpin { to { transform: rotate(360deg); } }
.cbspc-editor-note {
    border: 1px dashed #ccd5dd;
    padding: 16px;
    background: #fff;
    color: #17364a;
}
@media (max-width: 1024px) {
    .cbspc-slide {
        flex-basis: calc((100% - (var(--cbspc-gap) * (var(--cbspc-tablet) - 1))) / var(--cbspc-tablet));
    }
}
@media (max-width: 767px) {
    .cbspc-top {
        gap: 14px;
    }
    .cbspc-slide {
        flex-basis: calc((100% - (var(--cbspc-gap) * (var(--cbspc-mobile) - 1))) / var(--cbspc-mobile));
    }
    .cbspc-arrow {
        width: 34px;
        height: 34px;
    }
}
