



/* 32. Custom CSS */

/* --- Banner Carousel Wrapper --- */
.banner-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  }
  
  /* --- Consistent Image Styling --- */
  .banner-carousel img {
    height: 420px;
    width: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
  }
  
  /* Maintain size on mobile */
  @media (max-width: 768px) {
    .banner-carousel img {
        height: 420px; /* Same as desktop */
    }
  }
  
  /* --- Carousel Caption --- */
  .banner-carousel .carousel-caption {
    background: rgba(0, 0, 0, 0.45);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    backdrop-filter: blur(6px);
    animation: fadeInUp 1s ease-out;
    text-align: left;
  }
  
  .banner-carousel .carousel-caption h5 {
    font-size: 2rem;
    font-weight: 600;
    color: #FFD700;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0.75rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
  }
  
  .banner-carousel .carousel-caption p {
    font-size: 1.05rem;
    color: #f9f9f9;
    line-height: 1.6;
    font-family: 'Open Sans', sans-serif;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.4);
    margin-bottom: 0;
  }
  
  /* --- Fade Animation --- */
  @keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
  }
  
  /* --- Arrow Buttons (No Circles) --- */
  .carousel-control-prev,
  .carousel-control-next {
    width: auto;
    height: auto;
    top: 50%;
    transform: translateY(-50%);
    background: none !important;
    border: none;
    z-index: 3;
    opacity: 1 !important;
    padding: 0 1rem;
  }
  /* --- Circular Arrow Buttons --- */
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid #fff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.25);
  }
  
  .carousel-control-prev-icon::after {
    content: '❮';
  }
  
  .carousel-control-next-icon::after {
    content: '❯';
  }
  
  /* --- Hover Glow Effect --- */
  .carousel-control-prev:hover .carousel-control-prev-icon,
  .carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
  }
  
  /* --- Hide Arrows on Mobile --- */
  @media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
  }
  
  /* --- Indicators --- */
  .carousel-indicators {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    z-index: 3;
  }
  
  .carousel-indicators [data-bs-target] {
    background-color: #fff;
    opacity: 0.6;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    transition: all 0.3s ease;
    border: 1px solid #FFD700;
  }
  
  .carousel-indicators .active {
    background-color: #FFD700;
    opacity: 1;
    transform: scale(1.2);
  }
  
  /* --- Mobile Banner Optimizations --- */
  @media (max-width: 768px) {
    .banner-carousel img {
        width: 100vw;
        height: auto;
        max-height: unset;
        object-fit: cover;
        border-radius: 0;
    }
  
    .banner-carousel {
        border-radius: 0;
        box-shadow: none;
    }
  
    .banner-carousel .carousel-caption {
        padding: 1rem 1.25rem;
        border-radius: 0;
        text-align: center;
    }
  
    .banner-carousel .carousel-caption h5 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }
  
    .banner-carousel .carousel-caption p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
  
    .carousel-indicators {
        bottom: 12px;
    }
  
    .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
  }
  
  @media (max-width: 768px) {
    .carousel-indicators {
        display: none !important;
    }
  }
  
  /* Show More Button Styling */
  .show-more-jew
  
  
  .show-more-jewelry {
      background-color: #FBC134;
      color: #000;
      font-weight: 600;
      font-size: 16px;
      border: none;
      letter-spacing: 0.5px;
      transition: all 0.3s ease;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
      cursor: pointer;
      text-transform: uppercase;
  }
  
  .show-more-jewelry:hover {
      background-color: #e0a800;
      color: #fff;
      transform: scale(1.03);
  }
  
  .show-more-jewelry:focus {
      outline: none;
      box-shadow: 0 0 0 0.2rem rgba(251, 193, 52, 0.4);
  }
  
  
  @keyframes sparkle {
      0% { opacity: 1; transform: rotate(0deg); }
      100% { opacity: 0.6; transform: rotate(15deg); }
  }
  
  .new-badge {
      position: absolute;
      top: 8px;
      left: 8px;
      background-color: #FBC134; /* elegant gold */
      color: #24242d;
      font-size: 12px;
      font-weight: 700;
      padding: 3px 8px;
      border-radius: 50px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      z-index: 2;
  }
  
  
  .section-title-new {
      font-size: 2rem;
      font-weight: bold;
      color:rgb(0, 0, 0);
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 0.5rem;
  }
  
  .section-subtitle-new {
      color: #555;
      font-size: 1rem;
      margin-bottom: 0;
  }
  
  
  .product-imgbox {
    position: relative;
    overflow: hidden;
  }
  
  .product-imgbox::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0.1) 100%
    );
    transform: skewX(-20deg);
    z-index: 2;
  }
  
  .product-box:hover .product-imgbox::before {
    animation: shineEffect 1s forwards;
  }
  
  @keyframes shineEffect {
    0% {
      left: -75%;
    }
    100% {
      left: 125%;
    }
  }
  
  
  @media (max-width: 576px) {
    #paginated-product-list {
      display: grid !important;
      grid-template-columns: repeat(2, 1fr);
      gap: 0.75rem;
    }
  }
  
  @media (min-width: 577px) {
    #paginated-product-list {
      display: flex !important; /* Restore Bootstrap's .row */
      flex-wrap: wrap;
      margin-left: -0.75rem;
      margin-right: -0.75rem;
    }
  }
  
  .product-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: flex-start; /* default for desktop */
    flex-wrap: wrap;
  }
  
  .product-buttons .btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease-in-out;
    border: none;
    white-space: nowrap;
  }
  
  .product-buttons .btn i {
    font-size: 16px;
  }
  
  .cart-btn {
    background-color: #fbc134;
    color: #24242d;
    border: 1px solid transparent;
  }
  
  .cart-btn:hover {
    background-color: #24242d;
    color: #fff;
    border: 1px solid #fbc134;
  }
  
  .modal-checkout {
    background-color: #24242d;
    color: #fff;
    border: 1px solid transparent;
  }
  
  .modal-checkout:hover {
    background-color: #fbc134;
    color: #24242d;
    border: 1px solid #24242d;
  }
  
  /* 📱 Mobile View - Center Align */
  @media (max-width: 768px) {
    .product-buttons {
      justify-content: center;
      text-align: center;
    }
  
    .product-buttons .btn {
      width: 100%;
      max-width: 300px;
      justify-content: center;
    }
  }
  /* 🔄 Cart bounce animation */
@keyframes cartBounce {
    0% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(0.95); }
    75% { transform: scale(1.05); }
    100% { transform: scale(1); }
  }
  
  .mobile-cart.item-count.bounce {
    animation: cartBounce 0.5s ease;
  }
  
  /* 🛒 Cart Preview Trigger Style */
  .cart-preview-wrapper .light-menu-item {
    color: #000;
    font-weight: 600;
  }
  
  .cart-preview-wrapper .light-menu-item:hover {
    color: #d19c00; /* slightly darker gold on hover */
  }
  
  /* 🧾 Cart Preview Box */
  .cart-preview {
    background-color: #fff8e1; /* subtle light gold background */
    border: 1px solid #fbc134;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 15px;
    display: none; /* hidden by default */
    position: absolute;
    top: 100%;
    right: 0;
    width: 90vw;
    max-width: 300px;
    z-index: 1000;
  }
  
  /* Show class for preview toggle */
  .cart-preview.show {
    display: block;
  }
  
  /* 🏷️ Cart Preview Title */
  .cart-preview .cart-title {
    color: #fbc134;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  /* 🛍️ Checkout Button */
  .cart-preview a.btn-primary {
    background-color: #fbc134;
    border-color: #fbc134;
    color: #24242d;
  }
  
  .cart-preview a.btn-primary:hover {
    background-color: #d19c00;
    border-color: #d19c00;
    color: #fff;
  }
  
  /* 🔒 Desktop vs Mobile Visibility */
  .cart-preview-wrapper {
    display: none; /* default hidden */
  }
  
  @media (max-width: 767px) {
    .cart-preview-wrapper {
      display: block;
    }
  }
  @media (min-width: 768px) {
    .menu-block-for-mobile {
        display: none !important;
    }
}

/* These styles apply globally (not inside @media) */
.menu-block-for-mobile {
    background: #fff;
    padding: 20px;
    border-top: 2px solid #f0f0f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    font-family: 'PT Sans', sans-serif;
}

.menu-block-for-mobile ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-block-for-mobile li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.menu-block-for-mobile a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    display: block;
    transition: all 0.2s ease;
}

.menu-block-for-mobile a:hover {
    color: #d4af37;
    padding-left: 8px;
}

.welcome-message {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #000;
}

.mobile-back {
    font-weight: 500;
    margin-bottom: 10px;
    color: #666;
    cursor: pointer;
}

.menu-section {
    margin-top: 20px;
}

#userSection {
    display: none;
    text-align: center;
    color: gold;
  }

/* SweetAlert2 z-index override to ensure it's always on top */
.swal2-container {
  z-index: 999999 !important;
}


#backBtnMobile i {
    font-weight: bold;
    font-size: 18px;
    margin-right: 6px;
  }


  .view-product-icon {
    color: #d4af37;
    font-size: 1.1rem;
    margin-left: 0.5rem;
    display: flex;
    align-items: center;
  }