/*
Theme Name: XCatalog Theme
Theme URI: http://example.com/xcatalog-theme/
Author: Your Name
Author URI: http://example.com
Description: Custom theme for XCatalog
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xcatalog
*/

/* Import Fonts */
@font-face {
    font-family: 'SF UI Display';
    src: url('./assets/fonts/sf-ui-display-light-58646b33e0551.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF UI Display';
    src: url('./assets/fonts/sf-ui-display-thin-58646e9b26e8b.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF UI Display';
    src: url('./assets/fonts/sf-ui-display-medium-58646be638f96.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF UI Display';
    src: url('./assets/fonts/sf-ui-display-semibold-58646eddcae92.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Apply SF UI Display as default font */
body {
    font-family: 'SF UI Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #131011;
    margin: 0;
    padding: 0;
    color: #fff;
    font-weight: 400;
    letter-spacing: 0.4px; /* Light weight by default */
}

/* Font weight utilities */
.font-thin { font-weight: 100; }
.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }

/* Apply different weights to different elements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600; /* Semibold for headings */
}

.site-header {
    font-weight: 500; /* Medium for header */
}

.model-card__name {
    font-weight: 600; /* Semibold for model names */
}

.model-card__status {
    font-weight: 500; /* Medium for status */
}

/* Site Header */
.site-header {
	background: #1C1819;
}

.header-top {
	padding: 0px 20px;
}

.header-container {
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left .help-text {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Credits Section */
.credits-section {
    display: flex;
    align-items: center;
}

.credits-display {
	padding: 5px 15px 5px 5px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	gap: 10px;
	/* font-weight: 600; */
	font-size: 14px;
	background: #302A2B;
}

.credits-icon {
	background: #E4285B;
	color: #fff;
	font-size: 16px;
	padding: 5px 10px;
	border-radius: 10px;
	min-height: 20px;
}

.help-text {
	color: #888;
	font-weight: 300;
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-dropdown {
    position: relative;
}

.user-dropdown-toggle {
    background: none;
    border: none;
    color: #fff;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.dropdown-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.user-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: #2A2627;
	border: 0px solid #3A3637;
	border-radius: 10px;
	min-width: 150px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.2s ease;
	z-index: 1000;
	padding: 5px 5px;
}

.user-dropdown.active .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(20px);
}

.dropdown-item {
    display: block;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    border-radius: 7px;
    transition: background 0.2s ease;
}

.dropdown-item:hover {
    background: #3A3637;
}

/* Notifications */
.notifications {
    position: relative;
}

.notification-btn {
	background: none;
	border: none;
	color: #fff;
	padding: 8px 8px;
	cursor: pointer;
	border-radius: 4px;
	transition: background 0.2s ease;
	position: relative;
	background: #302A2B;
	border-radius: 10px;
}

.notification-btn svg {
    width: 20px;
    height: 20px;
}

.notification-badge {
	position: absolute;
	top: -10px;
	right: -10px;
    background: #E4285B;
	color: #fff;
	font-size: 10px;
	padding: 3px 3px;
	border-radius: 5px;
	min-width: 14px;
	text-align: center;
	font-weight: 600;
}

/* Clock */
.clock {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
}

.clock svg {
    width: 18px;
    height: 18px;
}

/* Search */
.search {
    display: flex;
    align-items: center;
}

.search-btn {
    background: none;
    border: none;
    color: #fff;
    padding: 8px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.search-btn:hover {
    background: #3A3637;
}

.search-btn svg {
    width: 18px;
    height: 18px;

}

/* Language Selector */
.language-selector {
    position: relative;
}

.language-dropdown {
    position: relative;
}

.language-dropdown-toggle {
    background: none;
    border: none;
    color: #fff;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    border-radius: 4px;
    transition: background 0.2s ease;
}


.language-dropdown-menu {
	position: absolute;
	top: 100%;
	right: 0;
	background: #2A2627;
	border: 0px solid #3A3637;
	border-radius: 10px;
	min-width: 120px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.2s ease;
	z-index: 1000;
	padding: 5px;
}

.language-dropdown.active .language-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(20px);
}

/* Main Content */
.site-main {
    margin: 0 auto;
    padding: 0 40px;
}

/* Full width for catalog pages */
.site-main .catalog-container {
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: none;
}

.entry-title {
    margin-bottom: 20px;
}

.entry-content {
    line-height: 1.6;
}

.no-results {
    text-align: center;
    padding: 40px 20px;
}

/* Catalog Grid */
.catalog-container {
    min-height: 100vh;
    padding: 20px 0;
}

.catalog-filters {
	margin: 20px auto 0 auto;
	padding: 0 0px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	box-sizing: border-box;
}

.filters-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.filters-button {
    background: #E4285B;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.filters-button:hover {
    background: #E4285B;
}

.filters-button svg {
    width: 16px;
    height: 16px;

}

/* Old popular-tags styles - now handled by new structure */

.tag {
	color: #fff;
	text-decoration: none;
	padding: 10px 10px;
	font-size: 14px;
	transition: background-color 0.3s;
	border-radius: 10px;
	cursor: pointer;
	border: none;
	outline: none;
	display: inline-block;
}

.tag:hover {
    background: rgba(255, 255, 255, 0.1);
}

.tag.active {
    background: rgba(255, 255, 255, 0.2);
    font-weight: bold;
}

/* Filter Info and Breadcrumbs */
.filter-info, 
.filter-breadcrumbs {
	display: none;
}
.page-title {
	margin-top: 0;
}

.tag.active {
    background: #E4285B;
    color: #fff;
    box-shadow: 0 4px 15px rgba(228, 40, 91, 0.3);
}


.view-toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	position: relative;
	left: 0;
}

/* View Toggle Buttons */
.view-toggle-button {
	background: transparent;
	color: #fff6;
	border: none;
	padding: 10px 10px;
	border-radius: 10px;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: all 0.2s ease;
	font-size: 14px;
	font-weight: 500;
}

.view-toggle-button:hover {
    background: #5A5657;
    transform: translateY(-1px);
}

.view-toggle-button.active {
    color: #fff;
    box-shadow: 0 4px 15px rgba(228, 40, 91, 0.3);
}

.view-toggle-button svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

/* Selected Filters */
.selected-filters {
    margin: 0;
    padding: 0;
}

.selected-filters-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
}

.selected-filter-item {
    display: flex;
    align-items: center;
    background: rgba(228, 40, 91, 0.2);
    border: 1px solid #E4285B;
    border-radius: 20px;
    padding: 8px 12px;
    font-size: 14px;
    color: #fff;
    gap: 8px;
    transition: all 0.3s ease;
}

.selected-filter-item:hover {
    background: rgba(228, 40, 91, 0.3);
}

.selected-filter-label {
    font-weight: 500;
}

.selected-filter-value {
    opacity: 0.9;
}

.selected-filter-remove {
	background: none;
	border: none;
	color: #131011;
	cursor: pointer;
	padding: 10px 10px 10px 10px;
	width: auto;
	height: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	/* border-radius: 50%; */
	font-size: 12px;
	line-height: 1;
	background: #e1e1e1;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	margin-left: 5px;
}

.selected-filter-remove:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.selected-filter-remove:before {
    content: '×';
    font-weight: bold;
}

/* Models Grid */
.models-grid {
    display: grid;
    gap: 2px;
    margin-top: 20px;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    /* Force full width */
    min-width: 100% !important;
    /* Default grid layout - 4 columns */
    grid-template-columns: repeat(4, 1fr);
}



/* Grid Views */
.models-grid.view-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.models-grid.view-grid-6 {
    grid-template-columns: repeat(6, 1fr);
}

.models-grid.view-grid-10 {
    grid-template-columns: repeat(10, 1fr);
}

/* Responsive Grid */
@media (max-width: 1200px) {
    .models-grid.view-grid-10 {
        grid-template-columns: repeat(8, 1fr);
    }
}

@media (max-width: 992px) {
    .models-grid.view-grid-6,
    .models-grid.view-grid-10 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .models-grid.view-grid-4,
    .models-grid.view-grid-6,
    .models-grid.view-grid-10 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .models-grid.view-grid-4,
    .models-grid.view-grid-6,
    .models-grid.view-grid-10 {
        grid-template-columns: 1fr;
    }
}

/* Model Cards */
.model-card {
    background: #2A2627;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.model-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.model-card__image-container {
    position: relative;
    overflow: hidden;
    font-size: 0;
}

.model-card__image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Profile Button Overlay */
.model-card__profile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.model-card:hover .model-card__profile-overlay {
    opacity: 1;
}

.model-card__profile-btn {
	background: #E4285B;
	color: #fff;
	padding: 10px 20px;
	border-radius: 10px;
	text-decoration: none;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
	border: 2px solid #E4285B;
	font-size: 12px;
	transform: scale(.9);
}

.model-card__profile-btn:hover {
	background: transparent;
	color: #E4285B;
	transform: scale(1);
}

.model-card__chat-btn {
	background: #4CAF50;
	color: #fff;
	padding: 10px 20px;
	border-radius: 10px;
	text-decoration: none;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
	border: 2px solid #4CAF50;
	font-size: 12px;
	transform: scale(.9);
	margin-left: 10px;
	cursor: pointer;
}

.model-card__chat-btn:hover {
	background: transparent;
	color: #4CAF50;
	transform: scale(1);
}

.model-card__info {
	position: absolute;
	z-index: 99;
	bottom: 0;
	opacity: 0;
	transition: all 0.3s ease-in-out;
	padding: 20px 20px;
}
.model-card__basic-info,
.model-card__attributes,
.model-card__features,
.model-card__preferences {
	display: none !important;
}
.model-card:hover .model-card__info {
    opacity: 1;
}
.model-card__name {
    color: #fff;
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
}

.model-card__country {
    color: #E4285B;
    font-size: 12px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.model-card__age {
    color: #888;
    font-size: 12px;
    margin-bottom: 8px;
}

.model-card__status {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	position: absolute;
	top: 20px;
	right: 20px;
}

.model-card__status.online {
    color: #4CAF50;
}

.model-card__status.offline {
    color: #f44336;
}

.model-card__description {
    color: #ccc;
    font-size: 12px;
    line-height: 1.4;
    margin-top: 8px;
    opacity: 0.8;
}

/* Pagination */
.catalog-pagination {
    margin-top: 40px;
    text-align: center;
    background: #2A2627;
    padding: 20px;
    border-radius: 8px;
}

.pagination-info {
    color: #ccc;
    margin-bottom: 20px;
    font-size: 14px;
}

.pagination-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination-link {
    display: inline-block;
    padding: 8px 16px;
    background: #3A3637;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    min-width: 40px;
    text-align: center;
}

.pagination-link:hover {
    background: #E4285B;
    color: #fff;
    transform: translateY(-1px);
}

.pagination-link.current {
    background: #E4285B;
    color: #fff;
    font-weight: 600;
}

.pagination-link.prev,
.pagination-link.next {
    background: #4A4647;
    font-weight: 500;
}

.pagination-link.prev:hover,
.pagination-link.next:hover {
    background: #E4285B;
}

/* Active tag state */
.tag.active {
	background: #fff;
	color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .help-text {
        text-align: center;
    }
    
    .search-form {
        width: 100%;
        max-width: 300px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .catalog-filters {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .filters-section {
        justify-content: space-between;
    }
    
    /* Old popular-tags styles removed */
    
    .models-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
        padding: 15px;
    }
    
    .view-list .model-card {
        flex-direction: column;
        height: auto;
    }
    
    .view-list .model-card__image {
        width: 100%;
        height: 200px;
    }
}

/* Footer Styles */
.site-footer {
    background: #222222;
    color: #cccccc;
    font-family: 'SF UI Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer Top Section */
.footer-top {
	padding: 50px 0 20px 0;
}

.footer-top .footer-container {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 50px;
}

.become-model-link,
.affiliate-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.become-model-link:hover,
.affiliate-link:hover {
    color: #d4b4ff;
}

.logo-text {
    font-weight: 600;
    margin-left: 5px;
}

.logo-accent {
    color: #8b6bb1;
}

/* Footer Middle Section */
.footer-middle {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-info-section {
    text-align: center;
}

.site-dropdown {
	display: flex;
	align-items: center;
	padding: 30px 40px;
	border-radius: 6px;
	margin-bottom: 30px;
	cursor: pointer;
	transition: background 0.3s ease;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	width: 70%;
	text-align: center;
	margin: auto;
	justify-content: center;
}

.site-dropdown:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-label {
    color: white;
    font-size: 16px;
    font-weight: 500;
    margin-right: 8px;
}

.dropdown-chevron {
    color: #cccccc;
}

/* Newsletter Section */
.newsletter-section {
    margin-top: 50px;
}

.newsletter-title {
    color: white;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.newsletter-subtitle {
    color: #999999;
    font-size: 14px;
    margin: 0 0 25px 0;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    background: #131011;
    color: white;
    padding: 12px 16px;
    border: 0;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-input::placeholder {
    color: #999999;
}

.newsletter-input:focus {
    border-color: #FF6B6B;
}

.newsletter-button {
	background: #E4285B;
	color: white;
	border: none;
	padding: 12px 24px;
	/* border-radius: 6px; */
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
}

.newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

/* Footer Bottom Section */
.footer-bottom {
    padding: 40px 0;
}

.footer-bottom > div {
    margin-bottom: 25px;
}

.footer-bottom > div:last-child {
    margin-bottom: 0;
}

/* Footer Navigation */
.footer-nav {
    text-align: center;
    margin-bottom: 25px;
}

.footer-link {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #FF6B6B;
}

.separator {
    color: #666666;
    margin: 0 15px;
    font-size: 12px;
}

/* Age Disclaimer */
.age-disclaimer {
	text-align: center;
	margin-bottom: 25px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.age-disclaimer p {
	color: #999999;
	font-size: 14px;
	margin: 0 20px 0 0px;
	line-height: 1.5;
	font-weight: 300;
}

.protection-brands {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.brand {
	color: #ccc;
	font-size: 14px;
	font-weight: 300;
}

.rta-logo {
    font-weight: 700;
    color: #cccccc;
}

/* Company Information */
.company-info {
    text-align: center;
    margin-bottom: 25px;
}

.company-info p {
	color: #999999;
	font-size: 14px;
	line-height: 1.6;
	margin: 0;
	font-weight: 300;
}

/* Policy Links */
.policy-links {
    text-align: center;
}

.policy-links .footer-link {
	font-size: 14px;
	color: #999999;
	font-weight: 300;
	color: #ccc;
}

.policy-links .separator {
    margin: 0 10px;
    color: #555555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-top .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        max-width: 300px;
    }
    
    .protection-brands {
        gap: 15px;
    }
    
    .footer-nav .separator {
        margin: 0 10px;
    }
    
    .policy-links .separator {
        margin: 0 8px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 15px;
    }
    
    .newsletter-title {
        font-size: 20px;
    }
    
    .company-info p {
        font-size: 10px;
    }
    
    .footer-link {
        font-size: 13px;
    }
    
    .policy-links .footer-link {
        font-size: 11px;
    }

}

/* Page Content Styles */
.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-content .entry-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.page-content .entry-title {
    font-size: 1.8rem;
    color: #fff;
    margin: 0;
    font-weight: 500;
}

.page-content .entry-content {
    font-weight: 300;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #999;
}

.page-content .entry-content h1,
.page-content .entry-content h2,
.page-content .entry-content h3,
.page-content .entry-content h4,
.page-content .entry-content h5,
.page-content .entry-content h6 {
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.page-content .entry-content h1 { font-size: 2rem; }
.page-content .entry-content h2 { font-size: 1.8rem; }
.page-content .entry-content h3 { font-size: 1.6rem; }
.page-content .entry-content h4 { font-size: 1.4rem; }
.page-content .entry-content h5 { font-size: 1.2rem; }
.page-content .entry-content h6 { font-size: 1.1rem; }

.page-content .entry-content p {
    margin-bottom: 1.5rem;
}

.page-content .entry-content ul,
.page-content .entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.page-content .entry-content li {
    margin-bottom: 0.5rem;
}

.page-content .entry-content blockquote {
    border-left: 4px solid #007cba;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.page-content .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-content .entry-content a {
    color: #E4285B;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.3s ease;
}

.page-content .entry-content a:hover {
    border-bottom-color: #ffffff;
}

.page-content .page-links {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.page-content .page-links a {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    background: #007cba;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.page-content .page-links a:hover {
    background: #005a87;
}

/* Responsive page content */
@media (max-width: 768px) {
    .page-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .page-content .entry-title {
        font-size: 2rem;
    }
    
    .page-content .entry-content {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-content {
        padding: 1rem;
        margin: 0.5rem;
    }
    
    .page-content .entry-title {
        font-size: 1.8rem;
    }
}

/* Model Profile Page */
.model-profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.back-to-catalog {
    margin-bottom: 30px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #E4285B;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 20px;
    border: 2px solid #E4285B;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #E4285B;
    color: #fff;
}

.back-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.model-profile-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #2A2627;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.model-profile__image-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.model-profile__image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.model-profile__image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.model-profile__section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.model-profile__section h4 {
    color: #E4285B;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.model-profile__detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #333;
}

.model-profile__detail:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #ccc;
    min-width: 120px;
}

.detail-value {
    color: #fff;
    text-align: right;
    font-weight: 500;
}

.model-profile__image:hover {
    transform: scale(1.02);
}

.model-profile__actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.model-profile__chat-btn,
.model-profile__browse-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.model-profile__chat-btn {
    background: #4CAF50;
    color: #fff;
    border-color: #4CAF50;
}

.model-profile__chat-btn:hover {
    background: transparent;
    color: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.model-profile__browse-btn {
    background: #E4285B;
    color: #fff;
    border-color: #E4285B;
}

.model-profile__browse-btn:hover {
    background: transparent;
    color: #E4285B;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(228, 40, 91, 0.3);
}

.model-profile__info-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.model-profile__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #3A3637;
}

.model-profile__name {
    color: #fff;
    margin: 0;
    font-size: 32px;
    font-weight: 700;
}

.model-profile__status {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.model-profile__status.online {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.model-profile__status.offline {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
}

.model-profile__details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.model-profile__detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #3A3637;
}

.detail-label {
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
}

.detail-value {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.model-profile__description h3 {
    color: #fff;
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
}

.model-profile__description p {
    color: #ccc;
    line-height: 1.6;
    margin: 0;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .model-profile-card {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .model-profile__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .model-profile__name {
        font-size: 24px;
    }
    
    .model-profile__actions {
        flex-direction: row;
        justify-content: center;
    }
    
    .model-profile__chat-btn,
    .model-profile__browse-btn {
        flex: 1;
        max-width: 200px;
    }
}

/* Chat Modal */
.chat-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.chat-modal.active {
    display: flex;
}

.chat-modal__content {
    background: rgba(66, 59, 61, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #3A3637;
    background: rgba(0, 0, 0, 0.3);
}

.chat-modal__header h3 {
    color: #fff;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.chat-modal__close {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.chat-modal__close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.chat-modal__close svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.chat-modal__body {
    padding: 0;
    background: #000;
}

.chat-modal__body iframe {
    display: block;
    border: none;
    background: #000;
    width: 100%;
    height: 600px;
}

.chat-iframe-container {
    padding: 0;
    background: #000;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.chat-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.chat-loading .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #3A3637;
    border-top: 4px solid #E4285B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.chat-loading p {
    color: #ccc;
    font-size: 16px;
    margin: 0;
}

.chat-content {
    padding: 40px 20px;
    text-align: center;
}

.chat-content p {
    color: #ccc;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.chat-open-manually {
    background: #E4285B;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-open-manually:hover {
    background: #c41e4a;
    transform: translateY(-2px);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Filters Modal */
.filters-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.admin-bar .filters-modal {
    margin-top: 32px;
}

.filters-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.filters-modal__content {
	background: rgba(66, 59, 61, 0.56);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	width: 350px;
	max-height: 100vh;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	border-radius: 0;
}

.filters-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #3A3637;
}

.filters-modal__header h3 {
    color: #fff;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.filters-modal__close {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.filters-modal__close:hover {
    color: #fff;
}

.filters-modal__close svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.filters-modal__body {
	padding: 20px 20px 190px 20px;
}

.filters-modal__footer {
	padding: 20px;
	display: block;
	justify-content: space-between;
	align-items: center;
	position: fixed;
	bottom: 0px;
	background: rgba(0,0,0,.9) !important;
	left: 0;
	width: 310px;
	box-shadow: 0px -30px 40px 5px #000;
	text-align: center;
}
/* Filter Sections */
.filter-section {
    margin-bottom: 25px;
}
#filters-form {
	padding-bottom: 100px;
}
.filter-section:last-child {
    margin-bottom: 0;
}

.filter-label {
	display: block;
	color: #fff;
	font-weight: 600;
	margin-bottom: 12px;
	font-size: 16px;
}

/* Age Slider - New noUiSlider Implementation */
#filters-content .filter-group .age-slider-container {
    position: relative;
    padding: 10px 0;
}

#filters-content .filter-group .age-slider-wrapper {
    position: relative;
    margin: 20px 0;
}

#filters-content .filter-group .age-slider-noui {
    height: 4px;
    background: #3A3637;
    border-radius: 2px;
}

/* noUiSlider custom styling */
#filters-content .filter-group .age-slider-noui .noUi-connect {
    background: linear-gradient(90deg, #E4285B, #FF6B9D);
    border-radius: 2px;
}

#filters-content .filter-group .age-slider-noui .noUi-handle {
    width: 20px;
    height: 20px;
    background: #E4285B;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(228, 40, 91, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
}
#filters-content .filter-group .age-slider-noui .noUi-handle.noUi-handle-lower {
	width: 15px;
	height: 15px;
}
#filters-content .filter-group .age-slider-noui .noUi-handle.noUi-handle-upper {
	width: 15px;
	height: 15px;
}
#filters-content .filter-group .age-slider-noui .noUi-horizontal .noUi-handle {
	width: 15px;
	height: 15px;
	right: -7px;
	top: 0px;
}
#filters-content .filter-group .age-slider-noui .noUi-handle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(228, 40, 91, 0.5);
}

#filters-content .filter-group .age-slider-noui .noUi-handle:before,
#filters-content .filter-group .age-slider-noui .noUi-handle:after {
    display: none;
}
#filters-content .filter-group .age-slider-noui .noUi-target {
	background: #FAFAFA;
	border-radius: 24px;
	border: 0px solid #D3D3D3;
	box-shadow: none;
	padding: 0;
	height: 7px;
}
#filters-content .filter-group .age-slider-noui .noUi-tooltip {
    background: #E4285B;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
}

#filters-content .filter-group .age-values {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 400;
    font-size: 14px;
}

#filters-content .filter-group .age-value-label {
    opacity: .4;
}

/* Legacy age slider styles (fallback) */
#filters-content .filter-group .age-slider {
    position: relative;
    padding: 20px 0;
}

#filters-content .filter-group .age-range {
    position: absolute;
    width: 100%;
    height: 4px;
    background: #3A3637;
    border-radius: 2px;
    outline: none;
    pointer-events: auto;
    -webkit-appearance: none;
    appearance: none;
    z-index: 1;
}

.age-range:nth-child(1) {
    z-index: 3;
}

.age-range:nth-child(2) {
    z-index: 4;
}

.age-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
	width: 12px;
	height: 12px;
	background: #E4285B;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
	box-shadow: 0px 0px 0px 10px #E4285B6E;
    border: 0
}

.age-range::-moz-range-thumb {
	width: 12px;
	height: 12px;
	background: #E4285B;
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0px 0px 0px 10px #E4285B6E;
	border: 0;
}

.age-range::-webkit-slider-track {
    background: transparent;
}

.age-range::-moz-range-track {
    background: transparent;
}

/* Language Select */
.language-select select {
	width: 100%;
	padding: 12px;
	background: #131011;
	border: 0px solid #131011;
	border-radius: 10px;
	color: #fff;
	font-size: 14px;
}

.language-select select option {
    background: #131011;
    color: #fff;
    padding: 8px;
}

/* Sex Options */
.sex-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #4A4647;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    transition: all 0.2s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: #E4285B;
    background: #E4285B;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
}

.radio-label {
    color: #fff;
    font-size: 14px;
}

.count {
    color: #888;
    font-size: 12px;
    margin-left: 5px;
}

/* Origin Options */
.origin-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-option input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #4A4647;
    border-radius: 3px;
    margin-right: 12px;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom {
    border-color: #E4285B;
    background: #E4285B;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-label {
    color: #fff;
    font-size: 14px;
}
.checkbox-label a {
	color: #fff;
	text-decoration: underline;
}
.checkbox-label input[type="checkbox"] {
	margin: 0px 10px 10px 0px;
}
.checkbox-label {
	font-size: 13px !important;
}

/* Filter Results */
.filter-results {
	color: #E4285B;
	font-size: 14px;
	margin-bottom: 10px;
}

.reset-filters-btn {
	background: #fff;
	/* color: #fff; */
	border: none;
	padding: 12px 24px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	width: 290px;
	margin-bottom: 10px;
}

.reset-filters-btn:hover {
    background: #5A5657;
}

/* AJAX Pagination */
.ajax-pagination {
    margin-top: 40px;
    text-align: center;
}

/* Load More Button */
.load-more-btn {
	background: #fff;
	color: #000;
	border: none;
	padding: 15px 30px;
	/* font-size: 16px; */
	font-weight: 600;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
	margin: 30px auto;
	display: block;
	min-width: 200px;
}
.load-more-info {
    display: none;
}
.load-more-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
	background: #E4285B;
}

.load-more-btn:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.load-more-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Load More Container */
.load-more-container {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Catalog Pagination */
.catalog-pagination {
    margin-top: 40px;
    text-align: center;
    padding: 20px;
    background: #2A2627;
    border-radius: 8px;
}

.pagination-info {
    margin-bottom: 20px;
    color: #fff;
    font-size: 14px;
}

.pagination-info span {
    margin: 0 15px;
    color: #E4285B;
    font-weight: 600;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-block;
    padding: 10px 15px;
    background: #3A3637;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 1px solid #4A4647;
    min-width: 40px;
    text-align: center;
}

.pagination-btn:hover {
    background: #E4285B;
    color: #fff;
    border-color: #E4285B;
    transform: translateY(-1px);
}

.pagination-btn.active {
    background: #E4285B;
    color: #fff;
    border-color: #E4285B;
}

.pagination-btn.prev,
.pagination-btn.next {
    background: #4A4647;
    color: #fff;
}

.pagination-btn.prev:hover,
.pagination-btn.next:hover {
    background: #E4285B;
}

/* Header Search Bar */
.header-search {
	flex: 1;
	max-width: 300px;
	margin: 0 auto 0 0;
}

.search-container {
	position: relative;
	display: flex;
	align-items: center;
	background: #131011;
	border-radius: 10px;
	padding: 12px 15px;
	transition: all 0.3s ease;
}

.search-container:focus-within {
    background: #444444;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.3);
}

.search-container.focused {
    background: #444444;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.3);
}

.search-container:hover {
    background: #3a3a3a;
}

.search-icon {
    margin-right: 10px;
    flex-shrink: 0;
}

.search-input {
	background: transparent;
	border: none;
	color: #ffffff;
	font-family: 'SF UI Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	outline: none;
	width: 100%;
	padding: 0;
	margin-left: 10px;
	font-weight: 300;
}

.search-input::placeholder {
    color: #999999;
    font-size: 14px;
}

.search-input:focus::placeholder {
    color: #cccccc;
}

/* Responsive Search */
@media (max-width: 1024px) {
    .header-search {
        margin: 0 20px;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .header-search {
        margin: 0 15px;
        max-width: 250px;
    }
    
    .search-container {
        padding: 6px 10px;
    }
    
    .search-input {
        font-size: 13px;
    }
    
    .search-input::placeholder {
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .header-search {
        order: 3;
        margin: 15px 0 0 0;
        max-width: 100%;
        width: 100%;
    }
    
    .header-container {
        flex-wrap: wrap;
    }
}

/* Search Results Dropdown */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #2A2627;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    margin-top: 8px;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-results-content {
    padding: 16px;
}

.search-section {
    margin-bottom: 20px;
}

.search-section:last-child {
    margin-bottom: 0;
}

.search-section-title {
    color: #E4285B;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-item {
    border-radius: 8px;
    transition: background 0.2s ease;
}

.search-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.search-item-link {
    display: block;
    padding: 12px 16px;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.search-item-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.filter-item {
    cursor: pointer;
}

.filter-item:hover {
    background: rgba(228, 40, 91, 0.1);
}

.search-item-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    color: #fff;
}

.search-item-meta {
    font-size: 12px;
    color: #999;
    font-weight: 300;
}

.search-no-results,
.search-loading {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
}

.search-loading::before {
    content: '';
    width: 12px;
    height: 12px;
    border: 2px solid #333;
    border-top: 2px solid #E4285B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Search Results Responsive */
@media (max-width: 768px) {
    .search-results {
        max-height: 300px;
    }
    
    .search-results-content {
        padding: 12px;
    }
    
    .search-item-link {
        padding: 10px 12px;
    }
    
    .search-item-title {
        font-size: 13px;
    }
    
    .search-item-meta {
        font-size: 11px;
    }
}

@media (max-width: 600px) {
    .search-results {
        position: fixed;
        top: 120px;
        left: 20px;
        right: 20px;
        max-height: calc(100vh - 140px);
    }
}

/* Header Layout Adjustments */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 80px;
}

.header-left {
	display: flex;
	align-items: center;
	margin-right: 40px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Main content dimming when filters are open */
.catalog-container.dimmed,
main.dimmed,
.site-content.dimmed {
    /* Remove dimming effect */
    filter: none;
    transition: none;
}

/* Ensure filters modal is above dimmed content */
.filters-modal {
    z-index: 9999;
}

/* Fix padding issue */
.filters-modal {
    padding: 0;
}

/* Auth Modal */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-modal.active {
    display: flex;
}

.auth-modal__content {
    background: #2A2627;
    border-radius: 16px;
    max-width: 400px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Auth Form */
.auth-form {
    padding: 0;
}

.auth-form__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0px 24px 0 24px;
	margin-bottom: 24px;
	text-align: center;
	justify-content: center;
	position: relative;
}

.auth-form__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0px 0 0 0px;
	margin-bottom: 5px;
	text-align: center;
	justify-content: center;
	position: relative;
}

.auth-modal__close {
	background: none;
	border: none;
	color: #888;
	cursor: pointer;
	padding: 8px;
	border-radius: 8px;
	transition: all 0.2s ease;
	font-size: 24px;
	line-height: 1;
	position: absolute;
	right: 20px;
}

.auth-modal__close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.auth-form__body {
    padding: 0 24px 24px 24px;
}

/* Form Groups */
.form-group {
	margin-bottom: 20px;
	position: relative;
}

.form-group label {
	display: block;
	color: #999;
	font-weight: 500;
	margin-bottom: 8px;
	font-size: 14px;
	position: absolute;
	z-index: 11;
	top: 13px;
	left: 14px;
}
.form-group label a{
    color: #ccc;
}

.form-group input {
	width: 100%;
	padding: 12px 16px;
	background: #131011;
	border: 0px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	color: #fff;
	font-size: 16px;
	transition: all 0.2s ease;
	box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #E4285B;
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Password Field */
.password-field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.password-field input {
    flex: 1;
}

.forgot-link {
	background: none;
	border: none;
	color: #999999;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	padding: 0;
	white-space: nowrap;
	transition: color 0.2s ease;
	position: absolute;
	right: 20px;
}

.forgot-link:hover {
    color: #ff5c8a;
}

/* Auth Buttons */
.auth-btn {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px !important;
}

.auth-btn--primary {
    background: #E4285B;
    color: #fff;
}

.auth-btn--primary:hover {
    background: #ff5c8a;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(228, 40, 91, 0.3);
}
.auth-btn--secondary {
	background: #fff;
	color: #000;
}

.auth-btn--secondary:hover {
	background: #fff;
}

/* Auth Divider */
.auth-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.auth-divider span {
    background: #2A2627;
    padding: 0 16px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    position: relative;
    z-index: 1;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 20px;
}

.auth-link {
    color: #E4285B;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: #ff5c8a;
}

.auth-disclaimer {
    color: #999;
    font-size: 12px;
    margin: 12px 0 0 0;
    line-height: 1.4;
}
.auth-disclaimer a {
	color: #ccc;
}

/* Recovery Form */
.recovery-text {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 480px) {
    .auth-modal__content {
        margin: 20px;
        max-height: calc(100vh - 40px);
    }
    
    .auth-form__header,
    .auth-form__body {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Dynamic Filters */
.filters-loading,
.filters-error,
.no-filters {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.7);
}

.filters-error {
    color: #ff6b6b;
}


.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 100px;
}

.filter-group-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-option {
	display: flex;
	align-items: center;
	gap: 5px;
	cursor: pointer;
	padding: 2px 0;
	transition: all 0.2s ease;
}

.filter-option:hover {
	border-radius: 10px;
	margin: 0;
}

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #E4285B;
    cursor: pointer;
}

.filter-label {
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	flex: 1;
	margin: 0;
}

.filter-count {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 400;
}

.filter-select {
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: #E4285B;
}

.filter-select option {
    background: #2A2627;
    color: #fff;
}

.filters-actions {
	display: flex;
	gap: 12px;
	margin-top: 0;
	padding: 10px 0;
}

.filters-apply,
.filters-clear {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filters-apply {
    background: #E4285B;
    color: #fff;
}

.filters-apply:hover {
    background: #ff5c8a;
    transform: translateY(-1px);
}

.filters-clear {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.filters-clear:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Search and Sort Filters */
.search-group,
.sort-group {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.filter-search {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    transition: all 0.2s ease;
}

.filter-search:focus {
    outline: none;
    border-color: #E4285B;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(228, 40, 91, 0.1);
}

.filter-search::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.sort-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.sort-field,
.sort-order {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sort-field label,
.sort-order label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.categories-group {
    margin-top: 20px;
}

.filter-subgroup {
	margin-bottom: 20px;
	padding: 10px;
}

.filter-subgroup-title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive adjustments for sort options */
@media (max-width: 480px) {
    .sort-options {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Filter Modal Updates */
.filters-modal__body {
    max-height: 100%;
    overflow-y: auto;
    padding: 0 24px;
    height: 100vh;
}

.filters-modal__footer {
	padding: 10px 20px;
	background: rgba(0, 0, 0, 0.1);
	border-radius: 0 0 0 10px;
}

.filter-results {
    text-align: center;
    margin-bottom: 16px;
}



.filters-actions {
    display: flex;
    gap: 12px;
    width: 100%;
}

.filters-apply {
	flex: 1;
	padding: 12px 20px;
	background: #fff;
	border: 1px solid #4CAF50;
	border-radius: 10px;
	color: #000;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.filters-apply:hover {
    background: #45a049;
    border-color: #45a049;
}

.filters-clear {
	flex: 1;
	padding: 12px 20px;
	background: rgba(255,255,255,.1);
	border: 0px solid;
	border-radius: 10px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.filters-clear:hover {
    background: #e55a2b;
    border-color: #e55a2b;
}

/* Old tags-and-filters-container styles removed */

/* Old popular-tags styles removed */

/* Selected Filters Styles */
.selected-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.selected-filters-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.selected-filter-item {
	display: inline-flex;
	align-items: center;
	background: #fff;
	color: #000;
	padding: 0;
	border-radius: 10px;
	font-size: 12px;
	gap: 6px;
	transition: background-color 0.2s ease;
	border: 0;
	padding: 0px 0px 0px 20px;
}

.selected-filter-item:hover {
    background: #f0f0f0;
}



.selected-filter-remove:hover {
    background: rgba(255, 255, 255, 0.2);
}

.selected-filter-remove::before {
    content: '×';
    font-weight: bold;
}


.wp-block-aab-group-accordion {
	border-radius: 10px;
}
.wp-block-aab-accordion-item {
	position: relative;
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
}
.wp-block-aab-accordion-item .aagb__accordion_head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	outline: 0;
	padding: 0px 30px 10px 20px !important;
	border-top: 1px solid #393939 !important;
}
.page-content .entry-content h5 {
	font-size: 1.2rem;
	margin: 20px 0px 10px 0px;
	color: #fff;
}
.entry-content .wp-block-aab-group-accordion .wp-block-aab-accordion-item.aagb__accordion_active {
	background: transparent !important;
	border: 0 !important;
	color: #999;
	padding: 0 !important;
}
.wp-block-aab-accordion-item .aagb__accordion_body {
	display: none;
	padding: 0px 20px 20px 5px !important;
}
.aagb__icon.dashicons::before {
	content: "+";
	font-size: 30px;
	color: #fff;
}
.aagb__accordion_head.aab_right_icon.active .aagb__icon.dashicons::before {
	content: "---";
	font-size: 30px;
	letter-spacing: -4px;
}
.wp-block-aab-accordion-item:first-child div {
	border: 0 !important;
}
.wp-block-column {
	border-radius: 10px;
	padding: 40px;
}
.wp-block-aab-accordion-block {
	border-radius: 0px !important;
	border-top: 1px solid rgba(255,255,255, .2) !important;
}
.wp-block-aab-accordion-block .aab__accordion_head.aab_right_icon {
	flex-direction: row;
	background: transparent !important;
}
.wp-block-aab-accordion-item .aagb__accordion_head {

	background: transparent !important;
}
.page-content .entry-content h5.aagb__accordion_title {
	font-size: 1rem;
}
.wp-block-aab-accordion-item .aagb__accordion_head {
	padding: 10px 30px 10px 5px !important;
	border-top: 1px solid #393939 !important;
}
.entry-content .wp-block-aab-group-accordion .wp-block-aab-accordion-item {
	font-size: 1rem;
}
.page-content .entry-content h4.wp-block-heading {
	font-size: 1.5rem;
	margin-top: 0;
}

/* Filters Preloader Styles */
.filters-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    min-height: 200px;
}

.filters-preloader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.preloader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(228, 40, 91, 0.2);
    border-top: 3px solid #E4285B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.preloader-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 400;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Models Grid Preloader */
.models-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    min-height: 70vh;
    width: 100%;
    text-align: center;
    position: relative;
}

.models-preloader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.models-preloader .preloader-spinner {
    width: 40px;
    height: 40px;
    border-width: 3px;
}

.models-preloader .preloader-text {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* Lazy Loading Image Styles */
.model-card__image {
    transition: opacity 0.3s ease;
}

.model-card__image.loading {
    opacity: 0.5;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Old popular-tags styles removed */

/* Filter Categories */
.filter-category {
    margin-bottom: 20px;
    width: 100%;
}

.category-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.filter-subcategory {
    margin-bottom: 15px;
    margin-left: 15px;
}

.subcategory-title {
	color: #fff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    opacity: 0.9;
}
/* Old popular-tags styles removed */
/* Old popular-tags styles removed */

/* XCams Styles */
.xcams-section {
	margin: 40px 0;
	padding: 20px;
	background: rgba(255, 255, 255, 0.02);
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.xcams-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.xcams-header h2 {
	color: #fff;
	font-size: 24px;
	font-weight: 600;
	margin: 0;
}

.xcams-toggle {
	background: #2196F3;
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 8px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
}

.xcams-toggle:hover {
	background: #1976D2;
	transform: translateY(-1px);
}

.xcams-filters {
	display: none;
	margin-bottom: 30px;
}

.filter-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-bottom: 20px;
}

.filter-group {
	padding: 15px;
    margin-bottom: 10px;
}

.filter-group label:first-child {
	color: #fff;
	font-weight: 500;
	margin-bottom: 0px;
	font-size: 14px;
}

.checkbox-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.checkbox-group label {
	display: flex;
	align-items: center;
	color: rgba(255, 255, 255, 0.8);
	font-size: 13px;
	cursor: pointer;
	transition: color 0.2s ease;
}

.checkbox-group label:hover {
	color: #fff;
}

.checkbox-group input[type="checkbox"] {
	margin-right: 8px;
	accent-color: #2196F3;
}

.filter-actions {
	display: flex;
	gap: 15px;
	justify-content: center;
	margin-top: 20px;
}

.btn-primary, .btn-secondary {
	padding: 12px 24px;
	border-radius: 8px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	border: none;
	font-size: 14px;
}

.btn-primary {
	background: #2196F3;
	color: #fff;
}

.btn-primary:hover {
	background: #1976D2;
	transform: translateY(-1px);
}

.btn-secondary {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
	background: rgba(255, 255, 255, 0.15);
}

.xcams-results {
	min-height: 200px;
}

.xcams-loading, .xcams-error, .xcams-no-results {
	text-align: center;
	padding: 40px 20px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 16px;
}

.xcams-error {
	color: #f44336;
	background: rgba(244, 67, 54, 0.1);
	border-radius: 8px;
	border: 1px solid rgba(244, 67, 54, 0.2);
}

.xcams-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.xcam-item {
	background: rgba(255, 255, 255, 0.03);
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: all 0.3s ease;
}

.xcam-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
	border-color: rgba(255, 255, 255, 0.15);
}

.xcam-image {
	position: relative;
	aspect-ratio: 4/3;
	overflow: hidden;
}

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

.xcam-item:hover .xcam-image img {
	transform: scale(1.05);
}

.xcam-status {
	position: absolute;
	top: 8px;
	right: 8px;
	padding: 4px 8px;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
}

.xcam-status.online {
	background: #4CAF50;
}

.xcam-status.private {
	background: #FF9800;
}

.xcam-status.group {
	background: #9C27B0;
}

.xcam-info {
	padding: 15px;
}

.xcam-nickname {
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	margin: 0 0 8px 0;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

.xcam-details {
	display: flex;
	gap: 10px;
	color: rgba(255, 255, 255, 0.6);
	font-size: 12px;
}

.xcam-actions {
	padding: 0 15px 15px;
}

.xcam-chat-btn {
	display: block;
	width: 100%;
	padding: 10px;
	background: #2196F3;
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	text-align: center;
	font-weight: 500;
	font-size: 14px;
	transition: all 0.3s ease;
}

.xcam-chat-btn:hover {
	background: #1976D2;
	transform: translateY(-1px);
	color: #fff;
}

.xcams-pagination {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 20px;
}

.xcams-page-btn {
	padding: 8px 12px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.xcams-page-btn:hover {
	background: rgba(255, 255, 255, 0.15);
}

.xcams-page-btn.active {
	background: #2196F3;
	border-color: #2196F3;
}

/* Responsive Design */
@media (max-width: 768px) {
	.xcams-header {
		flex-direction: column;
		gap: 15px;
		align-items: stretch;
	}
	
	.xcams-toggle {
		width: 100%;
	}
	
	.filter-row {
		grid-template-columns: 1fr;
	}
	
	.xcams-grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 15px;
	}
	
	.filter-actions {
		flex-direction: column;
	}
}

/* Enhanced Model Card Info Styles */
.model-card__basic-info,
.model-card__attributes,
.model-card__features,
.model-card__preferences {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 2px;
}

.model-info-item,
.model-attr-item,
.model-feature,
.model-pref {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    padding: 0;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    white-space: nowrap;
}



/* Responsive adjustments for model info */
@media (max-width: 768px) {
    .model-card__basic-info,
    .model-card__attributes,
    .model-card__features,
    .model-card__preferences {
        gap: 6px;
    }
    
    .model-info-item,
    .model-attr-item,
    .model-feature,
    .model-pref {
        font-size: 10px;
        padding: 3px 6px;
    }
}

/* Tags and Filters Container - 50/50 Split */
.tags-and-filters-container {
    display: flex;
    gap: 20px;
    width: 100%;
}

/* Popular tags + Selected filters layout */
.tags-and-filters-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.popular-tags-section,
.selected-filters-section {
    min-width: 0;
}

/* Popular tags take full width by default */
.popular-tags-section {
    flex: 1 1 auto;
    min-width: 0; /* Allow shrinking */
    width: 100%; /* Full width by default */
}

/* Selected filters hidden by default */
.selected-filters-section {
    display: none; /* Hidden by default */
    flex: 0 0 auto;
    justify-content: flex-end;
    margin-left: 10px;
}

/* When selected filters are visible, adjust layout */
.tags-and-filters-container.has-selected-filters .popular-tags-section {
    flex: 0 0 70% !important; /* 70% width when selected filters are present */
    max-width: 70% !important;
    width: 70% !important;
}

.tags-and-filters-container.has-selected-filters .selected-filters-section {
    display: flex !important; /* Show when selected filters are present */
    flex: 0 0 30% !important; /* 30% width */
    max-width: 30% !important;
    width: 30% !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* When JS detects selected filters */
.selected-filters-section.is-visible {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure selected filters are always visible when there are active filters */
.selected-filters-section:has(.selected-filter-item) {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}


.selected-filters-section.is-visible {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Popular Tags Styles */
.popular-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.tags-label,
.filters-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 10px 0;
}

.filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
}

.filters-toggle-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.filters-toggle-btn:hover {
    color: rgba(255, 255, 255, 1);
}

.filters-toggle-btn svg {
    transition: transform 0.2s ease;
}

.selected-filters-content {
    width: 100%;
    margin-top: 8px;
}

.tags-container,
.selected-filters-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
}

.tags-overflow-btn,
.filters-overflow-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 32px;
    height: 32px;
    margin-left: 20px; /* Fixed margin */
}

.tags-overflow-btn:hover,
.filters-overflow-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.tags-overflow-btn svg,
.filters-overflow-btn svg {
    width: 12px;
    height: 12px;
    transition: transform 0.3s;
}

.tags-overflow-btn:hover svg,
.filters-overflow-btn:hover svg {
    transform: rotate(180deg);
}

/* Dropdown Menus */
.tags-dropdown, 
.filters-dropdown {
	position: absolute;
	top: 100%;
	left: auto;
	right: 0;
	background: #2A2428;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	padding: 10px;
	z-index: 1000;
	display: none;
	transform: translateY(10px);
	transition: all 0.3s ease;
	margin-top: 5px;
	width: 400px;
}
.tags-dropdown.show, 
.filters-dropdown.show {
	display: block !important;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* Show dropdown when is-open class is present */
.tags-dropdown.is-open,
.filters-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown content styling */
.tags-dropdown-content,
.filters-dropdown-content {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags-dropdown-content .tag,
.filters-dropdown-content .selected-filter-item {
    margin: 0;
}

/* Selected Filters Styles */
.selected-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    flex-wrap: nowrap;
}




.selected-filter-item .remove-filter {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.selected-filter-item .remove-filter:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.selected-filter-item .remove-filter svg {
    width: 10px;
    height: 10px;
}

/* GDPR Cookie Notice Styles */
.gdpr-cookie-notice {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #2A2428;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.gdpr-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.gdpr-text {
    flex: 1;
    min-width: 300px;
}

.gdpr-text h4 {
    color: #fff;
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
}

.gdpr-text p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.gdpr-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.gdpr-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.gdpr-btn-primary {
    background: #E4285B;
    color: #fff;
}

.gdpr-btn-primary:hover {
    background: #C41E4A;
    transform: translateY(-1px);
}

.gdpr-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gdpr-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gdpr-btn-link {
    background: none;
    color: #E4285B;
    text-decoration: underline;
    padding: 10px 0;
}

.gdpr-btn-link:hover {
    color: #C41E4A;
}

/* GDPR Modal */
.gdpr-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gdpr-modal-content {
    background: #2A2428;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.gdpr-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gdpr-modal-header h3 {
    color: #fff;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.gdpr-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.gdpr-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.gdpr-modal-body {
    padding: 20px;
}

.gdpr-cookie-category {
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gdpr-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.gdpr-category-header h4 {
    color: #fff;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.gdpr-cookie-category p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

/* Toggle Switch */
.gdpr-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.gdpr-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.gdpr-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    border-radius: 24px;
}

.gdpr-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.gdpr-toggle input:checked + .gdpr-slider {
    background-color: #E4285B;
}

.gdpr-toggle input:checked + .gdpr-slider:before {
    transform: translateX(26px);
}

.gdpr-toggle input:disabled + .gdpr-slider {
    background-color: #E4285B;
    opacity: 0.6;
    cursor: not-allowed;
}

.gdpr-modal-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

html.pum-open.pum-open-overlay.pum-open-scrollable .pum-overlay.pum-active {
	background: rgba(0,0,0,.5);
}
.pum-container.popmake {
	border-radius: 10px !important;
	padding: 30px;
	text-align: center;
	width: 420px !important;
	margin: auto !important;
	top: 70px !important;
	/* bottom: 10px; */
	left: 0 !important;
	right: 0;
}
.wpcf7-form-control-wrap input, .wpcf7-form-control-wrap textarea {
	padding: 10px 10px;
	border-radius: 10px;
	border: 1px solid #999;
	width: 100%;
}
.wpcf7-form-control.wpcf7-submit.has-spinner {
	background: #E4285B;
	padding: 14px 20px;
	border-radius: 10px;
	border: 0;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
}

.pum-container .pum-content + .pum-close {
    height: 60px;
	width: 60px;
    font-weight: 600;
    letter-spacing: 3px;
	font-size: 10px;
	border-radius: 60px !important;
	right: -25px !important;
	top: -25px !important;
	background: #e4285b !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tags-and-filters-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .popular-tags-section,
    .selected-filters-section {
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .tags-container,
    .selected-filters-container {
        flex-wrap: wrap;
    }
    
    /* On mobile, selected filters take full width when visible */
    .tags-and-filters-container.has-selected-filters .selected-filters-section {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
    }
    
    .tags-and-filters-container.has-selected-filters .popular-tags-section {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
    }
    
    .gdpr-cookie-notice {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    
    .gdpr-content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .gdpr-text {
        min-width: auto;
    }
    
    .gdpr-actions {
        justify-content: center;
    }
    
    .gdpr-modal-content {
        margin: 10px;
        max-height: 90vh;
    }
    
    .gdpr-modal-footer {
        flex-direction: column;
    }
}


/* Responsive header */
@media (max-width: 810px) {
    .header-container,
    .site-main {
        padding: 0 15px;
    }
    .header-right {
        display: flex;
        gap: 0;
    }
    .header-left {
        max-width: 80px;
        display: block;
        margin-right: 0;
        margin-top: 30px;
    }
    .header-left svg {
        width: 90px;
    }
    .header-right svg {
        width: 16px;
        height: 16px;
    }
    .language-dropdown svg {
        width: 10px;
    }
    .header-right {
        margin-top: 20px;
    }
    .header-top {
        padding: 0px 0px;
    }
    .help-text,
    .credits-section {
        display: none;
    }
    .header-search {
        display: none;
    }
    .tags-label, .filters-label {
        display: none;
    }
    .tags-and-filters-container {
        gap: 5px;
    }
    /* Mobile: stack sections */
    .tags-and-filters-container {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .popular-tags-section {
        width: 100%;
    }
    .selected-filters-section {
        width: 100%;
        max-width: 100%;
        flex: 0 0 auto;
        justify-content: flex-start;
    }
    .tags-dropdown.show {
        right: 20px;
        width: 260px;
        top: -80px;
    }
    #selected-filters-dropdown {
        transform: translateY(13px) translateX(-30px);
        width: 205px;
    }
}