/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Theme: suited for barbershops, beauty salons & similar service businesses. Override in admin or here. */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #0d9488;
    --whatsapp-color: #25d366;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #fafaf9;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    background: var(--white);
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.navbar .container.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.75rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.nav-brand:hover .nav-brand-name {
    color: var(--primary-dark);
}

.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.nav-brand:hover .logo-img {
    transform: scale(1.03);
}

.nav-brand-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    transition: color 0.2s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
    background: #f8fafc;
}

.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-contact-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.8125rem;
    transition: color 0.2s ease;
}

.nav-contact-item:hover {
    color: var(--primary-color);
}

.nav-contact-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.nav-contact-text {
    font-weight: 500;
    color: inherit;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.mobile-menu-toggle:hover {
    border-color: var(--primary-color);
    background: #f8fafc;
}

.mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: var(--text-dark);
    border-radius: 1px;
    transition: var(--transition);
    transform-origin: center;
}

/* Hamburger to X when menu open (mobile) */
@media (max-width: 768px) {
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.65rem;
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.8125rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.lang-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.lang-arrow {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.language-switcher.active .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--white);
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
}

.language-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
    font-size: 0.9rem;
    border-bottom: 1px solid #f3f4f6;
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.lang-option.active {
    background: var(--primary-color);
    color: var(--white);
}

/* Currency Switcher — mirrors language-switcher styling */
.currency-switcher {
    position: relative;
}

.currency-switcher.active .lang-arrow {
    transform: rotate(180deg);
}

.currency-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.currency-btn {
    min-width: 3.5rem;
    justify-content: center;
}

.currency-dropdown {
    min-width: 160px;
}

.currency-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Service price badge in appointment form */
.service-price-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.4rem;
    padding: 0.3rem 0.75rem;
    background: linear-gradient(135deg, #fff7ed, #fef3c7);
    border: 1px solid #fbbf24;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1d4ed8;
}

.currency-rate-date {
    font-size: 0.7rem;
    color: #94a3b8;
    padding: 0.35rem 1rem 0.5rem;
    border-top: 1px solid #f3f4f6;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Hero Slider – image fills entire section, no bars */
.hero.hero-slider-section {
    padding: 0;
    background: transparent;
    min-height: 0;
}
.hero.hero-slider-section::before {
    display: none;
}

.hero-slider-section {
    padding: 0;
    min-height: 70vh;
}

.hero-slider-wrap {
    position: relative;
    width: 100%;
    min-height: 70vh;
    overflow: hidden;
}

.hero-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 70vh;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    z-index: -1;
}

.hero-slide-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.hero-slide-bg-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 1;
    padding: 2rem 1rem;
}

.hero-slide a.hero-slide-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    text-indent: -9999px;
}

.hero-slider-prev,
.hero-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.3);
    color: var(--white);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s, border-color 0.2s;
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: var(--white);
}

.hero-slider-prev {
    left: 1rem;
}

.hero-slider-next {
    right: 1rem;
}

.hero-slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.hero-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}

.hero-slider-dot:hover,
.hero-slider-dot.active {
    background: var(--white);
}

/* Hero slider: fallback when no image; button style on dark overlay */
.hero-slider-section .hero-slide-bg {
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
}
.hero-slider-section .hero-buttons .btn-primary {
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.35);
}
.hero-slider-section .hero-buttons .btn-primary:hover {
    background: rgba(0, 0, 0, 0.85);
    color: var(--white);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-whatsapp {
    background: var(--whatsapp-color);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-whatsapp-hero {
    background: var(--whatsapp-color);
    color: var(--white);
    border: 2px solid transparent;
}

.btn-whatsapp-hero:hover {
    background: #20ba5a;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-buttons .btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-buttons .btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.btn-gallery-hero {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-gallery-hero:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

.whatsapp-icon {
    font-size: 1.5rem;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

/* Same page title zone on all inner pages (Gallery, Video, Contact) */
.page-title-zone {
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0.75rem;
}

.contact-page .page-title-zone {
    margin-bottom: 0.5rem;
}

.page-title-zone .section-title {
    text-align: left;
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
}

.gallery-page,
.video-page,
.contact-page {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
}

/* Services Section */
/* Homepage gallery preview row (Galeria e Syzeve) */
.gallery-preview-section {
    padding: 2.5rem 0;
    background: var(--white);
}
.gallery-preview-section .section-title {
    text-align: center;
    margin-bottom: 0.25rem;
}
.gallery-preview-section .section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.05rem;
}
.gallery-preview-grid {
    margin-top: 1rem;
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
    .gallery-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .gallery-preview-grid {
        grid-template-columns: 1fr;
    }
}

.services {
    background: linear-gradient(180deg, var(--bg-light) 0%, #f3f4f6 100%);
    padding: 4rem 0;
}

.services .container {
    position: relative;
}

.services .section-title {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.services .section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 3rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.services-link-all {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}
.services-link-all:hover {
    text-decoration: underline;
}

.services-page .page-title-zone {
    margin-bottom: 2.5rem;
}
.services-page-intro {
    text-align: center;
    color: var(--text-light);
    font-size: 1.08rem;
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
}

/* When only one category: keep same grid pattern, no centering */
#servicesGrid.services-single-category .service-category-block {
    max-width: none;
}
#servicesGrid.services-single-category .service-category-title {
    text-align: left;
}
#servicesGrid.services-single-category .services-grid-inner {
    justify-content: start;
}

/* Services grid: 3 cols desktop, 2 tablet, 1 mobile */
.services-grid-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 0 auto;
    margin-top: 0;
}
@media (max-width: 900px) {
    .services-grid-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .services-grid-inner { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* Flat list (no categories): #servicesGrid is the grid */
#servicesGrid.services-flat-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 900px) {
    #servicesGrid.services-flat-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    #servicesGrid.services-flat-list { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* Last card in row stays in grid flow (left-aligned), no centering */

/* Card: fresh design — accent bar, soft shadow, clear hierarchy */
.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #e8ecf1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.22s ease;
    z-index: 1;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px -12px rgba(37, 99, 235, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.service-card:hover::before {
    opacity: 1;
}

.service-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(150deg, #f0f4ff 0%, #e2e8f5 100%);
}
.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.service-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-placeholder-icon {
    font-size: 2.75rem;
    line-height: 1;
    opacity: 0.55;
}

.service-card-content {
    padding: 1.35rem 1.35rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.service-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.35;
    letter-spacing: -0.02em;
}
.service-card-desc {
    font-size: 0.925rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}
.service-card-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0.5rem 0 0 0;
}

/* "Rezervo" button on each service card */
.service-card-footer {
    padding: 0 1.35rem 1.1rem;
}
.service-card-book-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1.1rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-color);
    background: #eff6ff;
    border: 1.5px solid #bfdbfe;
    border-radius: 2rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.15s;
    white-space: nowrap;
}
.service-card-book-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* "Rezervo Takimin" top banner on services page */
.services-book-banner {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}
.services-book-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 1.75rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37,99,235,0.28);
    transition: background 0.2s, transform 0.18s, box-shadow 0.18s;
}
.services-book-banner-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,99,235,0.36);
}
.services-book-banner-arrow {
    font-size: 1.1rem;
    transition: transform 0.2s;
}
.services-book-banner-btn:hover .services-book-banner-arrow {
    transform: translateX(3px);
}

/* "Rezervo Takimin" primary button in the CTA block */
.services-cta-book {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(37,99,235,0.28);
}
.services-cta-book:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 14px rgba(37,99,235,0.36);
}

/* Category blocks — clear hierarchy, centered when single */
.service-category-block {
    margin-bottom: 3rem;
}
.service-category-block:last-child {
    margin-bottom: 0;
}
.service-category-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1.5rem 0;
    padding: 0 0 0.65rem 0;
    border-bottom: 3px solid var(--primary-color);
    letter-spacing: -0.02em;
    line-height: 1.3;
}
#servicesGrid.services-multi-category .service-category-title {
    text-align: left;
}

/* Single CTA block — one friendly call-to-action after all services */
.services-cta-wrapper {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}
.services-cta-wrapper:empty {
    display: none;
}
.services-cta-block {
    text-align: center;
    padding: 1.75rem 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
}
.services-cta-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 1.25rem 0;
}
.services-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1rem;
}
.services-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 2rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.services-cta-btn:hover {
    transform: translateY(-2px);
}
.services-cta-whatsapp {
    background: var(--whatsapp-color);
    color: #fff;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
}
.services-cta-whatsapp:hover {
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
}
.services-cta-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}
.services-cta-contact {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.services-cta-contact:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.25);
}

/* Gallery Section */
.gallery {
    background: var(--bg-light);
    padding: 1.5rem 0;
}

.gallery-page {
    padding-top: 1.5rem;
    min-height: 0;
}

.gallery-page .container {
    padding-top: 0;
}

.gallery-page .section-title {
    margin-bottom: 0;
}

.gallery-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.gallery-page-header .section-title {
    margin: 0;
}

.gallery-page-header .btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.gallery-loading {
    text-align: center;
    padding: 1rem;
    color: var(--text-light);
}

.gallery-page .empty-state {
    padding: 1rem;
}

.gallery-page .products-grid {
    margin-top: 0.5rem;
}

/* Gallery preview on index (before footer) */
.gallery-preview {
    background: var(--bg-light);
    padding: 3rem 0;
}

.gallery-preview .section-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

.gallery-preview-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.gallery-preview-card {
    display: block;
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.gallery-preview-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gallery-preview-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-preview-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-preview-card-placeholder {
    font-size: 3rem;
    color: #d1d5db;
}

.gallery-preview-card-info {
    padding: 1rem;
}

.gallery-preview-card-type {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.gallery-preview-card-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.gallery-preview-card-price {
    font-weight: 600;
    color: var(--primary-color);
}

.gallery-preview-loading,
.gallery-preview-empty {
    text-align: center;
    padding: 1rem;
    color: var(--text-light);
}

.gallery-preview-actions {
    text-align: center;
}

.gallery-preview-actions .btn {
    padding: 0.75rem 2rem;
}

.admin-toggle-container {
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    display: block !important;
    visibility: visible !important;
}

.admin-toggle-container .btn {
    font-size: 1rem;
    padding: 0.875rem 2rem;
    display: inline-block !important;
    visibility: visible !important;
}

.admin-panel {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.admin-panel h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.products-list-toolbar {
    margin-bottom: 1rem;
}

.product-search-input {
    width: 100%;
    max-width: 400px;
    padding: 0.6rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
}

.product-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.products-list-wrapper {
    overflow-x: auto;
    margin-bottom: 1rem;
}

.products-list-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.products-list-table th,
.products-list-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.products-list-table th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-dark);
}

.products-list-table tbody tr:hover {
    background: #f9fafb;
}

.products-list-table .col-thumb {
    width: 56px;
    padding-right: 0.5rem;
}

.product-list-thumb-link {
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    line-height: 0;
}
.product-list-thumb-link:hover .product-list-thumb {
    opacity: 0.9;
}
.product-list-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 0.5rem;
    display: block;
    transition: opacity 0.2s;
}

.product-list-thumb-placeholder {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
}

.service-list-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 0.5rem;
    display: block;
}

.products-list-table .col-name {
    font-weight: 500;
    color: var(--text-dark);
}

.products-list-table .col-type {
    color: var(--text-light);
    font-size: 0.875rem;
}

.products-list-table .col-gender {
    color: var(--text-light);
    font-size: 0.875rem;
}

.products-list-table .col-code {
    color: var(--text-light);
    font-size: 0.875rem;
}

.products-list-table .col-price {
    font-weight: 600;
    color: var(--primary-color);
}

.products-list-table .col-active {
    font-size: 0.875rem;
    color: var(--text-light);
}
.products-list-table .col-price {
    white-space: nowrap;
    font-weight: 600;
    color: var(--primary-color);
}
.products-list-table .col-actions {
    white-space: nowrap;
}

.products-list-table .btn-edit,
.products-list-table .btn-delete {
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
    margin-right: 0.25rem;
}

/* Action icon buttons: compact size to match text/status in tables and lists */
.btn-icon {
    padding: 0.25rem;
    min-width: 26px;
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.2rem;
    border-radius: 0.35rem;
}
.btn-icon svg {
    width: 14px;
    height: 14px;
    pointer-events: none;
}

/* Sortable table headers */
.products-list-table.sortable .sortable-th {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}
.products-list-table.sortable .sortable-th:hover {
    background: rgba(0,0,0,0.04);
}
.products-list-table.sortable .sortable-th::after {
    content: '\2195';
    font-size: 0.75rem;
    opacity: 0.4;
    margin-left: 0.25rem;
}
.products-list-table.sortable .sortable-th.sort-asc::after {
    content: '\2191';
    opacity: 0.9;
}
.products-list-table.sortable .sortable-th.sort-desc::after {
    content: '\2193';
    opacity: 0.9;
}

.admin-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.image-preview-container {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
    text-align: center;
}

.image-preview {
    max-width: 100%;
    max-height: 300px;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    object-fit: contain;
}

.btn-remove-image {
    padding: 0.5rem 1rem;
    background: #ef4444;
    color: var(--white);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-remove-image:hover {
    background: #dc2626;
}

.form-group input[type="file"] {
    padding: 0.5rem;
    border: 2px dashed #e5e7eb;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.form-group input[type="file"]:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.gallery-filters-wrapper {
    margin-bottom: 0.75rem;
}

/* Toggle visible on all sizes; filters collapsed by default */
.gallery-filters-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 280px;
    padding: 0.5rem 0.875rem;
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    font-size: 0.9rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s, color 0.2s;
}

.gallery-filters-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.gallery-filters-toggle::after {
    content: '▼';
    font-size: 0.65rem;
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.gallery-filters-wrapper.expanded .gallery-filters-toggle::after {
    transform: rotate(180deg);
}

.gallery-filters-inner {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 0.75rem;
    margin-top: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.2s ease;
}

.gallery-filters-wrapper.expanded .gallery-filters-inner {
    max-height: 400px;
    opacity: 1;
    padding: 0.625rem 0.75rem;
    margin-top: 0.5rem;
    border-radius: 0.5rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.25rem;
    align-items: start;
}

.gallery-filters.gallery-filters-inner {
    margin-bottom: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.filter-column {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.filter-column-title {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.filter-column .filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.filter-column .filter-buttons .filter-btn {
    flex: 0 1 auto;
    min-width: 0;
}

.filter-btn {
    padding: 0.4rem 0.75rem;
    border: 1px solid #e5e7eb;
    background: var(--white);
    border-radius: 999px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    font-size: 0.8rem;
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
    position: relative;
    z-index: 1;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.price-filter {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.price-filter label {
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
}

.price-filter input[type="range"] {
    width: 200px;
    height: 6px;
    border-radius: 3px;
    background: #e5e7eb;
    outline: none;
    -webkit-appearance: none;
}

.price-filter input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
}

.price-filter input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
}

#priceDisplay {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 120px;
    text-align: right;
}

/* Shown when gallery is opened as file:// so user opens via same origin as admin */
.gallery-origin-banner {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    color: #1d4ed8;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.gallery-origin-banner a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: underline;
}

.gallery-origin-banner a:hover {
    color: #1d4ed8;
}

/* Gallery & product cards: compact layout, less space */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: stretch;
}

.product-card {
    background: var(--white);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card-link:hover .product-name {
    color: var(--primary-color);
}

/* Fixed aspect ratio, compact */
.product-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-image > div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 2.5rem;
    color: var(--text-light);
}

.product-info {
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.product-type {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    background: var(--bg-light);
    color: var(--text-light);
    border-radius: 0.5rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.product-gender {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.15rem 0.4rem;
    background: #eef2ff;
    color: var(--primary-color);
    border-radius: 0.35rem;
    font-size: 0.65rem;
    font-weight: 500;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.product-description {
    color: var(--text-light);
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    min-height: 0;
}

.product-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: auto;
    margin-bottom: 0;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.product-actions button {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.85rem;
}

.btn-edit {
    background: var(--primary-color);
    color: var(--white);
    border-radius: 0.5rem;
}

.btn-edit:hover {
    background: var(--primary-dark);
}

.btn-delete {
    background: #ef4444;
    color: var(--white);
    border-radius: 0.5rem;
}

.btn-delete:hover {
    background: #dc2626;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.empty-state-hint {
    font-size: 0.95rem;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.empty-state .btn {
    margin-top: 0.5rem;
}

/* About + Appointment side by side */
.about-appointment {
    background: linear-gradient(180deg, #f0f5ff 0%, #f8faff 40%, #ffffff 100%);
    padding: 2.5rem 0 3rem;
}

.about-appointment-grid {
    display: flex;
    flex-direction: column;
    max-width: 620px;
    margin: 0 auto;
    min-width: 0;
}

/* ── About section: map + working hours grid ── */
.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 1.5rem;
    align-items: start;
    margin-top: 1.5rem;
}

.about-hours-card {
    background: #fff;
    border: 1px solid #e8edf6;
    border-radius: 1rem;
    box-shadow: 0 2px 14px rgba(37,99,235,0.07);
    overflow: hidden;
}

.about-hours-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.1rem 0.7rem;
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdff 100%);
    border-bottom: 1px solid #e0eaff;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e3a5f;
}

.about-hours-card .working-days-table-wrap {
    max-width: 100%;
    margin: 0;
    box-shadow: none;
    border: none;
    border-radius: 0;
}

.about-block,
/* Kutia e formës "Rezervo Takimin" – background/overlay nga Cilësimet (apply-settings.js) */
.appointment-block {
    --reserve-form-bg: none;
    --reserve-form-overlay-opacity: 0;
    background: #ffffff;
    background-image: var(--reserve-form-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    border-radius: 1.25rem;
    box-shadow: 0 4px 28px rgba(37,99,235,0.07), 0 1px 4px rgba(0,0,0,0.05);
    border: 1px solid #e8edf6;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.appointment-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #000;
    opacity: var(--reserve-form-overlay-opacity);
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}
.appointment-block > .section-title,
.appointment-block > .reserve-nearest-schedule,
.appointment-block > .appointment-form,
.appointment-block > .appointment-success-wrap {
    position: relative;
    z-index: 1;
}

.about-block .section-title,
.appointment-block .section-title {
    margin-bottom: 0;
    text-align: left;
    padding: 1.1rem 1.35rem 0.75rem;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdff 100%);
    border-bottom: 1px solid #e0eaff;
    position: relative;
    z-index: 1;
}

/* Orari më i afërt */
.reserve-nearest-schedule {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.65rem 1.35rem 0;
    padding: 0.55rem 0.9rem 0.55rem 0.8rem;
    background: #fff7ed;
    border: 2px solid #f97316;
    border-radius: 0.6rem;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
    box-shadow: 0 1px 4px rgba(249,115,22,0.10);
    text-decoration: none;
    user-select: none;
    width: fit-content;
    max-width: 100%;
    animation: nearestPulse 2.4s ease-in-out infinite;
}
@keyframes nearestPulse {
    0%, 100% { box-shadow: 0 1px 4px rgba(249,115,22,0.12); }
    50%       { box-shadow: 0 0 0 5px rgba(249,115,22,0.10), 0 1px 4px rgba(249,115,22,0.12); }
}
.reserve-nearest-schedule:hover {
    background: #ffedd5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249,115,22,0.22);
    animation: none;
}
.reserve-nearest-schedule:active {
    transform: translateY(0);
}
.reserve-nearest-schedule::before { display: none; }
.reserve-nearest-schedule .reserve-nearest-label {
    font-weight: 600;
    color: #c2410c;
}
.reserve-nearest-schedule .reserve-nearest-time {
    font-weight: 800;
    font-size: 1rem;
    color: #c2410c;
    letter-spacing: 0.01em;
}
.reserve-nearest-schedule .reserve-nearest-arrow {
    margin-left: 0.25rem;
    font-size: 0.9rem;
    color: #f97316;
    font-weight: 700;
    transition: transform 0.18s;
}
.reserve-nearest-schedule:hover .reserve-nearest-arrow {
    transform: translateX(3px);
}
.reserve-nearest-schedule[data-date=""] .reserve-nearest-arrow,
.reserve-nearest-schedule:not([data-date]) .reserve-nearest-arrow {
    display: none;
}
.reserve-nearest-schedule[data-date=""],
.reserve-nearest-schedule:not([data-date]) {
    cursor: default;
    animation: none;
    opacity: 0.75;
}
.reserve-nearest-schedule[data-date=""]:hover,
.reserve-nearest-schedule:not([data-date]):hover {
    transform: none;
    background: #fff7ed;
    box-shadow: 0 1px 4px rgba(249,115,22,0.10);
}

.about-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
    flex: 0 0 auto;
}

.about-map-wrap {
    width: 100%;
    height: 280px;
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--bg-light);
    flex: 1 1 auto;
    min-height: 200px;
}
.about-map-wrap iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.appointment-form {
    margin: 0;
    background: transparent;
    padding: 0.5rem 0 0;
    box-shadow: none;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    counter-reset: appt-step;
}

.appointment-form .form-group:last-of-type {
    flex: 1 1 auto;
}

.appointment-form button[type="submit"] {
    margin-top: auto;
    background: var(--primary-color);
    color: var(--white);
}

/* ════════════════════════════════════════════════
   CARD APPOINTMENT FORM — New Design
   ════════════════════════════════════════════════ */
.appt-hidden-select {
    display: none !important;
}

.appt-card {
    background: transparent;
    border-radius: 0;
    padding: 0.85rem 1.35rem 0.9rem;
    margin-bottom: 0;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid #f0f4ff;
    counter-increment: appt-step;
    min-width: 0;
    overflow: hidden;
}
.appt-card:last-of-type { border-bottom: none; }

.appt-card-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.7rem;
    letter-spacing: 0.01em;
}

/* Step number circle */
.appt-card-header::before {
    content: counter(appt-step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    flex-shrink: 0;
}

.appt-card-header svg {
    color: #9ca3af;
    flex-shrink: 0;
}

/* ── Service Chips ── */
.appt-chips-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.35rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.15rem;
}
.appt-chips-grid::-webkit-scrollbar { display: none; }

.appt-chips-loading {
    font-size: 0.8rem;
    color: #94a3b8;
    font-style: italic;
}

.appt-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.32rem 0.75rem;
    border-radius: 999px;
    border: 1.5px solid #e5e7eb;
    background: #f8faff;
    font-size: 0.79rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.12s;
    line-height: 1.2;
    font-family: inherit;
}

.appt-chip:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #eff6ff;
    transform: translateY(-1px);
}

.appt-chip.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}

.appt-chip.active .chip-check {
    display: inline;
}

.chip-check {
    display: none;
    font-weight: 700;
}

/* ── Service card — "needs selection" highlight ── */
.appt-card.appt-service-required {
    background: linear-gradient(160deg, #eff6ff 0%, #f8fafc 100%);
    border-bottom-color: #bfdbfe;
}
.appt-card.appt-service-required .appt-card-header {
    color: var(--primary-color);
}
.appt-card.appt-service-required .appt-card-header::before {
    background: var(--primary-color);
    animation: serviceRequiredPulse 1.8s ease-in-out infinite;
}
@keyframes serviceRequiredPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(37,99,235,0.22), 0 0 0 7px rgba(37,99,235,0.08); }
    50%       { box-shadow: 0 0 0 5px rgba(37,99,235,0.35), 0 0 0 11px rgba(37,99,235,0.12); }
}
.appt-service-hint {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.74rem;
    color: #2563eb;
    font-weight: 500;
    margin-top: 0.5rem;
    padding: 0.28rem 0.65rem;
    background: rgba(37,99,235,0.07);
    border-radius: 6px;
    border: 1px dashed rgba(37,99,235,0.25);
    width: fit-content;
}

/* ── Staff chips ── */
.appt-staff-chips {
    gap: 0.45rem;
}

.appt-staff-chip {
    flex-direction: column;
    align-items: center;
    gap: 0.18rem;
    padding: 0.5rem 0.65rem;
    border-radius: 0.75rem;
    min-width: 70px;
    text-align: center;
    background: #f8faff;
    transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.12s;
}
.appt-staff-chip:hover { transform: translateY(-2px); }

.staff-chip-photo {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e7eb;
    display: block;
}

.appt-staff-chip.active .staff-chip-photo {
    border-color: #ffffff88;
}

.staff-chip-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e8edf8;
    font-size: 0.95rem;
    font-weight: 700;
    color: #6b7280;
}

.appt-staff-chip.active .staff-chip-avatar {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

.staff-chip-name {
    font-size: 0.73rem;
    font-weight: 600;
    line-height: 1.2;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.staff-chip-role {
    font-size: 0.66rem;
    opacity: 0.72;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

/* ── 7-day date chips ── */
.appt-dates-row {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.appt-dates-row::-webkit-scrollbar { display: none; }

.appt-date-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    min-width: 2.75rem;
    flex-shrink: 0;
    padding: 0.45rem 0.25rem;
    border-radius: 10px;
    border: 1.5px solid #e5e7eb;
    background: #f8faff;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.12s;
    font-family: inherit;
}

.appt-date-chip:hover {
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.appt-date-chip.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(37,99,235,0.25);
}

.appt-date-chip.inactive {
    opacity: 0.38;
    cursor: not-allowed;
}

.appt-date-day {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #9ca3af;
    line-height: 1;
}

.appt-date-chip.active .appt-date-day {
    color: rgba(255,255,255,0.8);
}

.appt-date-num {
    font-size: 0.97rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.1;
}

.appt-date-chip.active .appt-date-num {
    color: #ffffff;
}

/* ── Time label above slots ── */
.appt-time-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0.7rem 0 0.35rem;
}

/* ── Time slots inside card ── */
.appt-card .appointment-slots-wrap {
    margin-top: 0;
}

.appt-card .appointment-slots-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.4rem;
}

.appt-card .btn-slot {
    padding: 0.36rem 0.75rem;
    font-size: 0.79rem;
    font-weight: 500;
    background: #f8faff;
    border: 1.5px solid #e5e7eb;
    color: #374151;
    border-radius: 999px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.1s;
    font-family: inherit;
}

.appt-card .btn-slot:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.appt-card .btn-slot.selected {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(37,99,235,0.22);
}

/* ── Contact inputs ── */
.appt-input {
    width: 100%;
    padding: 0.6rem 0.9rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 9px;
    font-size: 0.85rem;
    font-family: inherit;
    color: var(--text-dark);
    background: #f8faff;
    outline: none;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
    margin-bottom: 0.5rem;
    box-sizing: border-box;
    display: block;
}

.appt-input:focus {
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
}

/* ── Verify method toggle (full width) ── */
.appt-method-toggle {
    width: 100% !important;
    margin-bottom: 0.5rem;
    border-radius: 9px !important;
}

.appt-method-toggle .verify-method-btn {
    flex: 1;
    text-align: center;
    padding: 0.55rem 0.5rem;
    font-size: 0.84rem;
}

/* ── Phone input with prefix ── */
.appt-phone-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
    margin-top: 0.1rem;
    transition: border-color 0.15s;
}

.appt-phone-wrap:focus-within {
    border-color: var(--primary-color);
    background: #fff;
}

.appt-phone-prefix {
    padding: 0.68rem 0.9rem;
    font-size: 0.88rem;
    color: #374151;
    border-right: 1.5px solid #e5e7eb;
    background: #ffffff;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.3;
}

.appt-phone-field {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 0.68rem 0.9rem !important;
    font-size: 0.88rem !important;
    font-family: inherit !important;
    color: var(--text-dark) !important;
    outline: none !important;
    box-shadow: none !important;
    min-width: 0;
}

/* ── Submit button ── */
.appt-submit-btn {
    border-radius: 10px !important;
    padding: 0.82rem 1.5rem !important;
    font-size: 0.93rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.015em !important;
    margin: 0.75rem 1.35rem 0 !important;
    width: calc(100% - 2.7rem) !important;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark, #1d4ed8) 100%) !important;
    box-shadow: 0 3px 14px rgba(37,99,235,0.3) !important;
    transition: box-shadow 0.18s, transform 0.14s !important;
    display: block !important;
}
.appt-submit-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 20px rgba(37,99,235,0.38) !important;
}
.appt-submit-btn:active {
    transform: translateY(0) !important;
}

.appt-submit-note {
    text-align: center;
    font-size: 0.75rem;
    color: #94a3b8;
    margin: 0.45rem 0 0.85rem;
}

/* Verification method toggle */
.verify-method-toggle {
    display: flex;
    gap: 0;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    overflow: hidden;
    width: fit-content;
    margin-top: 0.35rem;
}
.verify-method-btn {
    padding: 0.5rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 500;
    background: #f8fafc;
    color: var(--text-light);
    border: none;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    border-right: 1px solid #d1d5db;
    line-height: 1.4;
}
.verify-method-btn:last-child { border-right: none; }
.verify-method-btn:hover { background: #f1f5f9; color: var(--text-dark); }
.verify-method-btn.active {
    background: var(--primary-color);
    color: #fff;
}

/* SMS no-verification notice */
.sms-no-verify-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 0.45rem;
    font-size: 0.85rem;
    color: #1e40af;
    margin-top: -0.25rem;
    margin-bottom: 0.25rem;
    line-height: 1.5;
}
.sms-notice-icon { flex-shrink: 0; font-size: 0.95rem; margin-top: 0.05rem; }

.appointment-verify-wrap {
    margin-top: 1rem;
    padding: 1.25rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
}
.appointment-verify-wrap .appointment-verify-label {
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
    color: var(--text-dark);
}
.appointment-verify-wrap #appointmentVerifyCode {
    font-size: 1.25rem;
    letter-spacing: 0.25em;
    text-align: center;
}
.firebase-recaptcha-wrap {
    margin-top: 0.5rem;
}

.appointment-verify-fallback {
    margin-top: 1rem;
    padding: 1rem;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 0.5rem;
}
.appointment-verify-fallback .appointment-verify-fallback-text {
    margin: 0 0 0.75rem 0;
    font-size: 0.95rem;
    color: var(--text-dark);
}
.appointment-verify-fallback .btn {
    display: block;
    width: 100%;
}

.appointment-success-wrap {
    margin-top: 1rem;
    padding: 1rem;
    background: #f0fdf4;
    border-radius: 0.5rem;
    border: 1px solid #bbf7d0;
}
.appointment-success-wrap .form-success {
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #166534;
}
.appointment-whatsapp-cta {
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
    color: var(--text-dark, #334155);
}
.appointment-success-wrap .btn-whatsapp {
    margin-top: 0.5rem;
}

.appointment-slots-wrap {
    margin-top: 0.5rem;
}
.appointment-slots-loading,
.appointment-slots-empty {
    font-size: 0.9rem;
    color: var(--text-light, #6b7280);
    margin-bottom: 0.5rem;
}
.appointment-slots-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.appointment-form .btn-slot {
    min-width: 4rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    background: var(--bg-light, #f3f4f6);
    border: 1px solid #e5e7eb;
    color: var(--text-color, #111827);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.appointment-form .btn-slot:hover {
    border-color: var(--primary-color, #2563eb);
    background: rgba(37, 99, 235, 0.08);
}
.appointment-form .btn-slot.selected {
    border-color: var(--primary-color, #2563eb);
    background: var(--primary-color, #2563eb);
    color: #fff;
}

/* ——— Rezervo takim: native-like mobile experience ——— */
@media (max-width: 768px) {
    .about-appointment-grid {
        max-width: 100%;
    }
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .about-hours-card {
        border-radius: 0.75rem;
    }
    .about-appointment {
        padding: 1.25rem 0 2rem;
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
    /* Remove container side padding so the form fills the full screen width */
    .about-appointment .container {
        padding-left: 0;
        padding-right: 0;
    }
    .about-block,
    .appointment-block {
        padding: 0;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
        border-left: none;
        border-right: none;
    }
    .appointment-block .section-title,
    .about-block .section-title {
        font-size: 1.15rem;
        font-weight: 700;
        border-radius: 0;
    }
    /* New card design mobile overrides */
    .appt-card {
        padding: 0.85rem 1rem 0.9rem;
    }
    .appt-submit-btn {
        margin-left: 1rem !important;
        margin-right: 1rem !important;
        width: calc(100% - 2rem) !important;
    }
    .appt-chip {
        padding: 0.45rem 0.85rem;
        font-size: 0.82rem;
        min-height: 38px;
    }
    .appt-date-chip {
        min-width: 2.75rem;
        padding: 0.5rem 0.25rem;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    .appt-card .btn-slot {
        min-height: 40px;
        min-width: 4.5rem;
        padding: 0.5rem 0.9rem;
        font-size: 0.84rem;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    .appt-input {
        min-height: 46px;
        font-size: 16px; /* prevents iOS zoom */
        padding: 0.7rem 0.9rem;
    }
    .appt-phone-field {
        font-size: 16px !important; /* prevents iOS zoom */
    }
    .appt-submit-btn {
        min-height: 50px !important;
        font-size: 1rem !important;
    }
    /* Legacy form-group overrides (keep for any remaining form-group usage) */
    .appointment-form .form-group {
        margin-bottom: 1.25rem;
    }
    .appointment-form input:not([type=hidden]):not(.appt-phone-field):not(.appt-input),
    .appointment-form select:not(.appt-hidden-select),
    .appointment-form textarea {
        min-height: 48px;
        padding: 0.875rem 1rem;
        font-size: 16px;
        border-radius: 0.75rem;
        border: 2px solid #e5e7eb;
        -webkit-appearance: none;
        appearance: none;
        width: 100%;
        display: block;
    }
    .appointment-form .appointment-slots-grid {
        gap: 0.625rem;
        margin-top: 0.75rem;
    }
    .appointment-form .btn-slot {
        min-height: 48px;
        min-width: 4.5rem;
        padding: 0.75rem 1rem;
        font-size: 1rem;
        font-weight: 500;
        border-radius: 0.75rem;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    .appointment-form .btn-slot.selected {
        font-weight: 600;
    }
    .appointment-form button[type="submit"] {
        min-height: 52px;
        padding: 0.875rem 1.5rem;
        font-size: 1.0625rem;
        font-weight: 600;
        border-radius: 0.75rem;
        margin-top: 0.5rem;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    .appointment-slots-loading,
    .appointment-slots-empty {
        font-size: 1rem;
        padding: 0.5rem 0;
    }
    .appointment-success-wrap {
        padding: 1.25rem;
        border-radius: 0.75rem;
    }
    .appointment-success-wrap .btn-whatsapp {
        min-height: 48px;
        padding: 0.875rem 1rem;
        font-size: 1rem;
        border-radius: 0.75rem;
    }
}

@media (max-width: 480px) {
    .about-appointment .container {
        padding-left: 0;
        padding-right: 0;
    }
    .about-block,
    .appointment-block {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        padding: 0;
    }
    .appointment-form .btn-slot {
        flex: 1 1 calc(33.333% - 0.5rem);
        min-width: calc(33.333% - 0.5rem);
    }
}

.form-group {
    margin-bottom: 1.1rem;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
}
.checkbox-label input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    cursor: pointer;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Contact Section */
.contact {
    background: var(--white);
}

/* Contact page: About section (same as index) */
.contact-about-section {
    background: var(--bg-light);
    padding: 2rem 0 2.5rem;
}
.contact-about-section .section-title {
    text-align: left;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
.contact-about-section .about-text {
    max-width: 720px;
    margin-bottom: 1.25rem;
}
.contact-about-section .about-map-wrap {
    max-width: 100%;
    height: 260px;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Contact page: two-column layout */
.contact-page .section-title.contact-page-title {
    text-align: left;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}
.contact-page-layout {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2rem;
}
.contact-info-block {
    background: var(--bg-light);
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(0,0,0,0.06);
}
.contact-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.contact-info-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.contact-info-list li:last-child {
    border-bottom: none;
}
.contact-info-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    min-width: 5.5rem;
}
.contact-info-value {
    font-size: 0.95rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}
.contact-info-value:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}
.contact-info-list .working-hours-schedule.contact-info-value {
    color: var(--text-dark);
    font-weight: 400;
}
.contact-info-li-hours {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
}
.contact-info-li-hours .working-hours-schedule {
    width: 100%;
}
.contact-cta-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-width: 220px;
}
.contact-page-whatsapp {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    white-space: nowrap;
}
.contact-social-block {
    margin-top: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contact-card {
    background: var(--bg-light);
    padding: 1.25rem 1rem;
    border-radius: 0.75rem;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.working-hours-schedule {
    color: var(--text-dark);
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
}

.working-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.working-hours-row:last-child {
    border-bottom: none;
}

.working-hours-day {
    font-weight: 500;
    color: var(--text-dark);
}

.working-hours-time {
    color: var(--text-light);
    font-size: 0.9rem;
}

.address-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: var(--transition);
}

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

.address-link p {
    margin: 0;
    transition: var(--transition);
}

.address-link:hover p {
    text-decoration: underline;
}

.contact-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 1.5rem;
    margin-top: 1rem;
}

.whatsapp-cta {
    text-align: center;
    margin-top: 0;
}

.contact-cta-row .contact-social {
    margin-top: 0;
}

.contact-cta-row .btn-whatsapp {
    padding: 0.65rem 1.25rem;
    font-size: 1rem;
}

/* Locations Section (homepage & contact page) */
.locations-section {
    background: var(--bg-light);
    padding: 3rem 0;
}

.contact-page {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}
.contact-page .locations-section-title {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.location-card {
    background: var(--white);
    padding: 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.location-card-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.location-card-name {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.location-card-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.location-map-btn {
    display: inline-block;
    margin-top: 0.5rem;
    text-decoration: none;
}

.locations-loading,
.locations-empty {
    text-align: center;
    color: var(--text-light);
    padding: 1rem;
}

.locations-empty p {
    margin: 0;
}

.locations-actions {
    text-align: center;
    margin-top: 1rem;
}

/* About standalone (full-width about + map below grid) */
.about-standalone .about-text {
    max-width: 720px;
    margin-bottom: 1.5rem;
}

/* Working Days section */
.working-days-section {
    padding: 3rem 0;
    background: var(--white);
    border-top: 1px solid #e5e7eb;
}

.working-days-section-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.working-days-table-wrap {
    max-width: 560px;
    margin: 0 auto;
    overflow-x: auto;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    border: 1px solid #e5e7eb;
}

.working-days-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.87rem;
    background: transparent;
}

.working-days-table thead {
    display: none; /* hide header — day/hours are self-explanatory */
}

.working-days-table tbody tr {
    border-bottom: 1px solid #f0f4ff;
    transition: background 0.15s;
}

.working-days-table tbody tr:last-child {
    border-bottom: none;
}

.working-days-table tbody tr:hover {
    background: #f5f8ff;
}

.working-days-table td {
    padding: 0.52rem 1rem;
    color: var(--text-dark);
    white-space: nowrap;
}

.working-days-table td:first-child {
    font-weight: 600;
    color: #374151;
    width: auto;
}

.working-days-table td:last-child {
    color: var(--primary-color);
    font-weight: 500;
    text-align: right;
}

.working-days-table .wd-closed {
    color: #d1d5db;
    font-style: italic;
    font-weight: 400;
}

/* Reviews section (Google) */
.reviews-section {
    padding: 3rem 0;
    background: var(--bg-light);
}

.reviews-section-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.reviews-loading,
.reviews-empty {
    text-align: center;
    color: var(--text-light);
    padding: 1rem 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

.review-card {
    background: var(--white);
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: var(--shadow);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
}

.review-card-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.review-card-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.review-card-avatar-initial {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    flex-shrink: 0;
}

.review-card-meta {
    flex: 1;
    min-width: 0;
}

.review-card-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.review-card-stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.15rem;
}

.review-card-stars svg {
    width: 1rem;
    height: 1rem;
    fill: #fbbf24;
}

.review-card-time {
    font-size: 0.8rem;
    color: var(--text-light);
}

.review-card-text {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-card-text.expanded {
    -webkit-line-clamp: unset;
    display: block;
}

.review-card-read-more {
    font-size: 0.85rem;
    color: var(--primary-color);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    text-decoration: underline;
    margin-bottom: 0.75rem;
}

.review-card-read-more:hover {
    color: var(--primary-dark);
}

.review-card-footer {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: auto;
}

.review-card-google-logo {
    display: inline-block;
    font-weight: 700;
    font-size: 0.85rem;
    color: #4285f4;
    letter-spacing: -0.5px;
}

.reviews-actions {
    text-align: center;
    margin-top: 1rem;
}

.btn-reviews-load-more {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 0.5rem;
    background: #e5e7eb;
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #d1d5db;
    transition: background 0.2s, color 0.2s;
}

.btn-reviews-load-more:hover {
    background: #d1d5db;
    color: var(--text-dark);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer-address {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-address-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-address-link:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-copyright {
    margin-bottom: 0.5rem;
}

.footer-powered-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.footer-powered-link:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
    padding: 0.35rem;
    border-radius: 50%;
}

.footer-social-link:hover {
    color: var(--white);
    transform: scale(1.1);
}

.footer-social-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: block;
}

.footer-social-link[style*="display: none"] {
    display: none !important;
}

/* Contact section social links */
.contact-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.75rem;
    margin-top: 0.75rem;
}

.contact-social-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-right: 0.25rem;
}

.contact-social-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.35rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid var(--primary-color);
    transition: background 0.2s, color 0.2s;
}

.contact-social-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

.contact-social-link[style*="display: none"] {
    display: none !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile nav extras: language + currency inside hamburger */
.nav-mobile-extras {
    display: none;
}

.mobile-extras-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0;
    border-bottom: 1px solid #e5e7eb;
    gap: 0.75rem;
}

.mobile-extras-row:last-child {
    border-bottom: none;
}

.mobile-extras-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.mobile-extras-btns {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.mobile-pick-btn {
    display: inline-flex !important;
    width: auto !important;
    padding: 0.35rem 0.75rem !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 999px !important;
    background: #fff !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: #374151 !important;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    font-family: inherit;
    line-height: 1.3;
    text-align: center;
}

.mobile-pick-btn:hover,
.mobile-pick-btn.active {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    /* Language + currency switchers move into hamburger menu on mobile */
    .language-switcher,
    .currency-switcher {
        display: none;
    }

    .nav-mobile-extras {
        display: block;
        padding: 0.25rem 0;
    }

    .nav-contact {
        display: none;
    }

    .logo-img {
        height: 32px;
    }

    .nav-brand-name {
        font-size: 1rem;
    }

    .nav-brand {
        min-width: 0;
    }

    .nav-brand-name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 160px;
    }

    .navbar .container.navbar-inner {
        flex-wrap: wrap;
        padding: 0.5rem 12px;
        gap: 0.5rem;
    }

    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        order: 3;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        padding: 0 1.25rem;
        margin: 0 -12px;
        background: #fafafa;
        border-top: none;
        transition: max-height 0.35s ease;
        gap: 0;
    }

    .nav-menu.active {
        max-height: 80vh;
        padding: 1rem 1.25rem 1.25rem;
        gap: 0.25rem;
        overflow-y: auto;
        border-top: 1px solid #e5e7eb;
    }

    .nav-menu li {
        list-style: none;
        margin: 0;
    }

    .nav-menu a {
        display: block;
        padding: 0.75rem 0;
        font-size: 1rem;
        border-bottom: 1px solid #e5e7eb;
        border-radius: 0;
    }

    .nav-menu li:last-child a,
    .nav-menu li:nth-last-child(2) a {
        border-bottom: 1px solid #e5e7eb;
    }
    .nav-menu > li:last-child:not(.nav-mobile-extras) a {
        border-bottom: none;
    }
    .nav-mobile-extras {
        border-top: 1px solid #e5e7eb;
        padding: 0.25rem 0;
        margin-top: 0.25rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Hero slider mobile: better button placement and content balance */
    .hero-slider-section .hero-slide-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 1.5rem 1rem 2rem;
        min-height: 320px;
    }
    .hero-slider-section .hero-slide-content .hero-title {
        margin-bottom: 0.75rem;
    }
    .hero-slider-section .hero-slide-content .hero-subtitle {
        margin-bottom: 1.25rem;
        max-height: 6.5em;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
    }
    .hero-slider-section .hero-slide-content .hero-buttons {
        margin-top: 0.25rem;
        margin-bottom: 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .appointment-form {
        padding: 1.5rem;
    }

    .hero {
        padding: 4rem 0;
    }
    .hero.hero-slider-section {
        padding: 0;
    }
    .hero-slider-section,
    .hero-slider-wrap,
    .hero-slider-track,
    .hero-slide {
        min-height: 80vh;
    }

    section {
        padding: 3rem 0;
    }

    /* Mos detyro gridun e shërbimeve në 1 kolonë këtu — përdoret .services-grid-inner me breakpoint 560px */
    .contact-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .contact-page-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .contact-cta-block {
        min-width: 0;
        width: 100%;
        align-items: stretch;
    }
    .contact-page-whatsapp {
        width: 100%;
        justify-content: center;
    }

    .admin-form-row {
        grid-template-columns: 1fr;
    }

    .gallery-filters-toggle {
        max-width: 100%;
    }

    .gallery-filters-wrapper.expanded .gallery-filters-inner {
        max-height: 380px;
    }

    .gallery-filters-wrapper.expanded .gallery-filters-inner {
        grid-template-columns: 1fr;
    }

    .price-filter {
        margin-left: 0;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .price-filter input[type="range"] {
        width: 100%;
    }

    #priceDisplay {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-slider-section .hero-slide-content {
        padding: 1.25rem 0.75rem 1.75rem;
        min-height: 300px;
    }
    .hero-slider-section .hero-slide-content .hero-subtitle {
        -webkit-line-clamp: 3;
        max-height: 5em;
    }
    .hero-slider-section .hero-slide-content .hero-buttons .btn-primary {
        width: auto;
        min-width: 160px;
        align-self: center;
    }

    .btn {
        width: 100%;
    }

    .container {
        padding: 0 15px;
    }

    .logo-img {
        height: 32px;
    }

    .nav-brand-name {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
        word-wrap: break-word;
    }

    .gallery-page-header .section-title,
    .page-title-zone .section-title {
        font-size: 1.5rem;
    }
}

/* Loading and Success States */
.form-success {
    background: var(--secondary-color);
    color: var(--white);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    text-align: center;
    animation: fadeInUp 0.5s ease;
}

.form-error {
    background: #ef4444;
    color: var(--white);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    text-align: center;
    animation: fadeInUp 0.5s ease;
}

/* ── Redesigned Contact Page ──────────────────────────────────────────────── */

/* Hero */
.contact-hero-section {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 60%, #3b82f6 100%);
    padding: 3.5rem 0 3rem;
    text-align: center;
    color: var(--white);
}
.contact-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.contact-hero-intro {
    font-size: 1.1rem;
    opacity: 0.88;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.65;
}

/* Contact Cards */
.contact-cards-section {
    background: var(--bg-light);
    padding: 3rem 0 2.5rem;
}
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.25rem;
}
.contact-card-item {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem 1.5rem 1.75rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    border: 1px solid rgba(0,0,0,0.055);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-card-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37,99,235,0.1);
}
.contact-card-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 0.35rem;
    flex-shrink: 0;
}
.contact-card-item--whatsapp .contact-card-icon-wrap {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #16a34a;
}
.contact-card-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
}
.contact-card-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    word-break: break-all;
}
a.contact-card-value:hover {
    color: var(--primary-color);
    text-decoration: underline;
}
.contact-card-whatsapp-btn {
    margin-top: 0.25rem;
    padding: 0.55rem 1.25rem;
    font-size: 0.92rem;
    word-break: normal;
}
.contact-card-hours-schedule {
    font-size: 0.88rem;
    width: 100%;
    text-align: left;
}
.contact-card-item--hours {
    align-items: center;
}
.contact-card-item--hours .contact-card-hours-schedule {
    margin-top: 0.25rem;
}
.contact-card-item--hours .working-hours-row {
    font-size: 0.85rem;
    padding: 0.2rem 0;
}

/* Social Pills Bar */
.contact-social-section {
    background: var(--white);
    padding: 1.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.07);
}
.contact-social-section .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}
.contact-social-lead {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    white-space: nowrap;
}
.contact-social-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}
.contact-social-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    border: 1.5px solid rgba(0,0,0,0.12);
    background: var(--white);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.contact-social-pill:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}
.contact-social-pill svg {
    flex-shrink: 0;
}

/* About + Map Section */
.contact-about-section {
    background: var(--bg-light);
    padding: 3rem 0;
}
.contact-about-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}
.contact-about-inner.has-map {
    grid-template-columns: 1fr 1fr;
}
#contactAboutTextBlock .section-title {
    text-align: left;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}
#contactAboutTextBlock .about-text {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 600px;
}
.about-map-wrap {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    min-height: 280px;
}
.about-map-wrap iframe {
    display: block;
    width: 100%;
    min-height: 380px;
    border: 0;
}

/* Locations Section */
.contact-locations-section {
    background: var(--white);
    padding: 3rem 0;
}
.contact-locations-section .locations-section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .contact-hero-title {
        font-size: 1.85rem;
    }
    .contact-hero-intro {
        font-size: 1rem;
    }
    .contact-about-inner.has-map {
        grid-template-columns: 1fr;
    }
    .contact-social-section .container {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .contact-hero-section {
        padding: 2.5rem 0 2rem;
    }
    .contact-hero-title {
        font-size: 1.6rem;
    }
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
    .contact-card-item {
        padding: 1.5rem 1.25rem;
    }
}
