/* =========================================
   Branco - Premium Parfüm Frontend CSS
   ========================================= */

/* --- Variables --- */
:root {
    /* Color Palette - Light SaaS (Default) */
    --bg-main: #ffffff;
    --bg-secondary: #f9f9fb; 
    --bg-tertiary: #f2f2f5;
    --border-color: #e5e5eb;
    --border-strong: #d1d1d8;
    
    /* Typography - Fluid Scaling */
    --fs-h1: clamp(2.5rem, 8vw, 4.5rem);
    --fs-h2: clamp(1.8rem, 5vw, 2.5rem);
    --fs-h3: clamp(1.4rem, 4vw, 1.8rem);
    --fs-body: clamp(0.95rem, 2vw, 1.05rem);
    --fs-small: 0.85rem;

    --font-system: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);

    /* Shadows - Multi-layered for premium depth */
    --shadow-soft: 0 2px 4px rgba(0,0,0,0.02), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-heavy: 0 4px 8px rgba(0,0,0,0.04), 0 12px 32px rgba(0,0,0,0.08), 0 24px 64px rgba(0,0,0,0.12);
    --shadow-inset: inset 0 2px 4px rgba(0,0,0,0.05);

    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 8px;

    /* Light Theme Specific Colors */
    --text-primary: #111111;
    --text-secondary: #555555;
    --text-muted: #888888;
    
    --accent-color: #000000;
    --accent-hover: #333333;
    
    --badge-bg: #f2f2f5;
    --badge-text: #111111;
}

body.dark-theme {
    --bg-main: #0a0a0a;
    --bg-secondary: #141414;
    --bg-tertiary: #1f1f1f;
    --border-color: #2a2a2a;
    --border-strong: #3d3d3d;
    
    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    
    --accent-color: #ffffff;
    --accent-hover: #e0e0e0;
    
    --badge-bg: #2a2a2a;
    --badge-text: #f5f5f5;
    
    --shadow-soft: 0 4px 16px rgba(0,0,0,0.5);
    --shadow-heavy: 0 16px 48px rgba(0,0,0,0.8);
}

/* --- Basic Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-system);
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: var(--fs-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button {
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
}

img {
    max-width: 100%;
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-main {
    padding-top: 60px;
    padding-bottom: 100px;
    min-height: 50vh;
}

/* --- Navbar --- */
.site-navbar {
    position: sticky;
    top: 0;
    width: 100%;
    height: 70px;
    background: rgba(var(--bg-main), 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 900;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-brand {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-link:hover {
    color: var(--text-primary);
}

.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--border-color);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-color);
    color: var(--bg-main);
    border: 1px solid var(--accent-color);
}
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-strong);
}
.btn-secondary:hover {
    background: var(--bg-secondary);
}

.btn-block {
    width: 100%;
}

.container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Profile Header (Banner & Avatar) --- */
.profile-header {
    background: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
}

.profile-banner {
    width: 100%;
    height: 260px; /* Increased for premium look */
    background-color: var(--bg-tertiary);
    background-size: cover;
    background-position: center;
}

.profile-info-section {
    position: relative;
    padding-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-avatar-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid var(--bg-main);
    margin: -70px auto 16px auto; /* Overlap with banner */
    background: var(--bg-secondary);
    position: relative;
    z-index: 2;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

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

.profile-texts {
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.profile-name {
    font-size: 2.2rem; /* Larger and bolder */
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: -1.2px; /* Tight luxury spacing */
    margin-bottom: 6px;
}

.profile-username {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.profile-bio {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 20px auto;
    line-height: 1.6;
}

.profile-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 100px;
    background: #25D366;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
    box-shadow: 0 4px 16px rgba(37,211,102,0.25);
    margin-top: 4px;
}

.profile-whatsapp-btn i {
    font-size: 1.1rem;
}

.profile-whatsapp-btn:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

.hero-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    background: var(--badge-bg);
    color: var(--badge-text);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* --- Floating Filter Pill (Apple Niche Style) --- */
.section-title-wrap {
    margin-bottom: 24px;
    text-align: center;
}

.section-title-wrap h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -1.2px;
}

/* --- Sticky Filter Bar --- */
.sticky-filter-wrapper {
    width: fit-content;
    margin: 0 auto 32px auto; /* Centered */
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    padding: 5px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.sticky-filter-wrapper.is-pinned {
    background: color-mix(in srgb, var(--bg-main) 92%, transparent);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0;
    justify-content: center;
}

@supports (color-mix(in srgb, black, white)) {
    .site-navbar {
        background: color-mix(in srgb, var(--bg-main) 85%, transparent);
    }
    .sticky-filter-wrapper.is-pinned .floating-glass-pill {
        background: color-mix(in srgb, var(--bg-main) 80%, transparent);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
    }
}

/* --- Filter Controls & Dropdowns (Apple Style) --- */
.header-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-pills {
    display: flex;
    gap: 8px;
}

.filter-pills .pill-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    font-weight: 500;
}

.filter-pills .pill-btn.active {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.dropdown-container {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 600;
}
.dropdown-toggle:hover {
    box-shadow: var(--shadow-soft);
    border-color: var(--text-primary);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 240px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-heavy);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
    padding: 8px 0;
}

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

.dropdown-item {
    width: 100%;
    text-align: left;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.dropdown-item:hover, .dropdown-item.active {
    background: var(--bg-main);
    color: var(--text-primary);
    font-weight: 600;
}

.pill-btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.pill-btn:hover {
    color: var(--text-primary);
}

.pill-btn.active {
    background: var(--bg-main);
    color: var(--text-primary);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* --- Product Grid --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

/* --- Product Card (Shopify / Minimal style) --- */
.product-card {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
    /* Entrance Animation Base */
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s ease;
}

.product-card.reveal {
    opacity: 1;
    transform: translateY(0);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .card-image-wrapper {
    box-shadow: var(--shadow-heavy);
    border-color: var(--border-strong);
    transform: translateY(-8px);
}

.product-card:hover .card-image-wrapper img {
    transform: scale(1.08);
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--bg-main);
    color: var(--text-primary);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    z-index: 2;
}

.card-content {
    display: flex;
    flex-direction: column;
}

.card-category {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 500; /* More elegant weight */
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
    letter-spacing: -0.2px;
}

.card-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.card-col-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Mega Footer --- */
.mega-footer {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
    padding-top: 80px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin-bottom: 48px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.footer-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    color: var(--bg-main);
    border-color: var(--accent-color);
}

.footer-col.links-col .footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.footer-col.links-col ul {
    list-style: none;
}

.footer-col.links-col ul li {
    margin-bottom: 12px;
}

.footer-col.links-col ul li a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-col.links-col ul li a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-legal a {
    margin-left: 20px;
    color: var(--text-muted);
}
.footer-legal a:hover {
    color: var(--text-primary);
}

/* --- Modal Overlay / SaaS Design --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-main);
    width: 95%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 20px;
    overflow: hidden; /* Changed from overflow-y: auto */
    position: relative;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border: 1px solid var(--border-color);
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-primary);
    transition: background 0.2s;
}
.close-modal:hover {
    background: var(--border-color);
}

/* Modal Layout Desktop */
.modal-body {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 500px;
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    padding: 24px 40px;
    background: var(--bg-main);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    position: relative;
    flex-shrink: 0;
    z-index: 10;
}

.modal-image-col {
    background: var(--bg-secondary);
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-color);
}

.modal-image-col img#modalImage {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.gallery-thumbnails {
    display: flex;
    gap: 12px;
    padding: 24px;
    background: var(--bg-main);
    overflow-x: auto;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.gallery-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: var(--transition);
}
.gallery-thumb:hover {
    opacity: 0.8;
}

.gallery-thumb.active {
    opacity: 1;
    border-color: var(--text-primary);
}

.modal-details-col {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.modal-brand {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: block;
}

.modal-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.modal-price-display {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.modal-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.modal-options {
    margin-bottom: 32px;
}

.modal-select {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--bg-main);
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}
.modal-select:focus {
    border-color: var(--accent-color);
}

/* --- Floating Theme Toggle --- */
.floating-theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999;
    box-shadow: var(--shadow-heavy);
    transition: var(--transition);
}

.floating-theme-toggle:hover {
    transform: scale(1.1);
    background: var(--bg-secondary);
}

@media (max-width: 768px) {
    .floating-theme-toggle {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .profile-name {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .profile-banner {
        height: 180px;
    }
    .profile-avatar-wrapper {
        width: 120px;
        height: 120px;
        margin-top: -60px;
    }
    .profile-name {
        font-size: 1.6rem;
        letter-spacing: -0.8px;
    }
    .profile-bio {
        font-size: 0.95rem;
        padding: 0 10px;
        margin-bottom: 24px;
    }
    .profile-whatsapp-btn {
        width: 100%;
        justify-content: center;
    }
    .section-title-wrap h2 {
        font-size: 1.6rem;
    }
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 16px;
    }
    .footer-container {
        padding: 40px 24px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .modal-body {
        grid-template-columns: 1fr;
        display: block;
        min-height: unset;
        flex: 1;
        overflow-y: auto;
    }
    .modal-image-col {
        padding: 20px;
    }
    .modal-image-col img#modalImage {
        max-height: 35vh;
        width: auto;
        margin: 0 auto;
        display: block;
    }
    .modal-details-col {
        padding: 24px 20px;
    }
    .modal-footer {
        padding: 16px 20px;
        background: var(--bg-main);
        flex-shrink: 0;
        box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
        padding-bottom: calc(16px + env(safe-area-inset-bottom));
    }
    .modal-title { font-size: 1.6rem; margin-bottom: 8px; }
    .modal-price-display { font-size: 1.5rem; margin-bottom: 12px; }
    .modal-description { margin-bottom: 20px; font-size: 0.95rem; }
    .modal-options { margin-bottom: 20px; }
    .modal-content {
        margin-top: auto;
        border-radius: 24px 24px 0 0;
        max-height: 92vh;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    /* ============================
       MOBILE FILTER - TWO ROW LAYOUT
       ============================ */
    .sticky-filter-wrapper {
        width: calc(100% - 32px) !important; /* 16px margin each side */
        margin: 0 auto 16px auto !important;
        padding: 5px !important;
        border-radius: 3px !important;
    }
    .sticky-filter-wrapper.is-pinned {
        top: 8px !important;
        width: calc(100% - 32px) !important;
        border-radius: 3px !important;
        padding: 5px !important;
    }
    .header-controls {
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 0 !important;
        width: 100% !important;
    }

    /* Markalar button: full width on its own row */
    .dropdown-container {
        width: 100% !important;
        position: relative !important;
    }
    .dropdown-toggle {
        width: 100% !important;
        justify-content: center !important;
        padding: 10px 16px !important;
        font-size: 0.9rem !important;
    }
    .dropdown-menu {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        width: 100% !important;
        min-width: unset !important;
        max-height: 50vh !important;
        overflow-y: auto !important;
        border-radius: 12px !important;
        z-index: 2000 !important;
    }

    /* Filter pills: centered row below */
    .filter-pills {
        display: flex !important;
        width: 100% !important;
        justify-content: center !important;
        gap: 6px !important;
    }
    .filter-pills .pill-btn {
        flex: 1 !important;
        text-align: center !important;
        padding: 10px 8px !important;
        font-size: 0.85rem !important;
    }
}

