.join-tribe-section {
    margin: 60px 0;
}

.tribe-carousel {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.tribe-carousel::-webkit-scrollbar {
    display: none;
}

.tribe-card {
    min-width: 238px;
    width: 238px;
    height: 422px;
    /* border: 1px solid red; */
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background-color: #000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.tribe-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    /* Let the card handle clicks */
}

/* Product Info Overlay */
.tribe-product-box {
    position: absolute;
    bottom: 8px;
    left: 8px;
    width: 221px;
    height: 50px;
    background: white;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 6px;
    padding: 4px 6px;
    text-decoration: none;
    z-index: 2;
    /* Ensure above video */
}

.tribe-product-box:hover {
    text-decoration: none;
}

.tribe-product-img-wrapper {
    width: 40px;
    height: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.tribe-product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tribe-product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.tribe-product-name {
    font-size: 13px;
    font-weight: 600;
    color: #000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    margin-bottom: 2px;
}

.tribe-product-price-row {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 1.2;
}

.tribe-cut-price {
    color: #6c757d;
    text-decoration: line-through;
}

.tribe-main-price {
    font-weight: 700;
    color: #000;
}

.tribe-discount {
    color: red;
    font-weight: 500;
}

/* Modal adjustments */
#videoModal .modal-body {
    padding: 0;
    background-color: #000;
}

#videoModal .btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1050;
    background-color: white;
    opacity: 0.8;
}

#videoModal video {
    width: 100%;
    max-height: 80vh;
}