@charset "utf-8";

/* Hidden by default */
.explore-overlay-hidden {
  display: none;
}

/* Visible state with animation */
.explore-overlay-show {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9993;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}


.explore-language h2 { margin: 20px 10px; font-size: 22px; color: #222; }
.explore-state h3 { margin: 15px 20px; font-size: 18px; color: #444; }
.explore-role h4 { margin: 10px 30px; font-size: 16px; color: #666; }

.ads-row {
  display: flex;
  overflow-x: auto;
  padding: 10px 30px;
  gap: 12px;
}
.ad-card {
  min-width: 140px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.ad-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.explore-language h2 { margin: 20px 10px; font-size: 22px; color: #222; }

.ads-row {
  display: flex;
  overflow-x: auto;
  padding: 10px 20px;
  gap: 12px;
}
.ad-card {
  min-width: 140px;
  background: #fff;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.ad-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}
.view-all-btn button {
  min-width: 100px;
  background: #ff6600;
  border: none;
  padding: 8px 12px;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

.language-page .ads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  padding: 20px;
}

.explore-top-buttons {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: #f8f8f8;
}
.explore-btn {
  border: none;
  background: #ddd;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}
.explore-btn:hover {
  background: #bbb;
}

.explore-section {
  margin: 20px 0;
}

.explore-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px;
}

.explore-scroll {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 10px 0;
}

#explore_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--background-color);
  z-index: 10021;
  overflow-y: auto;  /* ✅ allow scrolling inside */
}
.explore-card {
  flex: 0 0 auto;
  width: 150px;
  cursor: pointer;
}
.explore-section {
  margin-bottom: 20px;
}

.explore-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}



.explore-card img {
  width: 100%;
  border-radius: 8px;
}

/* 🆕 NEW: Styles for the horizontal language scroller */
.language-scroller {
  display: block;
  overflow-x: auto;
  padding: 58px 0px 10px 0px;
  gap: 15px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
	color: #333;
}
.language-scroller::-webkit-scrollbar {
  display: none;
}

.language-card {
  flex-shrink: 0;
  min-width: 80px; /* Use min-width to allow content to grow */
  height: 80px;
  border-radius: 50%;
  background-color: #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.language-card:hover {
  transform: scale(1.05);
}

.language-card p {
  margin: 5px 0 0;
  font-weight: bold;
}


/* 🆕 NEW: Styles for the language filter buttons */
/* 🆕 NEW: Styles for the language filter buttons */
#language-filter-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px;
/*  border-bottom: 1px solid #ddd;*/
	margin-top: 3px;
	margin-bottom: 50px;
}

#state-filter-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    /* border-bottom: 1px solid #ddd; */
    margin-top: 36px;
}

.filter-btn {
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 36px;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
	min-width: 153px;
}

.filter-btn:hover {
  background-color: #00bbff;
    color: #000f29;
}

.filter-btn.active {
    background-color: #ec038a;
    color: #fff;
    border-color: #ec038a;
	font-weight: 600;

}


/* New: Styles for the explore-sections */
.explore-section {
  margin-bottom: 20px;
  padding: 0 10px;
}

.explore-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1px 0;
  padding: 0 12px;
}

.explore-header h3 {
  font-size: 15px;
  color: var(--category-header-color-dark);
  margin: 0;
	font-weight: 600;
}

.view-all-btn {
  text-decoration: none;
    color: var(--secondary-color);
    font-weight: bold;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 15px;
	background: transparent;
    border: transparent;
	cursor: pointer;
}

.view-all-btn:hover {
  
  color: #ec038a;
}

/* Existing: Horizontal ad row */
.ads-row {
  display: flex;
  overflow-x: auto;
  padding: 3px 3px 12px 0px;
  gap: 3px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.ads-row::-webkit-scrollbar {
  display: none;
}

/* ad-card styling remains unchanged */
.ad-card {
  min-width: 140px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.ad-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

/* 🆕 NEW: Styles for the "Explore Ads and Deals" header */
.explore-header-text {
  padding: 10px 20px 0;
  text-align: center;
}

.explore-header-text h1 {
  font-size: 20px;
  color: var(--text-blue-to-darkblue-color);
  margin: 0;
  font-weight: 600;
  margin-top: 50px;
	
}

/* Updated styles to ensure buttons are properly positioned below the header */


.explore-ad-category-section {
    margin-bottom: 2px;
    position: relative;
	font-size: 14px;
    font-weight: 900;
}

.explore-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    padding: 0 3px;
}
/* Section Title */
.explore-section-title {
    font-size: 15px;
    color: var(--category-header-color-dark);
    transition: color 0.3s ease;
    font-weight: 600;
	align-items: center;
	display: contents;
}



/* Styles for the  ful page overlay */
.explore-fullpage-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color); /* Semi-transparent white background */
    z-index: 90001; /* Ensure it's on top of other content */
    overflow-y: auto; /* Enable scrolling for the overlay content */
    display: flex;
    flex-direction: column;
    padding: 6px;
    box-sizing: border-box;
}

.expl-fullpage-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 3px;
    margin-bottom: 20px;
	margin-top: 21%;
}

.expl-fullpage-overlay-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-blue-to-darkblue-color);
}

.expl-fullpage-close-overlay-btn {
    background: none;
    border: none;
    font-size: 2.5em;
    cursor: pointer;
    color: #555;
}

.expl-fullpage-overlay-content.ads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

/* Media query for mobile devices */
@media (max-width: 600px) {
    .expl-fullpage-overlay-content.ads-grid {
        /* On smaller screens, use a single column */
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        /* You can adjust the gap for mobile if needed */
        gap: 6px; 
		align-items: center;
        justify-items: center !important;
    }
}

.open-form-explore {
            background-color: var(--contact-form-bg);
            padding: 6px 3px;
            
            width: 100%;
            max-width: 1400px;
            
/*            border: 1px solid var(--card-background);*/
			margin: auto;
   }


/* Styles for the sticky filter and sort band */
.filter-expl-sort-band {
    position: sticky;
    /* Adjust this to be the height of your back-button-band */
    top: 41px; 
    z-index: 999;
    background-color: var(--background-color);
    padding: 3px 3px 12px 3px;
	max-width: 1400px;
    text-align: center;
    justify-items: center !important;
	 
   	
}

.filter-expl-sort-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
	border: 3px solid #515666;
    border-radius: 36px;
	width: 98%;
}

.filter-expl-sort-inner button {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    
    color: var(--category-header-color-dark);
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

/* Common overlay */
.filter-overlay, .sort-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 99991;
    display: flex;
    justify-content: center;
    align-items: center;
}



.filter-header, .sort-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.filter-footer, .sort-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
/*	background: #000f50;*/
    padding: 9px 12px 9px 12px;
    border-radius: 36px;
}

.filter-body label, .sort-body label {
    display: block;
    padding: 8px 0;
/*    border-bottom: 1px solid #eee;*/
}

.filter-explore-button{
	background: transparent;
    font-size: 14px;
    color: #fff;
    align-items: center;
    border: 3px solid #00bbff;
    width: 45%;
    border-radius: 18px;
	padding: 3px;
	cursor: pointer;
} 

.filter-explore-button:hover {
	background: #ec038a;
    border: 3px solid #ec038a;
   
}

.filter-explore-button.active {
	background: #ec038a;
    border: 3px solid #ec038a;
   
}

.filter-expl-clearall{
	background: #000f50;
    color: #fff;
    font-size: 14px;
    border-radius: 36px;
    border: 3px solid #666;
    padding: 2px 21px;
}

.filter-expl-clearall:hover{
	background: #ec038a;

    border: 3px solid #ec038a;

}
.filter-expl-clearall.active{
	background: #ec038a;

    border: 3px solid #ec038a;

}

.filter-expl-section{
	width: 100%;
	padding: 3px;	
}
.filter-body{
	width: 100%;
	    height: 85%;
}
		

/* Common overlay */
.filter-overlay, .sort-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 900001;
    display: flex;
    justify-content: center;
    align-items: center;
}

.filter-overlay-inner, .sort-overlay-inner {
    max-width: 1400px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    border-radius: 6px;
    padding: 16px 16px 16px 16px;
    background: var(--color-darkb-lightb);
}



.filter-header, .sort-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.filter-footer, .sort-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
}

.filter-body label, .sort-body label {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}


.sort-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Align to the bottom of the screen */
    z-index: 99991; /* Ensure it's on top of all other content */
    animation: fadeIn 0.3s ease-out;
}

.sort-overlay-inner {
    width: 100%;
    max-width: 500px; /* Optional: limit width on larger screens */
    background-color: var(--color-darkb-lightb);
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(100%); /* Start off-screen */
    animation: slideUp 0.3s forwards;
	height: 72%;
}

/* Animations for smooth appearance */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.sort-header {
    padding: 15px 20px 3px 20px;
/*    border-bottom: 1px solid #eee;*/
    text-align: center;
}

.sort-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.sort-body {
    padding: 0px 0 10px 0;
}

.sort-footer {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    border-top: 1px solid #eee;
}

.sort-body label {
    display: block;
    padding: 9px 20px;
    cursor: pointer;
   transition: background-color 0.2s;
	font-size: 14px;
    color: var(--text-color);
}

.sort-body label:hover {
    background-color: #ec038a;
}

/* Hide the default radio button */
.sort-body input[type="radio"] {
    display: none;
}

/* Style the label when the corresponding radio button is checked */
.sort-body input[type="radio"]:checked + label {
    background-color: #f0f8ff; /* Light blue background for selected item */
    color: #007bff;
    font-weight: 600;
}

.full-page-overlay-inner{
	width: 100%;
/*	max-width: 1400px;*/
	
}


/* Container for the two-column layout */
/* Container for the two-column layout */
/* Overlay for the filter panel */
.filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.90); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 90001; /* Ensure it's on top of all other content */
    animation: fadeIn 0.3s ease-out;
}

.filter-overlay-inner {
    width: 100%;
    max-width: 900px;
    height: 100%;
    background-color: var(--color-darkb-lightb);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

/* Header, body, and footer */
.filter-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-header h6 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.filter-footer {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
	margin-bottom: 45px;
}

/* Container for the two-column layout */
.filter-body-dynamic {
    display: flex;
    flex-grow: 1;
    overflow: hidden;
}

/* Left panel for filter categories */
.filter-category-panel {
    flex: 0 0 32%; /* Adjust width as needed */
    background-color: var(--color-darkb-lightb);
    border-right: 1px solid #ddd;
    overflow-y: auto;
    padding: 3px 0;
}



.filter-expl-sort-band {
    position: sticky;
    top: 48px;
    z-index: 999;
    background-color: var(--background-color);
    padding: 3px 3px 12px 3px;
    max-width: 1400px;
    text-align: center;
    justify-items: center !important;
}

.filter-category-btn {
/*    display: flex;*/
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 5px;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: var(--category-header-color-dark);
    transition: background-color 0.2s;
}

.filter-category-btn:hover {
    background-color: #e9ecef;
}

.filter-category-btn.active {
    background-color: var(--bottom-line);
    color: #fff;
    font-weight: 500;
    border-left: 6px solid #ec038a;
	padding: 3px 3px 11px 3px;
}

/* Filter count bubble */
.filter-count-bubble {
    background-color: #00bbff;
    color: #fff;
    border-radius: 8px;
    font-size: 12px;
    padding: 3px 8px;
/*    min-width: 25px;*/
    text-align: center;
    margin-left: 6px;
	width: 32px;
    height: 20px;
	margin-top: 11px;
}

/* Right panel for specific options */
.filter-options-panel {
    flex: 1; /* Takes up the remaining space (70%) */
    overflow-y: auto;
    padding: 15px;
}

#filter-options-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-option-btn {
    background-color: #e9ecef;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.filter-option-btn:hover {
    background-color: #dee2e6;
}

.filter-option-btn.active {
    background-color: #ec038a;
    color: #fff;
    border-color: #ec038a;
}


img.lazy-image {
  opacity: 0;
  transition: opacity 0.4s ease;
}
img:not(.lazy-image) {
  opacity: 1;
}
