/* Core Container */
.bellami-product-container {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 2rem;
    max-width: 1440px;
    margin: 0 auto;
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #1a1a1a;
    padding: 2rem;
}

@media (max-width: 900px) {
    .bellami-product-container {
        grid-template-columns: 1fr;
    }
}

/* Gallery Section */
.bellami-gallery-section {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.bellami-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 80px;
    flex-shrink: 0;
}

.bellami-thumbnails img {
    width: 100%;
    height: auto;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.bellami-thumbnails img.active,
.bellami-thumbnails img:hover {
    border-color: #000;
}

.bellami-main-image {
    flex-grow: 1;
}

.bellami-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .bellami-gallery-section {
        flex-direction: column-reverse;
    }
    .bellami-thumbnails {
        flex-direction: row;
        overflow-x: auto;
        width: 100%;
    }
    .bellami-thumbnails img {
        width: 80px;
    }
}

/* Details Section (Sticky) */
.bellami-details-section {
    position: sticky;
    top: 30px;
    align-self: start;
    padding-left: 2rem;
}

@media (max-width: 900px) {
    .bellami-details-section {
        position: static;
        padding-left: 0;
    }
}

.bellami-badge {
    display: inline-block;
    border: 1px solid #1a1a1a;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.bellami-title {
    font-size: 2.2rem;
    line-height: 1.1;
    font-weight: 700;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
}

.bellami-desc {
    font-size: 14px;
    line-height: 1.5;
    color: #4a4a4a;
    margin-bottom: 1rem;
}

.bellami-price {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

/* Swatches & Selection */
.bellami-select-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 15px;
    color: #4a4a4a;
}

.bellami-tabs {
    display: flex;
    gap: 15px;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 1rem;
    overflow-x: auto;
}

.bellami-tab {
    padding: 10px 0;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #666;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}

.bellami-tab.active {
    color: #000;
    border-bottom-color: #000;
}

/* Custom Dropdown Fake */
.bellami-dropdown {
    width: 100%;
    padding: 12px;
    border: 1px solid #000;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

/* Swatch Grid */
.bellami-swatch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
    gap: 10px;
    margin-bottom: 2rem;
}

.bellami-swatch {
    width: 100%;
    aspect-ratio: 1;
    cursor: pointer;
    border: 2px solid transparent;
    padding: 2px;
    transition: border-color 0.2s;
}

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

.bellami-swatch.active,
.bellami-swatch:hover {
    border-color: #000;
}

/* Length Grid */
.bellami-length-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 2rem;
}

.bellami-length-btn {
    border: 1px solid #e5e5e5;
    background: #fff;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.bellami-length-btn.active,
.bellami-length-btn:hover {
    border-color: #000;
    background: #fafafa;
}

.bellami-length-title {
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

/* Add to Cart */
.bellami-buy-box {
    display: flex;
    gap: 15px;
    height: 50px;
    margin-bottom: 1rem;
}

.bellami-qty {
    display: flex;
    border: 1px solid #e5e5e5;
    width: 120px;
}

.bellami-qty button {
    background: transparent;
    border: none;
    width: 40px;
    cursor: pointer;
    font-size: 18px;
}

.bellami-qty input {
    width: 40px;
    border: none;
    text-align: center;
    font-weight: 600;
}

.bellami-add-to-bag {
    flex-grow: 1;
    background: #000;
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s;
}

.bellami-add-to-bag:hover {
    opacity: 0.8;
}

/* Extras */
.bellami-accordion {
    border-top: 1px solid #e5e5e5;
    margin-top: 2rem;
}

.bellami-accordion-item {
    border-bottom: 1px solid #e5e5e5;
}

.bellami-accordion-title {
    padding: 1rem 0;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}
