/* CSS Variables & Theme Setup */
:root {
    /* Premium Color Palette - Pink and Red Elegant */
    --primary: #E598A9;
    /* Elegant Rose Pink */
    --primary-light: #FDF5F7;
    /* Very pale pink cream */
    --primary-dark: #C23B4E;
    /* Sophisticated Deep Red */
    --accent: #FFCBD4;
    /* Soft Blush Accent */

    --bg-light: #FEFCFD;
    /* Off-white with tiny tint of pink */
    --bg-white: #FFFFFF;

    --text-dark: #2C1A1D;
    /* Very dark wine-gray */
    --text-muted: #806A6D;
    /* Muted mauve-gray */

    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Elegant Shadows */
    --shadow-sm: 0 4px 20px rgba(194, 59, 78, 0.05);
    --shadow-md: 0 10px 40px rgba(194, 59, 78, 0.08);
    --shadow-lg: 0 20px 50px rgba(194, 59, 78, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 400;
    /* Lighter font weight for elegance */
    line-height: 1.2;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

h1 {
    font-size: 4.5rem;
    margin-bottom: 24px;
    font-weight: 300;
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-weight: 500;
}

p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Global Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* UI Elements */
.separator {
    width: 60px;
    height: 2px;
    background-color: var(--primary);
    margin: 0 auto 30px;
    border-radius: 2px;
}

.about-text .separator,
.contact-info .separator {
    margin-left: 0;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 14px 36px;
    border-radius: 4px;
    /* Sophisticated sharp corners slightly rounded */
    font-weight: 400;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    border: 1px solid var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-large {
    padding: 18px 42px;
    font-size: 1.1rem;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
}

.btn-secondary:hover {
    background-color: var(--text-dark);
    color: var(--bg-white);
}

.w-100 {
    width: 100%;
}

/* Scroll Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* Top Bar */
.top-bar {
    background-color: var(--text-dark);
    color: var(--bg-white);
    font-size: 0.85rem;
    padding: 8px 0;
    letter-spacing: 0.5px;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Flash Bar Styling */
.flash-bar {
    background: linear-gradient(90deg, var(--primary-dark), #ff4d6d);
    color: white;
    padding: 12px 0;
    text-align: center;
    position: relative;
    z-index: 999;
    animation: pulseFlash 2s infinite;
}

.flash-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.flash-icon {
    font-size: 1.2rem;
    margin-right: 5px;
}

.btn-flash {
    background: white;
    color: var(--primary-dark);
    border: none;
    padding: 6px 15px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-flash:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255,255,255,0.5);
}

@keyframes pulseFlash {
    0% { box-shadow: inset 0 0 0 0 rgba(255,255,255,0); }
    50% { box-shadow: inset 0 0 20px 0 rgba(255,255,255,0.3); }
    100% { box-shadow: inset 0 0 0 0 rgba(255,255,255,0); }
}

.top-bar a:hover {
    color: var(--primary);
}

/* Navbar update */
.navbar {
    position: fixed;
    top: 35px; /* Account for top bar */
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    background-color: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    top: 0;
    background-color: rgba(254, 252, 253, 0.95);
    backdrop-filter: blur(12px);
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 10px 20px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge span {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.section-kicker {
    display: block;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 10px;
    font-weight: 500;
}

/* Service Card Updates */
.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--primary-light);
}

.service-card .price {
    display: block;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    width: auto;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-dark);
}

.service-meta .duration {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-outline-primary {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary-dark);
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

.mt-3 { margin-top: 15px; }

.signature {
    font-family: 'Brush Script MT', cursive; /* Or any nice cursive font */
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-top: 20px;
}

@media (max-width: 992px) {
    .top-bar { display: none; }
    .navbar { top: 0; }
    .btn-sm-hide { display: none; }
    .trust-badges { justify-content: center; }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--text-dark);
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links li a {
    font-weight: 400;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Hover elegant effect */
.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 1px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

.nav-links li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background-image: url('salon_hero.png');
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(254, 252, 253, 0.95) 0%, rgba(254, 252, 253, 0.7) 50%, rgba(254, 252, 253, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding-left: 5%;
    animation: fadeUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-subtitle {
    display: inline-block;
    font-size: 1.1rem;
    color: var(--primary-dark);
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about {
    padding: 120px 0;
    background-color: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    font-size: 1.15rem;
}

.about-image-wrapper {
    position: relative;
    height: 500px;
    border-radius: 4px;
    background-image: url('skincare_services.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--primary);
    z-index: -1;
    border-radius: 4px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    max-width: 320px;
}

.glass-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.glass-card ul {
    list-style: none;
}

.glass-card li {
    margin-bottom: 16px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
}

.glass-card li:last-child {
    margin-bottom: 0;
}

.glass-card .icon {
    font-size: 1.2rem;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--primary-light);
    border-radius: 50%;
}

/* Services Section */
.services {
    padding: 120px 0;
    background-color: var(--primary-light);
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-white);
    padding: 50px 40px;
    border-radius: 4px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.service-card .price {
    display: inline-block;
    margin-top: 20px;
    font-weight: 300;
    color: var(--text-dark);
    font-size: 1.4rem;
    padding-top: 20px;
    border-top: 1px solid var(--primary-light);
    width: 100%;
}

/* Quote/Banner Section */
.banner {
    padding: 120px 0;
    background-image: linear-gradient(rgba(42, 37, 34, 0.8), rgba(42, 37, 34, 0.8)), url('salon_hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: var(--bg-white);
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.banner h2 {
    color: var(--bg-white);
    font-weight: 300;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 40px;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background-color: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.info-item {
    margin-bottom: 30px;
    font-size: 1.15rem;
    display: flex;
    flex-direction: column;
}

.info-item strong {
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 500;
}

.info-item a:hover {
    color: var(--primary-dark);
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 50px;
    border-radius: 4px;
}

.contact-form-wrapper h3 {
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 24px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--bg-white);
    font-family: inherit;
    font-size: 1.05rem;
    transition: var(--transition);
    color: var(--text-dark);
    border-radius: 4px;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary-dark);
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 60px;
    margin-bottom: 30px;
}

.footer-brand h3 {
    color: var(--bg-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-weight: 300;
}

/* Responsive */
@media (max-width: 992px) {

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-content {
        padding-left: 0;
        text-align: center;
        margin: 0 auto;
    }

    .hero-overlay {
        background: rgba(254, 252, 253, 0.85);
        /* more solid overlay for mobile readability */
    }

    h1 {
        font-size: 3.2rem;
    }

    .nav-links {
        display: none;
    }

    .about-image-wrapper {
        justify-content: center;
    }

    .glass-card {
        max-width: 90%;
        margin-bottom: -50px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    color: #2C1A1D;
    animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.4rem;
    color: #2C1A1D;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #806A6D;
    line-height: 1;
    padding: 0;
}

.modal-body {
    padding: 30px;
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.time-slot {
    padding: 12px;
    background: #fdf5f7;
    border: 1px solid #e598a9;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    color: #2c1a1d;
}

.time-slot:hover {
    background: #e598a9;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(194, 59, 78, 0.1);
}

.time-slot.busy {
    opacity: 0.5;
    background: #f8f9fa;
    border-color: #dee2e6;
    cursor: not-allowed;
    color: #806a6d;
}

.time-slot.busy:hover {
    transform: none;
    box-shadow: none;
    background: #f8f9fa;
    color: #806a6d;
}

/* New Booking Grid Styles */
.dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.date-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--primary-light);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.date-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.day-name {
    display: block;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.date-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.slots-available {
    font-size: 0.9rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.btn-select {
    background: var(--primary-light);
    color: var(--primary-dark);
    border: 1px solid var(--primary);
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
}

.date-card:hover .btn-select {
    background: var(--primary-dark);
    color: #fff;
}

.no-slots {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-white);
    border-radius: 8px;
    border: 1px dashed var(--primary);
}

/* Portfolio / Galerie */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Reviews / Recenze */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.review-card .stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.review-card p {
    font-style: italic;
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.review-card strong {
    display: block;
    color: var(--primary-dark);
    font-weight: 500;
}

/* Floating Controls Group */
.floating-controls {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.whatsapp-btn img {
    width: 35px;
    height: 35px;
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Floating Action Button */
.fab-btn {
    position: static; /* Overridden by group container */
    background-color: var(--primary-dark);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(194, 59, 78, 0.3);
    display: flex; 
    align-items: center;
    gap: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.fab-btn:hover {
    transform: scale(1.05) translateY(-5px);
    background-color: var(--text-dark);
}

/* vouchers */
.vouchers .btn-primary:hover {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
}

/* Before/After Slider */
.ba-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.ba-container {
    background: var(--bg-white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.ba-container h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.ba-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 4px;
    user-select: none;
}

.ba-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ba-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ba-before {
    z-index: 1;
}

.ba-after {
    z-index: 2;
    clip-path: inset(0 0 0 50%);
}

.ba-label {
    position: absolute;
    bottom: 20px;
    padding: 5px 12px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-radius: 2px;
    z-index: 3;
}

.ba-label-before { left: 20px; }
.ba-label-after { right: 20px; }

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #fff;
    z-index: 4;
    transform: translateX(-50%);
    pointer-events: none;
}

.ba-handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--primary-dark);
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.ba-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 5;
}

@media (max-width: 480px) {
    .ba-grid { grid-template-columns: 1fr; }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 100000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: zoom-out;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 4px;
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.lightbox .close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@media (max-width: 768px) {
    .fab-btn {
        display: flex;
    }
}