:root {
            --primary: #FF3F6C;
            --secondary: #535766;
            --light-bg: #F5F5F6;
            --dark-text: #282C3F;
            --light-text: #7E818C;
            --border: #D4D5D9;
            --discount: #FF905A;
            --success: #03A685;
            --white: #FFFFFF;
            --box-shadow: 0 4px 24px 0 rgba(35, 50, 56, 0.08);
            --transition: .3s cubic-bezier(.4,0,.2,1);
        }
        
        html, body {
            margin: 0; 
            padding: 0;
            background: #ffffff;
            font-family: 'Inter', Arial, sans-serif;
            color: var(--dark-text);
            overflow-x: hidden;
        }
        
        * { 
            box-sizing: border-box; 
        }
        
        
        
        /* MAIN LAYOUT */
        main {
            display: flex;
            flex-direction: column;
            gap: 20px;
            max-width: 1260px;
            margin: 0px auto 0 auto;
            background: #fff;
            border-radius: 18px;
            
            padding: 24px;
            transition: box-shadow var(--transition);
        }
        
        /* GALLERY SECTION */
        .gallery-section {
            display: flex;
            flex-direction: column;
            width: 100%;
        }
        
        /* DESKTOP GALLERY */
        .image-gallery-desktop {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
            margin-bottom: 20px;
        }
        
        .gallery-img {
            width: 100%;
            aspect-ratio: 1/1.25;
            background: var(--light-bg);
            border-radius: 1px;
            object-fit: contain;
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .gallery-img:hover {
            transform: scale(1.01);
            
        }
        
        .gallery-controls {
            position: relative;
            margin-top: 10px;
        }
        
        .wishlist-icon-main {
            position: absolute;
            top: 10px; 
            right: 16px;
            background: #fff;
            border-radius: 50%;
            width: 45px;
            height: 45px;
            box-shadow: 0 2px 14px rgba(255,63,108,0.12);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            color: var(--primary);
            cursor: pointer;
            z-index: 2;
            transition: all 0.3s ease;
        }
        
        .rating-container-main {
            position: absolute;
            left: 18px; 
            top: 18px;
            background: var(--success);
            color: #fff;
            border-radius: 8px;
            font-weight: 600;
            font-size: 1.05em;
            padding: 5px 14px;
            display: flex; 
            align-items: center; 
            gap: 8px;
            box-shadow: 0 2px 12px rgba(3,166,133,0.10);
        }
        
@media (max-width:760px) {
     .brands-section{
            margin-top: -100px;
           
        }
}

       
        /* MOBILE GALLERY */
        .image-gallery-mobile {
            display: none;
            width: 100%;
            position: relative;
            
        }
        
        .slider-container {
            display: flex;
            width: 100%;
            transition: transform 0.5s ease;
        }
        
        .slide {
            min-width: 100%;
            aspect-ratio: 1/1.1;
            background: var(--light-bg);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 10px;
        }
        
        .slide img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            border-radius: 12px;
        }
        
        .slider-dots {
            display: flex;
            gap: 8px;
            justify-content: center;
            margin-top: 15px;
        }
        
        .slider-dot {
            width: 10px; 
            height: 10px;
            border-radius: 50%;
            background: #ddd;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .slider-dot.active {
            background: var(--primary);
            transform: scale(1.2);
        }
        
        .slider-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255,255,255,0.8);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 2;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .image-gallery-mobile:hover .slider-nav {
            opacity: 1;
        }
        
        .slider-prev {
            left: 15px;
        }
        
        .slider-next {
            right: 15px;
        }
        
        /* PRODUCT DETAILS */
        .product-details-container {
            width: 100%;
            display: flex;
            flex-direction: column;
        }
        
        .product-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 8px;
            color: #232323;
            line-height: 1.3;
            max-height: 3.2em;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            transition: max-height 0.3s ease;
        }
        
        .product-title.expanded {
            max-height: 100vh;
            -webkit-line-clamp: unset;
        }
        
        .more-title-btn {
            color: var(--primary);
            font-size: 1rem;
            margin-left: 4px;
            cursor: pointer;
            text-decoration: underline;
            background: none;
            border: none;
            padding: 0;
        }
        
       
        
        .price-row1 {
            display: flex; 
            gap: 15px; 
            align-items: baseline; 
            margin: 12px 0 6px 0;
        }
        
        .discount-price {
            color: #0f0f0f;
            font-size: 2em;
            font-weight: 700;
        }
        
        .original-price-main {
            font-size: 1.12em;
            color: #f33b3b;
            text-decoration: line-through;
            font-weight: 500;
        }
        
        .discount-percent {
            color: var(--discount);
            font-weight: 700;
            font-size: 1.12em;
        }
        
        .tax-info {
            color: var(--success);
            font-size: .95em;
            margin-bottom: 10px;
        }
        
        /* OPTIONS: COLOR & SIZE */
        .option-section {
           
           
        }
        
        .option-label {
            font-size: 1.3em; 
            font-weight: 600;
            margin-bottom: 12px;
            display: flex; 
            align-items: center; 
            gap: 7px;
        }
        
        .color-options {
            display: flex; 
            gap: 13px;
            flex-wrap: wrap;
        }
        
        .color-swatch {
            width: 36px; 
            height: 36px; 
            border-radius: 50%; 
            border: 2.5px solid #e4e4e4;
            cursor: pointer; 
            transition: all 0.2s ease;
            position: relative;
        }
        
        .color-swatch.selected {
            border: 2.5px solid var(--primary);
            box-shadow: 0 0 0 3px #ffe3ed;
        }
        
        .color-swatch .fa-check {
            position: absolute; 
            right: -2px; 
            bottom: -2px;
            background: #fff; 
            color: var(--primary); 
            border-radius: 50%; 
            font-size: 14px;
            padding: 2px;
            border: 1px solid var(--primary);
        }
        
        .size-options {
            display: flex; 
            gap: 12px; 
            flex-wrap: wrap;
            margin-top: 8px;
        }
        
        .size-option {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .size-btn {
            width: auto; 
            height: auto;
            padding: 5px 10px;
            background: #fff;
            border: 1.5px solid #d8d8d8;
            border-radius: 11px;
            font-weight: 600;
            font-size: 1em;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex; 
            align-items: center; 
            justify-content: center;
        }
        
        .size-btn.selected {
            border: 2px solid var(--primary); 
            color: var(--primary); 
            background: #fff0f7;
        }
        
        .size-btn.out-of-stock {
            opacity: 0.5;
            cursor: not-allowed;
        }
        
        .size-stock {
            font-size: 10px; 
            color: #f26d5f; 
            margin-top: 4px; 
            text-align: center;
        }
        
        /* LABELS UNDER OPTIONS */
        .labels-row {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin: 16px 0 8px 1px;
        }
        
        .label-chip {
            background: var(--light-bg);
            color: #232323;
            font-size: 0.9em;
            font-weight: 600;
            border-radius: 12px;
            padding: 6px 12px;
            display: flex; 
            align-items: center; 
            gap: 5px;
            box-shadow: 0 1px 4px #eee;
        }
        
        .label-chip i { 
            color: var(--primary); 
            font-size: 0.9em;
        }
        
        .label-chip.green { 
            color: var(--success); 
        }
        
        .label-chip.green i {
            color: var(--success);
        }
        
        /* ACTION BTNS */
        .action-btns-row {
            display: flex; 
            gap: 12px; 
            margin: 24px 0;
        }
        
        .main-action-btn {
            flex: 1;
            padding: 14px 0;
            font-size: 1.1em; 
            font-weight: 700; 
            border: none; 
            border-radius: 8px; 
            transition: all 0.2s ease;
            cursor: pointer;
            display: flex; 
            align-items: center; 
            justify-content: center; 
            gap: 8px;
        }
        
        .main-action-btn.cart {
            background: var(--primary); 
            color: #fff;
            box-shadow: 0 3px 14px 0 #ffe3ed;
        }
        
        .main-action-btn.buy {
            background: #232323; 
            color: #fff;
        }
        
        .main-action-btn:hover {
            opacity: 0.9;
            transform: translateY(-2px);
        }
        
        .main-action-btn:active {
            transform: translateY(0);
        }




         /* ========== BRAND/SELLER SECTION ========== */
        .seller-box-main {
            align-items: center;
            
        }
        .seller-box-header{
            display: flex;
            justify-content: center;
            vertical-align: middle;
            margin-top: 10px;
        }
        
        .seller-box img {
            height: 40px;
            vertical-align: middle;
            padding: 10px;
            padding-top: 0;
           
        }
        
        .seller-box {
            padding: 25px;
            text-align: center;
            border-radius: 12px;
            margin: 0px;
            
        }
        
        .seller-box .name {
            font-weight: 700;
            font-size: 20px;
            margin-top: 5px;
            color: #111111;
            vertical-align: middle;
            
        }
        
        .seller-box .verified {
            font-size: 14px;
            color: #28a745;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .seller-box .verified i {
            margin-right: 5px;
        }
        
        .seller-box button {
            margin: 10px 8px 0;
            padding: 10px 20px;
            border-radius: 20px;
            border: none;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.2s;
        }
        
        .seller-box button:first-child {
            background: #f0f0f0;
            color: #333;
        }
        
        .seller-box button:first-child:hover {
            background: #e0e0e0;
        }
        
        .seller-box button:last-child {
            background: #ff3e6c;
            color: white;
        }
        
        .seller-box button:last-child:hover {
            background: #ff2a5d;
        }
        a{
            text-decoration: none;
        }
        

        /* ========== LABELS ========== */
        .labels {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
        }
        
        .label {
            background: var(--light-bg);
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 10px;
            font-weight: 600;
        }
        
        .label.best-seller {
            color: var(--primary);
        }
        
        .label.fast-shipping {
            color: var(--success);
        }




        
        /* PRODUCT DETAILS ACCORDION */
        .details-accordion {
            margin: 30px 0;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }
        
        .accordion-item {
            border-bottom: 1px solid var(--border);
        }
        
        .accordion-item:last-child {
            border-bottom: none;
        }
        
        .accordion-header {
            padding: 16px 0;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background-color 0.2s ease;
        }
        
        .accordion-header:hover {
            background-color: rgba(0,0,0,0.02);
        }
        
        .accordion-title {
            font-weight: 600;
            font-size: 1.1em;
        }
        
        .accordion-icon {
            transition: transform 0.3s ease;
            color: var(--secondary);
        }
        
        .accordion-item.open .accordion-icon {
            transform: rotate(180deg);
        }
        
        .accordion-content {
            padding-bottom: 16px;
            display: none;
            animation: fadeIn 0.3s ease;
        }
        
        .accordion-item.open .accordion-content {
            display: block;
        }
        
        .product-description {
            font-size: 0.95em;
            color: var(--secondary);
            line-height: 1.6;
            margin-bottom: 16px;
        }
        
        .product-attributes {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 12px;
            margin-top: 12px;
        }
        
        .attribute {
            font-size: 0.9em;
        }
        
        .attribute-name {
            font-weight: 600;
            color: var(--dark-text);
            margin-bottom: 4px;
        }
        
        .attribute-value {
            color: var(--secondary);
        }
        
        /* RATINGS & REVIEWS */
        .ratings-overview {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 20px;
        }
        
        .ratings-score {
            background: var(--light-bg);
            padding: 16px;
            border-radius: 8px;
            min-width: 120px;
            text-align: center;
        }
        
        .ratings-number {
            font-size: 2em;
            font-weight: 700;
            color: var(--dark-text);
            line-height: 1;
        }
        
        .ratings-stars {
            font-size: 1.1em;
            color: #FFD700;
            margin: 8px 0;
            letter-spacing: 2px;
        }
        
        .ratings-count {
            font-size: 0.8em;
            color: var(--light-text);
        }
        
        .ratings-bars {
            flex: 1;
            min-width: 200px;
        }
        
        .rating-bar {
            display: flex;
            align-items: center;
            margin-bottom: 8px;
        }
        
        .rating-stars {
            width: 50px;
            color: #FFD700;
            font-size: 0.9em;
        }
        
        .rating-bar-container {
            flex: 1;
            height: 8px;
            background: var(--light-bg);
            border-radius: 4px;
            margin: 0 10px;
            overflow: hidden;
        }
        
        .rating-bar-fill {
            height: 100%;
            background: #FFD700;
            border-radius: 4px;
        }
        
        .rating-count {
            width: 40px;
            font-size: 0.8em;
            color: var(--light-text);
        }
        
        .review-card {
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 16px;
            margin-bottom: 16px;
            transition: var(--transition);
        }
        
        .review-card:hover {
            box-shadow: var(--box-shadow);
        }
        
        .review-user {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
        }
        
        .user-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: rgb(15, 167, 121);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
        }
        
        .user-name {
            font-weight: 600;
            font-size: 0.95em;
        }
        
        .user-rating {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 0.8em;
            color: var(--light-text);
        }
        
        .review-text {
            font-size: 0.95em;
            line-height: 1.6;
            margin-bottom: 10px;
        }
        
        .review-images {
            display: flex;
            gap: 8px;
            margin-top: 10px;
            overflow-x: auto;
            padding-bottom: 5px;
        }
        
        .review-image {
            width: 80px;
            height: 80px;
            object-fit: cover;
            border-radius: 4px;
            transition: var(--transition);
            cursor: pointer;
        }
        
        .review-image:hover {
            transform: scale(1.05);
        }
        
        .write-review-btn {
            background-color: var(--primary);
            color: var(--white);
            border: none;
            padding: 10px 16px;
            border-radius: 4px;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 16px;
            font-size: 0.95em;
        }
        
        .write-review-btn:hover {
            background-color: #E0355F;
        }
        
        .see-all {
            color: var(--primary);
            font-size: 0.9em;
            font-weight: 500;
            cursor: pointer;
            display: inline-block;
            margin-top: 10px;
        }
        
        /* TOP BRANDS SLIDER */
        .slider-wrapper {
            margin: 44px auto 28px;
            padding: 12px 0;
            background: #fff;
            border-radius: 14px;
          
            
        }
        
        .top-brand-title {
            text-align: center;
            font-size: 1.16em;
            color: #000;
            font-weight: 700;
            margin-bottom: 10px;
            letter-spacing: 1px;
        }
        
        .brand-scroller {
            width: 100%;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            padding-bottom: 5px;
        }
        
        .brand-scroller::-webkit-scrollbar { 
            display: none; 
        }
        
        .brand-slider {
            display: flex; 
            gap: 50px; 
            padding: 0 20px; 
            width: max-content;
        }
        
        .brand-slide {
            min-width: 66px;
            text-align: center;
            flex-shrink: 0;

        }
        
        .brand-slide img {
            
            height: 80px; 
            object-fit: contain;
             
    
        }
        
        
        
        /* FEATURED PRODUCTS */
        .recommendations-section {
            margin: 28px auto 0;
            background: #fff;
            border-radius: 14px;
           
            padding: 22px 15px;
            max-width: 1260px;
        }
        
        .section-title {
            font-size: 1.37em;
            color: #222;
            font-weight: 700;
            margin-bottom: 18px;
            padding: 0 10px;
        }
        
        
        
        /* ANIMATIONS */
        @keyframes fadeIn { 
            from {
                opacity: 0; 
                transform: translateY(10px);
            } 
            to {
                opacity: 1; 
                transform: translateY(0);
            } 
        }
        
        @keyframes pop { 
            0% {
                transform: scale(0.8);
            } 
            50% {
                transform: scale(1.1);
            }
            100% {
                transform: scale(1);
            } 
        }
        
        /* RESPONSIVE STYLES */
        @media (min-width: 768px) {
            main {
                flex-direction: row;
                gap: 40px;
                padding: 24px;
            }
            
            .gallery-section {
                flex: 1;
                position: sticky;
                top: 100px;
                align-self: flex-start;
            }
            
            .image-gallery-desktop {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }
            
            .product-details-container {
                flex: 1;
                min-width: 300px;
            }
            
            .products-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        
        @media (min-width: 992px) {
            .image-gallery-desktop {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .products-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }
        
        @media (max-width: 767px) {
            
            
            .image-gallery-desktop {
                display: none;
            }
            
            .image-gallery-mobile {
                display: block;
            }
            
            main {
                padding: 0;
                border-radius: 0;
                box-shadow: none;
                margin-top: 0;
            }
            
            .product-details-container {
                padding: 0 15px;
            }
            
            .product-title {
                font-size: 1.5rem;
            }
            
            .action-btns-row {
                position: fixed;
                left: 0;
                right: 0;
                bottom: 0;
                z-index: 100;
                background: #fff;
                box-shadow: 0 -2px 16px rgba(0,0,0,0.07);
                margin: 0;
                padding: 12px 15px !important;
                border-radius: 0;
            }
            
            .product-details-container {
                padding-bottom: 80px;
            }
            
            .recommendations-section, 
            .slider-wrapper {
                border-radius: 0;
                box-shadow: none;
                margin-left: 0;
                margin-right: 0;
                max-width: 100%;
            }
            
            
        }
        
        @media (max-width: 480px) {
            .search-bar {
                display: none;
            }
            
            .product-title {
                font-size: 1.3rem;
            }
            
            .discount-price {
                font-size: 1.6em;
            }
            
            .original-price-main,
            .discount-percent {
                font-size: 1em;
            }
            
            .products-grid {
                grid-template-columns: 1fr;
            }
            
            .action-btns-row {
                padding: 10px 12px !important;
            }
            
            .main-action-btn {
                font-size: 1em;
                padding: 12px 0;
            }
        }



     
