:root {
    --primary: #a259ff;
    --secondary: #f24e1e;
    --border-glass: rgba(255,255,255,0.15);
  }
  * {
    box-sizing: border-box;
  }
  html, body {
    width: 100vw;
    overflow-x: hidden;
  }
  body {
    background: #000 !important;
    min-height: 100vh;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    padding-top: 60px; /* Adjust this to match your navbar height */
  }
  .container {
    max-width: 1200px; /* Increased from 900px */
    margin: 2rem auto;
    background: #000000;
    box-shadow: 0 8px 32px 0 rgba(0, 88, 156, 0.586);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .back {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: #a259ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.2s;
  }
  .back:hover {
    color: #f24e1e;
  }
  .product-flex {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .product-img {
    width: 100%;
    max-width: 350px;
    border-radius: 1.2rem;
    box-shadow: 0 4px 24px rgba(162, 89, 255, 0.18);
    background: #fff;
    object-fit: cover;
    margin: 0 auto;
    display: block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: imageFloat 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
  }
  
  .product-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(162, 89, 255, 0.2), transparent);
    transition: left 0.6s;
  }
  
  .product-img:hover::before {
    left: 100%;
  }
  
  .product-img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(162, 89, 255, 0.3);
  }
  
  @keyframes imageFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
  }
  
  /* Enhanced Button Animations */
  
  @keyframes buttonGlow {
    0%, 100% { box-shadow: 0 4px 16px rgba(162, 89, 255, 0.18); }
    50% { box-shadow: 0 4px 20px rgba(162, 89, 255, 0.3); }
  }
  
  /* Enhanced Quantity Button Animations */
  .qty-btn {
    background: var(--primary, #a259ff);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  
  .qty-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.3s;
    transform: translate(-50%, -50%);
  }
  
  .qty-btn:hover::before {
    width: 100%;
    height: 100%;
  }
  
  .qty-btn:hover {
    background: var(--secondary, #f24e1e);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(242, 78, 30, 0.4);
  }
  
  .qty-btn:active {
    transform: scale(0.95);
  }
  
  /* Enhanced Cart Link Animation */
  #cart-link {
    position: relative;
    transition: all 0.3s ease;
  }
  
  #cart-link:hover {
    transform: translateY(-2px);
  }
  
  #cart-link .cart-badge {
    animation: badgePulse 2s ease-in-out infinite;
  }
  
  @keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
  }
  
  /* Enhanced Hamburger Menu Animation */
  .nav-toggle-label {
    display: none; /* Hidden by default */
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
  }
  
  .nav-toggle-label:hover {
    transform: scale(1.1);
  }
  
  .nav-toggle-label span,
  .nav-toggle-label span:before,
  .nav-toggle-label span:after {
    display: block;
    background: #fff;
    height: 3px;
    width: 28px;
    border-radius: 2px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  .nav-toggle-label span:before,
  .nav-toggle-label span:after {
    content: '';
    position: absolute;
    left: 0;
  }
  
  .nav-toggle-label span:before {
    top: -9px;
  }
  
  .nav-toggle-label span:after {
    top: 9px;
  }
  
  .nav-toggle:checked + .nav-toggle-label span {
    background: transparent;
    transform: rotate(45deg);
  }
  
  .nav-toggle:checked + .nav-toggle-label span:before {
    top: 0;
    transform: rotate(90deg);
  }
  
  .nav-toggle:checked + .nav-toggle-label span:after {
    top: 0;
    transform: rotate(0deg);
  }
  
  /* Enhanced More Products Section */
  .more-products-section {
    margin-top: 2.5rem;
    background: rgba(24,24,36,0.7);
    border-radius: 1rem;
    padding: 1.2rem 1rem;
    color: #fff;
    box-shadow: 0 4px 16px rgba(162, 89, 255, 0.08);
    animation: sectionSlideUp 0.8s ease-out;
  }
  
  @keyframes sectionSlideUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .more-product-card {
    background: #23233a;
    border-radius: 0.8rem;
    box-shadow: 0 2px 8px rgba(162, 89, 255, 0.10);
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    position: relative;
    overflow: hidden;
    animation: cardFadeIn 0.6s ease-out;
    text-decoration: none; /* Add this line to remove the blue underline */
  }
  
  .more-product-card:nth-child(1) { animation-delay: 0.1s; }
  .more-product-card:nth-child(2) { animation-delay: 0.2s; }
  .more-product-card:nth-child(3) { animation-delay: 0.3s; }
  .more-product-card:nth-child(4) { animation-delay: 0.4s; }
  
  @keyframes cardFadeIn {
    from {
      opacity: 0;
      transform: translateY(20px) scale(0.9);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  
  .more-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(162, 89, 255, 0.1), transparent);
    transition: left 0.6s;
  }
  
  .more-product-card:hover::before {
    left: 100%;
  }
  
  .more-product-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 32px rgba(162, 89, 255, 0.25);
  }
  
  .more-product-card img {
    width: 100%;
    max-width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
  }
  
  .more-product-card:hover img {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(162, 89, 255, 0.3);
  }
  
  /* Enhanced Search Results Animation */
  #search-results {
    position: absolute;
    left: 0;
    top: 110%;
    width: 100%;
    min-width: 220px;
    max-width: 350px;
    background: #222;
    color: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(162,89,255,0.18);
    z-index: 2000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    box-sizing: border-box;
    overflow-x: hidden;
    animation: searchSlideDown 0.3s ease-out;
  }
  
  @keyframes searchSlideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .search-result-item {
    display: flex;
    align-items: center;
    gap: 0.7em;
    padding: 0.5em 1em;
    cursor: pointer;
    border-bottom: 1px solid #333;
    background: transparent;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
  }
  
  .search-result-item:hover {
    background: rgba(162, 89, 255, 0.1);
    transform: translateX(5px);
  }
  
  .search-result-item img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 0.5em;
    flex-shrink: 0;
    transition: all 0.3s ease;
  }
  
  .search-result-item:hover img {
    transform: scale(1.1);
  }
  
  /* Enhanced Cart Modal Animations */
  .modal-bg {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(24, 24, 36, 0.35);
    backdrop-filter: blur(8px) brightness(0.9);
    z-index: 999;
    align-items: flex-start;
    justify-content: flex-end;
    animation: modalFadeIn 0.3s ease-out;
  }
  
  @keyframes modalFadeIn {
    from {
      opacity: 0;
      backdrop-filter: blur(0px) brightness(1);
    }
    to {
      opacity: 1;
      backdrop-filter: blur(8px) brightness(0.9);
    }
  }
  
  .cart-modal-content {
    display: flex;
    flex-direction: column;
    height: 100vh;
    min-width: 340px;
    max-width: 420px;
    padding: 2.5rem 1.5rem 2rem 1.5rem;
    border-radius: 1.5rem;
    background: rgba(34, 34, 44, 0.96);
    box-shadow: 0 12px 48px 0 rgba(162, 89, 255, 0.25), 0 2px 24px 0 rgba(34,34,44,0.18);
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  @keyframes modalSlideIn {
    from {
      opacity: 0;
      transform: translateX(100%);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  .cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(24,24,36,0.85);
    border-radius: 1rem;
    box-shadow: 0 2px 8px 0 rgba(162, 89, 255, 0.10);
    border: 1.5px solid var(--border-glass);
    margin-bottom: 1rem;
    position: relative;
    max-width: 100%;
    box-sizing: border-box;
    animation: cartItemSlideIn 0.5s ease-out;
    transition: all 0.3s ease;
  }
  
  .cart-item:nth-child(1) { animation-delay: 0.1s; }
  .cart-item:nth-child(2) { animation-delay: 0.2s; }
  .cart-item:nth-child(3) { animation-delay: 0.3s; }
  
  @keyframes cartItemSlideIn {
    from {
      opacity: 0;
      transform: translateX(-20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  .cart-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 16px 0 rgba(162, 89, 255, 0.2);
  }
  
  .cart-item-remove {
    background: none;
    border: none;
    color: #f24e1e;
    font-size: 1.3rem;
    cursor: pointer;
    margin-left: 0.5rem;
    border-radius: 50%;
    padding: 0.2rem 0.5rem;
    transition: all 0.3s ease;
  }
  
  .cart-item-remove:hover {
    color: #fff;
    background: var(--secondary);
    box-shadow: 0 2px 8px 0 rgba(242, 78, 30, 0.18);
    transform: scale(1.1) rotate(90deg);
  }
  
  /* Enhanced Toast Animation */
  #toast {
    display: none;
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(34,34,44,0.95);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(162,89,255,0.12);
    z-index: 2000;
    font-weight: 600;
    animation: toastSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  @keyframes toastSlideUp {
    from {
      opacity: 0;
      transform: translateX(-50%) translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
  }
  
  /* Enhanced Back Button Animation */
  .back {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: #a259ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.2s;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
  }
  
  .back::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(162, 89, 255, 0.1);
    border-radius: 0.5rem;
    transition: width 0.3s ease;
  }
  
  .back:hover::before {
    width: 100%;
  }
  
  .back:hover {
    color: #f24e1e;
    transform: translateX(-5px);
  }
  
  /* Enhanced Product Details Animation */
  .product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.2rem;
    animation: detailsFadeIn 0.8s ease-out;
  }
  
  @keyframes detailsFadeIn {
    from {
      opacity: 0;
      transform: translateX(30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  /* Enhanced Price Animation */
  .price {
    color: #f24e1e;
    font-size: 1.5rem;
    font-weight: bold;
    animation: priceBounce 2s ease-in-out infinite;
  }
  
  @keyframes priceBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
  }
  
  /* Enhanced Product Extra Details Animation */
  .product-extra-details {
    margin-top: 2rem;
    background: rgba(24,24,36,0.7);
    border-radius: 1rem;
    padding: 1.2rem 1rem;
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 4px 16px rgba(162, 89, 255, 0.08);
    animation: extraDetailsSlideUp 1s ease-out;
  }
  
  @keyframes extraDetailsSlideUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .product-extra-details ul li {
    animation: listItemFadeIn 0.5s ease-out;
    animation-fill-mode: both;
  }
  
  .product-extra-details ul li:nth-child(1) { animation-delay: 0.1s; }
  .product-extra-details ul li:nth-child(2) { animation-delay: 0.2s; }
  .product-extra-details ul li:nth-child(3) { animation-delay: 0.3s; }
  .product-extra-details ul li:nth-child(4) { animation-delay: 0.4s; }
  
  @keyframes listItemFadeIn {
    from {
      opacity: 0;
      transform: translateX(-20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  /* Enhanced Container Animation */
  .container {
    max-width: 1400px;
    margin: 2rem auto;
    background: #101010;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(0, 17, 255, 0.25);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: containerSlideIn 0.8s ease-out;
  }
  
  @keyframes containerSlideIn {
    from {
      opacity: 0;
      transform: translateY(30px) scale(0.95);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  
  
  
  /* Enhanced More Products Title Animation */
  .more-products-section h3 {
    margin-bottom: 1rem;
    color: var(--primary, #a259ff);
    animation: titleGlow 3s ease-in-out infinite;
  }
  
  @keyframes titleGlow {
    0%, 100% { text-shadow: 0 0 5px rgba(162, 89, 255, 0.3); }
    50% { text-shadow: 0 0 15px rgba(162, 89, 255, 0.6); }
  }
  
  /* Enhanced More Product Title Animation */
  .more-product-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: #fff;
    transition: all 0.3s ease;
  }
  
  .more-product-card:hover .more-product-title {
    color: var(--primary);
    transform: scale(1.05);
  }
  
  /* Enhanced More Product Price Animation */
  .more-product-price {
    color: #f24e1e;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    transition: all 0.3s ease;
  }
  
  .more-product-card:hover .more-product-price {
    transform: scale(1.1);
    text-shadow: 0 0 8px rgba(242, 78, 30, 0.5);
  }
  
  /* Enhanced More Product Description Animation */
  .more-product-desc {
    color: #b0b0c3;
    font-size: 0.92rem;
    margin-bottom: 0.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.5em;
    transition: all 0.3s ease;
  }
  
  .more-product-card:hover .more-product-desc {
    color: #fff;
  }
  
  /* Enhanced Search Result Title Animation */
  .search-result-item .product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2em;
    transition: all 0.3s ease;
  }
  
  .search-result-item:hover .product-title {
    color: var(--primary);
  }
  
  /* Enhanced Search Result Price Animation */
  .search-result-item .product-price {
    color: #f24e1e;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
  }
  
  .search-result-item:hover .product-price {
    transform: scale(1.05);
  }
  
  /* Enhanced Empty Cart Message Animation */
  .cart-item:empty::before {
    content: 'Your cart is empty.';
    color: #b0b0c3;
    text-align: center;
    padding: 2em;
    animation: emptyCartPulse 2s ease-in-out infinite;
  }
  
  @keyframes emptyCartPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
  }
  
  /* Enhanced Loading States */
  .loading {
    animation: loadingPulse 1.5s ease-in-out infinite;
  }
  
  @keyframes loadingPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
  }
  
  /* Enhanced Focus States */
  *:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
  }
  
  /* Enhanced Selection */
  ::selection {
    background: var(--primary);
    color: #fff;
  }
  
  /* Enhanced Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  
  ::-webkit-scrollbar-track {
    background: rgba(24, 24, 36, 0.5);
    border-radius: 4px;
  }
  
  ::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
  }
  
  /* Enhanced Mobile Responsiveness with Animations */
  @media (max-width: 700px) {
    .container {
      padding: 1rem;
      border-radius: 0.7rem;
      animation: mobileContainerSlideIn 0.6s ease-out;
    }
    
    @keyframes mobileContainerSlideIn {
      from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }
    
    .title {
      font-size: 1.4rem;
      animation: mobileTitleSlideIn 0.8s ease-out;
    }
    
    @keyframes mobileTitleSlideIn {
      from {
        opacity: 0;
        transform: translateX(-20px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }
    
    .price {
      font-size: 1.1rem;
      animation: mobilePriceBounce 2s ease-in-out infinite;
    }
    
    @keyframes mobilePriceBounce {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.03); }
    }
    
    .desc {
      font-size: 1rem;
      animation: mobileDescFadeIn 1s ease-out;
    }
    
    @keyframes mobileDescFadeIn {
      from {
        opacity: 0;
        transform: translateY(10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    .buy-btn {
      width: 100%;
      font-size: 1rem;
      padding: 0.8rem 0;
      animation: mobileButtonSlideUp 0.8s ease-out;
    }
    
    @keyframes mobileButtonSlideUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
  }
  
  /* Enhanced Tablet Responsiveness */
  @media (min-width: 701px) and (max-width: 1024px) {
    .product-flex {
      flex-direction: row;
      align-items: flex-start;
      animation: tabletFlexSlideIn 0.8s ease-out;
    }
    
    @keyframes tabletFlexSlideIn {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    .product-img {
      margin: 0;
      animation: tabletImageFloat 6s ease-in-out infinite;
    }
    
    @keyframes tabletImageFloat {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-8px); }
    }
  }
  
  /* Enhanced Large Screen Animations */
  @media (min-width: 1025px) {
    .container {
      animation: largeScreenContainerSlideIn 1s ease-out;
    }
    
    @keyframes largeScreenContainerSlideIn {
      from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }
    
    .product-flex {
      flex-direction: row;
      align-items: flex-start;
      animation: largeScreenFlexSlideIn 1.2s ease-out;
    }
    
    @keyframes largeScreenFlexSlideIn {
      from {
        opacity: 0;
        transform: translateX(-30px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }
    
    .product-img {
      margin: 0;
      animation: largeScreenImageFloat 8s ease-in-out infinite;
    }
    
    @keyframes largeScreenImageFloat {
      0%, 100% { transform: translateY(0px) rotate(0deg); }
      25% { transform: translateY(-10px) rotate(1deg); }
      50% { transform: translateY(-5px) rotate(0deg); }
      75% { transform: translateY(-15px) rotate(-1deg); }
    }
  }
  
  /* Enhanced Print Styles */
  @media print {
    .navbar, .modal-bg, .particle, #toast {
      display: none !important;
    }
    
    .container {
      box-shadow: none;
      border: 1px solid #ccc;
    }
    
    .buy-btn, .qty-btn {
      display: none !important;
    }
  }
  
  /* Enhanced Reduced Motion Support */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
  
  /* Enhanced High Contrast Support */
  @media (prefers-contrast: high) {
    :root {
      --primary: #ffffff;
      --secondary: #ff0000;
      --border-glass: rgba(255,255,255,0.5);
    }
    
    .container {
      border: 2px solid #fff;
    }
    
    .buy-btn {
      border: 2px solid #fff;
    }
  }
  
  /* Enhanced Dark Mode Support */
  @media (prefers-color-scheme: dark) {
    :root {
      --primary: #a259ff;
      --secondary: #f24e1e;
      --border-glass: rgba(255,255,255,0.15);
    }
  }
  
  /* Enhanced Light Mode Support */
  @media (prefers-color-scheme: light) {
    :root {
      --primary: #6b46c1;
      --secondary: #e53e3e;
      --border-glass: rgba(0,0,0,0.1);
    }
    
    body {
      background: #f7fafc;
      color: #2d3748;
    }
    
    .container {
      background: #ffffff;
      box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    }
  }

  .navbar-blur {
    backdrop-filter: blur(12px) brightness(0.95) !important;
    background: rgba(24, 24, 36, 0.85) !important;
    transition: backdrop-filter 0.3s, background 0.3s;
  }

  .cart-side-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 95vw;
    height: 100vh;
    background: linear-gradient(135deg, #23233a 80%, #a259ff 100%);
    box-shadow: -2px 0 32px 0 rgba(162,89,255,0.18), -2px 0 24px rgba(0,0,0,0.25);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    border-top-left-radius: 1.5rem;
    border-bottom-left-radius: 1.5rem;
    border-left: 2px solid #a259ff33;
    overflow: hidden;
  }
  .cart-side-panel.open {
    transform: translateX(0);
    box-shadow: -8px 0 40px 0 #a259ff44, -2px 0 24px rgba(0,0,0,0.25);
  }
  .cart-side-panel .close-cart-panel {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    align-self: flex-end;
    margin: 0.5rem 1rem 0 0;
    cursor: pointer;
    transition: color 0.2s;
  }
  .cart-side-panel .close-cart-panel:hover {
    color: #f24e1e;
  }
  .cart-side-panel iframe {
    flex: 1;
    width: 100%;
    border: none;
    border-radius: 0 0 1rem 1rem;
    background: transparent;
    box-shadow: none;
  }
  .more-products-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
  }
  @media (max-width: 700px) {
    .more-products-list {
      grid-template-columns: 1fr 1fr; /* Two columns */
      gap: 1rem;
    }
  }
  .mobile-search-btn {
    display: none;
  }
  @media (max-width: 700px) {
    .mobile-search-btn {
      display: inline-block !important;
      background: none;
      border: none;
      color: #fff;
      font-size: 1.5rem;
      margin-left: 1rem;
      cursor: pointer;
    }
    .nav-search-container {
      display: none !important;
    }
  }
  .mobile-search-overlay {
    display: none;
    position: fixed;
    z-index: 20000;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(24,24,36,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 80px;
    transition: opacity 0.3s;
  }
  .mobile-search-overlay.active {
    display: flex;
  }
  #mobile-search-input {
    width: 90vw;
    max-width: 400px;
    font-size: 1.2rem;
    padding: 0.8rem 1rem;
    border-radius: 1.2rem;
    border: 1.5px solid var(--primary);
    background: #23233a;
    color: #fff;
    margin-bottom: 1.5rem;
  }
  #mobile-search-results {
    width: 90vw;
    max-width: 400px;
    background: #23233a;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(162,89,255,0.18);
    color: #fff;
    max-height: 300px;
    overflow-y: auto;
  }
  .close-mobile-search {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
  }
  
  @media (max-width: 700px) {
    .nav-links {
      display: none;
      position: absolute;
      top: 60px;
      right: 0;
      background: #23233a;
      width: 100vw;
      flex-direction: column;
      align-items: flex-end;
      padding: 1rem 2rem;
      z-index: 1001;
      border-radius: 0 0 1rem 1rem;
      box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.25);
    }
    .nav-toggle:checked ~ .nav-links {
      display: flex;
    }
    .nav-toggle-label {
      display: flex;
    }
  }
  
  .product-detail-main {
    display: flex;
    gap: 2rem;
    background: #181824;
    border-radius: 1.2rem;
    padding: 2rem;
    margin-bottom: 2rem;
  }
  .product-gallery {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .main-img {
    width: 320px;
    height: 220px;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 24px rgba(162, 89, 255, 0.18);
  }
  .gallery-thumbnails img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin: 0 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.2s;
  }
  .gallery-thumbnails img:hover {
    border: 2px solid #a259ff;
  }
  .product-info {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .features {
    list-style: none;
    padding: 0;
  }
  .features li {
    margin-bottom: 0.5em;
  }
  .usage ol {
    margin: 0;
    padding-left: 1.2em;
  }
  .faq b {
    display: block;
    margin-top: 0.7em;
  }
  .guarantee {
    margin-top: 1em;
    color: #a259ff;
    font-weight: bold;
  }
  .add-to-cart {
    margin-top: 1.5em;
    display: flex;
    gap: 1em;
    align-items: center;
  }
  .feature-cards {
    display: flex;
    gap: 1em;
    margin: 1em 0 1.5em 0;
    flex-wrap: wrap;
  }
  .feature-card {
    background: #23233a;
    color: #fff;
    border-radius: 0.7em;
    padding: 0.7em 1.2em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5em;
    box-shadow: 0 2px 8px rgba(162, 89, 255, 0.10);
    font-size: 1em;
    transition: background 0.2s;
  }
  .feature-card span {
    font-size: 1.3em;
  }
  .feature-card:hover {
    background: #a259ff;
    color: #fff;
  }
  .info-tabs {
    display: flex;
    gap: 0.5em;
    margin-bottom: 1em;
  }
  .tab-btn {
    background: #23233a;
    color: #fff;
    border: none;
    border-radius: 0.5em 0.5em 0 0;
    padding: 0.5em 1.2em;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
  }
  .tab-btn.active, .tab-btn:hover {
    background: #a259ff;
    color: #fff;
  }
  .tab-content {
    background: #181824;
    border-radius: 0 0 1em 1em;
    padding: 1em 1.2em;
    margin-bottom: 1em;
    box-shadow: 0 2px 8px rgba(162, 89, 255, 0.10);
  }

  
  /* How it Works Steps */
  .how-steps {
    display: flex;
    flex-direction: column;
    gap: 1.2em;
    margin: 1em 0;
  }
  .how-step {
    display: flex;
    align-items: flex-start;
    gap: 1em;
    background: #23233a;
    border-radius: 0.8em;
    padding: 1em 1.2em;
    box-shadow: 0 2px 8px rgba(162, 89, 255, 0.10);
  }
  .how-step-number {
    background: #a259ff;
    color: #fff;
    font-weight: bold;
    font-size: 1.2em;
    width: 2.2em;
    height: 2.2em;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  /* FAQ Accordion */
  .faq-accordion {
    margin: 1.5em 0;
  }
  .faq-item {
    background: #23233a;
    border-radius: 0.9em;
    margin-bottom: 1em;
    box-shadow: 0 2px 8px rgba(162, 89, 255, 0.10);
    overflow: hidden;
    transition: box-shadow 0.2s;
  }
  .faq-item.open {
    box-shadow: 0 4px 16px rgba(162, 89, 255, 0.18);
  }
  .faq-question {
    cursor: pointer;
    padding: 1.2em 1.5em;
    font-weight: 700;
    color: #a259ff;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.13em;
    letter-spacing: 0.2px;
    transition: background 0.2s, color 0.2s;
    border-bottom: 1px solid #2d2d44;
    outline: none;
  }
  .faq-question:hover, .faq-item.open .faq-question {
    background: #181824;
    color: #fff;
  }
  .faq-answer {
    display: none;
    align-items: center;         /* Vertically center the text */
    min-height: 2.5em;
    margin-top: 0.3em;
    padding: 1em 1.5em 1.3em 1.5em;
    color: #e0e0ff;
    font-weight: 400;
    font-size: 1.08em;
    line-height: 1.7;
    animation: fadeInFaq 0.3s;
  }
  .faq-item.open .faq-answer {
    display: flex; /* ya block, jo aap use kar rahe hain */
  }
  @keyframes fadeInFaq {
    from { opacity: 0; transform: translateY(-8px);}
    to { opacity: 1; transform: translateY(0);}
  }

  /* Guarantee Box */
  .guarantee-box {
    background: linear-gradient(90deg, #a259ff 60%, #f24e1e 100%);
    color: #fff;
    border-radius: 1em;
    padding: 1.2em 1.5em;
    font-weight: 600;
    font-size: 1.1em;
    margin: 1em 0;
    box-shadow: 0 2px 8px rgba(162, 89, 255, 0.10);
    letter-spacing: 0.5px;
  }

  @media (max-width: 700px) {
.container {
  padding: 0.5em 0.2em;
  border-radius: 0.7rem;
}
.product-detail-main {
  flex-direction: column;
  gap: 1.2em;
  padding: 1em 0.3em;
  border-radius: 0.7em;
}
.product-gallery {
  width: 100%;
  align-items: center;
  margin-bottom: 1em;
}
.main-img {
  width: 95vw;
  max-width: 340px;
  height: auto;
  min-height: 180px;
  margin: 0 auto 0.7em auto;
}
.gallery-thumbnails {
  justify-content: center;
  gap: 0.5em;
}
.gallery-thumbnails img {
  width: 48px;
  height: 32px;
}
.product-info {
  padding: 0 0.2em;
  gap: 0.7em;
}
.price {
  font-size: 1.2em;
  margin-bottom: 0.5em;
}
.add-to-cart {
  flex-direction: row;
  gap: 0.7em;
  margin-top: 0.7em;
}
.feature-cards {
  flex-direction: column;
  gap: 0.5em;
  margin: 0.7em 0;
}
.feature-card {
  font-size: 0.98em;
  padding: 0.6em 1em;
}
.desc {
  font-size: 1em;
  margin-bottom: 0.7em;
}
.info-tabs {
  flex-direction: row;
  gap: 0.2em;
  margin-bottom: 0.7em;
}
.tab-btn {
  font-size: 0.98em;
  padding: 0.4em 0.7em;
}
.tab-content {
  padding: 0.7em 0.5em;
  font-size: 0.98em;
}
.faq-question {
  font-size: 1em;
  padding: 1em 0.7em;
}
.faq-answer {
  font-size: 0.98em;
  padding: 0.7em 0.7em 1em 0.7em;
}
.guarantee-box {
  font-size: 1em;
  padding: 0.8em 0.7em;
}
.more-products-section {
  margin-top: 1em;
  padding: 0.7em 0.2em;
}
.more-products-list {
  grid-template-columns: 1fr 1fr;
  gap: 0.5em;
}
.more-product-card {
  padding: 0.5em;
  font-size: 0.95em;
  text-decoration: none; /* Add this line to remove the blue underline */
}
}

@media (max-width: 700px) {
.faq-accordion {
  margin: 1em 0 0.5em 0;
}
.faq-item {
  margin-bottom: 0.7em;
  border-radius: 0.7em;
}
.faq-question {
  font-size: 1.05em;
  padding: 1em 0.7em;
  border-bottom-width: 2px;
  border-radius: 0.7em 0.7em 0 0;
  min-height: 48px;
  line-height: 1.3;
  letter-spacing: 0.1px;
  /* Make touch area bigger */
}
.faq-answer {
  font-size: 0.99em;
  padding: 0.8em 0.7em 1em 0.7em;
  min-height: 2.7em;
  line-height: 1.7;
  word-break: break-word;
  /* For vertical centering on short answers */
  align-items: center;
  justify-content: flex-start;
}
}

/* Telegram Floating Button Style */
.telegram-float {
position: fixed;
bottom: 30px;
right: 30px;
z-index: 9999;
background: #229ED9;
border-radius: 50%;
box-shadow: 0 2px 8px rgba(0,0,0,0.2);
padding: 10px;
transition: transform 0.2s;
display: flex;
align-items: center;
justify-content: center;
animation: telegram-bounce 2s infinite;
}

  /* Pricing Selector Styles */
  .pricing-selector {
  margin: 1.5rem 0
}

.pricing-options {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap
}

.pricing-option {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  background: rgba(24,24,36,.7);
  border: 2px solid rgba(162,89,255,.3);
  border-radius: 1rem;
  padding: 1.2rem;
  cursor: pointer;
  transition: all .3s ease;
  position: relative;
  overflow: hidden
}

.pricing-option::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,rgba(162,89,255,.1) 0%,rgba(242,78,30,.1) 100%);
  opacity: 0;
  transition: opacity .3s ease
}

.pricing-option:hover::before,.pricing-option.selected::before {
  opacity: 1
}

.pricing-option:hover,.pricing-option.selected {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(162,89,255,.2);
  transform: translateY(-2px)
}

.pricing-option.selected {
  border-color: var(--primary);
  background: rgba(162,89,255,.1)
}

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

.option-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff
}

.option-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary)
}

.option-original {
  font-size: .9rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: .3rem
}

.option-discount {
  font-size: .8rem;
  color: var(--secondary);
  font-weight: 700;
  background: rgba(242,78,30,.2);
  padding: .2rem .5rem;
  border-radius: .5rem;
  display: inline-block
}

@media (max-width: 700px) {
  .pricing-options {
      flex-direction:column
  }

  .pricing-option {
      min-width: 100%;
      margin-bottom: .5rem
  }
}

/* Enhanced Quantity Controls Styling */
.quantity-controls {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 1rem;
background: rgba(24,24,36,0.7);
border-radius: 1rem;
padding: 0.8rem 1rem;
border: 1.5px solid var(--border-glass);
box-shadow: 0 2px 8px rgba(162, 89, 255, 0.10);
transition: all 0.3s ease;
}

.quantity-controls:hover {
box-shadow: 0 4px 16px rgba(162, 89, 255, 0.18);
transform: translateY(-2px);
}

.quantity-label {
font-weight: 600;
color: #fff;
font-size: 0.95rem;
margin-right: 0.5rem;
min-width: 60px;
}

.quantity-input-group {
display: flex;
align-items: center;
background: #23233a;
border-radius: 0.8rem;
border: 1px solid rgba(162, 89, 255, 0.3);
overflow: hidden;
transition: all 0.3s ease;
}

.quantity-input-group:focus-within {
border-color: var(--primary);
box-shadow: 0 0 0 2px rgba(162, 89, 255, 0.2);
}

.quantity-btn {
background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
color: #fff;
border: none;
width: 2.5rem;
height: 2.5rem;
font-size: 1.2rem;
font-weight: bold;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
display: flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
}

.quantity-btn::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
background: rgba(255,255,255,0.3);
border-radius: 50%;
transition: all 0.3s;
transform: translate(-50%, -50%);
}

.quantity-btn:hover::before {
width: 100%;
height: 100%;
}

.quantity-btn:hover {
transform: scale(1.1);
box-shadow: 0 4px 12px rgba(162, 89, 255, 0.4);
}

.quantity-btn:active {
transform: scale(0.95);
}

.quantity-btn:disabled {
background: #444;
color: #666;
cursor: not-allowed;
transform: none;
}

.quantity-btn:disabled:hover {
transform: none;
box-shadow: none;
}

.quantity-btn:disabled::before {
display: none;
}

#product-qty {
background: #23233a;
color: #fff;
border: none;
width: 4rem;
height: 2.5rem;
text-align: center;
font-size: 1.1rem;
font-weight: 600;
outline: none;
transition: all 0.3s ease;
}

#product-qty:focus {
background: #2a2a3a;
color: var(--primary);
}

#product-qty::-webkit-inner-spin-button,
#product-qty::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}

#product-qty[type=number] {
-moz-appearance: textfield;
}

/* Quantity Animation */
@keyframes quantityPulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.05); }
}

.quantity-input-group:focus-within {
animation: quantityPulse 0.3s ease-out;
}

/* Mobile Responsive Quantity Controls */
@media (max-width: 700px) {
.quantity-controls {
  flex-direction: column;
  align-items: stretch;
  gap: 0.8rem;
  padding: 1rem;
}

.quantity-label {
  text-align: center;
  margin-right: 0;
  margin-bottom: 0.3rem;
}

.quantity-input-group {
  justify-content: center;
  max-width: 200px;
  margin: 0 auto;
}

.quantity-btn {
  width: 3rem;
  height: 3rem;
  font-size: 1.4rem;
}

#product-qty {
  width: 5rem;
  height: 3rem;
  font-size: 1.2rem;
}
}

/* Enhanced Add to Cart Button with Quantity Integration */
#add-to-cart-btn {
background: #a259ff;
color: #fff;
border: none;
border-radius: 1.2em;
padding: 1rem 2.5rem;
font-size: 1.1em;
font-weight: 700;
cursor: pointer;
box-shadow: 0 4px 16px rgba(162, 89, 255, 0.15);
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
letter-spacing: 0.5px;
position: relative;
overflow: hidden;
}

#add-to-cart-btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
transition: left 0.6s;
}

#add-to-cart-btn:hover::before {
left: 100%;
}

#add-to-cart-btn:hover, #add-to-cart-btn:focus {
background: #7c3aed !important;
transform: translateY(-3px) scale(1.05);
box-shadow: 0 8px 24px rgba(162, 89, 255, 0.3);
color: #fff;
}

#add-to-cart-btn:active {
transform: translateY(-1px) scale(1.02);
}

/* Quantity Success Animation */
@keyframes quantitySuccess {
0% { transform: scale(1); }
50% { transform: scale(1.1); background: #4CAF50; }
100% { transform: scale(1); }
}

.quantity-success {
animation: quantitySuccess 0.5s ease-out;
}

.purple-btn {
  background-color: #7c3aed;   /* Purple */
  color: #fff;                 /* White text */
  font-weight: bold;           /* Bold text */
  border: none;                /* No border */
  border-radius: 24px;         /* Rounded corners */
  padding: 12px 32px;          /* Padding */
  font-size: 1.25rem;          /* Large text */
  cursor: pointer;             /* Pointer on hover */
  transition: background 0.2s;
}

button.purple-btn:hover,
button.purple-btn:focus,
a.purple-btn:hover,
a.purple-btn:focus,
input.purple-btn:hover,
input.purple-btn:focus,
#add-to-cart-btn:hover,
#add-to-cart-btn:focus {
  background: #7c3aed !important;
  color: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
}