 @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');



        :root {
            --primary: #2563eb;
            --primary-dark: #1d4ed8;
            --secondary: #f59e0b;
            --dark: #1e293b;
            --light: #f8fafc;
            --gray: #64748b;
            --light-gray: #e2e8f0;
            --success: #10b981;
            --danger: #ef4444;
            --warning: #f59e0b;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --radius: 8px;
            --transition: all 0.3s ease;
        }

        

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: #f5f7fa;
            color: var(--dark);
            line-height: 1.6;
            font-size: 16px;
        }

        .container {
            max-width: 1300px;
            margin: 2rem auto;
            padding: 0 1rem;
            
        }

        /* Product Gallery */
        .product-gallery {
            display: grid;
            grid-template-columns: 100px 1fr;
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .thumbnails {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }


        .thumbnail {
            width: 100%;
            height: 80px;
            object-fit: cover;
            border-radius: var(--radius);
            cursor: pointer;
            border: 2px solid transparent;
            transition: var(--transition);
        }

        .thumbnail:hover, .thumbnail.active {
            border-color: var(--primary);
        }

        .main-image-container {
            position: relative;
            background: white;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            overflow: hidden;
            height: 500px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .main-image {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            transition: var(--transition);
        }

        .zoom-icon {
            position: absolute;
            bottom: 1rem;
            right: 1rem;
            background: rgba(0,0,0,0.7);
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
        }

        /* Product Info */
        .product-detail {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            margin-bottom: 3rem;
        }

        .product-info {
            background: white;
            padding: 2rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }

        .product-title {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--dark);
        }

        .product-meta {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .rating {
            color: var(--warning);
            font-size: 0.9rem;
        }

        .review-count {
            color: var(--gray);
            font-size: 0.9rem;
        }

        .stock-status {
            font-size: 0.9rem;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-weight: 500;
        }

        .in-stock {
            background-color: rgba(16, 185, 129, 0.1);
            color: var(--success);
        }

        .low-stock {
            background-color: rgba(239, 68, 68, 0.1);
            color: var(--danger);
        }

        .price-container {
            display: flex;
            align-items: center;
            gap: 15px;
            margin: 10px 0;
        }
        .original-price {
            text-decoration: line-through;
            color: #999;
            font-size: 0.9em;
        }
        .discount-price {
            color: #e53935;
            font-weight: bold;
            font-size: 1.2em;
        }
        .discount-badge {
            background: #e53935;
            color: white;
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 0.8em;
            font-weight: bold;
        }

        .product-price {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary);
            margin: 1.5rem 0;
        }

        .product-meta-item {
            display: flex;
            margin-bottom: 0.75rem;
        }

        .meta-label {
            font-weight: 600;
            min-width: 120px;
            color: var(--gray);
        }

        .meta-value {
            color: var(--dark);
        }

        /* Features */
        .features-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            margin: 2rem 0;
        }

        .feature-box {
            background: #f8fafc;
            border-radius: var(--radius);
            padding: 1.5rem;
            border: 1px solid var(--light-gray);
        }

        .feature-box h3 {
            font-size: 1.1rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--primary);
        }

        .feature-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
            font-size: 0.9rem;
        }

        .feature-icon {
            width: 24px;
            height: 24px;
            background: var(--primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
        }

        /* Quantity and Actions */
        .quantity-selector {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin: 1.5rem 0;
        }

        .quantity-btn {
            width: 36px;
            height: 36px;
            border: 1px solid var(--light-gray);
            background: white;
            font-size: 1rem;
            cursor: pointer;
            border-radius: 4px;
            transition: var(--transition);
        }

        .quantity-btn:hover {
            background: var(--light-gray);
        }

        .quantity-input {
            width: 60px;
            height: 36px;
            text-align: center;
            border: 1px solid var(--light-gray);
            border-radius: 4px;
            font-weight: 600;
        }

        .action-buttons {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin: 2rem 0;
        }

        .btn {
            padding: 0.75rem 1rem;
            border-radius: var(--radius);
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            cursor: pointer;
            transition: var(--transition);
            border: none;
        }

        .btn-primary {
            background: var(--primary);
            color: white;
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow);
        }

        .btn-whatsapp {
            background: #25D366;
            color: white;
        }

        .btn-whatsapp:hover {
            background: #128C7E;
            transform: translateY(-2px);
            box-shadow: var(--shadow);
        }

        .btn-outline {
            background: white;
            color: var(--primary);
            border: 1px solid var(--primary);
        }

        .btn-outline:hover {
            background: var(--primary);
            color: white;
        }

        /* Tags */
        .product-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 1.5rem;
        }

        .tag {
            background: var(--light-gray);
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.8rem;
            color: var(--gray);
        }

        /* Description */
        .product-description {
            background: white;
            padding: 2rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            margin-bottom: 3rem;
        }

        .section-title {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 0.5rem;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--primary);
        }

        .description-content {
            line-height: 1.8;
        }

        /* Related Products */
        .related-section {
            margin: 3rem 0;
        }

        .related-slider {
            margin: 1rem -0.5rem;
        }

        .related-card {
            background: white;
            border-radius: var(--radius);
            padding: 1rem;
            margin: 0.5rem;
            box-shadow: var(--shadow);
            transition: var(--transition);
            text-align: center;
        }

        .related-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .related-card img {
            width: 100%;
            height: 180px;
            object-fit: contain;
            margin-bottom: 1rem;
        }

        .related-card h4 {
            font-size: 1rem;
            margin-bottom: 0.5rem;
            color: var(--dark);
        }

        .related-card p {
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 1rem;
        }

        /* Modal for image zoom */
        .modal {
            display: none;
            position: fixed;
            z-index: 100;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.9);
            overflow: auto;
        }

        .modal-content {
            margin: auto;
            display: block;
            width: 80%;
            max-width: 800px;
            max-height: 90vh;
            position: relative;
            top: 50%;
            transform: translateY(-50%);
        }

        .close {
            position: absolute;
            top: 20px;
            right: 35px;
            color: white;
            font-size: 2rem;
            font-weight: bold;
            cursor: pointer;
        }

        
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

/* Updated Product Gallery Section */
.product-gallery {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.thumbnails {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
  max-height: 500px;
  padding-right: 5px;
}

.main-image-container {
  position: relative;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .product-gallery {
    grid-template-columns: 80px 1fr;
  }
  
  .main-image-container {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .container {
    margin: 1rem auto;
    padding: 0 0.75rem;
  }
  
  .product-gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .thumbnails {
    flex-direction: row;
    order: 2;
    margin-top: 1rem;
    max-height: 100px;
    overflow-x: auto;
    overflow-y: hidden;
  }
  
  .thumbnail {
    width: 80px;
    min-width: 80px;
    height: 80px;
  }
  
  .main-image-container {
    height: 300px;
    order: 1;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
   .action-buttons {
        gap: 0.5rem;
        margin: 1.5rem 0;
    }
    
    .btn {
        padding: 0.65rem 0.5rem;
        font-size: 0.85rem;
    }
  
  .product-title {
    font-size: 1.5rem;
  }
  
  .product-price {
    font-size: 1.8rem;
    margin: 1rem 0;
  }
  
  .product-meta {
    flex-wrap: wrap;
  }
  
  .product-meta-item {
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .meta-label {
    min-width: auto;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 13px;
  }
  
  .main-image-container {
    height: 250px;
  }
  
  .product-info {
    padding: 1.5rem;
  }
  
  .action-buttons .btn {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
  
  .quantity-selector {
    margin: 1rem 0;
  }
}