.via-product-showcase-wrapper {
    --via-shc-primary: #111;
    --via-shc-border: #eaeaea;
    --via-shc-bg: rgba(255, 255, 255, 0.5);
    --via-shc-accent: var(--via-primary-hover);
    --via-shc-radius: 16px;
    position: relative;
    width: 100%;
    font-family: var(--wd-text-font), sans-serif;
}

.via-shc-layout {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

/* LEFT FOCUS */
.via-shc-left {
    flex: 0 0 var(--via-shc-left-width, 50%);
    max-width: var(--via-shc-left-width, 50%);
    display: flex;
    flex-direction: column;
}

.via-shc-focus-card {
    position: relative;
    border-radius: var(--via-shc-radius);
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: row;
    /* Image Left, Content Right */
    align-items: center;
    min-height: 350px;
    overflow: hidden;
    padding: 20px;
    gap: 30px;
}

.via-shc-focus-image-col {
    flex: 0 0 45%;
    max-width: 45%;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
}

.via-shc-focus-img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(0);
    opacity: 1;
}

.via-shc-focus-content-col {
    flex: 1;
    position: relative;
    z-index: 3;
    color: var(--via-shc-primary);
    transform: translateX(0);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1;
}

/* Ảo mộng: Data slides in from the right when updating */
.via-shc-focus-card.updating .via-shc-focus-content-col {
    opacity: 0;
    transform: translateX(40px);
    /* slides right to fade out */
    transition: all 0.3s ease-out;
}

.via-shc-focus-card.updating .via-shc-focus-img {
    opacity: 0;
    transform: translateX(40px) scale(0.95);
    transition: all 0.3s ease-out;
}

/* Initial state for slide-in from right is handled implicitly by transition reset */

.via-shc-focus-cats {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--via-shc-accent);
    margin-bottom: 8px;
    font-weight: 600;
}

.via-shc-focus-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--via-shc-primary);
}

.via-shc-focus-desc {
    font-size: 15px;
    color: #555;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.via-shc-focus-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--via-shc-primary);
    margin-bottom: 20px;
}

.via-shc-focus-price del {
    opacity: 0.5;
    font-size: 18px;
    margin-right: 10px;
    font-weight: normal;
}

.via-shc-focus-price ins {
    text-decoration: none;
    color: var(--via-shc-accent);
}

.via-shc-focus-btn {
    display: inline-block;
    background: var(--via-shc-primary);
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
}

.via-shc-focus-btn:hover {
    background: var(--via-primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* RIGHT HORIZONTAL CAROUSEL */
.via-shc-right {
    flex: 0 0 calc(100% - var(--via-shc-left-width, 50%) - 30px);
    max-width: calc(100% - var(--via-shc-left-width, 50%) - 30px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.via-shc-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--via-shc-border);
}

.via-shc-main-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--via-shc-primary);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 6px solid var(--via-shc-accent, #111);
    padding-left: 15px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

.via-shc-main-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.via-shc-main-title a:hover {
    color: var(--via-shc-accent);
}

.via-shc-nav-btns {
    display: flex;
    gap: 10px;
}

.via-shc-btn-prev,
.via-shc-btn-next {
    background: #fff;
    border: 1px solid var(--via-shc-border);
    color: var(--via-shc-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.via-shc-btn-prev:hover,
.via-shc-btn-next:hover {
    background: var(--via-shc-accent);
    color: #fff;
    border-color: var(--via-shc-accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(179, 45, 46, 0.2);
}

.via-shc-carousel-viewport {
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
}

.via-shc-thumb-track {
    display: flex;
    flex-direction: row;
    gap: 15px;
    /* transition is applied in JS for smooth endless loop */
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    transform: translateX(0);
}

.via-shc-thumb-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    gap: 10px;
    padding: 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 0 0 calc((100% - (var(--via-shc-visible-items) - 1) * 15px) / var(--via-shc-visible-items));
    box-sizing: border-box;
}

.via-shc-thumb-item:hover {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.via-shc-thumb-item.active {
    background: rgba(255, 255, 255, 0.6);
    border-color: var(--via-shc-accent);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.via-shc-thumb-img-wrap {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.via-shc-thumb-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.via-shc-thumb-item:hover .via-shc-thumb-img-wrap img {
    transform: scale(1.1);
}

.via-shc-thumb-meta {
    flex-grow: 1;
}

.via-shc-thumb-cats {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.via-shc-thumb-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--via-shc-primary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .via-shc-layout {
        flex-direction: column;
        gap: 20px;
    }

    .via-shc-left {
        display: none;
    }

    .via-shc-right {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .via-shc-focus-card {
        min-height: 400px;
    }

    .via-shc-thumb-track {
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        /* Disable custom transform sliding for mobile */
    }

    .via-shc-thumb-track::-webkit-scrollbar {
        height: 6px;
    }

    .via-shc-thumb-track::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 10px;
    }

    .via-shc-thumb-item {
        scroll-snap-align: start;
        flex: 0 0 200px;
        height: auto;
    }

    .via-shc-focus-card {
        flex-direction: column;
        padding: 20px;
        min-height: auto;
    }

    .via-shc-focus-image-col {
        flex: 0 0 auto;
        max-width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .via-shc-focus-title {
        font-size: 22px;
    }

    .via-shc-thumb-item {
        flex: 0 0 160px;
    }
}