﻿/* ==============================================
   1.breadcrumb
   ============================================== */

.breadcrumb a {
    color: #000 !important;
    font-weight: 400;
}

.breadcrumb a:hover {
    color: #000 !important;
    font-weight: 600;
    text-decoration: none;
}

.breadcrumb {
    background-color: #fff !important;
}
/* ===== Product Title / Circle ===== */

.product-title {
    position: relative;
    padding-inline-start: 12px;
}

    .product-title::before {
        content: "";
        position: absolute;
        inset-inline-start: 0;
        top: 10%;
        height: 80%;
        width: 8px;
        background-color: #E6511B;
        border-radius: 8px;
    }

.product-circle {
    position: relative;
    padding-right: 15px;
}

    .product-circle::before {
        content: "";
        position: absolute;
        right: 0;
        top: 25%;
        height: 40%;
        width: 8px;
        background-color: #085A72;
        border-radius: 50%;
    }
/* ===== تصویر داخل اسلایدر ===== */

.product-zoom-img {
    max-height: 380px;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

    .product-zoom-img:hover {
        transform: scale(1.04);
    }
/* ===== بک‌گراند مودال ===== */

#imageZoomModal {
    background: rgba(0,0,0,0.85);
}

    #imageZoomModal .modal-dialog {
        max-width: 95vw; 
    }

    #imageZoomModal .modal-dialog {
        margin-top: 80px; 
        max-width: 95vw;
    }
   

    #imageZoomModal .modal-content {
        background: transparent;
        border: none;
        position: relative;
    }

    #imageZoomModal .modal-body.position-relative {
        display: flex; 
        justify-content: center; 
        align-items: center;
        padding: 0;
        position: relative;
        max-height: 80vh;
        overflow: hidden; 
    }

.zoomed-img {
    max-width: 90vw;
    max-height: 70vh; 
    object-fit: contain;
    display: block;
    position: relative;
}

.zoom-close-btn {
    position: absolute;
    top: 5px; 
    right: 5px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: background 0.25s ease, transform 0.25s ease;
}

    .zoom-close-btn:hover {
        background: rgba(0,0,0,0.85);
        transform: scale(1.1);
    }

/* استایل‌های مربوط به زوم و دکمه‌های مودال */
.zoomable-img {
    transition: transform 0.25s ease;
    cursor: zoom-in;
    max-height: 90vh;
    object-fit: contain;
}

    .zoomable-img.zoomed {
        transform: scale(1.5);
        cursor: zoom-out;
    }

.btn-dark {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    backdrop-filter: blur(2px);
}

    .btn-dark:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

/* استایل دکمه بستن */
.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
    background-color: rgba(0,0,0,0.3);
    border-radius: 50%;
    padding: 0.5rem;
}

@media (max-width:768px) {
    #imageZoomModal .modal-dialog {
        margin-top: 0px;
    }
}
/* ==============================================
   2.btn
   ============================================== */
.qty-box {
    display: flex;
    width: 150px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.qty-btn {
    width: 42px;
    background-color: #e5e5e5;
    border: none;
    font-size: 20px; 
    font-weight: 400;
    color: #000;
    transition: font-weight 0.15s ease;
    cursor: pointer;
}

    .qty-btn:hover {
        font-weight: 600;
    }

.qty-input {
    flex: 1;
    border: none;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    background-color: #fff;
}

    .qty-input:focus {
        outline: none;
        box-shadow: none;
    }

.btn-shokofablue {
    border: none;
    border-radius: 6px;
    transition: all 0.25s ease;
    color: white;
    background: #085A72;
    padding: 8px 16px; 
    transition: font-weight 0.2s ease;
}



    .btn-shokofablue:hover {
        font-weight: 600;
    }


.card {
    border: none;
    box-shadow: none;
    border-bottom: 2px solid #ddd; 
    border-radius: 0; 
}

.text-link {
    color: #000; 
    text-decoration: none; 
    font-weight: 400; 
    transition: font-weight 0.2s ease;
    cursor: pointer;
}

    .text-link:hover {
        font-weight: 600; 
    }

.nav-tabs .nav-link {
    border-radius: 4px !important;
    background-color: transparent !important;
    color: #000;
    position: relative;
    padding-right: 16px;
    border-right: 8px solid #ddd;
}

.nav-tabs .nav-item .nav-link.active {
    border-right: 8px solid #E6511B !important; 
}



.carousel-item {
    height: 400px;
    text-align: center;
}

    .carousel-item img {
        height: 400px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
        margin: 0 auto;
    }




/* ==============================================
   2.محصولات مشابه
   ============================================== */
.brand-panel {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin: 15px;
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.brand-title-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-vertical-line {
    width: 10px;
    height: 35px;
    background: #E6511B;
    border-radius: 5px;
}

.brand-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

.brand-panel a {
    text-decoration: none;
    color: inherit;
}

.brand-header-line {
    flex: 1;
    height: 2px;
    background: #ccc;
    border-radius: 2px;
    margin-left: 10px;
}

.brand-view-all {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    padding: 6px 12px;
}

    .brand-view-all:hover {
        font-weight: bold;
    }

.brand-logos {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}

    .brand-logos::-webkit-scrollbar {
        height: 8px;
    }

    .brand-logos::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,0.2);
        border-radius: 4px;
    }

.brand-card {
    width: 400px;
    min-width: 200px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: box-shadow 0.2s;
}

    .brand-card:hover {
        box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    }

    .brand-card img {
        max-width: 100%;
        max-height: 80px;
        object-fit: contain;
    }


/* ==============================================
  12.اسلایدر
   ============================================== */
.btn-slider {
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 35px;
    height: 35px;
    border-radius: 10%;
    background-color: #868686;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.3s;
}

    .btn-slider:hover {
        background-color: #303030;
    }

.container, .container-fluid {
    max-width: 100%;
}

.row {
    margin-left: 0;
    margin-right: 0;
}