* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      :root {
        --primary: #0066cc;
        --secondary: #004a99;
        --light: #e8f4fd;
        --white: #ffffff;
        --dark: #1a1a1a;
        --gray: #666666;
        --success: #26de81;
        --warning: #ffa502;
      }

      body {
        font-family: "Inter", "Segoe UI", sans-serif;
        color: var(--dark);
        background: #f8f9fa;
      }

      /* Top Navigation */
      .top-nav {
        background: var(--secondary);
        color: var(--white);
        padding: 1rem 5%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        position: sticky;
        top: 0;
        z-index: 100;
      }

      .logo  img{
    width: 100px;
}

      .nav-links {
        display: flex;
        gap: 2rem;
        align-items: center;
      }

      .nav-links a {
        color: var(--white);
        text-decoration: none;
        font-weight: 500;
        transition: opacity 0.3s ease;
      }

      .nav-links a:hover {
        opacity: 0.8;
      }

      .back-btn {
        background: rgba(255, 255, 255, 0.2);
        padding: 0.6rem 1.5rem;
        border-radius: 20px;
        backdrop-filter: blur(10px);
      }

      .cart-badge {
        position: relative;
      }

      .cart-count {
        padding: px;
        position: absolute;
        top: -8px;
        right: -8px;
        background: #ff4757;
        color: var(--white);
        border-radius: 50%;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        font-weight: 700;
      }

      /* Breadcrumb */
      .breadcrumb {
        max-width: 1400px;
        margin: 2rem auto;
        padding: 0 5%;
        color: var(--gray);
      }

      .breadcrumb a {
        color: var(--primary);
        text-decoration: none;
      }

      .breadcrumb a:hover {
        text-decoration: underline;
      }

      /* Main Product Section */
      .product-container {
        max-width: 1400px;
        margin: 0 auto 4rem;
        padding: 0 5%;
        display: grid;
        grid-template-columns: 45% 55%;
        gap: 3rem;
        background: var(--white);
        border-radius: 30px;
        padding: 3rem;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
      }

      /* Product Images */
      .product-images {
        position: sticky;
        top: 100px;
        height: fit-content;
      }

      .main-image-container {
        width: 100%;
        height: 500px;
        background: var(--light);
        border-radius: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.5rem;
        position: relative;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
      }

      .main-image {
        font-size: 10rem;
        animation: float 3s ease-in-out infinite;
      }

      @keyframes float {
        0%,
        100% {
          transform: translateY(0);
        }
        50% {
          transform: translateY(-20px);
        }
      }

      .product-badge-large {
        position: absolute;
        top: 2rem;
        right: 2rem;
        background: #ff4757;
        color: var(--white);
        padding: 0.8rem 1.5rem;
        border-radius: 25px;
        font-weight: 700;
        font-size: 1rem;
      }

      .thumbnail-images {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
      }

      .thumbnail {
        height: 100px;
        background: var(--light);
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 3px solid transparent;
      }

      .thumbnail:hover,
      .thumbnail.active {
        border-color: var(--primary);
        transform: scale(1.05);
      }

      /* Product Details */
      .product-details {
        /* width: 100%; */
        animation: fadeInRight 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
      }

      @keyframes fadeInRight {
        from {
          opacity: 0;
          transform: translateX(50px);
        }
        to {
          opacity: 1;
          transform: translateX(0);
        }
      }

      .product-category {
        display: inline-block;
        background: var(--light);
        color: var(--primary);
        padding: 0.5rem 1.5rem;
        border-radius: 20px;
        font-weight: 600;
        margin-bottom: 1rem;
      }

      .product-title {
        font-size: 2.5rem;
        font-weight: 800;
        color: var(--dark);
        margin-bottom: 1rem;
        line-height: 1.2;
      }

      .product-meta {
        display: flex;
        gap: 2rem;
        align-items: center;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
        border-bottom: 2px solid var(--light);
      }

      .rating-section {
        display: flex;
        align-items: center;
        gap: 0.5rem;
      }

      .stars-large {
        color: #ffb800;
        font-size: 1.3rem;
      }

      .rating-number {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--dark);
      }

      .review-count {
        color: var(--gray);
      }

      .stock-status {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-weight: 600;
      }

      .stock-status.in-stock {
        color: var(--success);
      }

      .stock-status.low-stock {
        color: var(--warning);
      }

      .stock-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: currentColor;
        animation: pulse-dot 2s ease-in-out infinite;
      }

      @keyframes pulse-dot {
        0%,
        100% {
          opacity: 1;
        }
        50% {
          opacity: 0.5;
        }
      }

      .price-section {
        margin-bottom: 2rem;
      }

      .current-price {
        font-size: 3rem;
        font-weight: 800;
        color: var(--primary);
        margin-right: 1rem;
      }

      .original-price {
        font-size: 1.8rem;
        color: var(--gray);
        text-decoration: line-through;
        margin-right: 1rem;
      }

      .discount-badge {
        display: inline-block;
        background: #ff4757;
        color: var(--white);
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-weight: 700;
      }

      /* Product Options */
      .product-options {
        margin-bottom: 2rem;
      }

      .option-group {
        margin-bottom: 2rem;
      }

      .option-label {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--dark);
        margin-bottom: 1rem;
        display: block;
      }

      .strength-options,
      .quantity-options {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
      }

      .option-btn {
        padding: 0.8rem 1.5rem;
        border: 2px solid var(--light);
        background: var(--white);
        border-radius: 15px;
        cursor: pointer;
        font-size: 1rem;
        font-weight: 600;
        transition: all 0.3s ease;
      }

      .option-btn:hover {
        border-color: var(--primary);
        transform: translateY(-2px);
      }

      .option-btn.selected {
        background: var(--primary);
        color: var(--white);
        border-color: var(--primary);
      }

      .quantity-selector {
        display: flex;
        align-items: center;
        gap: 1rem;
      }

      .qty-btn {
        width: 45px;
        height: 45px;
        border: 2px solid var(--primary);
        background: var(--white);
        color: var(--primary);
        border-radius: 10px;
        font-size: 1.5rem;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 700;
      }

      .qty-btn:hover {
        background: var(--primary);
        color: var(--white);
      }

      .qty-input {
        width: 80px;
        height: 45px;
        text-align: center;
        border: 2px solid var(--light);
        border-radius: 10px;
        font-size: 1.2rem;
        font-weight: 700;
      }

      /* Action Buttons */
      .action-buttons {
        display: flex;
        gap: 1rem;
        margin-bottom: 2rem;
      }

      .btn-primary,
      .btn-secondary {
        flex: 1;
        padding: 1.2rem 2rem;
        border: none;
        border-radius: 15px;
        font-size: 1.1rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
      }

      .btn-primary {
        background: var(--primary);
        color: var(--white);
      }

      .btn-primary:hover {
        background: var(--secondary);
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
      }

      .btn-secondary {
        background: var(--light);
        color: var(--primary);
        border: 2px solid var(--primary);
      }

      .btn-secondary:hover {
        background: var(--primary);
        color: var(--white);
      }

      /* Product Info Tabs */
      .product-tabs {
        /* width: fit-content; */
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 2px solid var(--light);
      }

      .tab-buttons {
        display: flex;
        gap: 1rem;
        margin-bottom: 2rem;
        flex-wrap: wrap;
      }

      .tab-btn {
        padding: 0.8rem 1.5rem;
        background: var(--light);
        border: none;
        border-radius: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
      }

      .tab-btn.active {
        background: var(--primary);
        color: var(--white);
      }

      .tab-content {
        display: none;
        animation: fadeIn 0.5s ease;
      }

      .tab-content.active {
        display: block;
      }

      @keyframes fadeIn {
        from {
          opacity: 0;
          transform: translateY(10px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .description-text {
        font-size: 1.1rem;
        line-height: 1.8;
        color: var(--gray);
      }

      .info-list {
        list-style: none;
      }

      .info-list li {
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--light);
        display: flex;
        justify-content: space-between;
      }

      .info-list li strong {
        color: var(--dark);
      }

      /* Reviews Section */
      .reviews-section {
        max-width: 1400px;
        margin: 4rem auto;
        padding: 0 5%;
      }

      .section-title {
        font-size: 2.5rem;
        font-weight: 800;
        color: var(--secondary);
        margin-bottom: 2rem;
      }

      .reviews-summary {
        background: var(--white);
        border-radius: 25px;
        padding: 3rem;
        margin-bottom: 2rem;
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 3rem;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
      }

      .rating-overview {
        text-align: center;
      }

      .big-rating {
        font-size: 4rem;
        font-weight: 800;
        color: var(--primary);
        margin-bottom: 0.5rem;
      }

      .rating-bars {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
      }

      .rating-bar {
        display: flex;
        align-items: center;
        gap: 1rem;
      }

      .bar-label {
        min-width: 80px;
        font-weight: 600;
      }

      .bar-container {
        flex: 1;
        height: 10px;
        background: var(--light);
        border-radius: 10px;
        overflow: hidden;
      }

      .bar-fill {
        height: 100%;
        background: linear-gradient(90deg, #ffb800 0%, #ff8c00 100%);
        border-radius: 10px;
        transition: width 0.5s ease;
      }

      .bar-count {
        min-width: 40px;
        text-align: right;
        color: var(--gray);
      }

      .reviews-list {
        display: flex;
        flex-direction: column;
        gap: 2rem;
      }

      .review-card {
        background: var(--white);
        border-radius: 20px;
        padding: 2rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
        transition: all 0.3s ease;
      }

      .review-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      }

      .review-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
      }

      .reviewer-info {
        display: flex;
        align-items: center;
        gap: 1rem;
      }

      .reviewer-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--white);
        font-weight: 700;
        font-size: 1.2rem;
      }

      .reviewer-details h4 {
        font-weight: 700;
        color: var(--dark);
        margin-bottom: 0.2rem;
      }

      .review-date {
        color: var(--gray);
        font-size: 0.9rem;
      }

      .review-rating {
        color: #ffb800;
        font-size: 1.1rem;
      }

      .review-text {
        color: var(--gray);
        line-height: 1.8;
        margin-bottom: 1rem;
      }

      .review-helpful {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--gray);
        font-size: 0.9rem;
      }

      .helpful-btn {
        background: var(--light);
        border: none;
        padding: 0.5rem 1rem;
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.3s ease;
      }

      .helpful-btn:hover {
        background: var(--primary);
        color: var(--white);
      }

      /* Footer */
      .footer {
        background: var(--secondary);
        color: var(--white);
        padding: 4rem 5% 2rem;
        margin-top: 5rem;
      }

      .footer-grid {
        max-width: 1400px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 3rem;
        margin-bottom: 3rem;
      }

      .footer-col h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        font-weight: 700;
      }

      .footer-col p {
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.8;
        margin-bottom: 1.5rem;
      }

      .footer-col a {
        display: block;
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        margin-bottom: 0.8rem;
        transition: all 0.3s ease;
      }

      .footer-col a:hover {
        color: var(--white);
        padding-left: 10px;
      }

      .social-links {
        display: flex;
        gap: 1rem;
        margin-top: 1.5rem;
      }

      .social-icon {
        width: 45px;
        height: 45px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        cursor: pointer;
        transition: all 0.3s ease;
      }

      .social-icon:hover {
        background: var(--primary);
        transform: translateY(-5px);
      }

      .footer-bottom {
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        text-align: center;
        color: rgba(255, 255, 255, 0.7);
      }
           .product-image{
        width: 100%;
        height: auto;
      }
      
      /* Cart Button */
.cart-link {
  position: relative;
  text-decoration: none;
}

.cart-button {
  /* background: var(--background-alt);
  border: 1px solid var(--border);
  color: var(--primary);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease; */
  background: none;
      border: none;
      cursor: pointer;
      padding: 0.5rem;
      color: var(--text-primary);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s;
      border-radius: 8px;
}

.cart-button:hover {
  /* background: var(--primary); */
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.cart-count {
  
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
  display: none;
}

.product-table {
  width: 90%;
  border-collapse: collapse;
  background: var(--background-alt);
}

.product-table th,
.product-table td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid var(--color-gray-100);
}

.product-table thead {
  background: var(--background-alt);
}

.product-table tbody tr:hover {
  background: var(--background);
}

.product-table {
    min-width: 100%;
  }

  .product-table th,
  .product-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
  }

  
.btn--toggle {
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: var(--background-alt);
  color: var(--text-primary);
  font-weight: 500; 
}

.btn--toggle.btn--active {
  background: var(--primary);
  color: var(--background);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}


/* ADD TO CART BUTTON */
.btn--add {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.btn--add:hover {
  filter: brightness(1.1);
}

      /* Responsive */
      @media (max-width: 1024px) {
        .product-container {
        padding: 1rem;
          grid-template-columns: 1fr;
          gap: 2rem;
        }
        .product-images {
          position: relative;
          top: 0;
        }
        .reviews-summary {
          grid-template-columns: 1fr;
        }
        .footer-grid {
          grid-template-columns: 1fr 1fr;
        }
      }

      @media (max-width: 768px) {

        .product-details{
          max-width: 100%
        }

        .back-btn{
          display: none;
        }

        .product-title {
          font-size: 2rem;
        }
        .current-price {
          font-size: 2.2rem;
        }
        .action-buttons {
          flex-direction: column;
        }
        .footer-grid {
          grid-template-columns: 1fr;
        }
      }
 