/* =========================================================
   Tuliba — "Buy It With" Carousel
   Uses the same brand tokens as the Bouquet Builder
   ========================================================= */

.tbt-section{
    --tbt-ink:       #20302B;
    --tbt-pine:      #0E3B3B;
    --tbt-rose:      #B76E79;
    --tbt-rose-soft: #F4E6E4;
    --tbt-cream:     #FBF7F1;
    --tbt-line:      #E7E0D3;

    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--tbt-ink);
    max-width: 1200px;
    margin: 48px auto;
    padding: 0 16px;
}

.tbt-section *{
    box-sizing: border-box;
}

.tbt-header{
    margin-bottom: 22px;
}

.tbt-header h2{
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: 30px;
    color: var(--tbt-pine);
    margin: 0;
}

.tbt-carousel-wrap{
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tbt-carousel{
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 14px;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: var(--tbt-line) transparent;
}

.tbt-carousel::-webkit-scrollbar{
    height: 6px;
}

.tbt-carousel::-webkit-scrollbar-thumb{
    background: var(--tbt-line);
    border-radius: 999px;
}

.tbt-card{
    scroll-snap-align: start;
    flex: 0 0 260px;
    background: #fff;
    border: 1px solid var(--tbt-line);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 12px 28px rgba(14,59,59,.06);
}

.tbt-pair{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.tbt-item{
    flex: 1;
    min-width: 0;
    text-align: center;
}

.tbt-thumb{
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: var(--tbt-rose-soft);
}

.tbt-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tbt-plus{
    flex: 0 0 auto;
    align-self: center;
    color: var(--tbt-rose);
    font-size: 20px;
    font-weight: 700;
    padding-top: 34px;
}

.tbt-name{
    margin: 10px 0 4px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--tbt-pine);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tbt-price{
    margin: 0;
    font-size: 12px;
    color: var(--tbt-rose);
    font-weight: 600;
}

.tbt-total{
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--tbt-line);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--tbt-ink);
}

.tbt-total strong{
    color: var(--tbt-rose);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
}

.tbt-add-both{
    margin-top: 14px;
    width: 100%;
    height: 46px;
    border: 1.5px solid var(--tbt-rose);
    background: #fff;
    color: var(--tbt-rose);
    border-radius: 999px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    transition: background .25s ease, color .25s ease;
}

.tbt-add-both:hover:not(:disabled){
    background: var(--tbt-rose);
    color: #fff;
}

.tbt-add-both:disabled{
    opacity: .7;
    cursor: not-allowed;
}

.tbt-arrow{
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--tbt-line);
    background: #fff;
    color: var(--tbt-pine);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.tbt-arrow:hover{
    background: var(--tbt-pine);
    color: #fff;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 600px){

    .tbt-card{
        flex-basis: 220px;
    }

    .tbt-header h2{
        font-size: 24px;
    }

    .tbt-arrow{
        width: 34px;
        height: 34px;
    }

}
