.sbv2-wrapper {
    position: relative;
    overflow: visible;
    margin: 0;
    padding: 0;
}

/* START: KOL_Sliding_Banner_V2 News Card Layout */
.sbv2-news-card {
    display: flex;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
    border-radius: 0;
    width: 100%;
    box-sizing: border-box;
}

html.dark-mode .sbv2-news-card {
    background: transparent;
}

html.light-mode .sbv2-news-card {
    background: transparent;
}

.sbv2-news-card-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    margin: 0;
    padding: 0;
}

.sbv2-news-card-inner {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 0;
    margin: 0;
    padding: 0;
}

.sbv2-news-image {
    flex-shrink: 0;
    width: 50%;
    height: 100%;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.sbv2-news-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sbv2-news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 20px;
    min-height: 220px;
}

.sbv2-news-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 8px 0;
    padding: 0;
    line-height: 1.4;
}

html.dark-mode .sbv2-news-title {
    color: #e0e0e0;
}

html.light-mode .sbv2-news-title {
    color: #1f2937;
}

.sbv2-news-title a {
    text-decoration: none;
}

html.dark-mode .sbv2-news-title a {
    color: #e0e0e0;
}

html.light-mode .sbv2-news-title a {
    color: #1f2937;
}

.sbv2-news-category {
    display: none;
}

.sbv2-news-snippet {
    font-size: 14px;
    margin: 0 0 12px 0;
    padding: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

html.dark-mode .sbv2-news-snippet {
    color: #b0b0b0;
}

html.light-mode .sbv2-news-snippet {
    color: #6b7280;
}

.sbv2-read-more {
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    width: fit-content;
    cursor: pointer;
}

html.dark-mode .sbv2-read-more {
    color: #3d9d3d;
}

html.light-mode .sbv2-read-more {
    color: #2d7c2d;
}

html.dark-mode .sbv2-read-more:hover {
    color: #2d7c2d;
    text-decoration: underline;
}

html.light-mode .sbv2-read-more:hover {
    color: #1f5f1f;
    text-decoration: underline;
}

.sbv2-news-footer {
    display: none;
}

.sbv2-news-actions {
    display: none;
}
/* END: KOL_Sliding_Banner_V2 News Card Layout */

html.dark-mode .sbv2-slider {
    position: relative;
    border-radius: 11px;
    margin-bottom: 20px;
    margin-top: 0;
    background: linear-gradient(to bottom, #575454 0%, #2a2a2a 40%, #2a2a2a 100%);
    border: 1px solid #3a3a3a;
    height: 100%;
    display: flex;
    flex-direction: column;
}

html.light-mode .sbv2-slider {
    position: relative;
    border-radius: 11px;
    margin-bottom: 20px;
    margin-top: 0;
    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 40%, #ffffff 100%);
    border: 1px solid #d0d0d0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

html.dark-mode .kol-random-products-container,
html.light-mode .kol-random-products-container {
    flex: 1;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

html.dark-mode .sbv2-slider-list,
html.light-mode .sbv2-slider-list {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    border-radius: 11px;
}



html.dark-mode .sbv2-item:not(.kol-product-card),
html.light-mode .sbv2-item:not(.kol-product-card) {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 100%;
    gap: 0;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    position: relative;
    list-style: none;
}

html.dark-mode .sbv2-slider-list .sbv2-item,
html.light-mode .sbv2-slider-list .sbv2-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    list-style: none;
    margin: 0;
    padding: 0;
}

html.dark-mode .sbv2-slider-list .kol-product-card,
html.light-mode .sbv2-slider-list .kol-product-card {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

html.dark-mode .sbv2-slider-list .sbv2-item.active,
html.light-mode .sbv2-slider-list .sbv2-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    display: flex;
    align-items: stretch;
}

html.dark-mode .sbv2-image,
html.light-mode .sbv2-image {
    width: 40%;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    padding: 20px;
    margin: 0;
    box-sizing: border-box;
}

html.dark-mode .sbv2-image img,
html.light-mode .sbv2-image img {
    max-width: 90%;
    max-height: 90%;
    width: 90%;
    height: auto;
    object-fit: contain;
    display: block;
}

html.dark-mode .sbv2-info,
html.light-mode .sbv2-info {
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2px 20px 2px 20px;
    margin: 0;
    box-sizing: border-box;
    position: relative;
}

html.dark-mode .sbv2-title-wrapper,
html.light-mode .sbv2-title-wrapper {
    margin-bottom: 10px;
    margin-top: 0;
}

html.dark-mode .sbv2-title,
html.light-mode .sbv2-title {
    font-size: 2em;
    margin: 0;
    padding: 0;
    font-weight: bold;
    line-height: 1.1;
}

html.dark-mode .sbv2-title {
    color: white;
}

html.light-mode .sbv2-title {
    color: #333333;
}

html.dark-mode .sbv2-title a {
    color: white;
    text-decoration: none;
}

html.light-mode .sbv2-title a {
    color: #333333;
    text-decoration: none;
}

html.dark-mode .sbv2-title a:hover {
    color: #ccc;
}

html.light-mode .sbv2-title a:hover {
    color: #000000;
}

html.dark-mode .sbv2-description,
html.light-mode .sbv2-description {
    font-size: 0.95em;
    margin: 10px 0 0 0;
    padding: 0;
    line-height: 1.4;
}

html.dark-mode .sbv2-description {
    color: white;
}

html.light-mode .sbv2-description {
    color: #333333;
}

html.dark-mode .sbv2-details,
html.light-mode .sbv2-details {
    margin: 10px 0 0 0;
    padding: 0;
    font-size: 0.9em;
}

html.dark-mode .sbv2-category,
html.light-mode .sbv2-category {
    display: block;
    color: #e0e0e0;
    margin-bottom: 5px;
    margin-top: 0;
}

html.light-mode .sbv2-category {
    color: #666666;
}

html.dark-mode .sbv2-category a,
html.light-mode .sbv2-category a {
    color: #4CAF50;
    text-decoration: none;
}

html.dark-mode .sbv2-category a:hover,
html.light-mode .sbv2-category a:hover {
    text-decoration: underline;
}

html.dark-mode .sbv2-item-tags,
html.light-mode .sbv2-item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}

html.dark-mode .sbv2-item-tag {
    display: inline-block;
    background: #555;
    color: #fff;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.85em;
}

html.light-mode .sbv2-item-tag {
    display: inline-block;
    background: #ccc;
    color: #333;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.85em;
}

html.dark-mode .sbv2-item-rating,
html.light-mode .sbv2-item-rating {
    margin-top: 5px;
}

html.dark-mode .sbv2-meta,
html.light-mode .sbv2-meta {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

html.dark-mode .sbv2-price,
html.light-mode .sbv2-price {
    font-size: 1.2em;
    font-weight: bold;
    color: #4CAF50;
}

html.dark-mode .sbv2-actions,
html.light-mode .sbv2-actions {
    display: flex;
    gap: 10px;
    flex-direction: row-reverse;
}

html.dark-mode .sbv2-item-cart-action,
html.light-mode .sbv2-item-cart-action {
    display: flex;
}

html.dark-mode .kol-product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

html.light-mode .kol-product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

html.dark-mode .sbv2-item-cart-action .button,
html.dark-mode .sbv2-remove-btn {
    background: linear-gradient(135deg, #5a5a5a 0%, #3a3a3a 50%, #1a1a1a 100%);
    color: #e0e0e0;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 20px rgba(90, 90, 90, 0.3);
    border: 2px solid #000000;
    display: inline-block;
}

html.dark-mode .kol-product-actions-right {
    display: flex;
    gap: 10px;
    align-items: center;
}

html.light-mode .kol-product-actions-right {
    display: flex;
    gap: 10px;
    align-items: center;
}

html.dark-mode .sbv2-item-cart-action .button:hover,
html.dark-mode .sbv2-remove-btn:hover {
    background: linear-gradient(135deg, #707070 0%, #505050 50%, #303030 100%);
    color: #f0f0f0;
    text-decoration: none;
}

html.light-mode .sbv2-item-cart-action .button,
html.light-mode .sbv2-remove-btn {
    background: linear-gradient(135deg, #d0d0d0 0%, #b0b0b0 50%, #909090 100%);
    color: #333333;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 20px rgba(200, 200, 200, 0.3);
    border: 2px solid #808080;
    display: inline-block;
}

html.dark-mode .kol-product-card .button,
html.light-mode .kol-product-card .button {
    text-decoration: none;
    border: none;
    cursor: pointer;
}

html.dark-mode .kol-product-card .button {
    background: linear-gradient(135deg, #2d7c2d 0%, #1f5f1f 100%);
    color: white;
    border-top: 1px solid #3d9d3d;
    border-left: 1px solid #3d9d3d;
    border-right: 1px solid #1a4d1a;
    border-bottom: 1px solid #1a4d1a;
}

html.light-mode .kol-product-card .button {
    background: linear-gradient(135deg, #e2e2e2 0%, #d4d4d4 100%);
    color: #2d2d2d;
    border-top: 1px solid #f0f0f0;
    border-left: 1px solid #f0f0f0;
    border-right: 1px solid #b0b0b0;
    border-bottom: 1px solid #b0b0b0;
}

html.dark-mode .kol-product-card .button:hover {
    background: linear-gradient(135deg, #3d9d3d 0%, #2d7c2d 100%);
}

html.light-mode .kol-product-card .button:hover {
    background: linear-gradient(135deg, #f0f0f0 0%, #e2e2e2 100%);
}

html.light-mode .sbv2-item-cart-action .button:hover,
html.light-mode .sbv2-remove-btn:hover {
    background: linear-gradient(135deg, #e0e0e0 0%, #c0c0c0 50%, #a0a0a0 100%);
    color: #000000;
    text-decoration: none;
}

html.dark-mode .sbv2-sale-badge,
html.light-mode .sbv2-sale-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #d32f2f;
    color: white;
    padding: 8px 12px;
    border-radius: 3px;
    font-weight: bold;
    font-size: 12px;
    z-index: 5;
}

html.dark-mode .sbv2-dots,
html.light-mode .sbv2-dots {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 9;
    flex-direction: row;
}

html.dark-mode .sbv2-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(to bottom, #606060 0%, #f0f0f0 100%);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

html.light-mode .sbv2-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(to bottom, #d0d0d0 0%, #888888 100%);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

html.dark-mode .sbv2-dot.active,
html.dark-mode .sbv2-dot:hover,
html.light-mode .sbv2-dot.active,
html.light-mode .sbv2-dot:hover {
    background: linear-gradient(to bottom, #808000 0%, #008000 100%);
    opacity: 1;
}

@media (max-width: 1366px) {
    html.dark-mode .sbv2-item,
    html.light-mode .sbv2-item {
        flex-direction: column;
        align-items: stretch;
    }
    
    html.dark-mode .sbv2-image,
    html.light-mode .sbv2-image {
        width: 100%;
        height: 40%;
        padding: 10px;
    }
    
    html.dark-mode .sbv2-info,
    html.light-mode .sbv2-info {
        width: 100%;
        height: 60%;
        padding: 15px 15px 60px 15px;
    }
    
    html.dark-mode .sbv2-title,
    html.light-mode .sbv2-title {
        font-size: 1.4em;
    }
    
    html.dark-mode .sbv2-description,
    html.light-mode .sbv2-description {
        font-size: 0.85em;
    }
    
    html.dark-mode .sbv2-meta,
    html.light-mode .sbv2-meta {
        bottom: 15px;
        right: 15px;
    }
    
    html.dark-mode .sbv2-dots,
    html.light-mode .sbv2-dots {
        bottom: 15px;
        right: 15px;
        flex-direction: row;
    }

    /* START: KOL_Sliding_Banner_V2 Responsive */
    html.dark-mode .kol-product-card-inner,
    html.light-mode .kol-product-card-inner {
        flex-direction: column;
    }

    html.dark-mode .kol-product-card-image,
    html.light-mode .kol-product-card-image {
        width: 100%;
        padding: 10px;
    }

    html.dark-mode .kol-product-card-content,
    html.light-mode .kol-product-card-content {
        flex: 1;
        padding: 12px 15px;
    }

    .sbv2-news-snippet {
        display: -webkit-box;
        -webkit-line-clamp: 6;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    /* END: KOL_Sliding_Banner_V2 Responsive */
}

@media (max-width: 480px) {
    html.dark-mode .sbv2-item,
    html.light-mode .sbv2-item {
        flex-direction: column;
        align-items: stretch;
    }
    
    html.dark-mode .sbv2-image,
    html.light-mode .sbv2-image {
        width: 100%;
        height: 35%;
        padding: 10px;
    }
    
    html.dark-mode .sbv2-info,
    html.light-mode .sbv2-info {
        width: 100%;
        height: 65%;
        padding: 12px 12px 50px 12px;
    }
    
    html.dark-mode .sbv2-title,
    html.light-mode .sbv2-title {
        font-size: 1.2em;
    }
    
    html.dark-mode .sbv2-description,
    html.light-mode .sbv2-description {
        font-size: 0.8em;
    }
    
    html.dark-mode .sbv2-meta,
    html.light-mode .sbv2-meta {
        bottom: 15px;
        right: 12px;
        flex-direction: row;
    }
    
    html.dark-mode .sbv2-item-cart-action .button,
    html.dark-mode .sbv2-remove-btn,
    html.light-mode .sbv2-item-cart-action .button,
    html.light-mode .sbv2-remove-btn {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    html.dark-mode .sbv2-dots,
    html.light-mode .sbv2-dots {
        bottom: 15px;
        right: 15px;
        flex-direction: row;
    }

    /* START: KOL_Sliding_Banner_V2 Mobile */
    html.dark-mode .woocommerce-loop-product__title,
    html.light-mode .woocommerce-loop-product__title {
        font-size: 1em;
    }

    html.dark-mode .kol-product-description,
    html.light-mode .kol-product-description {
        font-size: 0.8em;
    }
    /* END: KOL_Sliding_Banner_V2 Mobile */
}
