    /* ========================= */
    /* BASE STYLES */
    /* ========================= */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: Arial, Helvetica, sans-serif;
      background: #081b6b;
      color: #fff;
    }


    .modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(4px);
      /* 👈 THIS LINE */
      z-index: 1100;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s;
    }

    .modal-backdrop.active {
      opacity: 1;
      pointer-events: all;
    }


    .navbar {
      background: #fff;
      color: #081b6b;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 15px 40px;
    }

    .logo {
      font-weight: 700;
      font-size: 22px;
      cursor: pointer;
    }

    .logo img {
      max-height: 50px;
    }

    .logo span {
      font-size: 12px;
      display: block;
    }

    nav a {
      margin: 0 15px;
      text-decoration: none;
      color: #081b6b;
      font-weight: 500;
      transition: border-bottom 0.3s ease;
    }

    nav a.active {
      border-bottom: 3px solid #081b6b;
    }

    .icons {
      display: flex;
      gap: 15px;
      align-items: center;
    }

    .icons i {
      font-size: 18px;
      cursor: pointer;
    }

    /* ================================
   WISHLIST HEART
================================ */

    /* Parent image container */
    .bluelly-product-image {
      position: relative;
      overflow: hidden;
    }

    /* Wishlist Heart */
    .wishlist-icon {
      position: absolute;
      top: 12px;
      right: 12px;
      width: 36px;
      height: 36px;
      background: #fff;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      cursor: pointer;
      color: #999;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
      transition: all 0.25s ease;
      user-select: none;
      z-index: 10;
    }

    /* Hover */
    .wishlist-icon:hover {
      transform: scale(1.1);
    }

    /* Active (wishlisted) */
    .wishlist-icon.active {
      background: #fff;
      color: #e63946;
    }

    /* ── Wishlist nav icon ──────────────────── */
    .wishlist-nav-icon {
      position: relative;
      cursor: pointer;
      font-size: 20px;
      color: #0a1f66;
      transition: color 0.3s;
    }

    .wishlist-nav-icon:hover {
      color: #e74c3c;
    }

    /* ── Count badges ───────────────────────── */
    .cart-count,
    .wishlist-count {
      position: absolute;
      top: -8px;
      right: -10px;
      background: red;
      color: white;
      font-size: 11px;
      padding: 1px 5px;
      border-radius: 50%;
      font-weight: bold;
      line-height: 1.4;
    }

    /* ========================= */
    /* CATEGORIES SECTION */
    /* ========================= */
    .categories {
      text-align: center;
      padding: 40px 20px;
    }

    .categories h1 {
      font-size: 32px;
      margin-bottom: 20px;
    }

    .filters {
      display: flex;
      justify-content: center;
      gap: 15px;
      margin: 40px 0;
      flex-wrap: wrap;
    }

    .filter-btn {
      padding: 12px 26px;
      border-radius: 30px;
      border: 2px solid #fff;
      background: transparent;
      color: #fff;
      cursor: pointer;
      font-weight: 500;
      transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
    }

    .filter-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .filter-btn.active {
      background: #fff;
      color: #081b6b;
      box-shadow: 0 10px 25px rgba(255, 255, 255, 0.45);
    }

    /* ========================= */
    /* PRODUCTS SECTION */
    /* ========================= */
    .products {
      padding: 20px 40px;
    }

    .products h2 {
      text-align: center;
      font-size: 28px;
      margin-bottom: 30px;
    }

    .product-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 25px;
    }

    /* ========================= */
    /* PRODUCT CARD WITH ANIMATIONS */
    /* ========================= */
    .product-card {
      position: relative;
      background: #ffffff;
      color: #000;
      border-radius: 18px;
      padding: 16px;
      box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
      overflow: hidden;
      transition:
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .product-card:hover {
      transform: translateY(-6px);
      box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.08),
        0 30px 60px rgba(0, 0, 0, 0.06);
    }

    /* Border animation */
    .product-card::before,
    .product-card::after {
      content: "";
      position: absolute;
      width: 0;
      height: 2px;
      background: #0aa6d6;
      transition: width 0.35s ease;
    }

    .product-card::before {
      top: 0;
      left: 0;
    }

    .product-card::after {
      bottom: 0;
      right: 0;
    }

    .product-card span.border-line::before,
    .product-card span.border-line::after {
      content: "";
      position: absolute;
      width: 4px;
      height: 0;
      background: linear-gradient(90deg, #0aa6d6, #00e0ff);
      transition: height 0.35s ease;
    }

    .product-card span.border-line::before {
      top: 0;
      right: 0;
    }

    .product-card span.border-line::after {
      bottom: 0;
      left: 0;
    }

    .product-card:hover::before,
    .product-card:hover::after {
      width: 100%;
    }

    .product-card:hover span.border-line::before,
    .product-card:hover span.border-line::after {
      height: 100%;
    }

    /* Image box */
    .img-box {
      border-radius: 16px;
      padding: 20px;
      text-align: center;
      overflow: hidden;
    }

    .img-box img {
      max-width: 100%;
      height: 180px;
      object-fit: contain;
      transition: transform 0.45s ease;
    }

    .product-card:hover .img-box img {
      transform: scale(1.04);
    }

    /* Color backgrounds */
    .purple {
      background: #bdbbff;
    }

    .pink {
      background: #ffb6d5;
    }

    .blue {
      background: #7ea9e8;
    }

    .lavender {
      background: #c4c2ff;
    }

    /* Product details */
    .product-card h3 {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 10px 0;
      transition: transform 0.35s ease;
    }

    .product-card:hover h3 {
      transform: translateY(-1px);
    }

    .product-card h3 span {
      font-weight: 700;
      color: #081b6b;
    }

    .rating {
      background: #081b6b;
      color: #fff;
      display: inline-block;
      padding: 3px 8px;
      border-radius: 6px;
      font-size: 12px;
      margin: 5px 0;
    }

    .product-card p {
      font-size: 13px;
      color: #666;
      margin: 8px 0;
      transition: transform 0.35s ease;
    }

    .product-card:hover p {
      transform: translateY(-0.5px);
    }

    /* Actions */
    .actions {
      display: flex;
      gap: 10px;
      margin-top: 15px;
    }

    .actions button {
      cursor: pointer;
      border: none;
      outline: none;
      transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        opacity 0.25s ease;
    }

    .actions .cart {
      background: #fff;
      border: 1px solid #ccc;
      padding: 10px;
      border-radius: 6px;
      font-size: 18px;
    }

    .actions .cart:hover {
      transform: scale(1.2) rotate(-8deg);
      box-shadow: 0 6px 18px rgba(10, 166, 214, 0.4);
    }

    .actions .buy {
      flex: 1;
      position: relative;
      background: #081b6b;
      color: #fff;
      padding: 10px 18px;
      border-radius: 25px;
      font-weight: 600;
      overflow: hidden;
    }

    .actions .buy::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg,
          transparent,
          rgba(255, 255, 255, 0.35),
          transparent);
      transform: translateX(-100%);
      transition: transform 0.45s ease;
    }

    .actions .buy:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    }

    .actions .buy:hover::after {
      transform: translateX(100%);
    }

    .product-card:hover .actions button {
      opacity: 0.95;
    }

    /* ========================= */
    /* CART SIDEBAR */
    /* ========================= */
    .cart-sidebar1 {
      position: fixed;
      right: -400px;
      top: 0;
      width: 350px;
      height: 100vh;
      background: #fff;
      color: #000;
      box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
      transition: right 0.3s ease;
      z-index: 1000;
      display: flex;
      flex-direction: column;
    }

    .cart-sidebar1.active {
      right: 0;
    }

    .cart-header {
      padding: 20px;
      border-bottom: 1px solid #eee;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .close-cart {
      background: none;
      border: none;
      font-size: 30px;
      cursor: pointer;
      color: #666;
    }

    .cart-items {
      flex: 1;
      overflow-y: auto;
      padding: 20px;
    }

    .cart-item {
      display: flex;
      gap: 15px;
      margin-bottom: 15px;
      padding-bottom: 15px;
      border-bottom: 1px solid #eee;
    }

    .cart-item img {
      width: 50px;
      height: 50px;
      object-fit: contain;
      border-radius: 8px;
    }

    .cart-item div {
      flex: 1;
    }

    .cart-item button {
      padding: 5px 10px;
      margin: 0 3px;
      border: 1px solid #ccc;
      background: #f5f5f5;
      cursor: pointer;
      border-radius: 4px;
    }

    .cart-footer {
      padding: 20px;
      border-top: 1px solid #eee;
    }

    .cart-total {
      margin-bottom: 15px;
      font-size: 18px;
    }

    .checkout-btn {
      width: 100%;
      padding: 12px;
      background: #081b6b;
      color: #fff;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-size: 16px;
      font-weight: 600;
    }

    /* ========================= */
    /* AUTH MODAL */
    /* ========================= */
    .auth-modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      z-index: 2000;
      justify-content: center;
      align-items: center;
    }

    .auth-modal.active {
      display: flex;
    }

    .modal-content {
      background: #fff;
      color: #000;
      padding: 30px;
      border-radius: 12px;
      width: 400px;
      max-width: 90%;
      position: relative;
    }

    .close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 30px;
      cursor: pointer;
      color: #666;
    }

    .auth-tabs {
      display: flex;
      gap: 10px;
      margin-bottom: 20px;
    }

    .tab-btn {
      flex: 1;
      padding: 10px;
      border: none;
      background: #f0f0f0;
      cursor: pointer;
      border-radius: 6px;
      font-weight: 600;
    }

    .tab-btn.active {
      background: #081b6b;
      color: #fff;
    }

    .auth-form {
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    .auth-form.hidden {
      display: none;
    }

    .auth-form input {
      padding: 12px;
      border: 1px solid #ddd;
      border-radius: 6px;
      font-size: 14px;
    }

    .auth-form button {
      padding: 12px;
      background: #081b6b;
      color: #fff;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      font-weight: 600;
      font-size: 16px;
    }

    .auth-form a {
      text-align: center;
      color: #081b6b;
      font-size: 14px;
    }


    .profile-menu {
      position: relative;
    }

    .profile-name {
      cursor: pointer;
      color: #081b6b;
      font-weight: 600;
    }

    .profile-dropdown {
      display: none;
      position: absolute;
      top: 100%;
      right: 0;
      background: #fff;
      border: 1px solid #ddd;
      border-radius: 6px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      min-width: 150px;
      margin-top: 5px;
      z-index: 100;
    }

    .profile-dropdown.show {
      display: block;
    }

    .profile-dropdown a,
    .profile-dropdown button {
      display: block;
      padding: 10px 15px;
      color: #081b6b;
      text-decoration: none;
      border: none;
      background: none;
      width: 100%;
      text-align: left;
      cursor: pointer;
    }

    .profile-dropdown a:hover,
    .profile-dropdown button:hover {
      background: #f0f0f0;
    }

    /* ========================= */
    /* FOOTER */
    /* ========================= */
    .bluelly-footer-wrap {
      background: #0a1852;
      color: #fff;
      padding: 40px 20px 20px;
      margin-top: 60px;
    }


    .social-icon {
      width: 35px;
      height: 35px;
      fill: #fff;
      transition: fill 0.3s ease;
      cursor: pointer;
    }

    .social-icon:hover {
      fill: #0aa6d6;
    }

    .footer-bottom {
      text-align: center;
      padding-top: 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      font-size: 13px;
    }

    /* ========================= */
    /* RESPONSIVE DESIGN */
    /* ========================= */
    @media (max-width: 1024px) {
      .product-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

   @media (max-width: 768px) {

  .navbar {
    display: flex;
    flex-direction: row;          /* keep horizontal */
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
  }

  /* Left side logo */
  .navbar .logo {
    flex: 1;
  }

  /* Middle icons section */
  .navbar .nav-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 10px;
  }

  /* Hamburger menu */
  .navbar .menu-toggle {
    font-size: 22px;
    cursor: pointer;
    margin-left: 15px;
  }

  /* Hide normal nav links on mobile */
  .navbar nav {
    display: none;
  }




      .categories h1 {
        font-size: 22px;
      }

      .filters {
        flex-wrap: wrap;
        gap: 10px;
      }

      .filter-btn {
        padding: 10px 18px;
        font-size: 14px;
      }

      .products {
        padding: 20px;
      }

      .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
      }

      .product-card h3 {
        font-size: 14px;
      }

      .product-card p {
        font-size: 12px;
      }

      .img-box img {
        height: 140px;
      }

      .actions {
        flex-direction: column;
      }

      .actions .cart,
      .actions .buy {
        width: 100%;
        height: 44px;
        font-size: 15px;
      }
    }

    @media (max-width: 480px) {
      .product-grid {
    grid-template-columns: repeat(2, 1fr);   
   }

      .filter-btn {
        width: 100%;
        text-align: center;
      }

      .img-box img {
        height: 100px;
      }

      .actions .buy {
        height: 48px;
        font-size: 16px;
      }
    }