/* CSS Variables */
        :root {
            --ivory: #f1ebf0;
            --accent: #211832;
            --taupe: #A8907C;
            --charcoal: #211832;
            --grey: #211832;
            --button-hover: #eae5ee;
            --footer-bg: #EAE6E1;
            --button-color:#2d2344;
            --white: #FFFFFF;
            --border-radius: 16px;
            --transition: all 0.3s ease;
            --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        }

        /* Global Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            background-color: var(--ivory);
            color: var(--charcoal);
            line-height: 1.6;
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5 {
            font-family: 'Playfair Display', serif;
            font-weight: 500;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
        }

        section {
            padding: 80px 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 50px;
            font-size: 2.5rem;
            position: relative;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 60px;
            height: 2px;
            background-color: var(--accent);
            margin: 15px auto;
        }

        .btn {
            display: inline-block;
            padding: 12px 30px;
            background-color: var(--button-color);
            color: white;
            border-radius: 30px;
            font-weight: 500;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-family: 'Montserrat', sans-serif;
        }

        .btn:hover {
            background-color: var(--charcoal);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        /* Header Styles */
        header {
            background-color: var(--ivory);
            padding: 15px 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            gap: 15px;
        }

        .logo {
            font-family: 'Playfair Display', serif;
            font-size: 1.8rem;
            font-weight: 600;
            color: var(--accent);
        }

        .search-container {
            position: relative;
            width: 400px;
            margin: 0 auto;
        }

        .search-input {
            width: 100%;
            padding: 10px 45px 10px 20px;
            border: 1px solid #ddd;
            border-radius: 30px;
            font-family: 'Montserrat', sans-serif;
            outline: none;
            transition: all 0.3s ease;
            background-color: white;
        }

        .search-input:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 2px rgba(159, 123, 72, 0.2);
        }

        .search-btn {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--grey);
            cursor: pointer;
            font-size: 1rem;
        }

        .header-icons {
            display: flex;
            gap: 20px;
        }

        .icon {
            font-size: 1.2rem;
            transition: color 0.3s ease;
            cursor: pointer;
        }

        .icon:hover {
            color: var(--accent);
        }

        .nav-links {
            display: flex;
            list-style: none;
            justify-content: center;
            gap: 40px;
            padding-top: 10px;
            border-top: 1px solid rgba(0, 0, 0, 0.05);
        }

        .nav-links a {
            font-weight: 500;
            transition: color 0.3s ease;
            position: relative;
            font-size: 1rem;
        }

        .nav-links a:hover {
            color: var(--accent);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background-color: var(--accent);
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--charcoal);
        }

        /* Product Section */
        .product-section {
            padding: 100px 0 60px;
            margin-top: 60px;
        }

        .product-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
        }

        /* Product Images */
        .product-images {
            display: flex;
            flex-direction: column;
        }

        .main-image {
            width: 100%;
            height: 500px;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            margin-bottom: 20px;
            position: relative;
        }

        .main-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .main-image:hover img {
            transform: scale(1.05);
        }

        .image-thumbnails {
            display: flex;
            gap: 15px;
            justify-content: center;
        }

        .thumbnail {
            width: 80px;
            height: 80px;
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            border: 2px solid transparent;
            transition: var(--transition);
        }

        .thumbnail.active {
            border-color: var(--accent);
        }

        .thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Product Details */
        .product-details {
            padding: 20px 0;
        }

        .product-title {
            font-size: 32px;
            margin-bottom: 10px;
            position: relative;
            display: inline-block;
        }

        .product-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 60px;
            height: 2px;
            background-color: var(--accent);
        }

        .product-collection {
            color: var(--accent);
            font-size: 16px;
            margin-bottom: 15px;
            font-weight: 500;
        }

        .product-rating {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 20px;
        }

        .stars {
            color: var(--accent);
        }

        .reviews-link {
            color: var(--grey);
            font-size: 14px;
            text-decoration: none;
            transition: var(--transition);
        }

        .reviews-link:hover {
            color: var(--accent);
        }

        .price-section {
            margin-bottom: 25px;
        }

        .current-price {
            font-size: 28px;
            font-weight: 700;
            margin-right: 10px;
        }

        .original-price {
            font-size: 20px;
            color: var(--grey);
            text-decoration: line-through;
            margin-right: 15px;
        }

        .discount {
            color: var(--accent);
            font-weight: 600;
            background-color: rgba(159, 123, 72, 0.1);
            padding: 3px 8px;
            border-radius: 4px;
        }

        .product-description {
            margin-bottom: 25px;
            color: var(--grey);
            line-height: 1.8;
        }

        .product-highlights {
            margin-bottom: 25px;
        }

        .highlight {
            display: flex;
            align-items: center;
            margin-bottom: 8px;
        }

        .highlight i {
            color: var(--accent);
            margin-right: 10px;
        }

        .offers-section {
            background-color: rgba(168, 144, 124, 0.1);
            padding: 15px;
            border-radius: var(--border-radius);
            margin-bottom: 25px;
        }

        .offer {
            display: flex;
            align-items: center;
            margin-bottom: 8px;
        }

        .offer i {
            color: var(--accent);
            margin-right: 10px;
        }

        .buttons-section {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
        }

        .btn-primary {
            background-color: transparent;
            color: var(--accent);
            border: none;
            padding: 14px 30px;
            border: 2px solid var(--button-color);
            border-radius: var(--border-radius);
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            font-family: 'Montserrat', sans-serif;
            font-size: 16px;
            flex: 1;
            text-align: center;
            text-decoration: none;
            display: inline-block;
        }

        .btn-primary:hover {
            background-color: var(--accent);
            color: var(--white);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(90, 83, 78, 0.3);
        }

        .btn-secondary {
            background-color: transparent;
            color: var(--accent);
            border: 2px solid var(--button-color);
            padding: 14px 30px;
            border-radius: var(--border-radius);
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            font-family: 'Montserrat', sans-serif;
            font-size: 16px;
            flex: 1;
            text-align: center;
            text-decoration: none;
            display: inline-block;
        }

        .btn-secondary:hover {
            background-color: var(--button-color);
            transform: translateY(-2px);
        }

        /* Enhanced Wishlist Styles */
        .action-icons {
            display: flex;
            gap: 20px;
            margin-bottom: 40px;
        }

        .action-icon {
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--accent);
            cursor: pointer;
            transition: var(--transition);
            padding: 10px 15px;
            border-radius: var(--border-radius);
            background-color: transparent;
            border: 2px solid var(--button-color);
        }

        .action-icon:hover {
            color: var(--white);
            background-color:var(--accent);
            transform: translateY(-2px);
        }

        .action-icon.active {
            color: var(--accent);
            background-color: rgba(159, 123, 72, 0.1);
        }

        .action-icon.active i {
            color: #e74c3c;
        }

        .wishlist-notification {
            position: fixed;
            top: 100px;
            right: 20px;
            background-color: var(--white);
            padding: 15px 20px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            display: flex;
            align-items: center;
            gap: 10px;
            z-index: 1000;
            transform: translateX(150%);
            transition: transform 0.4s ease;
            border-left: 4px solid var(--accent);
        }

        .wishlist-notification.show {
            transform: translateX(0);
        }

        .wishlist-notification i {
            color: var(--accent);
            font-size: 20px;
        }

        /* Enhanced Reviews Section */
        .reviews-section {
            margin-bottom: 60px;
        }

        .section-heading {
            font-family: 'Playfair Display', serif;
            font-size: 2.2rem;
            font-weight: 600;
            text-align: center;
            margin-bottom: 3rem;
            color: var(--charcoal);
            position: relative;
        }

        .section-heading::after {
            content: '';
            display: block;
            width: 60px;
            height: 2px;
            background-color: var(--accent);
            margin: 15px auto;
        }

        .overall-rating {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 30px;
            background-color: var(--white);
            padding: 20px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
        }

        .rating-score {
            font-size: 48px;
            font-weight: 700;
            color: var(--accent);
        }

        .rating-stars {
            margin-bottom: 10px;
        }

        .rating-count {
            color: var(--grey);
        }

        .review {
            background-color: var(--white);
            padding: 20px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            margin-bottom: 20px;
        }

        .review-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
        }

        .reviewer {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .reviewer-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--taupe);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-weight: 600;
        }

        .reviewer-name {
            font-weight: 600;
        }

        .verified-badge {
            color: var(--accent);
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .review-date {
            color: var(--grey);
            font-size: 14px;
        }

        .review-text {
            color: var(--grey);
            line-height: 1.7;
            margin-bottom: 15px;
        }

        /* Review Images Gallery */
        .review-images {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
            gap: 10px;
            margin-top: 15px;
        }

        .review-image {
            width: 100%;
            height: 100px;
            border-radius: 8px;
            object-fit: cover;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .review-image:hover {
            transform: scale(1.05);
        }

        /* Image Modal */
        .image-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 1100;
            align-items: center;
            justify-content: center;
        }

        .image-modal.active {
            display: flex;
        }

        .modal-content {
            max-width: 90%;
            max-height: 90%;
            position: relative;
        }

        .modal-image {
            width: 100%;
            height: auto;
            border-radius: 8px;
        }

        .close-modal {
            position: absolute;
            top: 15px;
            right: 15px;
            color: white;
            font-size: 30px;
            cursor: pointer;
            background: none;
            border: none;
        }

        /* Write Review Form */
        .write-review-form {
            background-color: var(--white);
            padding: 30px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            margin-top: 30px;
            display: none;
        }

        .write-review-form.active {
            display: block;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-family: 'Montserrat', sans-serif;
            font-size: 16px;
            transition: border-color 0.3s ease;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--accent);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 120px;
        }

        .rating-input {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
        }

        .rating-input i {
            font-size: 24px;
            color: #ddd;
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .rating-input i.active {
            color: var(--accent);
        }

        /* Image Upload */
        .image-upload {
            margin-top: 15px;
        }

        .upload-label {
            display: inline-block;
            padding: 10px 20px;
            background-color: var(--ivory);
            border: 1px dashed var(--taupe);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
            width: 100%;
        }

        .upload-label:hover {
            background-color: rgba(168, 144, 124, 0.1);
        }

        .upload-label i {
            margin-right: 8px;
            color: var(--accent);
        }

        .image-preview {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
            gap: 10px;
            margin-top: 15px;
        }

        .preview-item {
            position: relative;
            width: 100px;
            height: 100px;
        }

        .preview-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 8px;
        }

        .remove-image {
            position: absolute;
            top: -8px;
            right: -8px;
            background-color: var(--white);
            border-radius: 50%;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: var(--shadow);
            font-size: 12px;
        }

        .write-review-btn {
            text-align: center;
            margin-top: 30px;
        }

        /* Related Products */
        .related-products {
            margin-bottom: 60px;
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
        }

        .product-card {
            background-color: var(--white);
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            position: relative;
        }

        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        .product-img {
            height: 200px;
            width: 100%;
            object-fit: cover;
        }

        .product-info-card {
            padding: 15px;
        }

        .product-name {
            font-size: 16px;
            margin-bottom: 5px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .product-price {
            font-weight: 600;
            color: var(--accent);
        }

        .wishlist-icon {
            position: absolute;
            top: 10px;
            right: 10px;
            background-color: var(--white);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: var(--shadow);
        }

        .wishlist-icon:hover {
            color: #e74c3c;
            transform: scale(1.1);
        }

        .wishlist-icon.active {
            color: #e74c3c;
        }

        /* Footer Section */
        footer {
            background-color: var(--footer-bg);
            padding: 70px 0 30px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 40px;
            margin-bottom: 50px;
        }

        .footer-column h3 {
            font-family: 'Playfair Display', serif;
            font-size: 1.3rem;
            margin-bottom: 20px;
            color: var(--charcoal);
        }

        .footer-logo {
            font-family: 'Playfair Display', serif;
            font-size: 1.8rem;
            font-weight: 600;
            color: var(--accent);
            margin-bottom: 15px;
        }

        .footer-tagline {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.1rem;
            color: var(--grey);
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: var(--grey);
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: var(--accent);
        }

        .contact-info {
            color: var(--grey);
        }

        .contact-info p {
            margin-bottom: 10px;
        }

        .social-icons {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-icons a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: var(--ivory);
            border-radius: 50%;
            color: var(--charcoal);
            transition: all 0.3s ease;
        }

        .social-icons a:hover {
            background-color: var(--accent);
            color: var(--white);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(168, 144, 124, 0.3);
            color: var(--grey);
            font-size: 0.9rem;
        }

        /* Responsive Styles */
        @media (max-width: 1024px) {
            .product-container {
                gap: 40px;
            }
            
            .products-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .footer-content {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .review-images {
                grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
            }
            
            .review-image {
                height: 80px;
            }
        }

        @media (max-width: 768px) {
            .nav-links{
                display: none;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .product-container {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            
            .main-image {
                height: 400px;
            }
            
            .buttons-section {
                flex-direction: column;
            }
            
            .products-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .footer-content {
                grid-template-columns: 1fr;
            }
            
            .review-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
            
            .review-date {
                align-self: flex-end;
            }
            
            .review-images {
                grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
            }
            
            .review-image {
                height: 70px;
            }
            
            .image-preview {
                grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
            }
            
            .preview-item {
                width: 80px;
                height: 80px;
            }

            /* Stack layout */
            .header-top {
                display: flex;
                flex-wrap: wrap;
                align-items: center;
            }

            /* Logo left */
            .logo {
                flex: 1;
            }

            /* Icons right */
            .header-icons {
                display: flex;
                gap: 10px;
            }

            /* 🔥 Move search to next row */
            .header-search {
                order: 3;              /* pushes below */
                width: 100%;
                margin-top: 10px;
            }

            .header-search input {
                width: 100%;
                padding: 12px 15px;
                border-radius: 25px;
                font-size: 14px;
            }

            /* Optional: hide menu on mobile */
            .nav-menu {
                display: none;
            }

             .nav-links {
                flex-direction: column;
                gap: 15px;
            }
        }

        @media (max-width: 480px) {
            .nav-menu {
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .main-image {
                height: 300px;
            }
            
            .thumbnail {
                width: 60px;
                height: 60px;
            }
            
            .product-title {
                font-size: 26px;
            }
            
            .products-grid {
                grid-template-columns: 1fr;
            }
            
            .review-images {
                grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
            }
            
            .review-image {
                height: 60px;
            }
            
            .write-review-form {
                padding: 20px;
            }
            
            .image-preview {
                grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
            }
            
            .preview-item {
                width: 70px;
                height: 70px;
            }

            .nav-links {
                flex-direction: column;
                gap: 15px;
            }
        }

        /* Animation Classes */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.5s ease, transform 0.5s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .cart-icon {
            position: relative;
        }

        #cart-count {
            position: absolute;
            top: -6px;
            right: -8px;
            background: black;
            color: #fff;
            font-size: 12px;
            padding: 2px 6px;
            border-radius: 50%;
        }

        .menu-open .nav-links {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }