
.nav-links a, .nav-links i {
    color: black;
}
.icons img {
    filter: invert(100%);
}

.header.scrolled .nav-links a,
.header.scrolled .icons img{
    color: white !important;
    filter: invert(0%);
}

.header.scrolled .nav-links i{
    color: white !important;
}

.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.main-image img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.3s ease;
}

        .thumbnails {
            display: flex;
            gap: 10px;
            overflow-x: scroll;
            width: 400px;
            
            /* إخفاء السكرول بار الافتراضي */
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* Internet Explorer 10+ */
            
            /* تحسينات إضافية */
            padding: 20px 10px 30px 10px;
            position: relative;
            scroll-behavior: smooth;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            
            /* منع التحديد في الحاوي */
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            
            /* تحسين السحب */
            cursor: grab;
        }
        
        .thumbnails:active {
            cursor: grabbing;
        }

        /* إخفاء السكرول بار في WebKit browsers */
        .thumbnails::-webkit-scrollbar {
            display: none;
        }

        /* إنشاء مؤشر التمرير المخصص باستخدام pseudo-elements */
        .thumbnails::before {
            content: '';
            position: absolute;
            bottom: 8px;
            left: 10px;
            right: 10px;
            height: 4px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 2px;
            z-index: 1;
        }

        .thumbnails::after {
            content: '';
            position: absolute;
            bottom: 8px;
            left: 10px;
            height: 4px;
            width: 25%;
            background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45aaf2);
            border-radius: 2px;
            z-index: 2;
            box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
            transition: transform 0.3s ease;
        }

        /* تنسيق العناصر الفرعية (الصور المصغرة) */
        .thumbnails > * {
            object-fit: cover;
            min-width: 80px;
            height: 80px;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            background-size: cover;
            background-position: center;
            border: 2px solid rgba(255, 255, 255, 0.3);
            
            /* منع سحب الصور */
            -webkit-user-drag: none;
            -khtml-user-drag: none;
            -moz-user-drag: none;
            -o-user-drag: none;
            user-drag: none;
            
            /* منع التحديد */
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            
            /* منع النقر بالزر الأيمن (اختياري) */
            -webkit-touch-callout: none;
            -webkit-tap-highlight-color: transparent;
            
            /* منع الحفظ على الهواتف */
            pointer-events: auto;
        }

        /* تأثير الإضاءة المتحركة */
        .thumbnails > *::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: left 0.6s ease;
            z-index: 1;
        }

        .thumbnails > *:hover::before {
            left: 100%;
        }

        .thumbnails > *:hover {
            transform: translateY(-8px) scale(1.05);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
            border-color: rgba(255, 255, 255, 0.6);
        }

        /* تأثير النقر */
        .thumbnails > *:active {
            transform: translateY(-4px) scale(1.02);
        }

        /* تحسين المظهر العام */
        .container {
            position: relative;
        }

        /* مؤشر التمرير (اختياري) */
        .scroll-hint {
            position: absolute;
            bottom: -40px;
            left: 50%;
            transform: translateX(-50%);
            color: rgba(255, 255, 255, 0.7);
            font-size: 12px;
            animation: fadeInOut 2s ease-in-out infinite;
            white-space: nowrap;
        }

        @keyframes fadeInOut {
            0%, 100% { opacity: 0.4; }
            50% { opacity: 1; }
        }

        /* إضافة تأثيرات متقدمة للعناصر */
        .thumbnails > *:nth-child(odd) {
            background: linear-gradient(135deg, #667eea, #764ba2);
        }

        .thumbnails > *:nth-child(even) {
            background: linear-gradient(135deg, #f093fb, #f5576c);
        }

        .thumbnails > *:nth-child(3n) {
            background: linear-gradient(135deg, #4facfe, #00f2fe);
        }

        .thumbnails > *:nth-child(4n) {
            background: linear-gradient(135deg, #43e97b, #38f9d7);
        }

        /* تأثير الضوء المتحرك في الخلفية */
        .thumbnails {
            background-image: 
                radial-gradient(circle at 20% 50%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(78, 205, 196, 0.1) 0%, transparent 50%);
            background-size: 200% 100%;
            animation: backgroundShift 4s ease-in-out infinite;
        }

        @keyframes backgroundShift {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

        /* دعم الأجهزة اللوحية والهواتف */
        @media (max-width: 768px) {
            .thumbnails {
                width: 100%;
                max-width: 350px;
            }
            
            .thumbnails > * {
                min-width: 70px;
                height: 70px;
            }
        }
        
        
        
        
        
        
        













    .product-info {
        width: 63%;
    }


    .cotton-jersey-top {
    font-size: 27px;
    }

    .selling-fast {
        margin-top: 30px;
        margin-bottom: 15px;
    }
    .selling-fast button {
        background-color: transparent;
        border: 1px solid black;
        padding: 9px 16px;
        border-radius: 3px;
        font-weight: 600;
        margin-right: 10px;
    }
    .selling-fast  i {
        color: rgb(230, 0, 0);
        font-size: 18px;
        margin-right: 5px;
    }

    
    .price {
        font-size: 24px;
        margin-bottom: 10px;
    }
    .price #price {
        color: rgba(219, 18, 21, 1);
    }
    .price .old-price {
        color: #838383;
        font-size: 20px;
        position: relative;
    }
    .price .old-price::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
        height: 1px;
        background-color: rgb(139, 139, 139);
    }


    .price  button {
        background-color: rgba(252, 87, 50, 1);
        color: white;
        border: none;
        cursor:pointer;
        padding: 7px 14px;
        border-radius: 20px;
        font-weight: 400;
        font-size: 15px;
    }

    .views {
        font-size: 13px;
        font-weight: 600;
        margin: 30px 0;
    }
    .views span{
        background-color: black;
        color: white;
        padding: 3px 14px;
        border-radius: 3px;
        margin-right: 10px;
    }



    .discount-timer {
        width: 340px;
        border: 1px solid rgba(219, 18, 21, 1);
        text-align: center;
        padding: 10px 5px;
    }
    .discount-timer .discount-title {
        font-weight: 600;
        font-size: 11.4px;
        align-items: center;
        margin-bottom: 6px;
    }
    .discount-timer .discount-title i {
        margin-right: 6px;
        font-size: 14px;
    }

    .timer {
        color: rgba(219, 18, 21, 1);
        font-size: 16px;
    }
    .colors-wrapper,
    .sizes-wrapper {
        display: flex;
        flex-direction: column;
        margin: 15px 0;
    }

    .colors {
        margin: 15px 0;
        display: flex;
        align-items: center;
    }
    
    .color-option, .size-option {
        display: inline-block;
        padding: 10px;
        border:  none;
        margin: 5px;
        cursor: pointer;
        transition: .3s;
    }
    .colors-title {
        display: block;
    }
    .color-option.active {
        border: 4px solid rgb(238, 238, 238);
        outline: 1px solid rgb(0, 0, 0);
    }
    
    .color-option {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        border: 2px solid #f0f0f0;
        display: inline-block;
        margin: 5px;
        cursor: pointer;
        transition: border 0.2s;
    }
    .colors .not-available {
        border: 10px solid rgb(255, 255, 255);
        position: relative;
        outline: 1px solid black;
    }
    .colors .not-available::before {
        content: '';
        position: absolute;
        width: 200%;
        height: 2px;
        background-color: #000;
        rotate: -45deg;
        left: -10px;
    }


    .size-option {
        padding: 10px 20px;
        border-radius: 4px;
        font-size: 12px;
        border: 1px solid rgb(218, 218, 218);
    }
    
    .size-option.active {
        background-color: #000;
        color: white;
        font-weight: bold;
    }

    .quantity-wrapper {
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-top: 20px;
    }


.quantity-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.quantity {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background-color: rgb(248, 248, 278);
    padding: 6px 10px;
    border-radius: 10px;
}

.quantity button {
  padding: 5px 15px;
  font-size: 26px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
}
#quantity {
  font-size: 20px;
  min-width: 30px;
  text-align: center;
}


.add-to-cart-product {
    width: 500px;
    background-color: #000;
    border: none;
    padding: 18px 6px;
    color: white;
    cursor: pointer;
}




.cart-and-wishlist {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wishlist-btn {
    background: none;
    cursor: pointer;
    padding: 13px;
    outline: none;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.114);
    
}
.cart-and-wishlist i {
    font-size: 25px;
    cursor: pointer;
    color: #5a5a5ad0;
}
.cart-and-wishlist a {
        padding: 13px;
    outline: none;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.114);
}
.cart-and-wishlist .add-to-cart-product.active {
    color: tomato;
}
.subtotal {
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
}















    .buy-with {
    width: 100%;
    background-color: rgba(255, 197, 32, 1);
    border: none;
    padding: 10px;
    color: rgb(0, 0, 129);
    cursor: pointer;
    margin: 20px 0;
}
.buy-with .pay,
.buy-with .pal {
    color:  rgb(9, 9, 155);
    font-weight: 900;
    font-style: italic;
    font-size: 17px;
}
.buy-with .pal {
    color:rgb(0, 167, 167);
}
.more-payment {
    width: 100%;
    text-align: center;
    font-size: 13px;
}
.more-payment a {
    border-bottom: 1px solid rgb(32, 32, 216);
}
.options {
    display: flex;
    align-items: center;
    font-size: 13px;
    margin-top: 20px;
}
.options a {
    margin-right: 15px;
    cursor: pointer;
    color: black;
}
.options span {
    margin: 0 8px;
}
.options img{
    width: 22px;
    margin: 0 10px;
    margin-bottom: -8px;
}
.delivery {
    display: flex;
    margin-top: 20px;
}
.order, 
.delivery-times {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.089);
    margin-right: 20px;
}
.delivery img {
    width: 40px;
}
.delivery p {
    width:100%;
    margin-top: 30px;
    font-size: 13px;
}
.delivery p span {
    font-weight: 800;
}






.suggested-products {
    display: flex;
    flex-wrap: wrap; /* يسمح بالتفاف العناصر */

    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(0, 0, 0, 0.103);
    padding: 50px 50px 120px 50px;
    margin-top: 20px;
    width: 97.4%;
}
.suggested-title {
    width: 100%;
    font-size: 25px;
    margin-bottom: 60px;
}
.plus {
    font-size: 33px;
    margin-bottom: 100px;
}
.suggested-products .suggested-img {
    width: 230px;
    margin-bottom: 20px;
}

.suggested-products .rating{
    color:#424242b4;
    font-size: 13px;
    margin-top: 10px;
}
.suggested-products .product-box {
    position: relative;
    width: 260px;
    height: 320px;
}

 .wishlist-btn.active {
    color: tomato;
}
.product-category {
    font-size: 15px;
    color:#424242ab;
    margin: 10px 0;
}
.suggested-products .price {
    font-size: 19px;
    font-weight: 600;
    color: #424242;
    margin-top: 7px;
}
.suggested-button-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
    margin: 10px 0 40px 0;
}
.suggested-button-container .suggested-total {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-weight: 400;
    font-size: 19px;
}
.suggested-button-container .suggested-total span{
    font-weight: 600;
    font-size: 20px;
}
.suggested-button-container .suggested-button {
    width: 80%;
}













.description-section .container {
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.075);
    padding: 30px;
}

ul.ul-description {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 0;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, 0.123);

}
ul.ul-description li {
    padding: 10px 20px;
    user-select: none;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.61);
}
ul.ul-description li.active,
ul.ul-description li:hover {
    border-bottom: 3px solid black;
    color: black;
}
.content-section {
    display: none;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    min-height: 150px;
}
.content-section.active {
    display: block;
}

.description-p {
    font-size: 14px;
    margin-bottom: 10px;
}
.content-section h2 {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.849);
    margin: 30px 0 20px 0;
    font-weight: 400;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.425);
}

.content-section .row {
    display: flex;
    align-items: center;
    color: rgba(0, 0, 0, 0.445);
    font-size: 15px;
    line-height: 3.3;
    margin-right: 100px;
}
.content-section .row span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.473);
    margin-right: 20px;
}
.content-section .row .icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.726);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}
.content-section .row img {
    width: 20px;
    display: flex;
    align-items: center;
}

.two-column {
    display: flex;
    justify-content: space-between;
    width: 35.6%;
}
.colors span {
    width: 30px !important;
    height: 30px !important;
    margin: 25px 0;
}










.random-products{
    display: flex; 
    flex-wrap: wrap; 
    gap: 10px; 
    margin-top: 60px;
    margin: auto;
    width: 100% !important;
    justify-content: space-between !important;
}
.random-products .random-products-prod{
    padding:10px;
    width:200px;
    position: relative;
    object-fit: cover;
}
.random-products .prod-category {
    color: #0000006c;
    font-size: 14px;
}

.random-products .wishlist-btn {
    position: absolute;
    right: 13px;
    color: #525252e7;
    cursor: pointer;
    bottom: 27%;
    font-size: 15px;
}
.wishlist-btn.active {
    color: tomato;
}

.random-products .prod-img {
    width: 100%;
    height: 64%;
    object-fit: cover;
}
.random-products .prod-name {
    font-weight: 400;
}
.random-products-prod .rating {
    color: #424242c0;
    font-size: 11px;
    margin: 10px 0 5px 0;
}
.random-products .prod-price {
    color:#424242da;
    font-weight: 600;


}

.top-rated-products .container {
    padding-top: 0;
}











.products-grid {
    width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
    border-top: 1px solid rgba(0, 0, 0, 0.116);
    padding-top: 50px;
    padding-bottom: 100px;
}
.products-grid img {
    width: auto;
    height:90px;
    margin-right: 20px;
}
.products-grid .prod-price {
    font-size: 13px; 
}


.prod-column{
    margin-bottom: 15px;
}
.title {
    font-weight: 600;
    margin-bottom: 20px;
}
.prod-column .rating {
    margin: 0;
}
.prod-column .rating i {
    font-size: 10px;
    margin: 0;
}



.products-grid .prod-category {
    color: #424242;
    font-size: 13px;
}
.products-grid .rating {
    color: #424242c5;
}



.suggested-products  .product-box img {
       width: 100%;
    height: 100%;
    object-fit: cover;
    }



.suggested-products .product-box .wishlist-btn {
    position: absolute;
    right: 0;
    bottom: -60px !important;
    font-size: 18px;
    color: #696969e0;
    padding: 15px !important;
}
















.happy-clients-title {
    font-weight: 100 !important ;
    text-align: center;
    font-size: 37px !important;
    margin-bottom: 60px !important;
    
}
    
.recommended-products-title{
    font-weight: 100 !important ;
    font-size: 37px !important;
    
}
.review-section .container {
  flex-direction: column;
}

.review-boxes {
  display: flex;
  justify-content: space-between;
}
.review-boxes .review-box {
  width: 32%;
  border: 1px solid rgba(0, 0, 0, 0.089);
  padding: 30px;
  border-radius: 5px;
}

.review-prod {
  width: 90%;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.096);
}

.review-boxes .review-box .rating i {
  color: rgba(255, 123, 84, 1);
}

.review {
  font-size: 14px;
  margin-top: 10px;
  line-height: 2;
  margin-bottom: 18px;
}
.review-info {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 30px;

}
.review-info span {
  font-weight: 400;
}
.review-prod {
  display: flex;
  align-items: center;
  font-size: 14px;
}
.review-prod img {
  margin-right: 27px;
}
.review-prod h3 {
  font-weight: 600;
  font-size: 13px;
  margin-top: 7px;
}



@media (max-width: 768px) {

.cart-and-wishlist i {
    font-size: 20px;
}
  
.review-boxes {
  display: flex;
  flex-direction: column;
}
.review-boxes .review-box {
  width: 100%;
}
.review-prod-info {
  margin-left: 25px;
}
}













@media (max-width: 768px) {
    
* {
        cursor: default;
    }
        .discount-timer {
        width: 100%;
        }
    .gallery {
        margin-bottom: 30px;
    }
    .main-image img {
        width: 100%;
    }

    .thumbnails {
        justify-content: center;
         width: 100%;
         overflow-x: scroll;
    }

    .thumbnails .thumb {
        width: 30%;
    }


.description-section .container {
    padding: 15px !important;
}

.content-section .content .col1 {
    width: 50% !important;
    margin: 0 !important;
}

    .product-info {
        width: 100%;
    }
    .product-info .options {
        margin: 40px 0;
    }
    .product-info .options span {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .suggested-products {
        padding: 25px 0;
        width: 100%;
    }
    .suggested-title {
        padding-top: 25px;
        font-size: 19px;

    }
  
    .suggested-products  .product-box img {
        width: 150px;
    }
    
    .product-name {
        width: 100px;
    }
    .suggested-products .product-box .wishlist-btn {
        right: 7px;
        top: 306px;
        height: 52px;
    }
    .delivery {
        display: flex;
        justify-content: space-between;
    }
    .delivery .delivery-times,
    .delivery .order {
        margin: 0 5px;
    }
    .suggested-products .plus {
        font-size: 13px;
        display: none;
    }









    
    .desc2,
    .desc4,
    .desc5 {
        display: none;
    }


    .content-section {
    padding: 20px 0;
}
.content-section  .content {
    flex-direction: row;
}
.content-section h2 {
    font-size: 15px;
}
.content-section  .content .row {
    margin: 0;
}
.content-section  .content .col1 {
    margin-right: 50px;
}
.content-section  .content .row span {
    display: none;
}
.content-section  .content .row .icon {
    display: none;
}






    .random-products {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .random-products .random-products-prod{
        padding:10px;
        width:48%;
        height: 300px;
    }



    .products-grid {
        flex-direction: column;
        width: 90%;
        margin-top: 0;
    }
    .products-grid .two-column {
        width: 100%;
        margin: auto;
        margin-bottom: 30px;
    }
    .products-grid img {
        width: auto;
        height: 90px;
        margin-right: 9px;
    }

    
    
    ul.ul-description {
    gap: 5px;
    flex-wrap: wrap;
}

ption li {
    font-size: 13px;
}
ul.ul-description li {
    padding: 10px 11px;
    font-size: 13px;

}

    
       .suggested-products {
           padding-bottom: 230px;
           align-items: start;
       }
    .suggested-products .product-box {
        width: 140px;
    height: 160px;
}
    .suggested-products .product-box img {
        width: 100%;
}
.suggested-button-container .suggested-total{
    margin: 0 0;
}

.suggested-button-container {
    position: absolute;
    bottom: 0;
    margin: 90px 0;
}

.suggested-products .product-box .wishlist-btn img {
    width: 20px;
    height: 20px;
}

.suggested-products {
    padding: 0 18px 270px 18px;
    
}

.suggested-products .price {
    font-size: 16px;
}

.random-products .prod-img {
    margin-bottom : 10px;
}

.random-products .random-products-prod {
    margin-bottom: 40px;
}
.random-products .random-products-prod .wishlist-btn  {
    bottom: -18px;
}

.title {
    font-size: 14px;
}
.header i {
    color: black;
}
.header.scrolled i {
    color: white;
}
