/* Product View Page Styles */

/* Product Images */
.product-main-image {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.product-main-image img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    transition: transform 0.3s ease;
    background: #efefef;
}

.product-main-image:hover img {
    transform: scale(1.05);
}

.product-thumbnails .thumbnail {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.product-thumbnails .thumbnail img {
    height: 120px;
    width: 100%;
    object-fit: contain;
    background: #efefef;
}

.product-thumbnails .thumbnail.active {
    border-color: var(--primary-color);
}

.product-thumbnails .thumbnail:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Product Details */
.product-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-color);
}

/* Rent/Buy Toggle */
.toggle-container {
    background-color: #f8f9fa;
    border-radius: 30px;
    padding: 5px;
    display: inline-block;
}

.toggle-options {
    display: flex;
}

.toggle-option {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.toggle-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.option-label {
    display: block;
    padding: 8px 25px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.toggle-option input:checked + .option-label {
    background-color: var(--primary-color);
    color: white;
}

/* Price Styling */
.current-price {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0;
}

.original-price {
    font-size: 1.2rem;
    color: #6c757d;
}

.discount-badge {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Tenure Options */
.tenure-options {
    margin-bottom: 20px;
}

.tenure-option {
    display: block;
    position: relative;
    cursor: pointer;
    margin-bottom: 0;
}

.tenure-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.tenure-label {
    display: block;
    padding: 10px;
    text-align: center;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tenure-option input:checked + .tenure-label {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.tenure-option:hover .tenure-label {
    border-color: var(--primary-color);
}

.tenure-option.custom input:checked + .tenure-label {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border-color: var(--secondary-color);
}

/* Custom Date Range */
.custom-date-range {
    display: none;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.custom-date-range.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.date-range-summary {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    padding: 10px 15px;
    border-radius: 6px;
    margin-top: 15px;
    font-weight: 500;
    text-align: center;
    display: none;
}

.date-range-summary.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Product Tabs */
.product-info-tabs .nav-tabs {
    border-bottom: none;
}

.product-info-tabs .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    border: 1px solid #dee2e6;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 12px 20px;
    margin-right: 5px;
}

.product-info-tabs .nav-link.active {
    color: var(--primary-color);
    background-color: white;
    border-bottom: none;
}

.product-info-tabs .tab-content {
    background-color: white;
}

/* Reviews Section */
.overall-rating .rating-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.overall-rating .stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.review-rating {
    color: #ffc107;
}

/* Related Products Swiper */
.related-products-swiper {
    padding-bottom: 50px;
}

.related-products-swiper .swiper-button-next,
.related-products-swiper .swiper-button-prev {
    color: var(--primary-color);
}

.related-products-swiper .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .product-title {
        font-size: 1.5rem;
    }

    .current-price {
        font-size: 1.5rem;
    }

    .product-info-tabs .nav-link {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .toggle-option .option-label {
        padding: 8px 15px;
    }

    .product-thumbnails .col-3 {
        padding-left: 5px;
        padding-right: 5px;
    }
}

.price-container {
    position: relative;
}
.price-container .discount-badge {
    position: relative;
    top: 0px;
    right: 0px;
    left: 30px;
}
/* #rent-option .tenure-options .tenure-option {
    border: 0px solid #dee2e6 !important;
    border-radius: 0px !important;
    padding: 0px -px !important;
} */