/* ───── HERO ───── */
.showcase-solution .hero {
    min-height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    background: #c4c5d2;
}

.showcase-solution .hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 20px;
    /* height: 100%; */
    min-height: 300px;
    position: relative;
    padding-bottom: 55px;
}

.showcase-solution .hero-tag {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #252a57;
    background: #eef0fa;
    padding: 4px 12px;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 16px;
}

.showcase-solution .hero-title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 12px;
}

.showcase-solution .hero-sub {
    font-size: 16px;
    color: #666;
}

.showcase-solution .hero-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
}

.showcase-solution .hero-right::before {
    content: "";
    position: absolute;
    inset: 0;

    /* chỉnh màu này theo màu nền bên trái */
    background: linear-gradient(to right,
            #c4c5d2 0%,
            rgba(233, 233, 239, 0.8) 20%,
            rgba(233, 233, 239, 0.4) 40%,
            rgba(233, 233, 239, 0) 70%);

    pointer-events: none;
}

.showcase-solution .hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ───── TABS ───── */
.showcase-solution .tabs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* border-bottom: 2px solid #eee; */
    margin-bottom: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #FFF;
    border-radius: 8px 8px 0 0;
}

.showcase-solution .tabs-header::after {
    content: "";
    position: absolute;
    top: 0px;
    right: -5px;
    width: 190px;
    height: 100%;
    background: linear-gradient(to left, #c4c5d2, white);
    z-index: 1;
}

.showcase-solution .tab-bar {
    display: flex;
    gap: 0;
    border-bottom: none;
}

.showcase-solution .sort-solution {
    text-align: right;
    margin-top: 20px;
}

.showcase-solution .sort-solution select {
    padding: 8px 16px;
    border: 1px solid #ececf4;
    border-radius: 8px;
    font-size: 14px;
    color: #252a57;
    background-color: #fff;
    cursor: pointer;
    min-width: 150px;
    font-weight: 500;
}

.showcase-solution .tab-bar button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    font-size: 18px;
    color: #888;
    font-weight: 500;
    border-bottom: 2.5px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.showcase-solution .tab-bar button.active {
    color: #252a57;
    border-bottom-color: #252a57;
}

.showcase-solution .tab-bar button:hover {
    color: #252a57;
}

/* ───── CARDS SECTION ───── */
.showcase-solution .section-cards {
    padding: 30px 0;
}

.showcase-solution .cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.showcase-solution .card {
    background: #fff;
    /* border-radius: 12px; */
    overflow: hidden;
    border: 1px solid #ececf4;
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
    display: none;
}

.showcase-solution .card.visible {
    display: block;
}

.showcase-solution .card-thumb {
    padding-bottom: 68.3%;
}

.showcase-solution .card-body {
    padding: 18px 20px 22px;
}

.showcase-solution .card-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #252a57;
    background: #eef0fa;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
    display: none;
}

.showcase-solution .card-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin: 0 0 6px;
    line-height: 1.35;
}

.showcase-solution .card-desc {
    font-size: 14px;
    color: #666;
    margin: 0 0 12px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 43px;
}

.showcase-solution .card-location {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    margin-bottom: 10px;
}

.showcase-solution .card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 600;
    color: #252a57;
    text-decoration: none;
    border-bottom: 1.5px solid #252a57;
    padding-bottom: 1px;
}

.showcase-solution .card:hover .card-link-arrow {
    transform: translateX(3px);
    transition: transform 0.2s;
}

.showcase-solution .card-link-arrow {
    transition: transform 0.2s;
}

/* ───── BOTTOM BAR ───── */
.showcase-solution .bottom-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-top: 1px solid #ececf4;
}

.showcase-solution .bottom-cta {
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    border-right: 1px solid #ececf4;
}

.showcase-solution .bottom-cta-text {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    line-height: 1.4;
}

.showcase-solution .bottom-cta-text span {
    color: #252a57;
    font-style: italic;
}

.showcase-solution .cta-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.showcase-solution .btn-primary {
    background: #252a57;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.showcase-solution .btn-primary:hover {
    background: #1a1e3f;
}

.showcase-solution .btn-secondary {
    background: #fff;
    color: #252a57;
    border: 1.5px solid #252a57;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.showcase-solution .btn-secondary:hover {
    background: #eef0fa;
}

.showcase-solution .bottom-combos {
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.showcase-solution .combos-title {
    font-size: 11px;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.showcase-solution .combo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #ececf4;
    border-radius: 10px;
    transition: border-color 0.2s, background 0.2s;
    cursor: pointer;
}

.showcase-solution .combo-item:hover {
    border-color: #252a57;
    background: #f7f8fd;
}

.showcase-solution .combo-label {
    font-size: 14px;
    font-weight: 600;
    color: #252a57;
    flex: 1;
}

.showcase-solution .combo-icons {
    display: flex;
    gap: 6px;
    align-items: center;
}

.showcase-solution .combo-icon {
    width: 30px;
    height: 30px;
    background: #eef0fa;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991px) {
    .showcase-solution .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-solution .tabs-header::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .showcase-solution .tabs-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        border-bottom: none;
    }

    .showcase-solution .tab-bar {
        width: 100%;
        overflow-x: auto;
        border-bottom: 2px solid #eee;
        padding-bottom: 2px;
    }

    .showcase-solution .sort-solution {
        width: 100%;
    }

    .showcase-solution .cards-grid {
        grid-template-columns: 1fr;
    }

    .showcase-solution .hero-title {
        font-size: 24px;
        text-align: center;
    }

    .showcase-solution .bottom-bar {
        grid-template-columns: 1fr;
    }

    .showcase-solution .hero-right {
        width: 100%;
    }

    .showcase-solution .hero-right::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: none;
        background-color: rgba(0, 0, 0, .5);
    }

    .showcase-solution .hero-left {
        position: relative;
        z-index: 1;
        color: #FFF;
        text-align: center;
        padding-right: 0;
    }

    .showcase-solution .hero {
        min-height: 200px;
    }

    .showcase-solution .section-cards {
        padding: 15px 0 30px;
    }

    .showcase-solution .hero-sub {
        color: #FFF;
    }

    .product-related {
        margin-top: 30px;
    }

    .product-related .title {
        font-size: 20px;
    }
}