	.gallery {
            width: 400px;
            overflow: hidden;
            position: sticky; /* Make the gallery sticky */
            top: 0;
            background: white;
            z-index: 10;
        }

        .main-image {
            width: 100%;
            height:100%;
            overflow: hidden;
            position: relative;
        }

        .main-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 100%;
            left: 0;
            transition: transform 0.5s ease, top 0.5s ease;
        }

        .main-image img.active {
            top: 0;
        }

        .main-image img.slide-up {
            transform: translateY(-100%);
        }

        .main-image img.slide-down {
            transform: translateY(100%);
        }

        .product-gallery {
            display: flex;
            align-items: flex-start;
            padding-left: 20px;
        }
        .thumbnails-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-left: 10px;
        }
        .thumbnails-list img {
            width: 80px;
            cursor: pointer;
            opacity: 0.6;
            transition: opacity 0.3s ease;
        }
        .thumbnails-list img.active, .thumbnails-list img:hover {
            opacity: 1;
        }
		
.custom-dropdown {
  position: relative;
  display: inline-block;
  width: 99%;
}

.dropdown-toggle {
  width: 100%;
  padding: 10px 40px;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  text-align: right;
  color: var(--light-gray);
  font-size: 14px;
}

.dropdown-toggle::after {
  content: '▼';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color:  var(--light-gray);
  border-top:0;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: white;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 10;
}

.dropdown-item {
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #e9ecef;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
}

.custom-dropdown.open .dropdown-menu {
  display: block;
}
.action-buttons {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: 15px;
}

.add-to-cart {
  flex-grow: 1;
  background-color: var(--btn-color-green-primary);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 20px;
  font-size: 16px;
  cursor: pointer;
}

.add-to-cart:hover {
  background-color: var(--btn-color-green-secondary);
}

.wishlist {
  width: 50px;
  height: 50px;
  background-color: white;
  border: 1px solid #d9d9d9;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.wishlist span {
    font-size: 30px;
    color: #000;
    margin-top: 5px;
}

.wishlist:hover {border-color: #007bff;color: #007bff;}
.content-tip {font-size:12px;color:var(--light-gray);}
.price-product {font-weight: bold;}
.title-product {font-size: 20px;margin-bottom: 15px;}


        .complate-look h3{font-size:15px; margin: 4px 3px 20px 0px;}
        
        .accordion { margin:20px 0;}
        
        .accordion-item {
            border-radius: 0 !important;
            border-left: 0;
            border-right: 0;
        }
        .accordion-button {
            padding: 8px 10px;
            font-size: 0.4em;
        }


        .user-cart .modal-header {
            border-bottom: none;
            width: 100%;
            padding: 10px 0px 10px 10px;
            background: #ffffff;
        }
        
        .user-cart .nav-tabs .nav-link {
            color: #000;
        }

        .user-cart .cart-item img {
            width: 80px;
            height: 100%;
            object-fit: cover;
            border-radius: 5px;
        }
        /* کلاس برای غیرفعال کردن اسکرول */
        body.modal-open {
            overflow: hidden !important;
        }
        .user-cart .modal-content {
            height: calc(-50.3333px + 100vh);
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            background: #f3f3f3;width: 350px;
        }
        .user-cart.modal.show .modal-dialog {
            position: absolute;
            left: 30px;
        }
        .user-cart .botton-modal-cart {
            position: absolute;
            bottom: 0;
            background: #fff;
            width: 100%;
            left: 0;
            right: 0;
            padding: 20px;
        }

        .btn-checkout {
            background:var(--success-color);
            width: 100%;
            border-radius: 15px;
            border:1px solid var(--success-color);
        }
        
        #editContent {
            margin-top: -12px;
            z-index: -1;
        }
        .maianImg-p{height: 100%; width: 150px;}
        .hidden {
            display: none !important;
        }
        .back-btn {
            cursor: pointer;
            font-size: 18px;
            color: #000;
            display: none;
            border: none;
            background: none;
            font-weight: bold;
            position: absolute;
            top: 6px;
            left: 10px;
            z-index:9999;
        }
        
        ul#cartTabs {
            position: absolute;
            border: 0;
        }
        #wishlist-tab.active:after {
            content: "";
            height: 3px;
            width: 93px;
            background: #000;
            border-radius: 200px;
            position: absolute;
            bottom: -10px;
            right: calc(50% - -14px);
        }
        
        #cart-tab.active:after {
            content: "";
            height: 3px;
            width: 93px;
            background: #000;
            border-radius: 200px;
            position: absolute;
            bottom: -10px;
            right: calc(50% - 105px);
        }
        
        

        /* استایل انتخاب رنگ */
        .color-option {
            cursor: pointer;
            border: 2px solid transparent;
            border-radius: 5px;
            padding: 5px;
        }
        .color-option input {
            display: none;
        }
        .color-option img {
            width: 50px;
            height: 50px;
            border-radius: 5px;
        }
        .color-option input:checked + img {
            border: 2px solid black;
        }
        .user-cart .nav-tabs .nav-link {
            color: #000;
            font-size: 13px;
            border: 0;
        }
        .chekoutBox h6{font-size:13px;}
        
        @keyframes removeEffect {
            0% {
                background: #ffdddd;
                transform: translateX(0);
            }
            100% {
                background: white;
                transform: translateX(100%);
                opacity: 0;
            }
        }
    
        .remove-animation {
            animation: removeEffect 0.5s forwards;
        }
        
        
 #carouselExample .carousel-control-prev-icon, #carouselExample .carousel-control-next-icon  {background-color: #000;} 

@media (max-width: 980px) {
   .single-product .detail-content{margin-top:20px ;} 
   
   #cartModal{top:0 !important;}
}
.notification-bar {
    position: fixed;
    top: 10px;
    right: 10px;
    left: 0;
    background-color: #28a745;
    color: white;
    text-align: center;
    padding: 12px;
    font-size: 16px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateY(-100%);
    opacity: 0;
    z-index: 999999;
    width: fit-content;
    border-radius: 5px;
}

.notification-bar.show {
    transform: translateY(0);
    opacity: 1;
}
.notification-bar.error {
    background-color: #dc3545;
}

.color-option {
  display: inline-block;
  position: relative;
  cursor: pointer;
  margin-right: 0px;
}

.color-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.swatch {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 2px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  position: relative; /* برای نمایش تیک */
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}

.color-option input[type="radio"]:focus + .swatch {
  outline: 3px solid rgba(90,150,255,0.35);
  outline-offset: 3px;
}

.color-option input[type="radio"]:checked + .swatch {
  transform: scale(1.06);
  border-color: rgba(0,0,0,0.6);
  box-shadow: 0 0 0 4px rgba(0,0,0,0.06) inset;
}

.color-option input[type="radio"]:checked + .swatch::after {
  content: "✓";
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.product-info .like-icon {
    cursor: pointer;
    font-size: 24px;
    color: #666; /* رنگ خالی */
    transition: all 0.3s ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.product-info .like-icon.liked {
    color: white;
    background: red;
    border-radius: 50%;
    padding: 6px;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
    transform: scale(1.2); /* کمی بزرگتر بشه */
    animation: pulse 0.4s ease;
    font-size: 16px;
}
.wishlist .heart-icon {
    font-size: 22px;
    color: #666;
    transition: all 0.3s ease;
}
.wishlist.active .heart-icon {
    color: white
}
.wishlist.active  {
    background: red;
    border-radius: 50%;
    padding: 6px;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
    transform: scale(1.2);
    animation: pulse 0.4s ease;
}
/* انیمیشن ضربان */
@keyframes pulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.4); }
    100% { transform: scale(1.2); }
}

.color-selector {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 10px 3px;
        background: #f0f0f0;
        padding: 10px;
        border-radius: 5px;
}
.color-selector span{font-size: 14px;}
.productColor {
      width: 30px;
      height: 30px;
      border-radius: 5px;
      cursor: pointer;
      border: 2px solid transparent;
      transition: transform 0.2s ease, border 0.3s ease, box-shadow 0.3s ease;
}
.productColor:hover {
      transform: scale(1.1);
}
.productColor.active {
      border: 2px solid #fff;
      transform: scale(1.25);
}
.productColor.active:after {
    content: "✔";
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 15px;
    font-weight: bold;
    pointer-events: none;
}
.desc_product {
  position: relative;
  line-height: 1.8;
  font-size: 14px;
  color: #333;
  overflow: hidden;
  max-height: 4.5em;
  text-align:justify;
  transition: max-height 0.6s ease, padding-bottom 0.3s ease;
}
.desc_product.expanded {
  max-height: 100%;
  padding-bottom: 10px;
}
.desc_product::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, #fff, transparent);
  transition: opacity 1s ease;
}
.desc_product.expanded::after {
  opacity: 0;
  pointer-events: none;
}
.toggle-desc {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    cursor: pointer;
    color: #000000;
    font-size: 12px;
    user-select: none;
    transition: color 0.5s ease;
}
.toggle-desc:hover {
  color: #0056b3;
}
.toggle-desc i {
  font-size: 12px;
  transition: transform 0.3s ease;
}
.desc_product.expanded + .toggle-desc i {
  transform: rotate(180deg);
}
.descTitle{
    font-size: 15px;
    margin: 4px 3px 20px 0px;}
    
.btn-notify {
    background-color: #ffb8b8;
    color: #bc2626;
    border: none;
    padding: 12px;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
}
.btn-notify.notified-btn {
    background-color: #ffdcdc;
}
.bell-text{    color: #6a6666;
    font-size: 13px;}
    
    
    
#sizeGuide {
    padding:20px;
    background: #eee;
}
.tabs_Size {
    white-space: nowrap;
    padding: 0 !important;
}
.tabs_Size {
    border-bottom: 2px solid #ddd;
    display: flex;
    flex-wrap: wrap;
    margin-bottom:13px;
}
.tab-btn-size {
    border: none;
    background: transparent;
    padding: 8px 10px;
    font-weight: 500;
    transition: all 0.2s ease;
}
.tab-btn-size.active {
    border-bottom: 2px solid black;
    font-weight: bold;
}

.tab-content-size {
    display: none;
    animation: fadeIn 0.3s ease;
}
.tab-content-size.active {
    display: block;
}
.table-size-guide {
    font-size: 14px;
}
.size-guide-img img
{
    width: 100%;
}
.empty-guide {
    font-size: 14px;
    padding: 0px 5px;
    color: #c86060;
}
#sizeGuide .btn-close {
    left: 25px;
    position: absolute;
    top: 15px;
}
.size-guide {
    font-size: 13px;
    padding: 0 5px;
    display: inline-block;
    margin-top: 10px;
    cursor: pointer;
}
@media (max-width: 768px) {
    #sizeGuide {
        width: 100% !important;
    }
}

.desc_product::after {
    background: linear-gradient(to top, #fbfbfb, transparent);
}
.review-description .container {
    width: 1210px;
}
.review-card,#descTab {
    background: #fbfbfb;
    border-radius: 5px;
    padding: 15px 20px;
    margin-bottom: 15px;
    border: 1px solid #f9f7f7;
    font-size: 13px;
    line-height: 25px;
}
.review-header {
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}
.review-name {
    font-weight: bold;
    font-size: 15px;margin-left: 15px;
}
.review-description .stars {
    color: #ffc107;margin-left: 15px;
}
.cons li,.pros li{
    list-style-type: none;display: inline-block;
}
.pros, .cons {
    padding: 0;
    margin: 0;
}
.pros li::before {
    content: "✔️ ";font-size: 13px;
}
.cons li::before {
    content: "❌ ";font-size: 13px;
}
.review-description .suggestion {
    font-size: 0.9rem;
    font-weight: 500;
}
.review-images img {
    width: 50px;
    height: 50px;
    border-radius: 2px;
    object-fit: cover;
    margin: 1px;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.review-images img:hover {
    transform: scale(1.05);
}
.review-description .load-more {
    display: block;
    margin: 20px auto;
    text-align: center;
}
.review-description .stars i {
    color: #ffc107;
    margin-left: 2px;
  }
.review-description .stars i.off {
    color: #ddd;
}
  
ul#productTabs .nav-link.active {
    background: #dcf9dd;
}

ul#productTabs .nav-link {
    border: 0;
    color: #000;
    font-size: 14px;
    background: #ececec;
    margin-left: 5px;
}
div#descTab h5 {
    font-size: 15px;
}
.thumbnails-list {
    overflow-y: auto;
    scrollbar-width: none;
}
.thumbnails-list::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
}
.thumbnails-list {
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
}
.product-gallery {
    max-height: 600px;position:relative;
}

.custom-scrollbar-thumbList {
    position: absolute;
    right: 2px;
    top: 0;
    width: 6px;
    background: #b8b8b8;
    border-radius: 10px;
    opacity: 0.7;
    cursor: pointer;
    display: none; /* اول پنهان تا شرایط چک شود */
}

.main-image img {
    object-fit: contain;
}

.toggle-descTab span {
    cursor: pointer;
}