﻿/* Product Detail Styles */
.product-detail-wrap {
    margin-bottom: 3rem;
}

/* Images Column */
.product-images-column {
    position: relative;
}

.gallery-main {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

    .gallery-main img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

.gallery-thumbs {
    position: relative;
}

    .gallery-thumbs .swiper-slide {
        opacity: 0.6;
        cursor: pointer;
        border-radius: 6px;
        overflow: hidden;
        border: 1px solid #eee;
    }

        .gallery-thumbs .swiper-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .gallery-thumbs .swiper-slide-thumb-active {
        opacity: 1;
        border-color: #0a0b0b;
    }

.social-buttons-vertical {
    position: absolute;
    top: 20%;
    display: flex;
    flex-direction: column;
    z-index: 10;
}



    .social-buttons-vertical button {
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 25%;
        background: #fff;
        box-shadow: 0 0px 5px rgba(0, 0, 0, 0.63);
        border: none;
        margin-bottom: 8px;
        transition: all 0.2s ease;
        font-size: 25px;
        transition: all 0.3s ease;
    }

    .social-buttons-vertical #wishlist-container button {
        color: #f72222;
    }
    .social-buttons-vertical .share button {
        color: #0057df;
    }
    .social-buttons-vertical #wishlist-container button:hover, .social-buttons-vertical #wishlist-container button.active {
        background-color: #f72222;
        color: white;
        transition: all 0.3s ease;
    }

    .social-buttons-vertical .share button:hover {
        background-color: #0057df;
        color: white;
        transition: all 0.3s ease;
    }

/* Product Info Column */
.product-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
}

.product-subtitle {
    color: #666;
    font-size: 16px;
}

.product-category a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.product-description {
    color: #555;
    line-height: 1.8;
}

.read-more-btn {
    background: none;
    border: none;
    color: #007bff;
    padding: 0;
    font-size: 14px;
    cursor: pointer;
}

/* Specifications */
.product-specs {
    margin-bottom: 20px;
}

.specs-title, .colors-title, .sizes-title, .request-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.spec-box {
    margin-bottom: 10px;
}

    .spec-box .title {
        font-weight: 600;
        margin-bottom: 5px;
        color: #333;
    }

    .spec-box .spec {
        color: #555;
    }

/* Colors and Sizes */

.size-guide-btn {
    background: none;
    border: none;
    color: #007bff;
    padding: 0;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

/* Request Options */
.req-label {
    display: block;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    margin: 0;
}

    .req-label.active {
        border-color: #007bff;
        background-color: #e6f2ff;
    }

/* Price and Action Column */
.product-price-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.product-price .original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 16px;
}

.product-price .discount-price,
.product-price .final-price {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.stock-alert .alert {
    margin-bottom: 0;
    padding: 10px;
    font-size: 14px;
}

/* Features Section */
.feature-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.feature-title {
    font-weight: 600;
    font-size: 14px;
}

.feature-text {
    font-size: 12px;
    color: #777;
}

.ch-102 {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

    .ch-102 i {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        margin-right: 10px;
        flex-shrink: 0;
    }

/* RTL Support */
html[dir="rtl"] .social-buttons-vertical {
    right: auto;
    left: 10px;
}

html[dir="rtl"] .ch-102 i {
    margin-right: 0;
    margin-left: 10px;
}

/* Active/Inactive states for description */
.div-des.active {
    display: block;
}

.div-des.inactive {
    display: none;
}
.product-action-column {
   padding:0;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .product-images-column,
    .product-info-column,
    .product-action-column {
        margin-bottom: 30px;
    }

    .product-price-card {
        max-width: 500px;
        margin: 0 auto;
    }
}
/* Add these styles to your product-detail.css file */
.product-section-box {
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
}

    .product-section-box .section-title {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 15px;
        color: #333;
        position: relative;
        padding-right: 15px;
    }

        .product-section-box .section-title::before {
            content: '';
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 5px;
            height: 18px;
            background-color: var(--color-primary);
            border-radius: 2px;
        }

.product-options-group {
    padding: 10px 0;
}

.options-divider {
    margin: 3px 0;
    border-top: 1px solid #eee;
    opacity: 0.7;
}


.price-prd .price {
    font-size: 2rem;
}
/* Style for request title */
.request-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #555;
}

/* Improved styling for specification boxes */
.spec-content {
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 8px 12px;
    transition: all 0.2s ease;
}

    .spec-content:hover {
        background-color: var(--rgba-primary-1);
    }
.el-106 {
    background: whitesmoke;
    padding: 5px 4px;
    border-radius: 6px;
}
/* Add these styles to your product-detail.css file */

/* Make the price card sticky */
.sticky-price-card {
    position: sticky;
    top: 20px; /* Distance from the top of the viewport */
    max-height: calc(100vh - 40px); /* Maximum height (viewport height minus margins) */
    overflow-y: auto; /* Enable scrolling if content is taller than the viewport */
    z-index: 10; /* Ensure it stays above other content */
    transition: top 0.2s ease; /* Smooth transition when sticking */
}

/* Ensure the product-action-column correctly positions the sticky element */
.product-action-column {
    position: relative;
}

/* Handle smaller screens */
@media (max-width: 991px) {
    .sticky-price-card {
        position: relative;
        top: 0;
        max-height: none;
        overflow-y: visible;
    }
}

/* Add some breathing room at the bottom of the price card */
.sticky-price-card > *:last-child {
    margin-bottom: 10px;
}

/* Ensure the price card has a nice shadow when sticky */
.sticky-price-card.is-sticky {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/* Add these styles to your product-detail.css file */

/* Desktop Support Button Styles */
.desktop-support-button .btn-outline-primary {
    border: 1px solid var(--color-primary);
    background-color: transparent;
    transition: all 0.3s ease;
}

    .desktop-support-button .btn-outline-primary:hover {
        background-color: rgba(var(--color-primary), 0.1);
    }

.desktop-support-button .support-btn-text {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

    .desktop-support-button .support-btn-text i {
        font-size: 18px;
    }

/* Effect for the button */
.effect1 {
    position: relative;
    overflow: hidden;
}

    .effect1::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
        transition: 0.5s;
    }

    .effect1:hover::before {
        left: 100%;
    }

/* Related Products Box Styles */
.related-products-box {
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
}

    .related-products-box .related-title {
        font-size: 14px;
        font-weight: 700;
        margin-bottom: 12px;
        color: #333;
        position: relative;
        padding-right: 12px;
    }

        .related-products-box .related-title::before {
            content: '';
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 15px;
            background-color: var(--color-primary);
            border-radius: 2px;
        }

.related-products-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.related-product-item {
    padding: 8px;
    border-radius: 6px;
    box-shadow: 0 0 4px #55545259;
    transition: all 0.2s ease;
}

    .related-product-item:hover {
        background-color: #f2f2f2;
        box-shadow: 0 0 4px #55545259;
    }

    .related-product-item a {
        text-decoration: none;
        color: inherit;
        display: block;
    }

.related-product-content {
    display: flex;
    align-items: center;
}

.related-product-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
    padding: 2px;
}

    .related-product-image img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.related-product-info {
    flex-grow: 1;
    overflow: hidden;
}

.related-product-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    max-height: 3em;
}

.related-product-price {
    font-size: 12px;
    text-align: left;
}

    .related-product-price .discount-info {
        display: flex;
        align-items: center;
        gap: 5px;
        margin-bottom: 2px;
        justify-content: left;
    }

    .related-product-price .original-price {
        font-size: 11px;
        color: #999;
        text-decoration: line-through;
    }

    .related-product-price .discount-badge {
        background-color: #e74c3c;
        color: white;
        font-size: 10px;
        padding: 1px 4px;
        border-radius: 3px;
        font-weight: bold;
    }

    .related-product-price .final-price {
        font-size: 14px;
        font-weight: 700;
        color: #333;
    }

    .related-product-price .unit {
        font-size: 11px;
        color: #666;
        font-weight: normal;
    }
.inbasket{
    font-size:13px;
}
.swiper-backface-hidden .swiper-slide {
    transform: none;
}