/*
Theme Name: Therapist Theme
Theme URI: 
Author: Antigravity
Author URI: 
Description: A custom, calm, and minimal WordPress theme for a therapist, powered by ACF PRO.
Version: 1.0.0
Text Domain: therapist-theme
*/

/* 
 * 8. UX / Design Guidelines: Soft colors (white, beige, light green, pastel tones), Calm typography 
 */
:root {
    --color-primary: #8CA392;
    /* Light calm green */
    --color-secondary: #E3DAC9;
    /* Beige */
    --color-background: #FAFAFA;
    /* Off-white */
    --color-text: #333333;
    --color-heading: #222222;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    color: var(--color-heading);
    font-weight: 400;
    margin-top: 0;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #6C8172;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-xl) 0;
}

.btn,
.button {
    display: inline-block;
    background-color: var(--color-primary);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
}

.btn:hover,
.button:hover {
    background-color: var(--color-primary);
    filter: brightness(1.15) saturate(0.85);
    color: #fff;
}

/* Utilities */
.text-center {
    text-align: center;
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

/* Social Media Hover Scaling */
.header-socials a,
.footer-socials a {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.header-socials a:hover,
.footer-socials a:hover {
    transform: scale(1.3);
    color: var(--color-primary);
}

/* Header Styles */
.site-header {
    background-color: var(--color-background);
    padding: 0.5rem 0;
    border-bottom: 1px solid #eaeaea;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

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

.site-logo img {
    max-width: 80px;
    height: auto;
    display: block;
    transition-duration: 0.3s;
}

.site-header.scrolled .site-logo img {
    max-width: 60px;
}

.site-title {
    font-size: 1.5rem;
    margin: 0;
}

.site-title a {
    color: var(--color-heading);
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--spacing-md);
    margin-left: 2rem;
}

.main-navigation a {
    color: var(--color-text);
    font-weight: 600;
}

.main-navigation a:hover {
    color: var(--color-primary);
}

/* Dropdown Menu CSS */
.main-navigation ul li {
    position: relative;
}

.main-navigation ul ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    gap: 0;
    min-width: 220px;
    padding: 10px 0;
    border-radius: 4px;
    z-index: 1000;
}

.main-navigation ul li:hover>ul.sub-menu {
    display: flex;
}

.main-navigation ul ul.sub-menu li {
    width: 100%;
}

.main-navigation ul ul.sub-menu a {
    display: block;
    padding: 8px 20px;
    color: var(--color-text);
    font-weight: 400;
}

.main-navigation ul ul.sub-menu a:hover {
    background-color: #f9f9f9;
    color: var(--color-primary);
}

.header-socials {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text);
    cursor: pointer;
    padding: 5px;
}

main {
    overflow: hidden;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        order: 2;
    }

    .language-switcher {
        margin-left: auto !important;
        margin-right: 0.5rem !important;
    }

    .header-socials {
        display: none;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        padding: var(--spacing-sm);
        padding-bottom: 0.25rem;
    }

    .main-navigation.toggled {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        margin-left: 0;
    }

    .main-navigation ul li {
        width: 100%;
    }

    .main-navigation ul a {
        display: block;
        padding: 10px;
        border-bottom: 1px solid #eaeaea;
    }

    .main-navigation ul li:last-child a {
        border-bottom: none;
    }

    .main-navigation ul ul.sub-menu {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        display: none;
    }

    .main-navigation ul li.menu-item-has-children.open>ul.sub-menu {
        display: flex;
    }
}

/* Footer Styles */
.site-footer {
    background-color: var(--color-secondary);
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.footer-logo img {
    max-width: 120px;
    height: auto;
    margin-bottom: var(--spacing-sm);
}

.footer-socials {
    margin-bottom: var(--spacing-sm);
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: var(--spacing-sm);
}

.footer-socials a {
    color: var(--color-heading);
    font-weight: 600;
}



/* Extracted from page-about.php */
/* Hero Banner */
.about-hero {
    position: relative;
    height: 420px;
    background: url('<?php echo esc_url($hero_bg_url); ?>') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.about-hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 700px;
    padding: 0 var(--spacing-md);
}

.about-hero-content h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: var(--spacing-sm);
}

.about-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Intro split section */
.about-intro {
    padding: var(--spacing-xl) 0;
    background: #fff;
}

.about-intro .about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

@media(min-width: 768px) {
    .about-intro .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-intro-img img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    max-height: 480px;
}

.about-intro-text h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.about-intro-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: var(--spacing-sm);
}

/* Values section */
.about-values {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-secondary);
}

.about-values h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

@media(min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-card {
    background: #fff;
    border-radius: 10px;
    padding: var(--spacing-md);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.value-card h3 {
    margin-bottom: 0.5rem;
}

.value-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Formation section */
.about-formation {
    padding: var(--spacing-xl) 0;
    background: #fff;
}

.about-formation .about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

@media(min-width: 768px) {
    .about-formation .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-formation-img img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    max-height: 400px;
}

.timeline {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0 0 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-primary);
    opacity: 0.3;
}

.timeline li {
    padding-left: 40px;
    position: relative;
    margin-bottom: var(--spacing-sm);
}

.timeline li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-primary);
}

.timeline li strong {
    display: block;
    color: var(--color-primary);
    font-size: 0.9rem;
}

.timeline li span {
    font-size: 1rem;
    color: var(--color-text);
}

/* CTA section */
.about-cta {
    padding: var(--spacing-xl) 0;
    background: var(--color-primary);
    text-align: center;
}

.about-cta h2 {
    color: #fff;
    margin-bottom: var(--spacing-sm);
}

.about-cta p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.about-cta .btn {
    background: #fff;
    color: var(--color-primary);
}

.about-cta .btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Extracted from page-contact.php */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

@media(min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info {
    background: #fff;
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-info-item {
    margin-bottom: 1.5rem;
}

.contact-info-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.contact-form-wrapper {
    background: #fff;
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Basic CF7 styling */
.wpcf7-form-control {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-sans);
}

.wpcf7-submit {
    background-color: var(--color-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wpcf7-submit:hover {
    background-color: var(--color-primary);
    filter: brightness(1.15) saturate(0.85);
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 8px;
    margin-top: var(--spacing-lg);
}

/* Extracted from page-therapies.php */
.therapies-list-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

@media(min-width: 768px) {
    .therapies-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.therapy-list-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.therapy-list-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.therapy-list-content {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.therapy-list-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.therapy-list-desc {
    flex: 1;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Extracted from single-therapies.php */
.single-therapy-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.single-therapy-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.single-therapy-img {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.single-therapy-img img {
    width: 100%;
    height: auto;
    display: block;
}

.single-therapy-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.single-therapy-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* Extracted from contact-info.php */
.home-contact-section {
    background-color: var(--color-primary);
    /* Uses theme primary color */
    color: #fff;
    padding: var(--spacing-xl) 0;
}

.hc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

@media(min-width: 768px) {
    .hc-grid {
        grid-template-columns: 1fr 2fr;
        gap: 4rem;
    }
}

.hc-photo-wrapper {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.hc-photo {
    width: 100%;
    height: auto;
    /* Create a polygon clip-path similar to the image */
    clip-path: polygon(20% 0%, 80% 0%, 100% 50%, 80% 100%, 0% 100%);
    display: block;
    background-color: #fff;
    /* fallback if transparent */
}

.hc-content {
    font-size: 1.05rem;
    line-height: 1.6;
}

.hc-title {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
}

.hc-desc {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.hc-person-name {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.hc-person-role {
    margin-bottom: 0.2rem;
}

.hc-person-subrole {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hc-contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hc-contact-links a,
.hc-contact-links span {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.hc-contact-links a:hover {
    text-decoration: underline;
}

/* Extracted from faq.php */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    margin-top: var(--spacing-md);
}

.faq-item {
    border-bottom: 1px solid #eaeaea;
    padding: 1rem 0;
}

.faq-question {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-heading);
    cursor: pointer;
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    color: #555;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Adjust if content is very long */
    margin-top: 1rem;
}

/* Extracted from hero.php */
.hero-slider {
    overflow: hidden;
    background-color: var(--color-primary);
}

.hero-slider .slick-slide {
    outline: none;
}

/* Ken Burns zoom keyframe */
@keyframes kenBurns {
    0% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

/* Animated overlay pulse */
@keyframes overlayPulse {
    0% {
        background: rgba(0, 0, 0, 0.5);
    }

    100% {
        background: rgba(0, 0, 0, 0.35);
    }
}

/* Scroll indicator bounce */
@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(10px);
        opacity: 0.4;
    }
}

/* Hero title entrance */
@keyframes heroTitleIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero subtitle entrance */
@keyframes heroSubtitleIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero CTA entrance */
@keyframes heroBtnIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-slide {
    position: relative;
    min-height: 100vh;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    animation: kenBurns 8s ease-out forwards;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    animation: overlayPulse 4s ease-in-out infinite alternate;
}

/* Animated gradient line at bottom of hero */
.hero-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-secondary), var(--color-primary), transparent);
    background-size: 200% 100%;
    animation: gradientSlide 3s linear infinite;
    z-index: 2;
}

@keyframes gradientSlide {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 0%;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: var(--spacing-md);
    max-width: 800px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    color: #fff;
    animation: heroTitleIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-sans);
    animation: heroSubtitleIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
}

.hero-content .btn {
    animation: heroBtnIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s both;
}

/* Scroll-down indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: heroSubtitleIn 1s ease 1.2s both;
    display: none;
}

.hero-scroll-indicator i {
    font-size: 1.4rem;
    animation: scrollBounce 1.6s ease-in-out infinite;
}

/* Slick Dots */
.hero-slider .slick-dots {
    position: absolute;
    bottom: 20px;
    list-style: none;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0;
    margin: 0;
}

.hero-slider .slick-dots li {
    margin: 0 5px;
}

.hero-slider .slick-dots button {
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    font-size: 0;
    line-height: 0;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: transparent;
}

.hero-slider .slick-dots button::before {
    display: none;
}

.hero-slider .slick-dots .slick-active button {
    background-color: #fff;
}

/* Extracted from intro.php */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

@media(min-width: 768px) {
    .intro-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.intro-content {
    font-size: 1.1rem;
}

/* Extracted from testimonials-loop.php */
.testimonials-slider {
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.testimonials-slider .slick-slide {
    margin: 0 15px;
    /* Spacing between slides */
    outline: none;
}

.testimonial-card {
    background-color: #fff;
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1rem;
    color: #555;
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-heading);
}

.testimonial-rating {
    color: #f5b301;
    margin-top: 0.5rem;
    font-size: 1.2rem;
}

/* Slick Dots for testimonials */
.testimonials-slider .slick-dots {
    position: absolute;
    bottom: -55px;
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.testimonials-slider .slick-dots li {
    margin: 0 5px;
}

.testimonials-slider .slick-dots button {
    background-color: #ccc;
    border: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    font-size: 0;
    line-height: 0;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: transparent;
}

.testimonials-slider .slick-dots button::before {
    display: none;
}

.testimonials-slider .slick-dots .slick-active button {
    background-color: var(--color-primary);
}

/* Extracted from therapies-loop.php */
.therapies-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

@media(min-width: 768px) {
    .therapies-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.therapy-card {
    background-color: var(--color-background);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.therapy-card:hover {
    transform: translateY(-5px);
}

.therapy-card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.therapy-card-content {
    padding: var(--spacing-sm);
    text-align: center;
}

.therapy-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.therapy-card-desc {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/*  */
.copyright {
    margin-bottom: 0;
}

/* =========================================
   Custom Polylang Flag Dropdown
   ========================================= */
.pll-custom-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.pll-custom-dropdown .pll-current {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    padding: 5px 10px;
    cursor: pointer;
    color: inherit;
    font-size: 0.85rem;
    font-family: inherit;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.pll-custom-dropdown .pll-current:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.6);
}

.pll-custom-dropdown .pll-current img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
    flex-shrink: 0;
}

.pll-custom-dropdown .pll-chevron {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.pll-custom-dropdown.open .pll-chevron {
    transform: rotate(180deg);
}

/* Dropdown list */
.pll-custom-dropdown .pll-dropdown-list {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    list-style: none;
    margin: 0;
    padding: 4px 0;
    min-width: 130px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.pll-custom-dropdown.open .pll-dropdown-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pll-custom-dropdown .pll-dropdown-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    color: #333;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.15s;
    white-space: nowrap;
}

.pll-custom-dropdown .pll-dropdown-list li a:hover {
    background: #f1f5f9;
}

.pll-custom-dropdown .pll-dropdown-list li[aria-selected="true"] a {
    font-weight: 600;
    background: #f8fafc;
    color: #1a1a1a;
}

.pll-custom-dropdown .pll-dropdown-list li img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
    flex-shrink: 0;
}