:root {
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --light-grey: #d4ced0;
    --gray-dark: #343a40;
    --primary: rgb(166, 25, 25);
    --secondary: #edf1ff;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #ffffff;
    --dark: #1c1c1c;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --font-family-sans-serif: 'Poppins', sans-serif;
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
        'Liberation Mono', 'Courier New', monospace;

    /* Font Families */
    --font-heading: 'Adobe Myungjo Std M', 'Playfair Display', Georgia, serif;
    --font-heading-2: 'adobe-myungjo-std', serif;
    --font-primary: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    --font-bangla: 'Noto Serif Bengali';

    /* Brand Colors */
    --color-text: #333333;
    --color-secondary-text: #777777;
    --color-background: #fffff;
    /* --color-background: #f8f6f4; */
    --color-accent: #c9a9a6; /* Dusty Rose */
    --color-accent-dark: #7d3c46; /* Deep Plum */
    --color-gold: #d4af37; /* Champagne Gold */
    --color-beige: #d8c3a5;
    --main-brand-color: rgb(154, 22, 22);
    --sub-brand-color: #f4eeee;

    /* Utility */
    --common-border-radius: 10px;
    --transition: 0.3s ease-in-out;
}

.product-card {
    background-color: var(--color-background) !important;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.product-image {
    position: relative;
    overflow: hidden;
    background-color: var(--color-background) !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 215px;
}

.product-image img {
    /* width: 100%; */
    height: auto;
    display: block;
    background-color: var(--color-background) !important;
    object-fit: cover;
    max-width: 100%;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.product-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background-color: var(--main-brand-color);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    line-height: 1.2;
}

.product-label small {
    font-weight: normal;
    font-size: 12px;
}
.product-container {
    display: flex;
    gap: 40px;
    padding: 50px 0;
}

.bg-brand-low-trans {
    background-color: var(--main-brand-color) !important;
}
.bg-light-grey {
    background-color: var(--light-grey) !important;
}

.text-white {
    color: var(--white) !important;
}

.subscribe_section {
    text-align: left;
}

.subscribe_section .box {
    background-color: #d4ced0;
    padding: 75px 45px;
}

.subscribe_section .subscribe_form .heading_container {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: var(--cart-bg-color);
}

.subscribe_section .subscribe_form .heading_container h2 {
    padding: 0 25px;
}

.subscribe_section .subscribe_form form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.subscribe_section .subscribe_form form input {
    width: 100%;
    height: 60px;
    border: none;
    border-radius: 90px;
    outline: none;
    padding: 5px 25px;
    background-color: #ffffff;
    margin-top: 15px;
    text-align: left;
}

.subscribe_section .subscribe_form form input::-webkit-input-placeholder {
    color: #171620;
}

.subscribe_section .subscribe_form form input:-ms-input-placeholder {
    color: #171620;
}

.subscribe_section .subscribe_form form input::-ms-input-placeholder {
    color: #171620;
}

.subscribe_section .subscribe_form form input::placeholder {
    color: #171620;
}

.subscribe_section .subscribe_form form button {
    display: inline-block;
    padding: 10px 45px;
    background-color: var(--main-brand-color);
    border: 1px solid var(--main-brand-color);
    color: #ffffff;
    border-radius: 35px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-transform: uppercase;
    margin-top: 35px;
    font-weight: 600;
    width: 100%;
    max-width: 285px;
}

.subscribe_section .subscribe_form form button:hover {
    background-color: transparent;
    color: var(--main-brand-color);
}

.product-image-gallery {
    width: 100%;
    max-width: 600px;
    max-height: 500px;
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.gallery-img.active {
    opacity: 1;
    z-index: 1;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0);
    border: none;
    color: black;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 2;
    transition: background 0.3s ease;
}

.nav-btn:hover {
    background-color: rgba(71, 42, 42, 0.044);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

#calendar {
    clear: both; /* prevents float overlap */
    width: 100%;
    min-height: 420px;
    z-index: 1;
}

/* Wrapper to contain the calendar */
.custom-calendar-wrapper {
    /* max-height: 350px; */
    overflow-y: auto;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

/* Make sure FullCalendar elements fit responsively */
.custom-calendar-wrapper .fc {
    font-size: 12px;
    justify-content: center;
}
.custom-calendar-wrapper .fc-toolbar-title {
    font-size: 25px;
    display: inline;
    justify-content: center;
}

.custom-calendar-wrapper .fc-toolbar {
    flex-wrap: wrap;
    justify-content: space-between;
}

.custom-calendar-wrapper .fc-daygrid-event {
    font-size: 16px;
    padding: 2px 4px;
    background-color: #a61919;
    color: white;
    border-radius: 3px;
}

.custom-calendar-wrapper .fc-daygrid-day-number {
    font-weight: 500;
}

@media (max-width: 576px) {
    .custom-calendar-wrapper {
        padding: 5px;
        font-size: 12px;
    }

    .custom-calendar-wrapper .fc-toolbar-title {
        font-size: 16px;
    }
}

.booking-section {
    margin-top: 20px;
    padding: 20px;
    border: 2px solid orange;
    border-radius: 10px;
    background-color: #fffef6;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.form-group {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    min-width: 200px;
}

.form-group.full-width {
    flex: 1 1 100%;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.form-group input,
.form-group select {
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--main-brand-color);
}

.message-box {
    background-color: #fff9c4;
    color: red;
    font-weight: bold;
    padding: 10px 12px;
    border-radius: 6px;
    width: 100%;
    margin-top: 10px;
    font-size: 14px;
}

@media (max-width: 576px) {
    .booking-section {
        flex-direction: column;
        padding: 15px;
    }

    .form-group {
        flex: 1 1 100%;
    }
}

/* Sidebar Style */
.filter-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: #fff;
    z-index: 1050;
    padding: 20px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
}

/* When active */
.filter-sidebar.active {
    right: 0;
}

/* Close Arrow Button */
.close-filter {
    cursor: pointer;
    font-size: 20px;
    position: absolute;
    top: 10px;
    left: 10px;
}

/* Open Filter Button for Mobile */
.open-filter-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1060;
    background-color: #d00;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
}

/* Show filter permanently on large screens */
@media (min-width: 992px) {
    .filter-sidebar {
        position: relative;
        right: 0 !important;
        height: auto;
        width: 100%;
        box-shadow: none;
    }

    .filter-static .filter-sidebar {
        position: static;
        width: 220px;
    }

    .open-filter-btn,
    .close-filter {
        display: none;
    }

    .product-container {
        display: flex;
    }

    .product-grid {
        flex: 1;
    }
}

/* Original class from the Canvas */
.white-dropdown {
    background-color: white !important; /* Forces the background to be white */
    border-color: #ced4da; /* Resets to a standard Bootstrap border color, adjust if needed */
}

/* Specific styling for Tom Select elements when a white-dropdown class is involved */
/* This targets the main input/control area of Tom Select */
.ts-wrapper.white-dropdown .ts-control,
.ts-wrapper .ts-control.white-dropdown {
    /* If white-dropdown is applied directly to ts-control */
    background-color: white !important;
}

/* This targets the dropdown menu itself */
.ts-wrapper.white-dropdown .ts-dropdown {
    background-color: white !important;
    border-color: #ced4da; /* Ensure consistency for the dropdown border */
}

/* If you also want to ensure the option items within the dropdown are white */
.ts-wrapper.white-dropdown .ts-dropdown .option {
    background-color: white !important;
    color: #212529; /* Standard text color */
}

/* If the background you're seeing is on the "item" when an option is selected */
.ts-wrapper.white-dropdown .ts-control .item {
    background-color: white !important;
    color: #212529; /* Standard text color */
}

.note {
    font-size: 0.85em; /* Make it slightly smaller than regular text */
    color: #777; /* A subtle grey color */
    /* margin-top: 0; */ /* Ensure no extra margin */
    /* margin-bottom: 0; */ /* Ensure no extra margin */
    white-space: nowrap; /* Prevents the note from wrapping to a new line */
}

/* Add this to your main CSS file */
.note-inline {
    /* Adjust font size and color for subtlety */
    font-size: 0.75em; /* Even smaller for less prominence */
    color: #6c757d; /* Bootstrap's muted text color */
    white-space: nowrap; /* Prevent wrapping unless absolutely necessary */
    margin-left: 1rem; /* Add some space between label and note */
}

/* Optional: Make it responsive if it breaks too early */
@media (max-width: 576px) {
    /* Adjust breakpoint as needed for small screens */
    .note-inline {
        white-space: normal; /* Allow wrapping on very small screens */
        display: block; /* Make it block level to go below label */
        margin-top: 0.25rem; /* Small space if it wraps */
        margin-left: 0; /* Remove left margin if block */
    }
    .d-flex.align-items-baseline {
        flex-direction: column; /* Stack label and note on small screens */
        align-items: flex-start !important; /* Align stacked items to start */
    }
}

/* Custom CSS for helper text displayed inline with labels */
.helper-note-inline {
    font-size: 0.75em; /* Make it smaller than the label */
    color: #6c757d; /* Muted grey color */
    white-space: nowrap; /* Prevent wrapping on larger screens */
    margin-left: 1rem; /* Add some space between label and helper text */
    flex-shrink: 0; /* Prevent the note from shrinking if the label is very long */
}

/* Responsive adjustments for smaller screens, to prevent overflow */
@media (max-width: 767.98px) {
    /* For screens smaller than md (e.g., sm and xs) */
    .col-md-6 .d-flex.justify-content-between.align-items-baseline {
        flex-direction: column; /* Stack label and note */
        align-items: flex-start !important; /* Align stacked items to the left */
    }
    .col-md-6 .helper-note-inline {
        white-space: normal; /* Allow the note to wrap */
        display: block; /* Make it take its own line */
        margin-top: 0.25rem; /* Small space below label */
        margin-left: 0; /* Remove left margin when stacked */
        text-align: left !important; /* Ensure it's left-aligned when stacked */
    }
}

/* Custom CSS for Image Previews */
.image-preview-container {
    position: relative;
    width: 100px; /* Fixed width for image preview */
    height: 100px; /* Fixed height for image preview */
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; /* Prevent shrinking in flex container */
}

.image-preview-container img {
    max-width: 100%;
    max-height: 100%;
    display: block; /* Remove extra space below image */
    object-fit: contain; /* Ensures the whole image is visible within the container */
}

.btn-remove-image {
    position: absolute;
    top: -5px; /* Adjust to position outside corner */
    right: -5px; /* Adjust to position outside corner */
    background-color: #dc3545; /* Red color for remove button */
    color: white;
    border: none;
    border-radius: 50%; /* Make it circular */
    width: 25px;
    height: 25px;
    font-size: 1.2em;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10; /* Ensure it's above the image */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    padding: 0; /* Remove default padding */
}

.btn-remove-image:hover {
    background-color: #c82333; /* Darker red on hover */
}

/* Optional: Adjust file input height if default styling is odd */
.form-control[type='file'] {
    height: auto; /* Override default Bootstrap height for text inputs */
    padding: 0.375rem 0.75rem; /* Match default input padding */
    line-height: 1.5; /* Ensure text is vertically centered */
}

/* For responsiveness of the image grid */
@media (max-width: 576px) {
    .image-preview-container {
        width: 80px; /* Smaller preview on small screens */
        height: 80px;
    }
    .btn-remove-image {
        width: 20px;
        height: 20px;
        font-size: 1em;
    }
}

/* If you want to apply this to ALL inputs, not just col-md-6, remove .col-md-6 from the media query selector */
/* If you want it only for specific sections, use a more specific parent selector. */

/* Custom CSS for the Upload Cloth Button (inheriting colors) */
.custom-upload-button {
    display: flex; /* Use flexbox to align icon and text */
    align-items: center; /* Vertically center items */
    justify-content: center; /* Horizontally center items */
    gap: 10px; /* Space between icon and text */

    width: 100%; /* Ensures the button spans the full width of its parent container */
    padding: 16px 32px; /* Generous padding for a comfortable click area and spacious look */
    font-size: 1.25rem; /* Larger font size for better readability and emphasis */
    font-weight: 700; /* Bolder text */
    text-align: center; /* Centers the text horizontally within the button (redundant with flex, but good fallback) */

    /* Color inheritance */
    color: inherit; /* Text color will be inherited from parent */
    background-color: inherit; /* Background color will be inherited from parent */
    border: 1px solid currentColor; /* Border color will match inherited text color */

    border-radius: 12px; /* More pronounced rounded corners for a soft, friendly feel */
    cursor: pointer; /* Changes cursor to a pointer on hover, indicating interactivity */
    transition: all 0.3s ease; /* Smooth transitions for interactive effects on all properties */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    letter-spacing: 0.05em; /* Slightly increased letter spacing for visual appeal */
    text-transform: uppercase; /* Uppercase text for a bold statement */
    text-decoration: none; /* Ensure no underline if button acts like a link */
}

/* SVG Icon Styling */
.custom-upload-button .upload-icon {
    width: 24px; /* Set desired width for the SVG */
    height: 24px; /* Set desired height for the SVG */
    fill: currentColor; /* SVG color will inherit from the button's text color */
    vertical-align: middle; /* Aligns the icon nicely with text */
}

/* Hover effect */
.custom-upload-button:hover {
    opacity: 0.9; /* Slightly reduce opacity on hover for a subtle effect */
    transform: translateY(-2px); /* Lifts the button slightly on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Enhances shadow on hover */
    color: var(--white);
}

/* Active (click) effect */
.custom-upload-button:active {
    transform: translateY(0); /* Pushes the button down slightly */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Reduces shadow, giving a pressed effect */
}

/* Optional: Focus state for accessibility */
.custom-upload-button:focus {
    outline: none; /* Removes default outline */
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.2); /* Adds a focus ring based on current color */
}

/* Media query for smaller screens to adjust padding/font size if needed */
@media (max-width: 768px) {
    .custom-upload-button {
        padding: 14px 25px; /* Slightly less padding on smaller screens */
        font-size: 1.1rem; /* Slightly smaller font size on smaller screens */
        gap: 8px; /* Slightly less gap */
    }
    .custom-upload-button .upload-icon {
        width: 20px; /* Smaller icon on mobile */
        height: 20px; /* Smaller icon on mobile */
    }
}

/* additoinal info in select 2 */

/* Custom CSS for your form elements */

/* Make sure form-group behaves as expected for alignment */
.form-group {
    margin-bottom: 1rem; /* Add some spacing between form groups */
    position: relative; /* Needed for absolute positioning of spans if desired */
}

/* Style for the inline "Purchased Shop/Facebook Page" span */
.form-group .form-label + .additional-info-span {
    /* Styles for horizontal alignment */
    display: block; /* Make it a block element to take full width of its container */
    width: 100%; /* Take full width of parent div */
    text-align: right; /* Align text to the right */
    font-size: 0.875em; /* Smaller font size, adjust as needed */
    color: #6c757d; /* Muted color, adjust as needed */
    margin-top: -0.5rem; /* Pull it up slightly if it's on a new line after label */
    margin-bottom: 0.5rem; /* Space below it */
}

/* If you want it on the same line as the label and right-aligned */
/* You'd need to adjust your HTML to wrap label and span in a flex container */
/* Example:
<div style="display: flex; justify-content: space-between; align-items: baseline;">
    <label class="form-label">For</label>
    <span class="additional-info-span">Purchased Shop/Facebook Page</span>
</div>
*/

/* Custom styles for select element (if needed for visual consistency) */
.form-select.white-dropdown.custom-select {
    background-color: #fff; /* White background */
    border: 1px solid #ced4da; /* Light grey border */
    border-radius: 0.25rem; /* Standard Bootstrap border-radius */
    padding: 0.375rem 2.25rem 0.375rem 0.75rem; /* Standard Bootstrap padding for select */
    line-height: 1.5;
    color: #495057; /* Standard text color */
    -webkit-appearance: none; /* Remove default browser styling */
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); /* Custom arrow */
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

/* Ensure the Bootstrap invalid feedback style works well */
.invalid.text-danger {
    font-size: 0.875em; /* Smaller text for errors */
    color: #dc3545 !important; /* Bootstrap red for errors, using !important to override other classes */
    margin-top: 0.25rem; /* Space above the error message */
    width: 100%; /* Ensure it takes full width */
}

/* General style for the choose file button and preview container */
.image-preview-container {
    position: relative;
    display: inline-block; /* Aligns previews next to each other */
    margin-right: 10px; /* Space between previews */
    margin-bottom: 10px; /* Space below previews */
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 4px;
}

.image-preview-container img {
    max-width: 100px; /* Adjust size as needed */
    max-height: 100px;
    display: block; /* Remove extra space below image */
}

.btn-remove-image {
    position: absolute;
    top: -8px; /* Adjust as needed to place it correctly */
    right: -8px; /* Adjust as needed */
    background-color: #dc3545; /* Red background for remove button */
    color: white;
    border: none;
    border-radius: 50%; /* Makes it round */
    width: 20px;
    height: 20px;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.btn-remove-image:hover {
    opacity: 1;
}

.d-flex.flex-wrap.gap-2.mt-2 {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem; /* 8px gap */
    margin-top: 0.5rem; /* 8px margin top */
}

/* faq  */

/*--------------------------------------------------------------
# Custom Grid Classes (if not already in your main.css)
# These are essential for .container and .container-fluid responsiveness
# if you are not using Bootstrap's full CSS.
# If your main.css already defines these, you can remove this block.
--------------------------------------------------------------*/
.container-fluid {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.container {
    width: 100%;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }

    .main-logo-image {
        width: 250px;
    }
}
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/*--------------------------------------------------------------
# Custom FAQ Accordion Styles
# Add these rules to your main.css. It's best to place them
# towards the end of your main.css file, after general
# Bootstrap or template styles, to ensure they take precedence.
--------------------------------------------------------------*/
.pt-5 {
    padding-top: 1rem !important; /* Adjust if your template's pt-5 value is different */
}

.faq {
    padding-bottom: 60px;
    background-color: transparent; /* Ensure section background doesn't interfere if it's placed on a colored background */
}

.faq .section-title {
    margin-bottom: 40px; /* Adjust spacing below title */
}

.custom-accordion {
    padding: 20px; /* Padding around the accordion items within the container */
    background-color: var(
        --surface-color
    ); /* White background for the entire accordion box */
    border-radius: 10px; /* More rounded corners for the main box */
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); /* More prominent shadow for the main box */
}

.custom-accordion-item {
    border: none !important; /* Force removal of any default borders */
    margin-bottom: 10px; /* Spacing between items */
    border-radius: 8px; /* Slightly more rounded corners for individual items */
    overflow: hidden;
    background-color: #f8f9fa; /* A very light gray background for each item, as seen in the image */
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.05); /* Subtle shadow for each item */
    transition: all 0.3s ease-in-out;
}

.custom-accordion-item:last-child {
    margin-bottom: 0;
}

.custom-accordion-header {
    margin: 0 !important; /* Force removal of any default margins */
    border: 0 !important; /* Force removal of any default borders */
    cursor: pointer; /* Indicate it's clickable */
    display: flex;
    align-items: center;
    font-family: var(--default-font) !important; /* Force default font */
    font-size: 16px !important; /* Force specific font size */
    font-weight: 500 !important; /* Force specific font weight */
    padding: 15px 20px !important; /* Force specific padding */
    background-color: var(
        --sub-brand-color
    ) !important; /* Force match item background */
    color: var(--default-color) !important; /* Force default text color */
    text-align: left;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
    position: relative;
}

.custom-accordion-header:hover {
    background-color: #e9ecef !important; /* Force slightly darker gray on hover */
}

.custom-accordion-item.active .custom-accordion-header {
    background-color: var(
        --main-brand-color
    ) !important; /* Force background to brand color when expanded */
    color: white !important; /* Force text to white when expanded */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important; /* Force subtle border at bottom when expanded */
    border-radius: 8px 8px 0 0 !important; /* Force top corners rounded, make bottom square when open */
}

/* Custom chevron icon */

.custom-accordion-header::after {
    content: '';
    width: 8px;
    height: 8px;
    /* Revert to neutral gray for inactive state */
    border-right: 2px solid #6c757d;
    border-bottom: 2px solid #6c757d;
    transform: rotate(45deg); /* Pointing down */
    transition: transform 0.3s ease-in-out;
    margin-left: auto; /* Push icon to the right */
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.custom-accordion-item.active .custom-accordion-header::after {
    transform: rotate(-135deg); /* Pointing up */
    border-right-color: white !important;
    border-bottom-color: white !important;
}

.custom-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out; /* Smooth transition for height */
    background-color: #ffffff; /* White background for the expanded content */
    border-radius: 0 0 8px 8px; /* Rounded bottom corners when expanded */
    padding: 0 20px; /* Initial padding, will be adjusted when open */
    box-sizing: border-box; /* Include padding in height calculation */
}

.custom-accordion-item.active .custom-accordion-content {
    max-height: 500px; /* A large enough value to accommodate content */
    padding: 15px 20px 20px 20px; /* Adjusted padding for content when open */
    background-color: var(
        --sub-brand-color
    ); /* White background for the expanded content */
}

.custom-accordion-content p {
    margin: 0 !important; /* Force removal of default paragraph margin */
    font-size: 14px !important; /* Force specific font size */
    line-height: 1.6 !important; /* Force specific line height */
    color: var(--default-color) !important; /* Force default text color */
    font-family: var(--default-font) !important; /* Force default font */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .faq .accordion {
        padding: 15px;
    }
    .custom-accordion-item {
        margin-bottom: 8px;
    }
    .custom-accordion-header {
        font-size: 15px !important;
        padding: 12px 18px !important;
    }
    .custom-accordion-content {
        padding: 0 18px !important;
    }
    .custom-accordion-item.active .custom-accordion-content {
        padding: 12px 18px 15px 18px !important;
        font-size: 13px !important;
    }

    /* Main logo cutomization in responsive */
    .main-logo-image {
        width: 150px;
    }
}

/* whatsapp logo text  */

.whatsapp-container {
    display: flex; /* Makes the image and details side-by-side */
    align-items: center; /* Vertically aligns items in the middle */
    gap: 10px; /* Adds space between the image and the text details */
    /* You can adjust this gap as needed */
}

.whatsapp-details {
    display: flex;
    flex-direction: column; /* Stacks the number and helpline text */
}

.whatsapp-support-number {
    color: var(--main-brand-color); /* Darker text color, adjust as needed */
    font-size: 15px; /* Adjust font size */
    font-weight: bold; /* Make the number bold if desired */
    margin-bottom: 2px; /* Small space between number and helpline */
}

.whatsapp-support-text {
    color: #666; /* Slightly lighter text color for "Helpline" */
    font-size: 14px; /* Adjust font size */
}

/* If you need to hide the link entirely sometimes, these classes are useful */

/* Example for the red text "Help me with the styles" and arrow */
/* This part is purely illustrative and not directly for the WhatsApp section */
.help-text-container {
    display: flex;
    align-items: center;
    color: red;
    font-size: 18px;
    margin-top: 20px; /* Adjust spacing */
}

.arrow-icon {
    /* You would typically use an SVG or a CSS trick for the arrow */
    /* For a simple arrow using text: */
    font-size: 30px;
    margin-right: 10px;
}

/* Whatsapp icon end  */

/* Notification  */
/* ------------------ custom notification ---------------------------  */

/* Notification Container */
.notification-container {
    position: relative; /* Crucial for positioning the notification-dropdown */
    display: inline-block; /* Allows width to shrink to content */
}

/* Notification Icon (Bell) */
.notification-icon {
    position: relative;
    cursor: pointer;
    color: var(--white); /* Default bell color (can be overridden by hover) */
    border-radius: 50%; /* Still useful for consistent padding if needed */
    transition: color 0.3s ease; /* Transition for color change */

    /* NEW: Initial state - no background, just outline for the icon */
    background-color: transparent; /* Ensure no background */
}

/* NEW: Hover, Focus, and Active states for the bell icon */
.notification-icon:hover .bx-bell,
.notification-icon:focus .bx-bell, /* For keyboard navigation/focus */
.notification-icon.active .bx-bell, /* When notification-dropdown is open (via JS class) */
.notification-icon .bx-bell.active-icon {
    /* Alternative if JS adds active to icon itself */
    color: #000; /* Solid black fill */
    font-weight: bold; /* Make it look bolder if needed for solid appearance */
}

/* Adjust the icon size specifically for Boxicons within .notification-icon */
.notification-icon .bx {
    /* Targeting the Boxicon inside the bell icon wrapper */
    font-size: 24px; /* Default size for bell */
    vertical-align: middle; /* Helps align the icon properly */
    /* NEW: Initial bell icon color (outline look) */
    color: var(--white); /* Dark grey for initial outline appearance */
    transition: color 0.3s ease, font-weight 0.3s ease; /* Smooth transition for color and weight */
}

/* Notification Counter */
.notification-counter {
    position: absolute;
    top: -2px; /* Adjust as needed for vertical position */
    right: 5px; /* Adjust as needed for horizontal position */
    background-color: #ff4d4f; /* Red background */
    color: white;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%; /* Make it circular */
    padding: 2px 4px; /* Adjust padding for size */
    min-width: 16px; /* Ensure it's always a circle */
    text-align: center;
    line-height: 1.2; /* Center text vertically */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    display: flex; /* For perfect centering of number */
    align-items: center;
    justify-content: center;
    transform: scale(1); /* Initial state for animation */
    transition: transform 0.2s ease-out; /* For pop-out effect */
}

/* Hide counter when there are no notifications */
.notification-counter.hidden {
    display: none;
}

/* Notification Dropdown */
.notification-notification-dropdown {
    position: absolute;
    top: calc(100% + 10px); /* Position below the icon, with some spacing */
    right: 0; /* Align to the right of the container */
    width: 350px; /* Fixed width for the notification-dropdown */
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    z-index: 1000; /* Ensure it's above other content */
    opacity: 0; /* Start hidden */
    visibility: hidden; /* Start hidden */
    transform: translateY(-10px); /* Initial state for animation */
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    overflow: hidden; /* Important for border-radius on children */
}

.notification-notification-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(1%) translateY(1%);
}

/* Dropdown Header */
.notification-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    background-color: #fcfcfc;
}

.notification-dropdown-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.notification-dropdown-header .mail-icon {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Adjust the icon size specifically for Boxicons within .mail-icon */
.notification-dropdown-header .mail-icon .bx {
    /* Targeting the Boxicon inside the mail icon wrapper */
    font-size: 20px; /* Size for mail icon */
    vertical-align: middle;
}

.notification-dropdown-header .mail-icon:hover {
    color: #007bff; /* Example hover color */
}

/* Dropdown Body - Notification List */
.notification-dropdown-body {
    max-height: 400px; /* Max height before scrolling */
    overflow-y: auto; /* Enable vertical scrolling */
    padding: 0;
    list-style: none; /* Remove default list styling if using ul/li */
}

/* Scrollbar styling for Webkit browsers */
.notification-dropdown-body::-webkit-scrollbar {
    width: 8px;
}

.notification-dropdown-body::-webkit-scrollbar-thumb {
    background-color: #e0e0e0;
    border-radius: 4px;
}

.notification-dropdown-body::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

/* Individual Notification Item */
.notification-item {
    display: flex;
    align-items: flex-start; /* Align content to the top */
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
    position: relative; /* For remove button positioning */
}

.notification-item:last-child {
    border-bottom: none; /* No border for the last item */
}

.notification-item:hover {
    background-color: #f7f7f7;
}

/* Notification Avatar */
.notification-avatar {
    flex-shrink: 0; /* Prevent avatar from shrinking */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    background-color: #f0f0f0; /* Placeholder background */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-weight: bold;
    font-size: 14px;
}

.notification-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.notification-avatar.initial-circle {
    background-color: #e0f2f7; /* Light blue for initials */
    color: #007bff;
}

/* Notification Content */
.notification-content {
    flex-grow: 1; /* Allow content to take available space */
    color: #555;
    font-size: 14px;
    line-height: 1.4;
}

.notification-content p {
    margin: 0 0 5px 0;
}

.notification-content strong {
    color: #333;
}

.notification-content .time-ago {
    font-size: 12px;
    color: #999;
}

/* For icons within content - now targeting Boxicons */
.notification-content .bx {
    margin-right: 5px;
    color: #007bff;
    font-size: 16px; /* Adjust size for inline icons */
    vertical-align: middle; /* Helps align with text */
}

/* Remove Notification Button */
.remove-notification {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    padding: 5px;
    margin-left: 10px; /* Space between content and button */
    transition: color 0.2s ease;
    opacity: 0; /* Hidden by default */
    position: absolute; /* Position relative to .notification-item */
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* Adjust the icon size specifically for Boxicons within .remove-notification */
.remove-notification .bx {
    /* Targeting the Boxicon inside the remove button */
    font-size: 18px; /* Size for close icon */
    vertical-align: middle;
}

.notification-item:hover .remove-notification {
    opacity: 1; /* Show on hover of the notification item */
    color: #888;
}

.remove-notification:hover {
    color: #ff4d4f; /* Red on hover */
}

/* Dropdown Footer */
.notification-dropdown-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: center;
    background-color: #fcfcfc;
}

.notification-dropdown-footer a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    font-size: 14px;
    transition: color 0.2s ease;
}

.notification-dropdown-footer a:hover {
    color: #0056b3;
}

/* ------------------ custom notification-end ---------------------------  */

/* ------------------ profile user logo dashboard cart icon setup-start ---------------------------  */

/* Container for the entire user profile block */
.user-profile-container {
    padding: 2px 2px; /* Adjust padding as needed for spacing around the content */
    /* As per request: NO background, border, or shadow for the main container */
    width: 100%; /* Ensure it takes full available width within its parent */
    /* If you need a specific max-width for the entire block, define it here: */
    /* max-width: 300px; */
    /* margin: 0 auto; /* Optional: to center the entire block */
}

/* Wrapper for user details: This creates the main two-column layout */
.user-details-wrapper {
    display: flex; /* Enable Flexbox */
    justify-content: end; /* Pushes the left and right columns to opposite ends */
    align-items: center; /* Vertically centers the content in both columns */
    width: 100%; /* Ensures it spans the full width of its container */
}

/* Left Column: Contains "Hellow, User" text and "Dashboard | Logout" links */
.text-content-column {
    display: flex;
    flex-direction: column; /* Stacks text and links vertically */
    align-items: end; /* ALIGN TEXT AND LINKS TO THE LEFT within this column */
    /* flex-grow: 1; /* Allows this column to take up available space */
    /* flex-shrink: 1; */
    /* flex-basis: auto; */
    padding-right: 5px;
}

/* Right Column: Contains only the user avatar */
.avatar-column {
    display: flex; /* Use flex to align the avatar if needed */
    align-items: center; /* Vertically center the avatar within its column */
    justify-content: flex-end; /* Ensure avatar is pushed to the right end of its column within this column */
    /* flex-shrink: 0; /* Prevents avatar from shrinking */
}

/* Styling for the "Hellow, User" text link */
.greeting-text-link {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit text color from parent */
    /* No margin-right here as avatar is in a different column */
}

/* Styling for "Hellow, User" text */
.greeting-text {
    font-size: 1.2em; /* Make it oversized */
    font-weight: bold; /* Make it bold */
    color: #333; /* Darker color for prominence */
    white-space: nowrap; /* Prevent text from wrapping onto multiple lines */
}

/* Styling for the avatar link */
.avatar-link {
    display: flex; /* Ensure the link itself can contain and center the image */
    align-items: center;
    justify-content: center;
    text-decoration: none; /* No underline on image link */
}

/* Styling for the user avatar */
.user-avatar {
    width: 45px; /* Smaller width for the avatar as per your desired design */
    height: 45px; /* Equal height for a perfect circle */
    object-fit: cover; /* Crucial: crops the image to fill the circle while maintaining aspect ratio */
    border-radius: 50%; /* Makes the image perfectly circular */
    /* As per request: NO border and NO box-shadow */
}

/* Styles for "Dashboard | Logout" links */
.navigation-links {
    font-size: 0.9em; /* Slightly smaller font size */
    /* color: #666; Gray color */
    display: flex; /* Make it a flex container to keep links side-by-side */
    align-items: end; /* Vertically align items */
    justify-content: end; /* ALIGN LINKS TO THE LEFT within their column */
    margin-top: 0px; /* Space between "Hellow, User" and these links */
}

.navigation-links a {
    text-decoration: none;
    /* color: #007bff; Example link color */
    padding: 0 5px; /* Small padding around links */
    white-space: nowrap; /* Prevent links from wrapping */
}

.navigation-links a:hover {
    text-decoration: underline;
}

.link-separator {
    color: #ccc; /* Lighter color for the separator */
    margin: 0 3px; /* Space around the separator */
}

/* Responsive adjustments */
@media (max-width: 576px) {
    /* Adjust breakpoint as needed for mobile */
    /* Example adjustments, feel free to fine-tune */
    /* .user-profile-container {
        padding: 8px 10px;
    } */

    .greeting-text {
        font-size: 0.9em;
    }

    .user-avatar {
        width: 40px;
        height: 40px;
    }

    .navigation-links {
        font-size: 0.7em;
    }
}
/* ------------------ profile user logo dashboard cart icon setup-end ---------------------------  */

/* ------------------ custom menu - start ---------------------------  */

.menu-container {
        background: #ffffff;
        border: none;
        border-radius: 0;
        padding: 0;
        position: relative;
        box-shadow: none;
      }

      .menu-bar {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        min-height: 45px;
        overflow: hidden;
        background: #ffffff;
      }

      .menu-items {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        align-items: center;
      }

      .menu-item {
        position: relative;
      }

      .menu-item a {
        display: block;
        padding: 12px 18px;
        color: #333333;
        text-decoration: none;
        font-weight: 400;
        font-size: 14px;
        transition: all 0.3s ease;
        white-space: nowrap;
        border-radius: 0;
        margin: 0;
        border: none;
        border-bottom: 3px solid transparent;
        position: relative;
      }

      .menu-item:last-child a {
        border: none;
      }

      .menu-item a:hover,
      .menu-item a:focus {
        background-color: transparent;
        color: #9a1616;
        border-bottom: 3px solid #9a1616;
        transform: none;
      }

      .menu-item.active a {
        background-color: transparent;
        color: #9a1616;
        border-bottom: 3px solid #9a1616;
        font-weight: 500;
      }

      /* More dropdown styles */
      .more-menu {
        position: relative;
        display: none;
      }

      .more-toggle {
        display: flex;
        align-items: center;
        cursor: pointer;
        position: relative;
        color: #333333;
        padding: 12px 18px;
        border: none;
        border-bottom: 3px solid transparent;
        transition: all 0.3s ease;
        font-weight: 400;
        font-size: 14px;
      }

      .more-toggle:hover,
      .more-toggle:focus {
        background-color: transparent;
        color: #9a1616;
        border-bottom: 3px solid #9a1616;
      }

      .more-toggle::after {
        content: '';
        margin-left: 8px;
        width: 0;
        height: 0;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 5px solid currentColor;
        transition: all 0.3s ease;
      }

      .more-menu.active .more-toggle {
        background-color: transparent;
        color: #9a1616;
        border-bottom: 3px solid #9a1616;
      }

      .more-menu.active .more-toggle::after {
        transform: rotate(180deg);
      }

      .more-dropdown {
        position: fixed;
        left: 0;
        right: 0;
        width: 100vw;
        background: #ffffff;
        border-radius: 0;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        z-index: 9999;
        border: none;
        padding: 20px 0;
      }

      .more-menu.active .more-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
      }

      .more-dropdown a {
        color: #333333 !important;
        padding: 12px 30px;
        display: inline-block;
        margin: 0 8px;
        border-bottom: 3px solid transparent;
        transition: all 0.3s ease;
        border-radius: 0;
        font-weight: 400;
        font-size: 14px;
        text-decoration: none;
      }

      .more-dropdown a:hover,
      .more-dropdown a:focus {
        background-color: transparent !important;
        color: #9a1616 !important;
        border-bottom: 3px solid #9a1616 !important;
        transform: none;
      }

      /* Submenu dropdown styles */
      .dropdown-parent {
        position: relative;
      }

      .dropdown-toggle {
        display: flex;
        align-items: center;
      }

      .dropdown-arrow {
        margin-left: 8px;
        width: 0;
        height: 0;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 5px solid currentColor;
        transition: all 0.3s ease;
      }

      .dropdown-parent:hover .dropdown-arrow,
      .dropdown-parent.active .dropdown-arrow {
        transform: rotate(180deg);
      }

      .dropdown-parent:hover .dropdown-toggle,
      .dropdown-parent.active .dropdown-toggle {
        color: #9a1616;
        border-bottom: 3px solid #9a1616;
      }

      .submenu-dropdown {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100vw;
        background: #ffffff;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        z-index: 9999;
        border: 1px solid #e0e0e0;
        padding: 30px 0;
      }

      .dropdown-parent:hover .submenu-dropdown,
      .dropdown-parent.active .submenu-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
      }

      .submenu-container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
        padding: 0 40px;
        max-width: 1200px;
        margin: 0 auto;
      }

      .submenu-column {
        padding: 0 20px;
      }

      .submenu-column h4 {
        color: #333333;
        font-size: 16px;
        font-weight: 600;
        margin: 0 0 15px 0;
        padding-bottom: 8px;
        border-bottom: 2px solid #9a1616;
        text-transform: uppercase;
        letter-spacing: 1px;
      }

      .submenu-column a {
        display: block;
        color: #666666;
        text-decoration: none;
        padding: 8px 0;
        font-size: 14px;
        font-weight: 400;
        transition: all 0.3s ease;
        border-bottom: none;
      }

      .submenu-column a:hover {
        color: #9a1616;
        padding-left: 5px;
      }

      /* Responsive submenu */
      @media (max-width: 768px) {
        .submenu-dropdown {
          min-width: 300px;
          left: -100px;
        }

        .submenu-container {
          grid-template-columns: repeat(2, 1fr);
          padding: 20px 15px;
        }

        .submenu-column {
          padding: 0 10px;
          margin-bottom: 20px;
        }
      }

      @media (max-width: 480px) {
        .submenu-container {
          grid-template-columns: 1fr;
        }
      }

      .more-dropdown a:last-child {
        border-bottom: none;
        border-radius: 6px;
      }

      .more-dropdown a:first-child {
        border-radius: 6px;
      }

      .dropdown-container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
      }

      /* Responsive adjustments */
      @media (max-width: 768px) {
        .menu-item a {
          padding: 12px 15px;
          font-size: 13px;
        }
        .more-toggle {
          padding: 12px 15px;
        }
      }

      @media (max-width: 480px) {
        .menu-item a {
          padding: 12px 12px;
          font-size: 13px;
        }
        .more-toggle {
          padding: 12px 12px;
        }
      }

      /* Responsive breakpoints */
      @media (min-width: 769px) {
        .more-menu {
          display: none !important;
        }
        .menu-item {
          display: block !important;
        }
      }

      @media (max-width: 768px) {
        .menu-item:nth-child(n + 4) {
          display: none;
        }
        .more-menu {
          display: block;
        }
      }

      @media (max-width: 480px) {
        .menu-item:nth-child(n + 3) {
          display: none;
        }
        .more-menu {
          display: block;
        }
      }

      /* Demo styling */
      .demo-info {
        text-align: center;
        margin-bottom: 20px;
        color: #666;
      }

      .demo-info h2 {
        color: #8b0000;
        margin-bottom: 10px;
      }
/* ------------------ custom menu - end ---------------------------  */
