/* General icon styling for header elements */
.nav-toggle .fa-solid.fa-bars,
.minicart-wrapper .action.showcart .fa-solid.fa-cart-shopping,
.custom-block-phone .fa-solid.fa-phone,
.quick-links .fa-solid.fa-user,
.header .fa-solid.fa-phone,
.navigation.sw-megamenu .level0.parent > a .category-icon {
    line-height: 1 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Hide all direct children of .minicart-wrapper .action.showcart except the cart icon and counter */
.minicart-wrapper .action.showcart > *:not(.fa-solid.fa-cart-shopping):not(.counter.qty) {
    display: none !important;
}

/* Hide all direct children of .minicart-wrapper .action.showcart except the cart icon and counter */
.minicart-wrapper .action.showcart > *:not(.fa-solid.fa-cart-shopping):not(.counter.qty) {
    display: none !important;
}

/* Hide all direct children of .minicart-wrapper .action.showcart except the cart icon and counter */
.minicart-wrapper .action.showcart > *:not(.fa-solid.fa-cart-shopping):not(.counter.qty) {
    display: none !important;
}

/* Explicitly hide any remaining porto-icon elements or their pseudo-elements */
[class*="porto-icon-"],
.navigation.sw-megamenu .level0.parent .level0.submenu .subchildmenu li::before,
.navigation.sw-megamenu .level0.parent .level0.submenu .subchildmenu li::after,
.navigation.sw-megamenu .level0.parent .level0.submenu .subchildmenu li a i,
.navigation.sw-megamenu .level0.parent .level0.submenu .subchildmenu li a em,
.navigation.sw-megamenu .level0.parent .level0.submenu .subchildmenu li a::before,
.navigation.sw-megamenu .level0.parent .level0.submenu .subchildmenu li a::after,
.navigation.sw-megamenu .level0.parent .level0.submenu .subchildmenu li a span::before, /* Target pseudo-elements on span within sub-menu links */
.navigation.sw-megamenu .level0.parent .level0.submenu .subchildmenu li a span::after { /* Target pseudo-elements on span within sub-menu links */
    display: none !important;
    content: none !important;
}

/* Hide any unwanted pseudo-elements that might be showing as squares */
.minicart-wrapper::before,
.minicart-wrapper::after,
.minicart-wrapper .action.showcart::before,
.minicart-wrapper .action.showcart::after,
.nav-toggle::before, /* Added to target potential pseudo-elements near nav-toggle */
.nav-toggle::after { /* Added to target potential pseudo-elements near nav-toggle */
    content: none !important;
    display: none !important;
}

/* Hide the "items" label for the cart counter */
.minicart-wrapper .action.showcart .counter-label {
    display: none !important;
}

/* Hide any span elements within .counter.qty that are not .counter-number */
.minicart-wrapper .action.showcart .counter.qty > span:not(.counter-number) {
    display: none !important;
}

/* Ensure Font Awesome font is applied */
.fa-solid,
.fa-chevron-right {
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important; /* Ensure solid style is applied for Font Awesome */
}

/* Specific style for the mobile menu toggle to ensure it's visible */
.nav-toggle .fa-solid.fa-bars {
    color: #000 !important; /* Black for desktop */
    font-size: 25px !important;
}

/* Specific style for the cart icon */
.minicart-wrapper .action.showcart .fa-solid.fa-cart-shopping {
    color: #000 !important; /* Black for desktop */
    font-size: 45px !important; /* Larger size as seen in original styles */
    line-height: 33px !important;
}

/* Specific style for the phone icon in the custom block */
.custom-block-phone .fa-solid.fa-phone {
    color: #000 !important; /* Black for desktop */
    font-size: 15px !important; /* Smaller size as seen in original styles */
}

/* Specific style for the user icon */
.quick-links .fa-solid.fa-user {
    color: #000 !important; /* Black for desktop */
    font-size: 24px !important;
}

/* Specific style for the menu arrows (category-icon) */
.navigation.sw-megamenu .level0.parent > a .category-icon {
    color: #fff !important; /* White for desktop */
    font-size: 16px !important; /* Adjust size as needed */
    display: inline-block !important; /* Ensure it's not hidden */
}

/* Positioning for the cart counter */
.minicart-wrapper .action.showcart {
    position: relative; /* Needed for absolute positioning of counter */
}

.minicart-wrapper .action.showcart .counter.qty {
    position: absolute;
    top: -18px; /* Further adjusted for better vertical alignment */
    right: -18px; /* Further adjusted for better horizontal alignment */
    background-color: #0066c0; /* Blue background for contrast */
    color: #fff; /* White text for contrast */
    border-radius: 50%; /* Make it round */
    width: 24px; /* Adjusted size */
    height: 24px; /* Adjusted size */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px; /* Adjusted font size */
    line-height: 1;
    padding: 0;
    z-index: 1; /* Ensure it's above other elements */
}

.minicart-wrapper .action.showcart .counter.qty .counter-number {
    color: #fff !important; /* Ensure the number itself is white */
    font-weight: bold;
}

/* Hide any span elements within .counter.qty that are not .counter-number */
.minicart-wrapper .action.showcart .counter.qty > span:not(.counter-number) {
    display: none !important;
}

/* Main navigation dropdown hover effect (desktop) */
.navigation.sw-megamenu .level0.parent {
    position: relative;
}

.navigation.sw-megamenu .level0.parent .level0.submenu {
    display: none;
    position: absolute;
    top: 100%; /* Position below the parent link */
    left: 0; /* Ensure it's not off-screen */
    z-index: 1000; /* Ensure it appears above other content */
    background-color: #fff; /* Or your desired background color */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Optional: add a subtle shadow */
    min-width: 200px; /* Adjust as needed */
}

.navigation.sw-megamenu .level0.parent:hover > .level0.submenu {
    display: block;
    left: 0 !important; /* Force it to be visible and not off-screen */
}

/* Mobile menu display when 'is-open' class is present */
@media (max-width: 767px) {
    /* Ensure the main navigation container is visible */
    body.nav-open .nav-sections {
        display: block !important;
    }

    /* Ensure the content area of the mobile menu is visible */
    body.nav-open .nav-sections-item-content {
        display: block !important;
    }

    .navigation.sw-megamenu .level0.parent .level0.submenu {
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        opacity: 0;
        transition: max-height 0.3s ease-out, opacity 0.3s ease-out; /* Removed visibility from transition */
    }

    .navigation.sw-megamenu .level0.parent.is-open > .level0.submenu {
        display: block !important; /* Ensure it's rendered */
        position: static !important; /* Allow it to flow naturally in the document flow on mobile */
        width: 100% !important; /* Take full width on mobile */
        box-shadow: none !important; /* Remove shadow for mobile */
        background-color: #f6f6f6 !important; /* Corrected background color */
        padding-left: 20px; /* Indent sub-items */
        max-height: 1000px !important; /* Increased max-height to ensure all content shows */
        height: auto !important; /* Ensure height adjusts to content */
        overflow: visible !important; /* Ensure content is not hidden */
        visibility: visible !important;
        opacity: 1 !important;
    }

    .navigation.sw-megamenu .level0.parent .level0.submenu .subchildmenu {
        padding-left: 0 !important; /* Reset padding for sub-items within the submenu */
    }

    .navigation.sw-megamenu .level0.parent .level0.submenu .subchildmenu li a {
        padding-left: 15px !important; /* Further indent actual links */
    }

    /* Ensure the main navigation is visible when the body has nav-open */
    body.nav-open .nav-sections .navigation.sw-megamenu {
        display: block !important;
    }
}


/* Icon styling and rotation (desktop) */
.navigation.sw-megamenu .level0.parent > a .category-icon {
    transition: transform 0.3s ease; /* Smooth transition for rotation */
}

.navigation.sw-megamenu .level0.parent:hover > a .category-icon {
    transform: rotate(90deg); /* Rotate 90 degrees on hover */
}

/* Hide any unwanted pseudo-elements on desktop menu links */
.navigation.sw-megamenu .level0.parent > a::before,
.navigation.sw-megamenu .level0.parent > a::after,
.navigation.sw-megamenu .level0.parent > a span::before,
.navigation.sw-megamenu .level0.parent > a span::after {
    content: none !important;
    display: none !important;
}

/* Mobile icon rotation when 'is-open' class is present */
@media (max-width: 767px) {
    /* Ensure the toggle icon is always visible and clickable */
    .navigation.sw-megamenu .level0.parent .open-children-toggle {
        display: block;
        position: absolute;
        right: 15px; /* Adjust as needed */
        top: 50%;
        transform: translateY(-50%);
        width: 40px; /* Make it a decent size for tapping */
        height: 40px;
        z-index: 10; /* Ensure it's above the link text */
        cursor: pointer;
    }

    /* Style the actual icon */
    .navigation.sw-megamenu .level0.parent .open-children-toggle::after {
        content: '\f054'; /* Font Awesome right chevron */
        font-family: 'Font Awesome 5 Free'; /* Or 'Font Awesome 5 Pro' if applicable */
        font-weight: 900; /* Solid icon weight */
        color: #000; /* Black for mobile menu icons */
        font-size: 16px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: transform 0.3s ease;
    }

    /* Rotate the icon when the parent is open */
    .navigation.sw-megamenu .level0.parent.is-open .open-children-toggle::after {
        transform: translate(-50%, -50%) rotate(90deg); /* Rotate 90 degrees when open */
        color: #8b1313; /* Highlight color when open */
    }

    /* Hide the original category-icon as we are using open-children-toggle */
    .navigation.sw-megamenu .level0.parent > a .category-icon {
        display: none !important;
    }

    /* Ensure consistent icon color on mobile */
    .nav-toggle .fa-solid.fa-bars,
    .minicart-wrapper .action.showcart .fa-solid.fa-cart-shopping,
    .custom-block-phone .fa-solid.fa-phone,
    .quick-links .fa-solid.fa-user,
    .navigation.sw-megamenu .level0.parent > a .category-icon {
        color: #fff !important; /* White for mobile */
    }

    .navigation.sw-megamenu .level0.parent > a {
        position: relative; /* Needed for absolute positioning of toggle */
        padding-right: 50px; /* Make space for the toggle icon */
    }


    /* Ensure subchildmenu is visible and styled correctly */
    .navigation.sw-megamenu .level0.parent.is-open .level0.submenu .subchildmenu {
        display: block !important; /* Ensure the subchildmenu ul is visible */
        list-style: none !important; /* Remove default list styling */
        margin: 0 !important;
        padding: 0 !important;
        visibility: visible !important; /* Ensure visibility */
        opacity: 1 !important; /* Ensure full opacity */
        max-height: none !important; /* Ensure content is not cut off */
    }

    .navigation.sw-megamenu .level0.parent.is-open .level0.submenu .subchildmenu li {
        display: block !important; /* Ensure each sub-menu item is visible */
        padding: 8px 0 !important; /* Add some vertical padding */
        border-bottom: 1px solid #eee !important; /* Optional: add a separator */
        visibility: visible !important; /* Ensure visibility */
        opacity: 1 !important; /* Ensure full opacity */
    }

    .navigation.sw-megamenu .level0.parent.is-open .level0.submenu .subchildmenu li:last-child {
        border-bottom: none !important; /* No border for the last item */
    }

    .navigation.sw-megamenu .level0.parent.is-open .level0.submenu .subchildmenu li a {
        color: #555 !important; /* Adjust link color for sub-menu */
        text-decoration: none !important;
        display: block !important;
        padding: 5px 0 !important; /* Adjust padding for links */
        visibility: visible !important; /* Ensure visibility */
        opacity: 1 !important; /* Ensure full opacity */
    }

    .navigation.sw-megamenu .level0.parent.is-open .level0.submenu .subchildmenu li a:hover {
        color: #8b1313 !important; /* Hover color for sub-menu links */
    }
}

/* Styles for common sections */
.categories-dropdown-mobile {
    display: none; /* Hidden by default */
}

.categories-links-desktop {
    display: flex; /* Visible by default for desktop */
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 768px) {
    .categories-links-desktop {
        display: none !important; /* Hide desktop links on mobile */
    }

    .categories-dropdown-mobile {
        display: block !important; /* Show mobile dropdown on mobile */
    }

    .categories-wrapper {
        display: flex;
        align-items: center;
    }

    .categories-label {
        display: none !important; /* Hide the "Categories" label on mobile */
    }

    /* Ensure sort by and categories dropdowns are side-by-side on mobile */
    .sort-by-dropdown,
    .categories-dropdown-mobile {
        margin-right: 10px; /* Add some spacing between them */
    }

    .categories-dropdown-content {
        position: absolute;
        background-color: #333;
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
        border-radius: 5px;
        top: 100%; /* Position below the button */
        left: 0;
    }

    .categories-dropdown-content a {
        color: #ccc;
        padding: 10px;
        text-decoration: none;
        display: block;
        white-space: nowrap;
    }

    .categories-dropdown-content a:hover {
        background-color: #555;
        color: #fff;
    }
}

/* Styles for display icons (grid/list view) */
.display-options-desktop {
    display: flex; /* Visible by default for desktop */
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 768px) {
    .display-options-desktop {
        display: none !important; /* Hide on mobile */
    }
}

.grid-view-icon, .list-view-icon {
    font-size: 18px;
    padding: 5px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.grid-view-icon:hover, .list-view-icon:hover {
    background-color: #555;
}

/* Active state for icons (example, can be toggled with JS) */
.grid-view-icon.active {
    color: #fff !important;
    background-color: #555;
}

.list-view-icon.active {
    color: #fff !important;
    background-color: #555;
}

/* Custom style for "Go to Checkout" button */
.checkout-methods-items .item .action.primary.checkout {
    color: #fff !important; /* Set text color to white */
    text-align: center; /* Center the text within the button */
    display: block; /* Make it a block element to allow margin auto for centering */
    margin: 10px auto; /* Center the button horizontally with some vertical margin */
    width: fit-content; /* Adjust width to content */
    padding: 10px 20px; /* Add some padding */
    /* Removed explicit background-color to inherit default button style */
    border-radius: 5px; /* Rounded corners */
    text-decoration: none; /* Remove underline */
}

.checkout-methods-items .item .action.primary.checkout span {
    color: #fff !important; /* Ensure span text is also white */
}

/* Fade Carousel Styles */
.fade-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.fade-carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.fade-carousel-image.active {
    opacity: 1;
    position: relative; /* Ensure active image takes up space */
}

/* Mobile menu close button positioning */
.navigation.sw-megamenu {
    position: relative; /* Ensure proper positioning of absolute children */
}

.mobile-menu-close {
    position: absolute;
    top: 10px; /* Adjust as needed for desired vertical position */
    right: 10px; /* Adjust as needed for desired horizontal position */
    z-index: 1001; /* Ensure it's above other menu elements */
    background: none;
    border: none;
    font-size: 24px; /* Adjust icon size */
    color: #000; /* Adjust color as needed */
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-close .fa.fa-times {
    color: #000; /* Ensure the icon itself is black */
}

/* Utility class for hiding elements */
.hidden {
    display: none;
}

@media (min-width: 768px) {
    .mobile-menu-close {
        display: none !important;
    }
}

/* Breadcrumb separator styling */
.breadcrumbs .items .item + .item::before {
    content: '>'; /* Use the greater than symbol as a separator */
    padding: 0 5px; /* Add some spacing around the separator */
    color: #523e21; /* Match the color of the breadcrumb text */
}

/* Override Bootstrap's default breadcrumb separator */
.breadcrumb>li+li:before {
    content: none !important; /* Remove the default Bootstrap separator */
}

/* Remove the square boxes from "Discount Codes" and "Gift Cards" titles */
.block.discount .title::before,
.block.discount .title::after,
.block.giftcard .title::before,
.block.giftcard .title::after {
    content: none !important;
    display: none !important;
}

/* Also hide any potential icon elements within these titles */
.block.discount .title i,
.block.giftcard .title i {
    display: none !important;
}

/* Style for the delete icon in the cart */
.action.action-delete .fa-solid.fa-trash {
    color: #dc3545 !important; /* Red color for delete icon */
    font-size: 1.2em; /* Adjust size as needed */
}

/* Remove the square box from porto-icons in breadcrumbs */
.breadcrumbs .item:not(:last-child)::after {
    content: none !important;
}

/* Breadcrumbs styling for consistency across pages */
.breadcrumbs {
    margin-bottom: 20px;
    padding: 10px 0;
    background-color: transparent;
}

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

.breadcrumbs .item {
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
}

.breadcrumbs .item a {
    color: #0066c0; /* Link color */
    text-decoration: none;
}

.breadcrumbs .item a:hover {
    text-decoration: underline;
}

.breadcrumbs .item + .item::before {
    content: '\f054'; /* Font Awesome right chevron */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    padding: 0 8px;
    color: #523e21;
}

.breadcrumbs .item strong {
    font-weight: 600;
    color: #523e21; /* Active item color */
}

/* Hide any pseudo-elements on the search input, button, or their container */
.block-search .form.minisearch .field.search .control input.input-text::before,
.block-search .form.minisearch .field.search .control input.input-text::after,
.block-search .form.minisearch .field.search .control button.action.search::before,
.block-search .form.minisearch .field.search .control button.action.search::after,
.block-search .form.minisearch .field.search .control::before,
.block-search .form.minisearch .field.search .control::after {
    content: none !important;
    display: none !important;
}

/* Adjust spacing for top-level navigation items on desktop */
@media (min-width: 768px) {
    .navigation.sw-megamenu > ul > li {
        margin-right: 0px; /* Removed spacing */
        white-space: nowrap; /* Prevent wrapping */
    }
    .navigation.sw-megamenu > ul > li:last-child {
        margin-right: 0; /* No margin on the last item */
    }
}

/* Cigar Brands Page Specific Styles */
.cigar-brands-page {
    background-color: #f8f9fa; /* Light background for the page */
}

/* Banner Section */
.brand-banner {
    position: relative;
    width: 100%;
    height: 200px; /* Adjust height as needed */
    overflow: hidden;
    margin-bottom: 30px;
}

.brand-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(70%); /* Darken the image slightly for text readability */
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay */
}

.banner-title {
    color: #fff;
    font-size: 3.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* Filter Section (Accordion) */
#accordionFilters {
    position: relative;
    /* Removed z-index to prevent conflicts */
}

#accordionFilters .card {
    border: none;
    border-bottom: 1px solid #e9ecef;
    border-radius: 0;
    margin-bottom: 10px; /* Add space between filter cards */
}

#accordionFilters .card-header {
    background-color: #fff;
    padding: 0;
    border-bottom: none;
    /* Removed position: relative and z-index to avoid conflicts */
}

#accordionFilters .card-header h5 {
    margin-bottom: 0;
}

#accordionFilters .card-header .btn-link {
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    color: #333;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#accordionFilters .card-header .btn-link:hover {
    color: #8b1313; /* Highlight color on hover */
}

#accordionFilters .card-header .btn-link::after {
    font-family: 'Font Awesome 5 Free';
    content: '\f078'; /* Chevron down icon */
    font-weight: 900;
    transition: transform 0.3s ease;
}

#accordionFilters .card-header .btn-link.collapsed::after {
    transform: rotate(-90deg); /* Rotate for collapsed state */
}

#accordionFilters .card-body {
    padding: 15px 20px;
    border-top: 1px solid #e9ecef;
    /* Removed transition properties to simplify */
}

/* Consolidated collapse rules for accordion filters */
#accordionFilters .collapse:not(.show) {
    display: none; /* Ensure it's hidden when not shown */
}

#accordionFilters .collapse.show {
    display: block; /* Ensure it's visible when shown */
}

#accordionFilters .collapsing {
    overflow: hidden;
    height: 0; /* Bootstrap JS will animate this */
    transition: height 0.35s ease;
    box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
}

#accordionFilters .card-body ul {
    margin-bottom: 0;
}

#accordionFilters .card-body li a {
    color: #555;
    padding: 5px 0;
    display: block;
    text-decoration: none;
}

#accordionFilters .card-body li a:hover {
    color: #8b1313;
}

/* Search and Alphabetical Filter */

.brand-alpha-filter .btn {
    border-radius: 0.25rem;
    margin-right: 5px;
    margin-bottom: 5px;
    color: #333;
    border-color: #ced4da;
    background-color: #fff;
}

.brand-alpha-filter .btn.active,
.brand-alpha-filter .btn:hover {
    background-color: #8b1313;
    border-color: #8b1313;
    color: #fff;
}

/* Brand List Display */
.brand-list {
    margin-top: 20px;
}

.brand-item {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #fff;
    height: 100%; /* Ensure consistent height */
}

.brand-item:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.brand-item-content {
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.brand-logo {
    max-height: 85px;
    max-width: 85px;
    object-fit: contain;
    margin-bottom: 10px;
}

.brand-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .brand-banner {
        height: 150px;
    }

    .banner-title {
        font-size: 2.5rem;
    }

    .brand-search-bar {
        margin-bottom: 15px;
        margin-right: 0 !important;
    }

    .brand-alpha-filter {
        justify-content: center !important;
    }

    .brand-alpha-filter .btn {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Filter specific styles for professional look */
#accordionFilters .card-body li a {
    padding: 8px 15px; /* More padding for better click area */
    margin-bottom: 4px; /* Space between items */
    border-radius: 4px; /* Slightly rounded corners */
    transition: background-color 0.2s ease, color 0.2s ease;
    font-size: 0.95rem; /* Slightly smaller font for filter options */
}

#accordionFilters .card-body li a:hover {
    background-color: #f0f0f0; /* Light background on hover */
    color: #8b1313; /* Highlight color on hover */
}

#accordionFilters .card-body li a.active {
    background-color: #8b1313; /* Active filter background */
    color: #fff; /* Active filter text color */
    font-weight: bold;
}

#accordionFilters .card-header .btn-link {
    font-size: 1.1rem; /* Slightly larger font for filter titles */
    padding: 18px 20px; /* More padding for titles */
}

/* Styles for the "Shop Now" button */
.btn-shop-now {
    color: #fff !important; /* Make text white */
}

.btn-shop-now .fas.fa-shopping-cart {
    color: #fff !important; /* Make icon white */
}

/* Adjustments for price filter specific styling */
.price-filter-body ul li a {
    padding: 8px 15px;
    margin-bottom: 4px;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-size: 0.95rem;
}

.price-filter-body ul li a:hover {
    background-color: #f0f0f0;
    color: #8b1313;
}

.price-filter-body ul li a.active {
    background-color: #8b1313;
    color: #fff;
    font-weight: bold;
}

/* Loader Styles */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it's on top of everything */
}

.loader {
    /* You can add animation here if needed, e.g., a spinning effect */
}

/* Contact Page Specific Styles */
.contact-details-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.contact-details-card .contacts-title {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.contact-details-card .contacts-title b {
    font-weight: 700;
}

.contact-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.contact-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-section p {
    margin-bottom: 8px;
    font-size: 1rem;
    color: #555;
    display: flex;
    align-items: center;
}

.contact-section p i {
    font-size: 1.2em;
    margin-right: 10px;
    color: #8b1313; /* Highlight color for icons */
}

.contact-section p strong {
    font-weight: 600;
    color: #333;
}

.contact-section .parking-info {
    font-style: italic;
    color: #777;
}

/* Adjustments for contact form */
.form.contact .fieldset {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.form.contact .legend {
    font-size: 1.8rem;
    font-weight: 300;
    color: #333;
    text-align: center;
    width: auto;
    padding: 0 10px;
    border-bottom: none;
    margin-bottom: 20px;
}

.form.contact .legend b {
    font-weight: 700;
}

.form.contact .field.name,
.form.contact .field.email,
.form.contact .field.telephone,
.form.contact .field.comment {
    margin-bottom: 15px;
}

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

.form.contact .input-text,
.form.contact textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
    color: #495057;
}

.form.contact .action.submit.primary {
    background-color: #8b1313;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form.contact .action.submit.primary:hover {
    background-color: #6a0f0f;
}

/* Responsive adjustments for contact page */
@media (max-width: 767.98px) {
    .contact-details-card {
        padding: 15px;
    }

    .contact-details-card .contacts-title {
        font-size: 1.5rem;
    }

    .form.contact .legend {
        font-size: 1.5rem;
    }

    .form.contact .fields.col-sm-6 {
        margin-bottom: 20px; /* Add space between form columns on mobile */
    }
}
