.logo img{
margin-left: -20px;
margin-top: -30px;
}
/* .col-lg-4{
margin-top: -30px;
} */
.container{
    top: 50px;
}

.fixed{

    background-color: lightgray;
 
}
.main-section{
    margin-top: 20px;

}

@keyframes blinking {
    0% { opacity: 1; }
    50% { opacity: 0.5; } /* Reduce opacity instead of fully hiding */
    100% { opacity: 1; }
}

#whatsapp-chat {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 1000;
}

#whatsapp-btn img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

#whatsapp-btn img:hover {
    transform: scale(1.1);
}

/* payment details */
.payment-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.payment-card {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s ease;
    font-size: 16px;
    font-weight: 600;
    background: #fff;
}

.payment-card:hover {
    border-color: #008000;
    background: #f8f9fa;
}

.payment-card input {
    display: none;
}

.payment-card label {
    cursor: pointer;
}

.payment-card input:checked + label  {
    color: #FF4500;
    font-weight: bold;

}
.payment-card:has(input:checked) {
    border-color: #ff4500;
    background: white;
}

.order-button-payment{
    text-align: center;
}
/* payment details end */

.col-lg-9{
    margin-top: 10px;
}
#product_price{
    color: #FF4500;
}
/* search */

.search-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    background-color: white;
}

#searchInput {
    width: 100%;
    height: 50px;
    padding: 10px;
    border: 2px solid black;
    border-radius: 5px;
}

.search-results-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    max-height: 250px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

.search-results-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-results-container li {
    padding: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.search-results-container li:hover {
    background: #f5f5f5;
}

.search-results-container a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
}

.search-results-container img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 5px;
}
/* search ends */
.hm-menu{
    margin-top: -50px;
    margin-right: 10px;
}
.navbar-right{
    margin-top: -50px;
  
    
}
.hm-wishlist{
    background-color: white;
}
.nav-link-user{
    margin-left: 20px;

}
.logged-in-user{
    color: red;
    font-weight: bold;
}
#user{
    color: black;
}
#logged-out-user{
    color: red;
    font-weight: bold;
}
#back-to-shop{
    color: #008000;
}
/* category starts */

/* Main container for the mega menu */
.cat-mega-menu {
    position: absolute;
    top: 0;
    left: 100%;
    background: #f8f8f8;
    border: 1px solid #ddd;
    padding: 15px;
    min-width: 400px;
    display: none; /* Hide initially */
    z-index: 100;
}

/* Show Mega Menu on Hover */
.right-menu:hover .cat-mega-menu {
    display: block;
}

/* Grid Layout for Subcategories */
.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 10px;
}

/* Each subcategory container */
.cat-mega-title {
    background: #fff;
    padding: 8px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 14px;
}

/* Hover and link styling */
.category-menu-list a:hover {
    color: #FF4500;
}

.category-menu-list a {
    text-decoration: none;
    color: #FFFF00; 
    font-weight: normal;
    display: block;
    padding: 5px;
}

/* Subcategory styling */
.cat-mega-title a {
    color: #ff4500;
    font-weight: normal;
}

/* Sub-subcategory styling */
.cat-mega-title ul li a {
    color: #000;
    font-weight: normal;
}

/* Hover effect for all links */
.category-menu-list a:hover,
.cat-mega-title a:hover,
.cat-mega-title ul li a:hover {
    color: #008000;
}

/*  NEW: Make sure container grows with content */
.category-menu {
    position: relative;
    display: block;
    margin-bottom: 2rem; /* Space below to avoid overlap */
}

/*  Ensure list expands without overlapping */
.category-menu-list {
    position: relative;
    height: auto;
    overflow: visible;
}

/*  Responsive adjustment for categories shown/hidden */
.category-menu-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Optional: Add space between category items */
.category-menu-list li.right-menu {
    margin-bottom: 5px;
}



/* toast bigin */
.toast-continer {
    position: fixed;
    top: 40px;  
    height: 100px;
    right: 20px;
    background: #008000;
    font-weight: bold;
    color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1.0s ease-in-out, fadeOut 1s ease-in-out 10s; /* Slower fade out */
    z-index: 9999;
}
.toast-progress {
    width: 100%;
    height: 5px;
    background: #FFFF00;
    position: absolute;
    bottom: 0;
    left: 0;
    animation: progress 5s linear forwards;
}

.custom-toast p {
    margin: 0;
    font-size: 14px;
    color: #ffffff;
    font-weight: bold;}

.toast-btn {
    background: #008000;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 5px;
}

.toast-btn:hover {
    background: #FF4500;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* toast end */

/* pagination starts here */
.pagination-container {
    margin-top: 20px;
  }
  
  .pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
  }
  
  .pagination .page-item .page-link {
    color: #007bff;
  }
  
  .pagination .page-item .page-link:hover {
    background-color: #0056b3;
    color: white;
  }
  /*pagination ends here  */
/* 📌 Container setup */
.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    text-align: center;
    padding: 15px;
    transition: box-shadow 0.3s, transform 0.2s;
    height: 100%; /* Ensures equal height */
    position: relative;
    overflow: hidden; /* Prevents content from overflowing */
}

/* 🔥 Product Labels (New & Bestseller) */
.price-box .fs-sm {
  font-size: 0.85rem;
}

.price-box .badge {
  border-radius: 0.4rem;
  padding: 0.25em 0.6em;
}
.btn-cart-modern {
  background: linear-gradient(135deg, #FF4500, #FF6347); /* Red-orange gradient */
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(255, 69, 0, 0.3);
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-cart-modern:hover {
  background: linear-gradient(135deg, #FF6347, #FF4500);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 69, 0, 0.4);
}

.btn-cart-modern:active {
  transform: scale(0.98);
}

.actions .btn {
  font-weight: 500;
  transition: all 0.3s ease-in-out;
}

.actions .btn:hover {
  transform: translateY(-2px);
}

.product-label {
    position: absolute;
    top: 0px;
    left: 0px;
    background: #28a745;
    color: white;
    font-size: 10px;
    padding: 1px 4px;
    border-radius: 5px;
    font-weight: bold;
}
.bestseller {
    background: #28a745;
}

/* 🎨 Hover effect */
.product-card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

/* 🖼️ Product Image */
.product-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    display: flex;
    justify-content: center;
    align-items: center;
}
.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensures full image is visible */
    border-radius: 10px;
}

/* 🏷️ Product Name */
.product-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 8px 0;
    max-height: 40px;
    line-height: 20px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 💲 Price Box */
.price-box {
    margin-top: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 12px;
}
.new-price {
    font-size: 16px;
    font-weight: bold;
    color: #ff5722;
}
.discount {
    background:#28a745;
    color: white;
    font-size: 12px;
    padding: 2px 5px;
    border-radius: 5px;
}

/* 🛍️ Action buttons */
.actions {
    display: flex;
    /* justify-content: space-between; */
    margin-top: 10px;
    gap:10px;
}
.actions i{
    color: #000;
}

/* 🆕 Ensure wishlist & quick-view appear at the top-right */
.top-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}

/* ❤️ Wishlist & 👁️ Quick View Buttons */
.top-actions .wishlist,
.top-actions .quick-view {
    background: white;
    font-size: 16px;
    color: #FFFF00;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border: 1px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.top-actions .wishlist:hover,
.top-actions .quick-view:hover {
    background: #008000;
    color: white;
}

/* 🛒 Add to Cart Button */
.actions .add-to-cart-btn {
    background: gray;
    color: black;
    cursor: pointer;
    border: none;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: bold;
    border-radius: 2px;   
    font-size: 12px;
    transition: all 0.3s ease-in-out;
}
.view-via-whatsapp{
    color: black;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 2px; 
    text-align: center;  
    font-size: 12px;
    transition: all 0.3s ease-in-out;
}
/* .actions .add-to-cart-btn:hover {
    background: blue;
} */

/* 🔍 Quick View Icon */
.actions .quick-view i {
    font-size: 18px;
    color: #333;
}

/* 📱 Mobile Responsive */
@media (max-width: 992px) {
    .product-name {
        font-size: 13px;
    }

    .new-price {
        font-size: 14px;
    }

    .product-image {
        height: 160px; /* Adjusted for medium screens */
    }
}

@media (max-width: 768px) {
    .product-card {
        padding: 10px;
    }

    .product-name {
        font-size: 12px;
    }

    .new-price {
        font-size: 13px;
    }

    .product-image {
        height: 140px; /* Adjust height for smaller screens */
    }

    .top-actions {
        top: 5px;
        right: 5px;
    }
    .top-actions .wishlist,
    .top-actions .quick-view {
        font-size: 12px;
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 576px) {
    .product-name {
        font-size: 11px;
    }

    .new-price {
        font-size: 12px;
    }

    .product-image {
        height: 130px;
        width: 100%; /* Ensures image stays inside */
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .product-image img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }
    .top-actions .wishlist,
    .top-actions .quick-view {
        font-size: 10px;
        width: 24px;
        height: 24px;
    }

}
#order-via-whatsapp {
    flex-direction: column;
    gap: 3px;
    color: #000;
  }
/* header */
.header-top-right{
    font-size: 12px;
}
#top {
    color: black;
    background: #FF4500;
    padding: 10px 0;
    border-bottom: 1px solid #e1e1e1;
    text-align: center;
    /* font-size: 12px; */
    height: fit-content;
    font-weight: bold;
    animation: blinking 3s infinite ease-in-out; /* Smoother transition */
}

/* ✅ Optional: Improve Blinking Effect */
@keyframes blinking {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; } /* Softer blink */
}

/* ✅ Mobile Responsiveness */
@media (max-width: 768px) {
    #top {
        font-size: 10px;
        padding: 3px 0;
    }
}
/* header ends */

/* Full-Width Slim Promotion Banner */
.promo-banner {
    background: whitesmoke;
    color: black;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 15px;
    position: relative;
    margin-bottom: 15px;
    border-radius: 5px;
    border-left: 25px solid #ff4500;
}
.promo-banner a {
    color: #008000;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s;
}
.promo-banner a:hover {
    color: black;
}
.promo-banner .btn-close {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: black;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease-in-out;
}
.promo-banner .btn-close:hover {
    opacity: 1;
}

/* promo ends */
/* slider */
.deal-card {
  display: flex;
  flex-direction: row;
  background: linear-gradient(90deg, #0a4d25, #e4572e);
  color: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  min-height: 200px;
}

.deal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.deal-card img {
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Deal Info takes remaining space */
.deal-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 20px;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  text-align: left;
  color: #ffffff;
}

.deal-info label {
  color: #eeeeee;
  font-weight: 500;
}

.discount-text {
  color: #ffd700;
  font-weight: bold;
}

#shop-now {
  background-color: #ffffff;
  border: 2px solid #0a4d25;
  color: #0a4d25;
  padding: 10px 20px;
  font-weight: 600;
  
  text-transform: uppercase;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#shop-now:hover {
  background-color: #008000;
  color: #ffffff;
}

/* ---------- Responsive Layout ---------- */
@media (max-width: 768px) {
  .deal-card {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }

  .deal-card img {
    flex: none;
    width: 100%;
    height: auto;
    max-height: 250px;
    border-radius: 8px;
  }

  .deal-info {
    font-size: 14px;
    text-align: center;
    padding: 10px;
  }
}


#vat-filing{
    color: #ff4500;
    font-size: 10px;    
}

  
.custom-spinner {
    width: 18px;
    height: 18px;
    border: 3px solid #fff;
    border-top: 3px solid transparent;
    border-radius: 50%;
    display: inline-block;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  
  /* terms and condition checkbox starts */
  .checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
    font-size: 15px;
  }

  .checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #FF4500; /* Modern browsers only */
    cursor: pointer;
  }

  .checkbox-wrapper a {
    color: #FF4500;
    text-decoration: none;
  }

  .checkbox-wrapper a:hover {
    text-decoration: underline;
  }

    /* terms and condition checkbox end */

  /* mincart */
  .remove-item:hover {
    color: #FF4500;
}

.minicart-button {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.li-button {
    display: inline-block;
    text-align: center;
    padding: 10px 0;
    font-weight: 600;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
    text-decoration: none;
    font-size: 14px;
}

.li-button-fullwidth {
    width: 100%;
  
}

.li-button-dark {
    background-color: #111827;
    color: #fff;
}
.li-button-gray{
  background-color: gray !important;
  color: #fff !important;
}

.li-button-dark:hover {
    background-color: #1f2937;
}

.li-button:not(.li-button-dark) {
    background-color: #f3f4f6;
    color: #111827;
}

.li-button:not(.li-button-dark):hover {
    background-color: #e5e7eb;
}

