/* Model Detail Page Styles */

.col-lg-7 {
    overflow: hidden; /* Ensure content doesn't spill out */
}

.product-info-card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--bg-tertiary);
    position: relative; /* Needed for z-index to work */
    z-index: 1; /* Ensure it's above other elements if they overlap */
}

.product-title {
    color: var(--primary-purple);
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.product-price {
    color: var(--yellow);
    font-size: 2rem;
    font-weight: bold;
}

.product-description p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.product-meta p {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-meta p strong {
    color: var(--primary-purple);
    margin-right: 10px;
}

/* Designer Card */
.designer-card {
    background-color: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--bg-tertiary);
    display: flex;
    align-items: center;
}

.designer-avatar img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 1.5rem;
    border: 3px solid var(--primary-purple);
}

.designer-name {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: bold;
}

.designer-stats {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Swiper Slider Styles */
.swiper-container {
    max-width: 100%; /* Ensure Swiper container respects its parent's width */
    box-sizing: border-box;
}

.main-slider .swiper-slide {
    text-align: center;
    background: var(--bg-dark);
    border-radius: 8px;
    overflow: hidden;
}

.main-slider .swiper-slide img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

.thumbs-slider {
    height: 100px;
    box-sizing: border-box;
    padding: 10px 0;
}

.thumbs-slider .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.6;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: opacity 0.3s ease, border-color 0.3s ease;
}

.thumbs-slider .swiper-slide:hover {
    opacity: 1;
}

.thumbs-slider .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--primary-purple);
}

.thumbs-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary-purple);
}
