@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

html {
    height: 100%; 
    box-sizing: border-box; 
    scroll-behavior: smooth; 
    overflow-x: hidden; 
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures the page spans the viewport height */
    margin: 0; 
    padding: 0;
    color: #555;
    font-family: 'Montserrat', sans-serif;
}

main {
    flex: 1; /* Allows main content to expand and push the footer down */
    width: 100%;
    margin: 0 auto;
}

/* promo banner */
#delivery-banner {
    background: #FFD700; /* Gold background */
    color: #333;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    margin: 0;
    padding: 0.5rem 0; /* Adjust padding */
    width: 100%;
}

/* Add subtle glow animation */
@keyframes glow {
    from {
        box-shadow: 0px 0px 10px rgba(255, 215, 0, 0.8);
    }
    to {
        box-shadow: 0px 0px 20px rgba(255, 215, 0, 1);
    }
}

#delivery-banner {
    animation: glow 2s infinite alternate;
}

/* Style the clickable link */
.promo-link {
    text-decoration: none;
}

.promo-link:hover {
    text-decoration: underline;
}

/* BRAND LOGO (Reduce Size) */
.jungle-peaks-logo {
    font-size: 1.8rem; /* Reduce font size */
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Righteous', sans-serif; /* Keep the font */
    color: #FFD700; /* Neon Gold */
    text-shadow: 0px 0px 8px rgba(255, 215, 0, 0.8); /* Softer glow */
    display: flex;
    align-items: center;
    gap: 6px; /* Reduce spacing between icon & text */
    animation: neonGlow 2s infinite alternate;
    padding: 5px 0; /* Reduce top & bottom spacing */
    margin: 0; /* Ensure no extra space */
}

/* Adjust Icon Size */
.jungle-peaks-logo i {
    font-size: 1.5rem; /* Make the icon smaller */
}

/* Neon Flicker Animation */
@keyframes flicker {
    0% { opacity: 1; }
    50% { opacity: 0.8; text-shadow: 0px 0px 10px rgba(255, 215, 0, 0.9); }
    100% { opacity: 1; }
}

@keyframes neonGlow {
    0% { text-shadow: 0px 0px 5px rgba(255, 215, 0, 0.8); }
    50% { text-shadow: 0px 0px 15px rgba(255, 215, 0, 1); }
    100% { text-shadow: 0px 0px 5px rgba(255, 215, 0, 0.8); }
}

/* Add Hover Effect */
.jungle-peaks-logo:hover {
    color: #ffcc00; /* Brighter gold */
    text-shadow: 0px 0px 20px rgba(255, 165, 0, 1);
    transition: all 0.3s ease-in-out;
}

/* HEADER -  Scroll Effect */
.site-header {
    background-color: #262626; /* Keep the original background */
    border-bottom: 1px solid #eaeaea;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    
    /* Fixed positioning for hiding on scroll */
    position: static;
    top: 0;
    width: 100%;
    z-index: 1030;

    /* Smooth transition */
    transition: transform 0.3s ease-in-out;
}

/* HEADER ICONS - CART & ACCOUNT */
.header-icons-wrapper {
    display: flex;
    align-items: center;
    gap: 12px; /* Reduced gap to bring icons closer */
    position: relative;
}

/* Icon Styling */
.header-icons-wrapper i {
    font-size: 1.5rem;
    color: white;
    transition: color 0.3s ease, transform 0.2s ease-in-out;
}

/* Remove Bootstrap's default dropdown arrow */
.user-icon::after {
    display: none !important;
}

/* General Icon Wrapper */
.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease-in-out;
}

/* Icon Hover Effect */
.icon-wrapper:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Ensure Icons and Text Stay Grouped */
.bag-icon,
.user-icon {
    display: flex;
    align-items: center;
    gap: 5px; /* Reduced spacing */
    text-decoration: none;
    color: white;
    position: relative;
}

/* Fix Shopping Bag Text Alignment */
.bag-text {
    font-size: 1rem;
    font-weight: bold;
    color: white;
    margin-left: 5px;
}

/* Fix Hover Effects */
.bag-icon:hover i,
.user-icon:hover i {
    transform: scale(1.2);
    color: #FFD700; /* Gold Highlight */
}

/* Dropdown Arrow Fix */
.dropdown-arrow {
    font-size: 0.8rem;
    margin-left: -3px; /* Adjusted for better alignment */
    color: white !important; /* Forces correct color */
    transition: transform 0.3s ease-in-out;
}

/* Dropdown Arrow Rotation on Hover */
.user-icon:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    background-color: #222;
    border: none;
}

/* Dropdown Items */
.dropdown-menu .dropdown-item {
    color: white;
    transition: background 0.3s ease;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #444;
}

/* 🔵 Fix for Blue Highlight on Mobile Dropdown */
.user-icon:focus,
.user-icon:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Prevent blue highlight on dropdown items */
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:active {
    outline: none !important;
    background: #444 !important;
    color: white !important;
}

/* Search Bar and Magnifying Glass */
/* Search Bar - Ensure Proper Width */
.main-search-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure full width */
    max-width: 800px; /* Increase width */
    margin: 0 auto; /* Center the search bar */
}

/* Adjust input width */
.main-search-bar .input-group-2 {
    position: relative;
    width: 100%;
    max-width: 100%;
}

/* Style search input */
.main-search-bar .input-group-2 input {
    width: 100%;
    height: 45px;
    padding-left: 15px;
    padding-right: 50px; /* Space for icon */
    border-radius: 50px;
    font-size: 1rem;
}

/* Style search button */
.main-search-bar .input-group-2 button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: black;
    color: white;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Secondary header styles */
nav.border-top {
    border-top: 2px solid rgba(255, 215, 0, 0.3) !important;
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    border-radius: 10px;
    margin-top: 3px; /* Reduce margin-top */
    padding: 5px 0; /* Reduce vertical padding */
    min-height: 50px; /* Prevent excessive height */
}

/* 🛠 Reduce Spacing Inside the Container */
nav.border-top .container {
    padding-top: 3px !important; /* Override Bootstrap padding */
    padding-bottom: 3px !important;
}


/* Navigation links styling */
.nav-link i {
    font-size: 1.3rem; /* Slightly larger */
    transition: transform 0.2s ease-in-out;
}

.nav-link:hover i {
    transform: scale(1.2);
}

.navbar-nav .nav-item .nav-link-2 {
    padding: 0.3rem 1rem; /* Reduce padding */
    margin: 0 0.3rem; /* Reduce margin between links */
    font-size: 0.9rem; /* Slightly smaller font */
    font-weight: bold;
    letter-spacing: 0.8px; /* Keep a sleek look */
    transition: all 0.3s ease;
    position: relative;
}

.nav-link-2 {
    text-decoration: none;  
    color: #ffffff !important;
}

.nav-link-2:hover {
    color: #ffd700 !important;
    transform: translateY(-2px);
}

/* Hover underline animation */
.nav-link-2:hover::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #ffd700;
    left: 0;
    bottom: -5px;
    animation: underline 0.3s ease;
}

@keyframes underline {
    from { width: 0; }
    to { width: 100%; }
}

/* Active state */
.nav-link-2.active {
    color: #ffd700 !important;
    border-bottom: 2px solid #ffd700;
}

/* Toggler button styling */
.navbar-toggler {
    border: 1px solid #ffd700 !important;
    padding: 0.4rem 0.8rem !important; /* Reduce padding */
    font-size: 1.2rem; /* Reduce button size */
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: rgba(255, 215, 0, 0.1);
}

.navbar-toggler:focus {
    outline: none; 
    box-shadow: none;
}

/* Dropdown Menu */
.dropdown-menu {
    border-radius: 0.3rem; /* Slightly reduce the roundness */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* from Bulma */
.icon {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    height: 1.5rem;
    width: 1.5rem;
}

/* Logo Font */
.logo-font h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
}

/* Remove the arrow for specific dropdown */
.nav-link.dropdown-toggle.no-arrow::after {
    display: none !important;
}

/* Updated overlay styles */
.overlay {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: fixed;
    background: rgba(255, 255, 255, 0.8); /* Optional transparency */
    z-index: 1; /* Ensure it's above the background but below other fixed elements */
    display: none; /* Hide by default */
}

.overlay.active {
    display: block; /* Show when needed */
}

/* Scroll up button */
.btt-button {
    z-index: 1049; /* Lower than toasts */
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    position: fixed;
    bottom: 5px; 
    left: 5px; 
}

.btt-link,
.update-link,
.remove-item {
    cursor: pointer;
}

.btt-button:hover {
    transform: scale(1.1);
    background-color: black;
}

/* From boutique ado walkthrough */
/* ------------------------------- bootstrap toasts */
/* Bootstrap Toasts - Ensure It's on the Right */
.message-container {
    position: fixed;
    top: 72px;
    right: 15px;
    z-index: 99999999999;
    max-width: 400px; /* Default width */
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Align all toasts to the right */
}

/* Default Toast */
.custom-toast {
    width: auto;
    max-width: 350px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease-in-out;
    margin-left: auto; /* Forces the toast to align to the right */
}

/* Toast Header */
.toast-header {
    background-color: #fff;
    color: #000;
    font-weight: bold;
    border-radius: 10px 10px 0 0;
}

/* Toast Body */
.toast-body {
    padding: 15px;
    font-size: 0.9rem;
    color: #333;
    text-align: center;
}

/* Close Button */
.toast .btn-close {
    font-size: 1rem;
    opacity: 0.8;
}

/* ✅ Fix Toast Overflow */
/* Fix Toast Image Display */
.bag-notification-wrapper {
    height: auto;
    max-height: 200px; /* Adjust based on your layout */
    overflow-y: auto; /* Enable vertical scroll if needed */
    overflow-x: hidden; /* Prevent horizontal scroll */
    padding: 10px;
    text-align: center; /* Center items */
}

/* Resize Images in the Toast */
.bag-notification-wrapper img {
    max-width: 80px; /* Adjust image size */
    height: auto; /* Maintain aspect ratio */
    display: block;
    margin: 0 auto; /* Center horizontally */
    border-radius: 5px; /* Optional: Add rounded corners */
}

/* Convenience classes - colors copied from Bootstrap */
.arrow-primary {
    border-bottom-color: #007bff !important;
}

.arrow-secondary {
    border-bottom-color: #6c757d !important;
}

.arrow-success {
    border-bottom-color: #28a745 !important;
}

.arrow-danger {
    border-bottom-color: #dc3545 !important;
}

.arrow-warning {
    border-bottom-color: #ffc107 !important;
}

.arrow-info {
    border-bottom-color: #17a2b8 !important;
}

.arrow-light {
    border-bottom-color: #f8f9fa !important;
}

.arrow-dark {
    border-bottom-color: #343a40 !important;
}

/* Product Form */

.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type="file"] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    opacity: 0;
    cursor: pointer;
}

.custom-checkbox .custom-control-label::before {
    border-radius: 0;
    border-color: #dc3545;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
    background-color: #dc3545;
    border-color: #dc3545;
    border-radius: 0;
}

/* Footer Section */
.footer {
    background-color: #000000;
    color: #ffffff;
    width: 100%;
    padding: 15px; 
    margin-top: 20px;
    position: relative; /* Default positioning */
    text-align: center;
    clear: both; /* Ensures it doesn’t overlap floating content */
}

/* General Text Styling */
.text {
    color: #ffffff;
    font-size: 16px;
    font-family: "Montserrat", sans-serif;
    line-height: 19px;
}

/* Input Field Styling */
.input {
    width: 100%;
    max-width: 100%;
    height: 50px;
    padding: 0 8px;
    border: 0.740741px solid #cbd5e1;
    box-sizing: border-box;
    border-radius: 8px;
    background-color: #ffffff;
    color: #94a3b8;
    font-size: 16px;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    line-height: 50px;
    outline: none;
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.input:focus {
    border-color: #003566;
    box-shadow: 0 0 5px rgba(0, 53, 102, 0.5);
}

/* Button Styling */
.custom-btn {
    cursor: pointer;
    display: inline-block;
    width: 130px;
    height: 40px;
    padding: 0;
    border: none;
    box-sizing: border-box;
    border-radius: 8px;
    background-color: #003566;
    color: #ffffff;
    font-size: 16px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    line-height: 19px;
    text-align: center;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.custom-btn:hover {
    background-color: #00509e;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Icon Styling */
.icon {
    color: #ffd60a;
    font-size: 30px;
    transition: color 0.3s ease-in-out;
}

.icon:hover {
    color: #ffaa00;
}

/* Horizontal Divider Styling */
.divider-horizontal {
    width: 100%;
    height: 1px;
    background-color: #d1d5db;
    border-radius: 2px;
    margin-top: 20px;
}

/* Links Styling */
ul.list-unstyled li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

ul.list-unstyled li a:hover {
    color: #ffd60a;
}

/* REGISTER ALLAUTH - Improved Styling */
/* 🔹 Signup Page Layout */
.signup-container {
    display: flex;
    flex-direction: row;
    max-width: 900px; /* Prevents it from going too wide */
    width: 90%;
    margin: 40px auto; /* Centered with spacing */
    align-items: stretch;
    gap: 20px;
}

/* 🔹 Signup Form Section */
.signup-form-section {
    flex: 1;
    background: white;
    padding: 40px;
    text-align: left;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* 🔹 Responsive Image Section */
.signup-image-section {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
    max-height: 85vh;
    overflow: hidden;
}

.signup-image-section img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 8px 8px 0;
}

/* 🔹 Form Input Styling */
.signup-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    font-size: 16px;
    background-color: #f8f8f8;
    font-weight: 500;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* 🔹 Button Container for Signup & Back to Login */
/* 🔹 Button Container for Signup & Back to Login */
.signup-buttons-container {
    display: flex;
    justify-content: center; /* Center buttons */
    align-items: center;
    margin-top: 20px;
    gap: 15px; /* Adds spacing between buttons */
}

/* 🔹 Signup & Back to Login Buttons */
.btn-signup, .btn-back {
    width: 200px; /* ✅ Reduced width */
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

/* 🔹 Signup Button (Primary) */
.btn-signup {
    background: #ffd60a;
    color: black;
    border: none;
}

.btn-signup:hover {
    background: black;
    color: #ffd60a;
}

/* 🔹 Back to Login Button (Secondary) */
.btn-back {
    background: transparent;
    color: black;
    border: 2px solid black;
}

.btn-back:hover {
    background: black;
    color: white;
}

/* 🔹 Terms & Conditions - Inline */
.terms-container {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align left */
    gap: 8px;
    font-size: 14px;
    margin-top: 10px;
}

.terms-container input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.terms-container a {
    color: #0056b3;
    font-weight: bold;
    text-decoration: none;
}

.terms-container a:hover {
    text-decoration: underline;
}


/* LOGIN PAGE ALLAUTH */
/* ✅ Center & Style the Login Form */
.signin-container {
    max-width: 380px; /* Slightly narrower for a cleaner look */
    margin: 50px auto;
    padding: 25px;
    background: #ffffff; /* Pure white for a clean look */
    border-radius: 12px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1); /* Softer shadow for depth */
    text-align: center;
}

/* ✅ Add a subtle background for the whole login area */
.login-page-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Ensure full viewport height */
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef); /* Soft gradient */
    padding: 20px;
}

/* ✅ Improve form header */
.signin-container h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

/* ✅ Style input fields */
.signin-container input[type="email"],
.signin-container input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background-color: #f8f8f8;
    transition: all 0.3s ease-in-out;
}

/* ✅ Focus effect on inputs */
.signin-container input:focus {
    border-color: #ffcc00;
    box-shadow: 0 0 8px rgba(255, 204, 0, 0.4);
    outline: none;
}

/* ✅ Style checkbox & remember me */
.signin-container .remember-me-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
    margin-top: 10px;
}

/* ✅ Checkbox styling */
.signin-container input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* ✅ Buttons layout */
.signin-container .button-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}

/* ✅ Home button */
.signin-container .btn-outline-black {
    flex: 1;
    padding: 12px;
    border: 2px solid black;
    color: black;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    text-align: center;
}

/* ✅ Home button hover */
.signin-container .btn-outline-black:hover {
    background-color: black;
    color: white;
}

/* ✅ Sign In button */
.signin-container button.primaryAction {
    flex: 1.5;
    background-color: black;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* ✅ Hover effect */
.signin-container button.primaryAction:hover {
    background-color: #333;
}

/* ✅ Forgot Password link */
.signin-container a.button.secondaryAction {
    display: block;
    margin-top: 15px;
    color: #ffcc00;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease-in-out;
}

.signin-container a.button.secondaryAction:hover {
    color: #d4a000;
    text-decoration: underline;
}

/* ALL AUTH PASSWORD RESET */
/* 🔹 Password Reset Container */
.password-reset-container {
    max-width: 450px;
    margin: 50px auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* 🔹 Reset Instructions */
.reset-instructions {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

/* 🔹 Password Reset Form */
.password-reset-form input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background-color: #eef1f5;
}

/* 🔹 Button Styling */
.password-reset-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}

/* 🔹 Back to Login Button */
.password-reset-buttons .btn-outline-black {
    flex: 1;
    padding: 10px;
    border: 2px solid black;
    color: black;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    text-align: center;
}

.password-reset-buttons .btn-outline-black:hover {
    background-color: black;
    color: white;
}

/* 🔹 Reset Password Button */
.password-reset-buttons .btn-reset-password {
    flex: 2;
    background-color: black;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.password-reset-buttons .btn-reset-password:hover {
    background-color: #333;
}

/* 🔹 Support Text */
.support-text {
    font-size: 14px;
    color: #777;
    margin-top: 15px;
}

.support-text a {
    color: #007bff;
    text-decoration: none;
}

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

/* newsletter signup modal */
/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it appears above everything */
    display: none; /* Hidden by default */
}

/* Centered Modal Card */
.modal-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    width: 400px;
    text-align: center;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-in-out;
}

/* Checkbox Styling */
.checkbox-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.checkbox-label {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    transition: background 0.2s ease-in-out;
}

.checkbox-label:hover {
    background: #e2e6ea;
}

/* Close Button Styling */
.modal-card .btn-secondary {
    margin-left: 10px;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 📌 Ensure product images fit correctly */
/* 📌 Limit product image size for better responsiveness */
.shopping-bag-mobile img {
    max-width: 100px; /* Reduce image width */
    height: auto;
    display: block;
    margin: 0 auto; /* Center the image */
}

/* 📌 Ensure the product details align properly */
.shopping-bag-mobile .product-details {
    text-align: left; /* Ensure text aligns correctly */
    padding-left: 10px;
}

/* 📌 Adjust the quantity selector */
.shopping-bag-mobile .quantity-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

/* 📌 Fix the layout of subtotal & remove link */
.shopping-bag-mobile .subtotal-remove {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

/* 📌 Improve spacing between items */
.shopping-bag-mobile .bag-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

/* 📌 Adjust remove button for better alignment */
.shopping-bag-mobile .remove-item {
    font-size: 12px;
    color: red;
    text-decoration: underline;
}

/* Keep Shopping Button */
.shopping-btn {
    background-color: transparent;
    color: #333;
    border: 2px solid #333;
}

.shopping-btn:hover {
    background-color: #333;
    color: white;
    transform: scale(1.05);
}

/* Secure Checkout Button */
.checkout-btn {
    background-color: #f8c100;
    color: black;
    border: 2px solid #f8c100;
}

.checkout-btn:hover {
    background-color: black;
    color: #f8c100;
    transform: scale(1.05);
}

/* ALL AUTH */
/* 🔹 Custom Styling for Sign Out Page */
.logout-container {
    text-align: center;
    margin-top: 20px;
}

/* 🔹 Sign Out Page Buttons */
.logout-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

/* 🔹 Custom Styling for "Sign Out" Button */
.logout-btn {
    background-color: transparent;
    color: black;
    border: 2px solid black;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    display: inline-block;
}

.logout-btn:hover,
.logout-btn:focus {
    background-color: black;
    color: white;
    border-color: black;
    text-decoration: none;
}

/* 🔹 Custom Styling for "Cancel" Button (Renamed to cancel-btn-2) */
.cancel-btn-2 {
    background-color: #f8f8f8;
    color: black;
    border: 2px solid black;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    display: inline-block;
}

.cancel-btn-2:hover,
.cancel-btn-2:focus {
    background-color: white;
    color: black;
    border-color: black;
    text-decoration: none;
}

/* ---------------------------------------- Media Queries */
/* Adjust for smaller screens */
@media (max-width: 320px) {
    .wrap-item {
        font-size: 1rem; /* Slightly reduce font size */
        white-space: normal; /* Allows wrapping if needed */
        text-align: center; /* Keeps text centered */
        line-height: 1.2; /* Improves readability */
    }
}

@media screen and (min-width: 435px) {
    .main-search-bar {
        display: flex !important;  /* Ensure visibility */
    }

    .search-bar-wrapper.inside-navbar {
        display: none !important; 
    }

    #main-nav-toggle {
        display: none !important;
    }

    .message-container {
        top: 50px;
        right: 5px;
        left: 5px;
        max-width: 95%;
    }

    .custom-toast {
        font-size: 0.8rem;
    }

    .toast-body {
        font-size: 0.8rem;
        padding: 10px;
    }

    .toast .btn-close {
        font-size: 0.8rem;
    }

    .bag-notification-wrapper {
        height: 100px;
        max-height: 120px;
    }
}


/* 📌 Hide table on small screens */
@media (max-width: 768px) {
    .signup-buttons-container {
        flex-direction: column; /* Stack buttons on mobile */
        gap: 15px;
    }

    .signup-buttons-container {
        flex-direction: column; /* Stack buttons on mobile */
        gap: 10px;
    }
    
    .btn-signup, .btn-back {
        width: 100%; /* Full width on smaller screens */
    }

    .signin-container {
        max-width: 90%;
        padding: 20px;
    }

    .signin-container .button-container {
        flex-direction: column;
    }

    .signin-container .btn-outline-black,
    .signin-container button.primaryAction {
        width: 100%;
    }

    .icon-wrapper {
        width: 40px;
        height: 40px;
    }

    .bag-text {
        font-size: 0.9rem;
    }

    .dropdown-arrow {
        font-size: 0.7rem;
    }

    .table-responsive {
        display: none;
    }

    .shopping-bag-mobile {
        display: block;
    }

    .bag-item {
        background: #fff;
        border-radius: 8px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
        padding: 15px;
    }

    /* Ensure buttons are properly sized */
    .qty_input {
        max-width: 40px;
        text-align: center;
    }

    .increment-qty, .decrement-qty {
        padding: 5px;
        font-size: 12px;
    }

    .message-container {
        top: 60px;
        right: 10px;
        left: 10px;
        max-width: 90%;
        display: flex;
        justify-content: center;
    }

    .custom-toast {
        max-width: 100%;
        font-size: 0.85rem;
    }

    .toast-body {
        padding: 12px;
        font-size: 0.85rem;
    }

    .toast .btn-close {
        font-size: 0.9rem;
    }
}

/* Toggle Search Bar - Only for Screens ≤ 430px */
@media screen and (max-width: 435px) {
    .header-icons-wrapper {
        display: flex;
        justify-content: center; /* Center all items horizontally */
        align-items: center;
        gap: 15px; /* Adjust spacing between items */
        width: 100%; /* Ensure it takes full width */
    }

    .navbar-toggler {
        margin: 0 !important; /* Remove any extra margin */
    }

    .nav-link {
        display: flex;
        align-items: center;
    }

    .secondary-navbar-toggler {
        display: none !important;
    }

    .main-search-bar {
        display: none !important; /* Hide main search bar */
    }

    .search-bar-wrapper.inside-navbar {
        display: flex !important; /* Show search bar inside navbar */
        width: 100%;
        padding: 10px;
        background: rgba(0, 0, 0, 0.9);
        border-radius: 10px;
        justify-content: center;
    }

    /* Ensure input field takes full width */
    .search-bar-wrapper .input-group-2 {
        width: 100%;
        position: relative;
    }

    .search-bar-wrapper .form-control {
        background-color: white;
        border-radius: 50px;
        width: 100%;
        padding: 10px;
        font-size: 1rem;
        padding-right: 50px; /* Ensure space for the search button */
    }

    /* Search button inside the input field */
    .search-bar-wrapper .input-group-2 button {
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
        width: 35px;
        height: 35px;
        background-color: black;
        color: white;
        border-radius: 50%;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Reduce button size for smaller screens */
    .search-bar-wrapper .input-group-2 button i {
        font-size: 14px;
    }

    /* promo banner */
    #delivery-banner {
        background: #FFD700;  /* Gold background */
        color: #333;
        font-size: 0.9rem;
        text-align: center;
        padding: 5px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    }

    #countdown-desktop {
        display: none;
    }
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .signin-container {
        width: 90%;
    }

    .signin-container .button-container {
        flex-direction: column; /* Stack buttons on small screens */
    }

    .signup-form-section {
        width: 100%; /* Full width */
        padding: 30px; /* Reduce padding */
    }

    .signup-form input {
        font-size: 16px; /* Adjust font size */
        padding: 10px;
    }

    .signup-form button {
        font-size: 16px;
        padding: 12px;
    }
}

/* 📌 Reduce spacing and improve layout for mobile */
@media (max-width: 768px) {
    .table thead {
        display: none; /* Hide table headers on mobile */
    }

    .table tbody tr {
        display: flex;
        flex-direction: column;
        border-bottom: 1px solid #ddd;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .table td {
        display: flex;
        justify-content: space-between;
        padding: 8px;
        font-size: 14px;
    }

    /* Center the product image */
    .table td:first-child {
        justify-content: center;
    }

    /* Align update/remove buttons */
    .update-link, .remove-item {
        font-size: 12px;
        text-align: right;
        display: block;
    }

    /* Adjust checkout and continue shopping buttons */
    .btn-lg {
        width: 100%;
        margin-bottom: 10px;
    }

    /* Remove focus outline from dropdown toggle on mobile */
    .user-dropdown .dropdown-toggle:focus,
    .user-dropdown .dropdown-toggle:active {
        outline: none !important;
        box-shadow: none !important;
    }

    .icon-wrapper {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 991px) {
    /* Center toggler and stack links vertically */
    .navbar-toggler {
        display: flex;
        justify-content: center;
        margin: 0 auto;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: center;
    }

    .navbar-nav .nav-item {
        margin-bottom: 10px;
    }

    .search-group {
        flex-shrink: 1;
        margin: 3px;
    }
}

/* Mobile menu adjustments */
@media (max-width: 992px) {
    header {
        position: sticky;
        top: 0;
        z-index: 1030;
    }

    #secondary-nav {
        background: rgba(0, 0, 0, 0.9);
    }
    
    .nav-link {
        padding: 1rem !important;
        margin: 0.5rem 0;
        text-align: center;
    }

    .signup-container {
        flex-direction: column; /* Stack form and image */
        align-items: center;
        width: 100%;
    }

    .signup-form-section {
        width: 90%; /* Reduce width slightly */
        padding: 40px; /* Adjust padding */
        min-height: auto;
    }

    .signup-image-section {
        display: none; /* Hide image on small screens */
    }
}

/* fixed top navbar only on medium and up */
@media (min-width: 992px) {
    .header-container {
        padding-top: 50px;
    }

    /* Hide the toggler and display links in a row */
    .navbar-toggler {
        display: none;
    }

    /* Ensure navbar-collapse displays links in a row */
    .navbar-collapse {
        display: flex !important; 
        justify-content: center; 
        align-items: center;
    }

    .navbar-nav {
        flex-direction: row;
    }

    .navbar-nav .nav-item {
        margin-bottom: 0;
    }

    /* Make header links larger */
    .navbar-nav .nav-link {
        font-size: 1.3rem; /* Increase font size */
        font-weight: bold;
    }

    /* Adjust specific branding or special links */
    .nav-link-2 {
        font-size: 2rem; /* Increase for emphasis */
    }


}

/* Slightly larger container on xl screens */
@media (min-width: 1200px) {
    .container {
        max-width: 80%;
    }

    .navbar-nav .nav-link {
        font-size: 1.5rem; /* Make it even bigger */
    }

    .nav-link-2 {
        font-size: 2.5rem; /* Boost the emphasized text */
    }
}
