/*
Theme Name: Astra Child - Bora Casar
Theme URI: https://wpastra.com/
Description: Custom Child Theme for Bora Casar directory setup.
Author: Brainstorm Force
Author URI: https://wpastra.com/
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/

/* Styling for dynamic filtering of supplier-city templates */
/* --- Global Grid Layout --- */
.bc-supplier-grid {
    display: grid;
	gap: 10px 0px;
    grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
}

/* --- Individual Supplier Item Card --- */
.bc-supplier-item {
    background-color: #fff;
    border-radius: 8px;
		margin: 0px 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bc-supplier-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* --- The Entire Card as a Link --- */
.bc-supplier-link-wrap {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* --- Featured Image Wrapper --- */
.bc-supplier-image-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
    padding: 0px;
}

.bc-supplier-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Content Area (Title, Description, Button) --- */
.bc-supplier-content-area {
    padding: 10px 15px 15px 15px;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* --- NEW: City Name & Rating under image --- */
.bc-rating-container{
	display: flex;
	align-items: center;
}

.bc-supplier-location-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.bc-supplier-city-text {
    font-size: 14px;
    font-weight: normal;
    font-family: var(--brz-paragraphfontfamily, initial) !important;
    color: #666;
    margin: 0;
    padding: 0;
}

.bc-supplier-rating-text {
    font-size: 14px;
    margin: 0;
    padding: 0;
    align-content: center;
}

span.dashicons.dashicons-star-filled.bc-star-icon {
    color: #d88fa6;
    line-height: 0.8;
}

.bc-supplier-title {
    font-size: 19px;
    font-weight: 600;
    font-family: var(--brz-heading4fontfamily, initial) !important;
    color: #555;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bc-supplier-description {
    font-size: 15px;
    font-family: var(--brz-paragraphfontfamily, initial) !important;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- Button Styling --- */
.bc-supplier-button {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #d88fa6;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: auto;
	font-family: var(--brz-paragraphfontfamily, initial) !important;
}

.bc-supplier-button:hover {
    background-color: #faa4bf;
    cursor: pointer;
}

.svg-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border-color: white;
    background-color: white;
    border-width: 4px;
    padding: 9px;
}

/* --- Brizy Builder Custom Selectors (kept as-is) --- */
brz-picture.brz-d-block.brz-p-relative.brz-css-1ffi0ge.brz-css-14v09mv {
    max-width: 100px;
}

@media (min-width: 991px) and (max-width: 1300px) {
	
    .brz .brz-css-1etqkny {
        padding: 0px 0px 0px 3%;
    }
    .brz .brz-css-1ga151j {
        padding: 0px 30px 0px 30px;
    }
    .brz-column__items.brz-css-th769.brz-css-186igo3 div .supplier-button {
        padding: 10px 15px;
    }
    .brz .brz-css-jsqy6k .brz-carousel__slider {
        padding-left: 3%;
        padding-right: 3%;
    }
    .brz .brz-css-p516sh .brz-carousel__slider {
        padding-left: 3%;
        padding-right: 3%;
    }
    .brz .brz-css-jsqy6k .brz-carousel__slider .brz-slick-slider__arrow-next {
        right: 10px;
    }
    .brz .brz-css-jsqy6k .brz-carousel__slider .brz-slick-slider__arrow-prev {
        left: 10px;
    }
    .brz .brz-css-1mfrk9p {
        padding: 75px 30px 75px 30px;
    }
}

/* --- Responsive Grid Adjustments --- */
@media (max-width: 768px) {
    .bc-supplier-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    .svg-icon {
        width: 35px;
        height: 35px;
        padding: 0px;
    }
}

@media (max-width: 480px) {
	.bc-supplier-grid {
		grid-template-columns: 1fr;
		padding: 0px;
	}
	.bc-supplier-item{
		border-radius: 0px;
		padding: 6px
	}
	.bc-supplier-content-area {
		padding: 10px 6px 10px 6px;
	}
	.bc-supplier-button{
		border-radius: 0px;
	}
	.bc-supplier-title{
		min-height: auto;
	}
}


/* --- Filter Sidebar & Popup Styling --- */
/* Base filter form styling */
#bc-filter-form {
    background-color: #ffffff;
}
.filter-title, .bc-filter-group > label {
    font-family: var(--brz-heading4fontfamily, initial) !important;
    font-size: 19px;
    font-weight: 600;
    color: #555;
    margin-bottom: 15px;
    display: block;
    cursor: pointer;
}
.bc-filter-group {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.bc-filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.bc-checkbox-group {
    margin-top: 10px;
}
.bc-checkbox-group input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
    vertical-align: middle;
    cursor: pointer;
    position: relative;
    outline: none;
    margin-right: 8px;
    transition: all 0.2s ease-in-out;
}
.bc-checkbox-group input[type="checkbox"]:checked {
    background-color: #d88fa6;
    border-color: #d88fa6;
}
.bc-checkbox-group input[type="checkbox"]:checked::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-radius: 2px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.bc-checkbox-group label {
    font-size: 17px;
    color: #555;
    vertical-align: middle;
    cursor: pointer;
    line-height: 2.1;
}
.bc-checkbox-group input[type="checkbox"] + label {
    display: inline-block;
}
.bc-checkbox-group br {
    display: block;
    content: "";
    margin-top: 8px;
}

/* --- Map & Map Button Styling --- */
#bc-map-container {
    position: relative;
		height: 100%;
    width: 100%;
}
.bc-map-close-btn {
    font-size: 24px;
    padding: 10px 15px; /* Adds more clickable area around the 'x' */
    background-color: rgba(0, 0, 0, 0.5); /* Optional: Adds a semi-transparent background for better visibility */
    border-radius: 5px; /* Optional: Rounds the corners */
    line-height: 1; /* Ensures the 'x' is vertically centered */
    cursor: pointer;
    text-align: center;
    color: #fff;
    font-weight: bold;
    position: absolute; /* Keeps it on top of the map */
    top: 10px;
    right: 10px;
    z-index: 1000; /* Ensures it's on top of the map tiles */
}
.bc-map-close-btn:hover {
    background: #f0f0f0;
}

/* --- Mobile Filter Sidebar & Popup --- */
body.no-scroll {
    overflow: hidden !important;
}

#bc-filter-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 999;
    overflow-y: auto;
    padding: 20px;
		margin-top: 50px;
		border-radius: 10px 10px 0px 0px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

@media (min-width: 769px) {
	
    #bc-filter-sidebar {
        display: block !important;
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        box-shadow: none;
    }
}

@media (max-width: 768px) {
    #bc-filter-sidebar {
        display: none;
    }
    #bc-filter-close-btn {
        font-size: 30px;
        font-weight: bold;
        color: #333;
        cursor: pointer;
        line-height: 1;
    }
    .bc-filter-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        padding-right: 10px;
    }
    .bc-filter-header h3 {
        margin: 0;
        font-size: 24px;
        color: #333;
    }
    #bc-apply-filters-btn {
        position: fixed;
        bottom: 20px;
        left: 20px;
        right: 20px;
        width: auto;
        margin: 0 auto;
        z-index: 1000;
        padding: 15px;
        font-size: 18px;
        font-weight: bold;
        color: #fff;
        background-color: #007bff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }
    #bc-apply-filters-btn:hover {
        background-color: #0056b3;
    }
    #bc-filter-form {
        padding-bottom: 80px;
    }
}
@media (min-width: 769px) {
	#bc-filter-close-btn {
		display: none;
	}
}

/* --- Wedding Directory Search & Dropdowns --- */
.wedding-directory-search-wrapper {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
    justify-content: center;
}
.wedding-directory-dropdown {
    position: relative;
    flex-grow: 1;
    width: 10vw;
}
.dropdown-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}
.dropdown-input {
    width: 100%;
    padding: 24px 12px 12px 45px;
    border: 1px solid #ddd;
    border-radius: 0px;
    font-size: 18px;
    box-sizing: border-box;
    outline: none;
}
.dropdown-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 100;
    border-radius: 5px;
    margin-top: 5px;
    max-height: 200px;
    overflow-y: auto;
    left: 0;
    right: 0;
}
.dropdown-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.dropdown-content ul li {
    padding: 10px 15px;
    cursor: pointer;
    font-size: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}
.dropdown-content ul li .item-icon {
    font-size: 16px;
    color: #a0a0a0;
}
.dropdown-content ul li:hover .item-icon {
    color: #faa4bf;
}
.wedding-directory-dropdown.active .dropdown-content {
    display: block;
}
.wedding-directory-search-button {
    background-color: #db91a9;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 0px 5px 5px 0px;
    cursor: pointer;
    font-size: 16px;
    height: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
	font-family: var(--brz-paragraphfontfamily, initial) !important;
}
.wedding-directory-search-button:hover {
    background-color: #faa4bf;
}
.location-only-search-button {
    background-color: #db91a9;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 0px 5px 5px 0px;
    cursor: pointer;
    font-size: 16px;
    height: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}
.location-only-search-button:hover {
    background-color: #faa4bf;
}
input.dropdown-input {
    padding-left: 2.5rem;
    height: 50px;
}
#fornecedores {
    border-radius: 4px 0px 0px 4px;
    border-width: 1px 0px 1px 1px;
	font-family: var(--brz-paragraphfontfamily, initial) !important;
}
#cidade {
    border-radius: 0px;
	font-family: var(--brz-paragraphfontfamily, initial) !important;
}
input[type="text"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type=reset],
input[type=tel],
input[type=date],
select,
textarea {
    font-size: 16px;
    padding: 12px 8px 12px 40px;
}
.brz .brz-css-qn3bl1 > .brz-bg > .brz-bg-image {
    background-position: 0% 0%;
}
.cidade-only, .supplier-cidade-only {
    border-radius: 4px !important;
    border-width: 1px !important;
    padding-left: 40px !important;
}
.single-dropdown-wrapper {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.single-dropdown-wrapper .location-only-search-button {
    border-radius: 0px 8px 8px 0px;
}
@media (max-width: 768px) {
    .wedding-directory-search-wrapper, .single-dropdown-wrapper {
        flex-direction: column;
        gap: 15px;
        padding: 10px;
        box-shadow: none;
    }
    .wedding-directory-dropdown {
        width: 100%;
        min-width: unset;
    }
    .dropdown-input {
        padding: 10px 10px 10px 40px;
        font-size: 16px;
        height: 40px;
    }
    #fornecedores {
        border-radius: 4px;
        border-width: 1px;
        font-size: 16px;
    }
    #cidade {
        border-radius: 4px;
        font-size: 16px;
    }
    .wedding-directory-search-button, .location-only-search-button {
			font-family: var(--brz-paragraphfontfamily, initial) !important;
			height: 50px;
			width: 100%;
			justify-content: center;
			padding: 10px 15px;
			border-radius: 4px;
			font-size: 14px;
	}
    .single-dropdown-wrapper .location-only-search-button {
        border-radius: 4px;
    }
}
@media (min-width: 1250px) {
    #cidade, .cidade-only, .supplier-cidade-only, #fornecedores {
        font-size: 16px;
    }
}

/* 1. Container for flow */
.supplier-attributes-wrap {
    display: flex; /* Helps align the tags */
    flex-wrap: wrap; /* Allows tags to wrap to the next line */
    gap: 10px; /* Spacing between tags */
}

/* 2. Styling for the individual tags */
.attribute-tag {
    /* Mimics the style in your screenshot */
    display: inline-flex;
    align-items: center;
    padding: 10px 10px; /* Bigger padding for icon/text */
    background-color: #ffffff; /* White background */
    border: 1px solid #e0e0e0; /* Light border */
    border-radius: 8px; /* Rounded corners */
    font-size: 12px;
    color: #333333;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); /* Subtle shadow */
    cursor: default;
		margin-right: 5px;
}

/* Optional: Add space for an icon if you implement that later */
.attribute-tag i {
    margin-right: 8px;
    font-size: 16px;
}

/* --- 1. GENERAL REVIEW CARD STYLING --- */

/* Targets the main container for each individual review */
.ic_rev_supplier {
    /* Style the card background and border */
    background-color: #ffffff; 
    border: 1px solid #eeeeee; 
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    
    /* Ensure internal elements (left/right) are positioned correctly */
    display: flex;
    flex-wrap: nowrap; /* Keep the avatar/name next to the text area */
}

/* Hide the reviewer avatar box to match the example image */
.ic_rev_supplier .review-left {
    display: none; 
}
.ic_rev .review-text p {
	margin-bottom: 0px; !important
}
.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single, .ast-separate-container .comment-respond{
	padding: 0px;
}

/* Let the review content take up the full width now */
.ic_rev_supplier .review-right {
    width: 100%;
    padding-left: 0; 
}
.ic_rev .review-right{
	max-width: 100%
}
/* --- 2. HEADER: NAME, RATING, AND DATE --- */

/* Style the Reviewer Name */
.ic_rev_supplier .reviewer-name span {
    font-size: 18px;
    font-weight: 700;
    color: #333333;
    display: inline-block;
    margin-right: 15px; /* Space between name and stars/date */
}

/* Style the Date/Time */
.ic_rev_supplier .review-time {
    float: right; /* Pushes the date to the right side */
    font-size: 14px;
    color: #999999;
    font-weight: 400;
}

/* Adjust the Rating placement */
.ic_rev_supplier .review-rating {
    display: block; /* New line after name */
    margin-top: 5px;
    margin-bottom: 15px;
		/* Space before review title/text */
}


/* --- 3. BODY: TITLE AND TEXT --- */

/* Style the Review Title (e.g., "Muito Bom! O melhor serviço") */
.ic_rev_supplier .review-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

/* Style the Review Text */
.ic_rev_supplier .review-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
    margin: 0; /* Remove default paragraph margins */
}

/*
 * IMAGE GALLERY
 * /
 * * /* --- Gallery Container & Resets --- */
/* --- Gallery Container --- */
/* --- Container --- */
.supplier-gallery-container {
    margin-bottom: 10px;
    display: flex; 
    /* Add this line if it's not present, to ensure it takes full available width */
    width: 100%;
}

/* --- DESKTOP GRID (Fluid Layout) --- */
@media (min-width: 768px) {
    .supplier-image-grid {
        display: grid;
        
        /* CORRECTION: Changed fixed 400px 260px to fluid 2fr 1fr. 
           This means the left column is twice as wide as the right column. */
        grid-template-columns: 2fr 1fr; 
        
        /* Retain fixed row height for structure */
        grid-template-rows: 195px 195px; 
        
        gap: 10px;
        /* Ensure the grid itself is constrained */
        width: 100%; 
    }

    /* The 1st image takes the whole left column (Row 1 + Row 2) */
    .gallery-item.main-image {
        grid-column: 1;
        grid-row: 1 / -1; 
        height: 100%;
    }
    
    /* Force images to fill the box exactly */
    .supplier-image-grid figure {
        height: 100%;
        width: 100%;
    }
}
/* --- MOBILE LAYOUT (Horizontal Scroll) --- */
/* This keeps the swipe feature on phones */
@media (max-width: 767px) {
    .supplier-gallery-container {
        display: block; /* Reset the centering for mobile */
    }
    
    .supplier-image-grid {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .supplier-image-grid::-webkit-scrollbar { display: none; }
    
    /* Force hidden images to show so we can scroll through them on phone */
    .supplier-image-grid figure[style*="display:none"] {
        display: block !important;
    }

    .gallery-item {
        flex: 0 0 85%;
        height: 250px; /* Keep mobile height distinct from desktop */
        scroll-snap-align: center;
    }
}

/* --- COMMON STYLES --- */
.supplier-image-grid figure {
    margin: 0; 
    padding: 0;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.supplier-image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.glightbox {
    display: block;
    width: 100%;
    height: 100%;
}

/* Hover Zoom Effect */
.glightbox:hover img {
    transform: scale(1.03);
}

/* --- "Mostra Todas" Overlay --- */
.overlay-trigger .glightbox {
    position: relative;
}

.overlay-trigger .glightbox::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    transition: background 0.3s ease;
}

.overlay-trigger .glightbox:hover::after {
    background: rgba(0, 0, 0, 0.3);
}

.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: #fff;
    font-weight: 600;
    font-size: 14px; /* Slightly smaller text for the smaller box */
    text-transform: uppercase;
    letter-spacing: 1px;
    pointer-events: none;
    white-space: nowrap;
}

/* --- Trigger Icon --- */
.search-popup-trigger {
    cursor: pointer;
    display: inline-flex;   /* Safer display method */
    align-items: center;
    justify-content: center; /* Keeps icon centered in its own box */
    padding: 0 10px 0 0;    /* Slight right padding */
    line-height: 1;
    transition: opacity 0.3s;
    color: inherit;         /* Inherits color from the parent menu */
}

.search-popup-trigger svg {
    /* CRITICAL FIX: 'currentColor' makes the icon match your menu text color automatically */
    fill: currentColor; 
    width: 28px; 
    height: 28px;
}

.search-popup-trigger:hover {
    opacity: 0.7;
}

/* --- Modal Overlay (Same as before) --- */
.search-modal-overlay {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
}

/* --- Modal Content (Same as before) --- */
.search-modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 4px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    animation: fadePop 0.3s ease-out;
}

@keyframes fadePop {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* --- Close Button (Same as before) --- */
.search-modal-close {
    color: #888;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.search-modal-close:hover {
    color: #000;
}
.brz-css-1urzmbd.brz-css-12tlotj.brz-wrapper{
	justify-content: left;
}

.search-modal-title {
    font-size: 1.8rem;
		font-family: var(--brz-heading4fontfamily, initial);
    text-align: center;
    margin-top: 10px;
    margin-bottom: 30px; 
    color: #3c434a; 
}

.gallery-hidden-desktop {
    display: none !important;
}


@media (max-width: 768px) {

    .gallery-hidden-desktop {
        display: block !important;
    }
    .overlay-trigger .glightbox {
}
.overlay-trigger .glightbox::after {
    
    background: none;
}

    .overlay-trigger .overlay-content {
        display: none !important; 
        background: none !important; 
    }

    .supplier-image-grid {
        grid-template-columns: 1fr; 
        gap: 5px;
    }
    .gallery-item {
        height: 250px; 
        grid-row: auto;
    }
}
/* --- Core 60/40 Split Fix (Using your custom classes) --- */

/* 1. Ensure the main container is a reliable Flex context */
.main-wrapper { 
    display: flex;
    /* Optional: Sets space between the columns */
    gap: 20px; 
}


.gallery-column {

    width: 60%; 

    min-width: 0 !important; 

}

/* 3. The 40% Contact Column */
.contact-column {
    width: 40%;
}

.supplier-gallery-container, 
.supplier-image-grid {

    width: 100%;
}
/*
 * CONTACT COLUMN
 * 
 * /
 * /* --- Supplier Contact Box Wrapper --- */
.bc-contact-box-wrapper {
    background-color: #ffffff; 
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e0e0e0; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); 
    font-family: sans-serif; 
}

/* --- Details Section (Rating & Location) --- */
.bc-box-details {
    margin-bottom: 20px;
}

.bc-box-rating, .bc-box-location, .bc-box-link {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.bc-box-rating .dashicons-star-filled {
    color: #ffc107; 
}
.bc-box-rating .dashicons-star-empty {
    color: #ccc;
}

.bc-box-rating .dashicons-star-half {
    color: #ffc107;
}

.bc-box-rating .dashicons {
    height: 20px;
    width: 16px;
    font-size: 20px;
    margin-right: 2px;
}

.bc-box-rating .bc-rating-text {
    font-weight: 600;
    margin-left: 5px;
    margin-right: 5px;
}

.bc-box-location .dashicons, .bc-box-link .dashicons {
    margin-right: 8px;
    color: #777;
}

.bc-box-link a {
    color: #d88fa6; 
    text-decoration: none;
    font-weight: 500;
}

/* --- CTA Buttons --- */
.bc-box-ctas {
    display: flex;
    gap: 10px;
}

.bc-request-pricing-btn {
    flex-grow: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    background-color: #d88fa6; 
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.bc-request-pricing-btn:hover {
    background-color: #7b598a; 
}

.bc-call-btn {
    width: 50px; 
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #d88fa6; 
    text-decoration: none;
    transition: background-color 0.2s, border-color 0.2s;
}

.bc-call-btn:hover {
    background-color: #f0f0f0;
}
/* --- Modal Styling --- */

/* The Overlay */
.bc-modal-overlay {
    position: fixed;
    z-index: 9999; /* Ensure it's above everything */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black */
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
}

.bc-modal-overlay.is-open {
    display: flex; /* Show when open via JS */
}


.bc-modal-content {
    background-color: #fefefe;
    padding: 30px;
    border-radius: 12px;
    position: relative;
    max-width: 90%;
    width: 600px; /* Max width for the form */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation-name: animatetop;
    animation-duration: 0.4s;
}

/* Close Button */
.bc-modal-close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    line-height: 1;
}

.bc-modal-close-btn:hover,
.bc-modal-close-btn:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.bc-modal-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.bc-modal-header h2 {
    margin: 0;
    font-size: 20px;
    color: #777;
    font-weight: 400;
}

.bc-supplier-modal-title {
    margin: 5px 0 0 0;
    font-size: 24px;
    font-weight: 600;
    color: #d88fa6
    display: flex;
    align-items: center;
}

.bc-supplier-modal-title .dashicons {
    margin-right: 8px;
    font-size: 20px;
}

/* Animation */
@keyframes animatetop {
    from {top:-100px; opacity:0}
    to {top:0; opacity:1}
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
	.bc-box-details, .bc-box-header{
		display: none;
	}
    .bc-modal-content {
        width: 95%;
        padding: 20px;
        margin: 10% auto; /* Bring slightly down on mobile */
    }
    .bc-modal-overlay {
        align-items: flex-start; /* Start from top on small screens */
    }
}
@media (min-width: 768px) and (max-width: 991px) {
	.bc-box-header h2{
		font-size: var(--brz-heading5fontsize, initial) !important;
	}
	.bc-box-rating.review-rating-custom p {
		padding: 0px !important;
	}
}

/* Fixed Height for Desktop/Tablet */
@media (min-width: 768px) {
	.bc-contact-floating-box {
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    width: 100%;
    height: 400px;
    /* Enable Flexbox for vertical alignment */
    display: flex;
    flex-direction: column;

    justify-content: space-between; 
}
    }

.bc-box-header h2 {
		font-family: var(--brz-heading3fontfamily, initial);
	  color: rgba(var(--brz-global-color7), 1);
		font-size: var(--brz-heading4fontsize, initial);
    line-height: var(--brz-heading3lineheight, initial);
    font-weight: var(--brz-heading3fontweight, initial);
    letter-spacing: var(--brz-heading3letterspacing, initial);
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.bc-contact-floating-box p{
		font-family: var(--brz-paragraphfontfamily, initial) !important;
    font-size: var(--brz-paragraphfontsize, initial);
	max-height: 45px;
  overflow: hidden;
	margin-bottom: 0px;
}
/* Rating and Location Area */
.bc-box-details {
 
    margin-top: 0px; 
    margin-bottom: auto; 
    gap: 5px; 
}
.bc-box-address > p {
	margin-bottom: 5px;
	margin-top: 5px;
}
h5{
	margin-bottom: 5px;
}
.bc-box-rating {
    /* Critical: Ensures stars and count are aligned vertically */
    display: flex; 
    align-items: center;
    /* Remove redundant font-size, handled by child elements now */
    color: #ffc107; /* Star color */
    margin-bottom: 5px; /* Margin controlled by parent gap */
}

.bc-box-rating .ic-stars {
    display: flex;
    margin-right: 8px; 
}

.bc-box-rating .ic-stars i,
.bc-box-rating .ic-stars span.ic-star,
.bc-box-rating .ic-stars .fa-star { 
    font-size: 18px !important; /* Set size for star icons */
    width: 18px !important;     /* Ensure consistent width */
    height: 18px !important;    /* Ensure consistent height */
    line-height: 1;             /* Remove extra line height padding */
}
.bc-review-count {
    color: #666;
    margin-left: 5px;
		font-family: 'Open Sans', sans-serif;
    font-size: 16px;
}

.bc-box-location {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #555;
}

.bc-box-location .dashicons {
    font-size: 18px;
    margin-right: 8px;
    color: #d88fa6
}

.bc-box-location p {
    margin: 0;
    line-height: 1.2;
}

/* Action Buttons */
.bc-box-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bc-box-actions button,
.bc-box-actions a {
	font-family: var(--brz-paragraphfontfamily, initial) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-align: center;
}
.bc-request-pricing-btn {
    background-color: #d88fa6
    color: #fff;
    border: none;
}

.bc-request-pricing-btn:hover {
    background-color: #4a3258;
    box-shadow: 0 4px 10px rgba(93, 63, 106, 0.4);
}

/* Secondary Button: Visitar Site */
.bc-website-btn {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.bc-website-btn:hover {
    background-color: #e0e0e0;
}

.bc-website-btn .dashicons {
    margin-right: 8px;
    font-size: 18px;
}
.bc-phone-btn {
    background-color: transparent;
    color: #d88fa6; 
    border: 1px dashed #d88fa6;
}

.bc-phone-btn:hover {
    background-color: #f5f0f8;
}

.bc-phone-btn .dashicons {
    margin-right: 8px;
    font-size: 18px;
}
.bc-modal-overlay {
    position: fixed;
    z-index: 9999; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6); 
    display: none; 
    justify-content: center;
    align-items: center;
}

.bc-modal-overlay.is-open {
    display: flex; /* Show when open via JS */
}

/* Modal Content Box */
.bc-modal-content {
    background-color: #fefefe;
    padding: 30px;
    border-radius: 12px;
    position: relative;
    max-width: 90%;
    width: 600px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation-name: animatetop;
    animation-duration: 0.4s;
}

/* Close Button */
.bc-modal-close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    line-height: 1;
}

.bc-modal-close-btn:hover,
.bc-modal-close-btn:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Header Styling (Supplier Title) */
.bc-modal-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.bc-modal-header h2 {
    margin: 0;
    font-size: 20px;
    color: #777;
    font-weight: 400;
}

.bc-supplier-modal-title {
    margin: 5px 0 0 0;
    font-size: 24px;
    font-weight: 600;
    color: #d88fa6; 
    display: flex;
    align-items: center;
}

.bc-supplier-modal-title .dashicons {
    margin-right: 8px;
    font-size: 20px;
}

/* Animation */
@keyframes animatetop {
    from {top:-100px; opacity:0}
    to {top:0; opacity:1}
}

/* Responsive adjustment for mobile */
@media (max-width: 767px) {

    .bc-contact-floating-box {
        height: auto !important; 
    }
    .bc-modal-content {
        width: 95%;
        padding: 20px;
        margin: 10% auto;
    }
    .bc-modal-overlay {
        align-items: flex-start;
    }
}
p.review-rating{
	margin-bottom: 15px !important;
	margin-right: 3px;
	
}
.bc-box-rating.review-rating-custom p{
	margin: 0px !important;
	padding: 5px 0px;
}

h5.bc-supplier-title-box {
    max-height: 40px;
    overflow: hidden;
}

span.rating-off, span.rating-on {
	width: 18px;
  font-size: 18px;

}

/* 1. Ensure the overall component wrapper allows flex behavior for button/dropdown alignment */
.bc-sort-component-wrap {
    position: relative; /* Essential for positioning the dropdown absolutely relative to the button */
    display: inline-flex; /* Use inline-flex to keep it compact and align items */
    align-items: center;
    gap: 8px; /* General spacing between elements if any are placed side-by-side */
    z-index: 100; /* Ensure the dropdown appears above other content */
}


.sort-button {
    display: flex;
    align-items: center;
    gap: 8px; 
    cursor: pointer;
   
}

.bc-sort-icon {
    width: 20px; 
    height: 20px;
    flex-shrink: 0;
}

.bc-sort-dropdown-menu {
    /* !!! This is the critical line to ensure the menu is hidden initially !!! */
    display: none !important; 
    
    /* Positioning and Appearance rules (as provided before) */
    position: absolute;
    top: 100%; 
    left: 0; 
    min-width: 180px;
    background: #ffffff; 
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    margin-top: 5px;
    padding: 8px 0;
    z-index: 10;
}

/* 2. JavaScript Toggled State: This class is added by your JS to make the menu appear. */
#bc-sort-dropdown-menu.bc-sort-dropdown-menu.is-open{
    display: block !important;
}
}

/* 6. Styling for List and List Items */
.bc-sort-dropdown-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bc-sort-dropdown-menu li {
    margin: 0;
    padding: 0;
}

/* 7. Styling for the Sort Options (Anchor Tags inside list items) */
.bc-sort-option {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s;
}

.bc-sort-option:hover {
    background-color: #f5f5f5;
}

/* Styling for the currently active/selected option */
.bc-sort-option.is-active {
    font-weight: bold;
    color: #007bff; /* Highlight color */
    background-color: #eaf6ff;
}

/* 1. The Wrapper (Ensures dropdown aligns to button) */
.bc-sort-component-wrap {
    position: relative;
    display: inline-block;
}

/* 2. The Dropdown Container */
.bc-sort-dropdown-menu {
    display: none !important; /* Hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 0.25rem;
}

/* 3. Show class toggled by JS */
.bc-sort-dropdown-menu.is-open {
    display: block !important;
}

/* 4. List and Item Styling */
.bc-sort-dropdown-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bc-sort-option {
    display: block;
    width: 100%;
    padding: 0.5rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    text-decoration: none;
    transition: background-color 0.15s ease-in-out;
}

/* 5. Hover & Active States */
.bc-sort-option:hover, 
.bc-sort-option:focus {
    color: #16181b;
    text-decoration: none;
    background-color: #f8f9fa; /* Light grey hover */
}

/* If the link is the current active sort */
.bc-sort-option.is-active {
    color: #fff;
    text-decoration: none;
    background-color: #007bff; /* Bootstrap primary blue */
}

/* 6. Spacing for the Icon inside the button */
#bc-sort-view-button-mobile {
    display: contents;
    align-items: center;
    gap: 8px; /* Space between SVG and "Ordenar" text */
    text-decoration: none;
}
/* 1. Center the pagination wrapper */
.bc-supplier-pagination-wrap {
    margin: 40px 0;
    text-align: center;
    width: 100%;
}

/* 2. Style the list container */
.bc-supplier-pagination-wrap ul.page-numbers {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px; /* Space between the buttons */
    flex-wrap: wrap;
    justify-content: center;
}
.bc-supplier-pagination-wrap a{
	border: 1px solid #dee2e6;
	border-radius: 5px;
}

/* Hover colour */
/* 3. Base style for all page links and spans */
.bc-supplier-pagination-wrap .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    text-decoration: none;
    color: #333;
    background-color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
	font-family: var(--brz-paragraphfontfamily, initial) !important;
}
@media (max-width: 419px){
	.bc-supplier-pagination-wrap .page-numbers {
		min-width: 30px;
		font-size: 12px;
	}
	.bc-supplier-pagination-wrap .page-numbers.next,
.bc-supplier-pagination-wrap .page-numbers.prev {
    padding: 0;
	}
}


/* 5. The Active/Current Page Number */
.bc-supplier-pagination-wrap .page-numbers.current {
    background-color: #d88fa6;
    border-color: #d88fa6;
    color: #ffffff;
    cursor: default;
		border-radius: 5px;
}

/* 6. Special handling for "Next" or "Previous" text */
.bc-supplier-pagination-wrap .page-numbers.next,
.bc-supplier-pagination-wrap .page-numbers.prev {
    padding: 0 16px;
    width: auto; /* Allow the button to grow for text like "Próxima" */
}

/* 7. Subtle shadow on hover */
.bc-supplier-pagination-wrap a.page-numbers:active {
    transform: scale(0.95);
}
a.page-numbers:hover{
	background-color: #d88fa6;
	color: white;
}
#product_reviews p{
	margin: 0px;
}


.bc-supplier-location-rating  .bc-rating-container > .review-rating{
	margin-bottom: 0px !important;
}

#anuncia-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
}

.bc-registration-form-wrap .form-group {
    margin-bottom: 20px;
}

.bc-registration-form-wrap label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.bc-registration-form-wrap input, 
.bc-registration-form-wrap textarea, 
.bc-registration-form-wrap select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.bc-submit-btn {
    background: #db91a9;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

.bc-submit-btn:hover {
    background: rgb(219 145 169 / 80%);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.bc-registration-form-wrap .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.bc-upload-section {
    background: #f9f9f9;
    padding: 15px;
    border: 2px dashed #ddd;
    border-radius: 8px;
}

.bc-upload-section small {
    display: block;
    margin-top: 5px;
    color: #888;
}

@media (max-width: 600px) {
    .bc-registration-form-wrap .form-row {
        grid-template-columns: 1fr; /* Stack fields on mobile */
    }
}
.bc-form-notice {
    margin-top: 15px;
    padding: 12px;
    background-color: #f8f9fa;
    border-left: 4px solid #ffc107; /* Warning yellow */
    font-size: 0.85rem;
    color: #555;
    line-height: 1.4;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.bc-form-notice i {
    color: #ffc107;
    margin-top: 3px;
    font-size: 1rem;
}

/* 1. Desktop Styling */
@media (min-width: 768px) {
	.faca-parte-link a{
		color: rgba(var(--brz-global-color3), 1) !important;
		font-weight: 600 !important;
		border-bottom: solid 0.5px rgba(var(--brz-global-color3), 1)
	}
}

/* 2. Mobile Styling (Inside the Hamburger Menu) */
@media (max-width: 991px) {
    .faca-parte-link{
        background-color: rgba(var(--brz-global-color8), 1);
			color: rgba(var(--brz-global-color3), 1) !important;
			padding: 10px 0px !important;
			border-color: rgba(var(--brz-global-color3), 0.6) !important;
    }
}
@media (min-width: 991px) and (max-width: 1430px) {
	li.brz-menu__item.cerimonialistas.menu-item.menu-item-type-post_type.menu-item-object-fornecedor-cidade.brz-menu__item-dropdown{
		display: none;
	}
}
@media (min-width: 991px) and (max-width: 1260px) {
	li.brz-menu__item.musica-nav.menu-item.menu-item-type-post_type.menu-item-object-fornecedor-cidade{
		display: none;
	}
}
@media (min-width: 991px) and (max-width: 1125px) {
	li.brz-menu__item.doces-nav.menu-item.menu-item-type-post_type.menu-item-object-fornecedor-cidade{
		display: none;
	}
	.brz-column__items.brz-css-d-column-bg.brz-css-ig3qyw{
		padding: 0px 2% 0px 0px;
	}
}
@media (min-width: 991px) and (max-width: 1030px) {
	li.brz-menu__item.bolos-nav.menu-item.menu-item-type-post_type.menu-item-object-fornecedor-cidade{
		display: none;
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	.faca-parte-link{
		order: 2 !important;
	}
}

/* Bora Casar - Request Quote Modal */

.bc-modal-overlay {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px); /* Modern blur effect */
}

.bc-modal-container {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.bc-close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 30px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
}

.bc-close-modal:hover {
    color: #333;
}

.bc-modal-header h3 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #333;
    font-size: 24px;
}

.bc-modal-header p {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
}

.bc-form-group {
    margin-bottom: 18px;
}

.bc-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: #444;
}

.bc-form-group input, 
.bc-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.bc-form-group input:focus, 
.bc-form-group textarea:focus {
    border-color: #e06d72; /* Using your brand color */
    outline: none;
}

.bc-submit-quote-btn {
    background-color: #d88fa6;
    color: #ffffff;
    border: none;
    padding: 14px 20px;
    width: 100%;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.bc-submit-quote-btn:hover {
    background-color: #c75a5f;
}

.bc-submit-quote-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#bc-quote-status {
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
    font-weight: 500;
}

@media (min-width: 769px) {
	.glightbox-clean .gclose{
		width: 50px;
		height: 50px;
		opacity: 1
	}
}
input[name="submit"]{
	margin-top:10px;
}
	form#commentform p{
	margin: 15px 0px !important;
}
span.rating-off.rate-1 {
	margin-left: 7px;
}
	.brz .comment-form-cookies-consent {
		display:none;
	}
@media (min-width: 991px) {
	.forn-cid-image .brz-bg-image{
		background-size: cover !important;
		background-position: left !important;
		height: 350px;
	}
}
	.forn-cid-image .brz-bg-image:hover{
		background-position: center !important;
	}
}
/* 1. Register the fonts using Brizy's internal system names */
@font-face {
    font-family: 'Fraunces Woff2';
    src: local('gCWLdwSsvnyh'), url('https://boracasar.net.br/wp-content/uploads/2026/02/Fraunces_72pt_SuperSoft-Regular.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans Woff2';
    src: local('vPIhC2wOcnly'), url('https://boracasar.net.br/wp-content/uploads/2026/02/OpenSans-Regular.woff2') format('woff2');
    font-display: swap;
}

/* 2. Force the Brizy Global Variables to map the hashes correctly */
:root {
    /* Map your readable font names to Brizy's native variable system */
    --brz-heading1fontfamily: 'gCWLdwSsvnyh', serif !important;
    --brz-heading2fontfamily: 'gCWLdwSsvnyh', serif !important;
    --brz-heading3fontfamily: 'gCWLdwSsvnyh', serif !important;
    --brz-heading4fontfamily: 'gCWLdwSsvnyh', serif !important;
    --brz-heading5fontfamily: 'gCWLdwSsvnyh', serif !important;
    
    --brz-paragraphfontfamily: 'vPIhC2wOcnly', sans-serif !important;
    --brz-buttonfontfamily: 'vPIhC2wOcnly', sans-serif !important;
}
.custom-breadcrumb-nav {
    font-size: 14px;
    color: #666;
}
.custom-breadcrumb-nav a {
    text-decoration: none;
		font-family: var(--brz-paragraphfontfamily, initial) !important;
}
.custom-breadcrumb-nav .sep {
    margin: 0 8px;
    color: #ccc;
}
.custom-breadcrumb-nav .current {
	font-family: var(--brz-paragraphfontfamily, initial) !important;
	color: #333;
}
.custom-breadcrumb-nav a[href*="javascript"] {
    color: #d88fa6;
    font-weight: 500;
	font-family: var(--brz-paragraphfontfamily, initial) !important;
}

.break-desc {
	height: 10px;
}
.bc-category-section {
	width: 100%;
	max-width: 1200px;
	margin: 40px auto;
	box-sizing: border-box;
	font-family: var(--brz-paragraphfontfamily, initial) !important;
}
.bc-category-title {
	text-align: center;
	font-family: var(--brz-heading3fontfamily, initial) !important;
	font-size: var(--brz-heading3fontsize, initial);
	line-height: var(--brz-heading3lineheight, initial);
	font-weight: var(--brz-heading3fontweight, initial);
	margin: 60px 0px 30px 0px;
}
.bc-category-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr); /* 6 clean columns on large desktop screens */
	gap: 13px;
}
.bc-category-card {
	background: #ffffff;
	border: 1px solid #eef2f5;
	border-radius: 16px;
	overflow: hidden;
	text-decoration: none;
	color: #333333;
	box-shadow: 0 4px 20px rgba(0,0,0,0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	display: flex;
	flex-direction: column;
}

/* Cover Image Wrapper */

.bc-card-header img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.bc-category-card:hover .bc-card-header img {
	transform: scale(1.05);
}

/* Overlapping Round Icon Badge Styles (Kept intact for category template pages) */
.bc-card-badge-wrap {
	position: relative;
	width: 100%;
	height: 30px; /* Creates localized layout spacer for the offset height */
	display: flex;
	justify-content: center;
	align-items: center;
}
.bc-card-icon-badge {
	position: absolute;
	top: 0;
	transform: translateY(-50%); /* Locks exactly to the 50% line */
	width: 58px;
	height: 58px;
	background: #ffffff;
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 7px;
	box-sizing: border-box;
	border: 1px solid #eef2f5;
}
.bc-card-icon-badge img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}
#bc-map-view-button-mobile{
	padding: 0px;
}
/* Lower Card Content Structure */
.bc-card-body {
	padding: 0px 5px 7px 5px;
	text-align: center;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}
.bc-category-card h3 {
	font-size: 16px;
	margin: 0 0 4px 0;
	color: #2c3e50;
	font-weight: 400;
}
.bc-category-card p {
	font-size: 10px;
	color: rgb(var(--brz-global-color7));
	line-height: 1.4;
	margin: 0;
}

/* Hover Shadows Fix */
@media (min-width: 481px) {
	.bc-category-card:hover {
		box-shadow: 0 12px 30px rgba(0,0,0,0.1);
	}
	.bc-category-card{
		min-width: 160px;
	}
	.bc-category-section {
		margin: 0px auto;
	}
	.bc-category-card:hover {
	transform: translateY(-5px);
	border-color: #eef2f5;
}
}
@media (min-width: 992px){
	.division-home{
		min-width: 600px;
	}
}

@media (min-width: 991px) and (max-width: 1180px) {	#pP7x5wKMUrFT_pP7x5wKMUrFT{
		margin: 0% 1% 0% 52px;
	}
}
	.bc-card-header{
		height: 100px;
	}
/* Desktop & Tablet Squeeze-Prevention Slider (Under 1200px down to mobile) */
@media (max-width: 1200px) {
	.bc-category-section {
		padding: 0 0 0 20px;
	}
	.bc-card-icon-badge{
		width: 45px;
		height: 45px;
		padding: 3px;
		overflow: hidden;
	}
	.bc-card-header{
		height: 80px; !important
	}
	.bc-category-grid {
		display: grid;
		grid-template-rows: repeat(2, 1fr); 
		grid-auto-columns: 220px; /* Gives every card an ideal desktop sliding width */
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		gap: 10px;
		padding-top: 10px;
		padding-bottom: 15px;
		padding-right: 20px;
	}
	/* Custom slim trackbar for desktop slider feel */
	.bc-category-grid::-webkit-scrollbar {
		height: 6px;
	}
	.bc-category-grid::-webkit-scrollbar-thumb {
		background: #e2e8f0;
		border-radius: 4px;
	}
	.bc-category-card {
		scroll-snap-align: start;
		height: 100%; /* Spans naturally within the forced grid row bounds */
	}
}

/* Mobile Layout Overrides */
@media (max-width: 480px) {
	.bc-category-title {
		margin-left: -20px;
		padding: 0px 20px 0px 20px;
		margin-bottom: 10px;
	}
	.bc-category-card{
		width: 160px;
		
	}
	.bc-category-grid {
		grid-auto-columns: 55vw; /* Drops down to show 1.5 cards on true mobile viewports */
		::-webkit-overflow-scrolling: touch;
	}
	.bc-category-grid::-webkit-scrollbar {
		display: none; /* Hide scrollbars completely on touch screens */
	}
}

/* --- SPECIFIC HOMEPAGE NO-ICON CITY CARD MODIFIER --- */
.bc-city-card .bc-card-body {
	padding: 15px 10px 15px 10px;
}

.bc-matrix-footer-section .bc-category-grid {
    display: flex !important;               /* Swaps grid for flex layout to align in one line */
    overflow-x: auto !important;            /* Allows horizontal scrolling */
    scroll-snap-type: x mandatory;          /* Clean scrolling snaps */
    -webkit-overflow-scrolling: touch;      /* Smooth iOS touch feel */
    gap: 10px;                              /* Uniform spacing between cards */
    padding-top: 10px;
    padding-bottom: 20px;                   /* Padding so the box-shadow doesn't cut off */
    padding-right: 20px;
}

/* Fixes desktop card shrinking inside Flexbox */
.bc-matrix-footer-section .bc-category-card {
    flex: 0 0 180px;                        /* Prevents shrinking and forces comfortable width on desktop/tablet */
    scroll-snap-align: start;
    height: auto;
    display: inline-flex;
    flex-direction: column;
}

/* Desktop/Tablet scrollbar styles for a clean interface look */
.bc-matrix-footer-section .bc-category-grid::-webkit-scrollbar {
    height: 6px;
}
.bc-matrix-footer-section .bc-category-grid::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 4px;
}

/* Mobile Adjustments (Sized for a 1.5 card visual preview trail) */
@media (max-width: 480px) {
    .bc-matrix-footer-section {
        padding: 0 0 0 20px !important;     /* Left alignment breathing room */
    }
    
    .bc-matrix-footer-section .bc-category-grid {
        gap: 10px;
        padding-bottom: 15px;
        padding-right: 20px;
    }

    .bc-matrix-footer-section .bc-category-grid::-webkit-scrollbar {
        display: none !important;            /* Hide scrollbars on true touch mobile views */
    }

    .bc-matrix-footer-section .bc-category-card {
        flex: 0 0 160px;                     /* Show exactly ~1.5 cards on screen to prompt swiping */
    }
}
#bc-supplier-results .bc-stars-display .dashicons {
	width: 17px !important;
}

.bc-rating-number{
	font-size: 14px;
	color: #666;
	font-family: var(--brz-paragraphfontfamily, initial) !important;
}
.bc-stars-display{
	margin-right: -5px;
}
#commentform, 
#commentform *, 
#commentform input, 
#commentform textarea, 
#commentform button, 
#commentform label, 
.comment-reply-title{
    font-family: var(--brz-paragraphfontfamily, initial) !important;
}