#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding-top: 310px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    font-size: 30px;
    font-weight: 900;
    text-align: center;
    justify-content: center;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    display: none !important;
}

.loader {
    width: 12px;
    height: 12px;
    aspect-ratio: 1;
    border-radius: 100%;
    animation: l5 1s infinite linear alternate;
    justify-content: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

@keyframes l5 {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }

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

.loaderContainer {
    display: none;
    position: absolute;
    top: 20%;
    height: 100%;
    width: 100%;
    z-index: 1;
    background-color: white;
}

.loaders {
    top: 27%;
    width: 4.8px;
    height: 4.8px;
    display: block;
    margin: 20px auto;
    position: relative;
    border-radius: 4px;
    color: #fe2972;
    background: currentColor;
    box-sizing: border-box;
    animation: animloader 0.3s 0.3s linear infinite alternate;
}

.loaders::after,
.loaders::before {
    content: '';
    box-sizing: border-box;
    width: 4.8px;
    height: 4.8px;
    border-radius: 4px;
    background: currentColor;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 15px;
    animation: animloader 0.3s 0.45s linear infinite alternate;
}

.loaders::after {
    top: -15px;
    animation-delay: 0s;
}

@keyframes animloader {
    0% {
        width: 4.8px
    }

    100% {
        width: 48px
    }
}


/* Header Css */
:root {
    --primary-color: #FE2972;
    --primary-hover: #e61e65;
    --secondary-color: #f8f8f8;
    --border-color: #e2e2e2;
    --text-color: #333;
    --text-light: #868686;
    --shadow-light: 0 1px 2px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 3px 3px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 4px 12px rgba(0, 0, 0, 0.5);
    --border-radius-sm: 5px;
    --border-radius-md: 10px;
    --border-radius-lg: 32px;
    --border-radius-circle: 50px;
    --header-height-desktop: 80px;
    --header-height-mobile: 63px;
    --transition-standard: 0.3s all ease;
    --font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    color: var(--text-color);
}

/* Header */
.top-header {
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    z-index: 100;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height-desktop);
    padding: 0 24px;
}

.home-page-logo {
    font-size: 27px;
    text-decoration: none;
    font-weight: 900;
    color: var(--primary-color);
}

.home-page-logo:hover {
    text-decoration: none;
    color: var(--primary-hover);
}

.search_bar {
    position: relative;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius-lg);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
    background: white;
    width: 70%;
    max-width: 800px;
    height: 56px;
    margin: 0 auto;
}

.search_bar:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 6px 16px rgba(0, 0, 0, 0.08);
}

#head {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.nav-location,
.nav-category,
.nav-time-search {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.25s ease,
                color 0.25s ease;
    padding: 0 20px;
    height: 100%;
    flex: 1;
    color: #717171;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
}

.nav-location,
.nav-category {
    border-right: 1px solid var(--border-color);
}

.nav-location {
    border-radius: 32px 0px 0px 32px;
    color: var(--primary-color);
    justify-content: flex-start !important;
}

.nav-category {
    justify-content: flex-start;
}

.nav-location:hover,
.nav-category:hover,
.nav-time-search:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

/* Selection transition effect */
.nav-location,
.nav-category,
.nav-time {
    transition: all 0.3s ease-in-out;
}

/* Highlight background for selected items */
.nav-location.selected,
.nav-category.selected,
.nav-time-search.selected {
    color: #000000;
}

.nav-category-text {
    position: relative;
    margin: 0;
    padding: 6px 10px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.25s ease, transform 0.2s ease;
    flex: 1;
    min-width: 0;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.nav-category-text.selected {
    margin: 0px;
    color: #222;
    transition: color 0.25s ease, transform 0.2s ease;
    font-weight: 700;
}

.nav-category-text::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 10px;
    width: 0;
    max-width: calc(100% - 20px);
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        width 0.3s ease;
    border-radius: 2px;
}

.nav-category-text.selected::after {
    width: 80%;
    transform: scaleX(1);
}

.nav-category-text:hover:not(.selected) {
    color: #222;
}

.nav-category-text:hover:not(.selected)::after {
    width: 30%;
    transform: scaleX(1);
}

.nav-location-text.selected {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    color: #222;
    font-weight: 700;
}

.nav-location-text {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
    font-size: 14px;
}

.nav-location-text.is-updating {
    opacity: 0.6;
    transform: translateY(1px);
}

.nav-time-text {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    font-size: 14px;
}

.nav-time-text.selected {
    color: #222;
    font-weight: 700;
}

.dropdown-card.selected,
.categoryOptions-dropdown-card.selected {
    background-color: rgba(254, 41, 114, 0.08);
    border-left: none;
    font-weight: 700;
    box-shadow: inset 0 0 0 2px rgba(254, 41, 114, 0.2);
}

/* Pulse animation for selection feedback */
@keyframes selection-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

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

.selection-feedback {
    animation: selection-pulse 0.3s ease-in-out;
}

/* Calendar day selected style enhancement */
.calendar-day.selected {
    background-color: var(--primary-color) !important;
    color: white !important;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(254, 41, 114, 0.3);
}

.nav-time-search {
    display: flex;
    justify-content: space-between;
    padding-right: 8px;
    border-top-right-radius: 32px;
    border-bottom-right-radius: 32px;
}

.nav-time {
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 0;
}

.searchicon {
    background: linear-gradient(135deg, #FE2972 0%, #FF385C 100%);
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    width: 40px;
    height: 40px;
    min-width: 40px;
    box-shadow: 0 2px 8px rgba(254, 41, 114, 0.3);
    position: relative;
    overflow: hidden;
}

.searchicon:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(254, 41, 114, 0.4);
}

.searchicon:active {
    transform: scale(0.95);
    box-shadow: 0 1px 4px rgba(254, 41, 114, 0.2);
}

.searchicon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.searchicon:active::after {
    animation: ripple 0.4s ease-out;
}
#search-button{
    margin-top: -5px;
}
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 0.5;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.searchicon img {
    filter: brightness(0) invert(1);
    width: 18px;
    height: 18px;
}

/* Search Popup Container */
.popup-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s linear 0.3s;
}

.top-header.active .popup-container {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s linear 0s;
}

/* Popup Sections */
.popup-mid-containers {
    position: absolute;
    top: 0;
    left: 0;
    width: 33.33%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4px 24px;
    background-color: white;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.97);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-mid-containers.active {
    opacity: 1;
    pointer-events: auto;
    border-radius: 32px;
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09), 0 0 0 1px rgba(0, 0, 0, 0.04);
    z-index: 2;
}

.popup-mid-containers.active #category-loader {
    opacity: 1;
    pointer-events: auto;
}

.popup-location {
    left: 0;
    border-radius: 32px 0 0 32px;
}

.popup-location .dropdown-box {
    left: 0;
    width: 340px;
    min-width: 100%;
}

.location-autocomplete-loading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 2px;
    border-radius: 10px;
    pointer-events: none;
    user-select: none;
    background: linear-gradient(90deg, #f8f9fa 0%, #f0f3f5 50%, #f8f9fa 100%);
    background-size: 200% 100%;
    animation: location-autocomplete-shimmer 1.25s ease-in-out infinite;
}

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

.location-autocomplete-loading-label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    letter-spacing: 0.02em;
}

.location-autocomplete-loading-dots {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.location-autocomplete-loading-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color, #0d9488);
    opacity: 0.35;
    animation: location-autocomplete-dot 0.85s ease-in-out infinite;
}

.location-autocomplete-loading-dot:nth-child(2) {
    animation-delay: 0.14s;
}

.location-autocomplete-loading-dot:nth-child(3) {
    animation-delay: 0.28s;
}

@keyframes location-autocomplete-dot {
    0%,
    70%,
    100% {
        transform: translateY(0) scale(0.75);
        opacity: 0.35;
    }
    35% {
        transform: translateY(-3px) scale(1);
        opacity: 1;
    }
}

.popup-category {
    left: 33.33%;
}

.popup-category .dropdown-box {
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    width: 460px;
    min-width: 100%;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.97);
}

.popup-category .dropdown-box.active {
    transform: translateX(-50%) translateY(0);
}

.popup-time-search {
    left: 66.66%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-right: 10px;
    width: 33.34%;
}

.popup-time-search.active {
    border-radius: 0 32px 32px 0;
}

.popup-time-search .dropdown-box {
    left: auto;
    right: 0;
    width: 320px;
    min-width: 100%;
}

.popup-time-search .popup-time {
    flex: 1;
    min-width: 0;
}

.dropdown-box {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 100%;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    background-color: #fff;
    z-index: 10;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s linear 0.25s;
    pointer-events: none;
}

.dropdown-box.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s linear 0s;
    pointer-events: auto;
}

.dropdown-content {
    max-height: 400px;
    overflow-y: auto;
    padding: 8px;
}

.dropdown-card {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border-bottom: none;
    font-weight: 600;
    transition: background-color 0.15s ease, transform 0.15s ease;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    border: none;
    background: transparent;
    text-align: left;
    border-radius: 10px;
    margin-bottom: 2px;
}

.dropdown-card:hover {
    background-color: #f5f5f5;
}

.dropdown-card:active {
    transform: scale(0.98);
    background-color: #ebebeb;
}

.dropdown-card i {
    color: var(--primary-color);
    font-size: 18px;
    margin-right: 12px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-card-label {
    font-size: 14px;
    color: var(--text-color);
}

.dropdown-card img {
    width: 24px;
    height: 24px;
    margin-right: 12px;
}

/* Input fields */
.popup-label {
    font-size: 11px;
    font-weight: 800;
    color: #222;
    margin-bottom: 2px;
    letter-spacing: 0.02em;
    margin-bottom: 4px;
    display: none;
}

/* ─── Category Input Wrapper ─── */
.category-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.category-search-icon {
    flex-shrink: 0;
    color: #b0b0b0;
    transition: color 0.2s ease;
}

.popup-mid-containers.active .category-search-icon {
    color: var(--primary-color);
}

/* ─── Category Cards (AJAX populated) ─── */
.categoryOptions-dropdown-card-img {
    object-fit: contain;
    border-radius: 8px;
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    padding: 6px;
    box-sizing: border-box;
}

.categoryOptions-dropdown-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    min-height: 0;
    padding: 14px;
    font-weight: 600;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
    text-align: left;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}

/* Thumbnail left, title + description stacked on the right */
.categoryOptions-dropdown-card:has(.categoryOptions-dropdown-card-img) {
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 0px;
    align-items: start;
}

.categoryOptions-dropdown-card:has(.categoryOptions-dropdown-card-img) .categoryOptions-dropdown-card-img {
    grid-row: 1 / -1;
    grid-column: 1;
    width: 56px;
    height: 52px;
    align-self: center;
}

.categoryOptions-dropdown-card:has(.categoryOptions-dropdown-card-img) h6 {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}

.categoryOptions-dropdown-card:has(.categoryOptions-dropdown-card-img) .category-description {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
}

.categoryOptions-dropdown-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary-color);
    border-radius: 0 3px 3px 0;
    opacity: 0;
    transform: scaleY(0.4);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.categoryOptions-dropdown-card:hover {
    border-color: rgba(254, 41, 114, 0.15);
    background: linear-gradient(135deg, #fff 0%, #fdf2f8 100%);
    box-shadow: 0 4px 16px rgba(254, 41, 114, 0.08);
    transform: translateY(-1px);
}

.categoryOptions-dropdown-card:hover::before {
    opacity: 1;
    transform: scaleY(1);
}

.categoryOptions-dropdown-card:active {
    transform: translateY(0) scale(0.99);
}

.categoryOptions-dropdown-card.selected {
    border-color: rgba(254, 41, 114, 0.25);
    background: linear-gradient(135deg, #fff5f8 0%, #fce7f3 100%);
    box-shadow: 0 2px 12px rgba(254, 41, 114, 0.12);
}

.categoryOptions-dropdown-card.selected::before {
    opacity: 1;
    transform: scaleY(1);
}

.categoryOptions-dropdown-card h6 {
    margin: 0;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a2e;
    letter-spacing: -0.01em;
}

.categoryOptions-dropdown-card .category-description {
    margin: 0;
    font-size: 10px;
    line-height: 1.45;
    color: #6b7280;
    font-weight: 400;
    width: 100%;
}

/* ─── Category Loader Skeleton ─── */
.category-loader {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    overflow-y: auto;
    max-height: 400px;
}

.skeleton-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.04);
    background: #fafafa;
    border-radius: 14px;
    height: auto;
}

.skeleton-img {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.skeleton-title {
    width: 60%;
    height: 14px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    margin-bottom: 6px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.skeleton-desc {
    width: 85%;
    height: 10px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.skeleton-img::after,
.skeleton-title::after,
.skeleton-desc::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.6) 50%,
            transparent 100%);
    animation: category-shimmer 1.4s ease-in-out infinite;
}

@keyframes category-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.popup-info {
    border: none;
    color: var(--text-color);
    background: transparent;
    font-size: 14px;
    width: 100%;
    font-weight: 500;
    line-height: 1.3;
}

.popup-info:focus {
    outline: none;
    color: #1a1a2e;
}

.popup-info::placeholder {
    color: #c0c5d0;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.popup-category .popup-info {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.popup-category .popup-info:focus::placeholder {
    color: #d4d8e0;
    transform: translateX(2px);
}

/* ─── Category Grid ─── */
.category-grid {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px 12px 12px;
    overflow-y: auto;
    height: 408px;
    scroll-behavior: smooth;
}

/* Custom scrollbar */
.category-grid::-webkit-scrollbar {
    width: 5px;
}

.category-grid::-webkit-scrollbar-track {
    background: transparent;
    margin: 8px 0;
}

.category-grid::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    transition: background 0.2s ease;
}

.category-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.22);
}

.category-grid .dropdown-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: transparent;
    height: auto;
    min-height: 0;
    margin-bottom: 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.category-grid .dropdown-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--primary-color);
    border-radius: 0 3px 3px 0;
    transform: translateY(-50%);
    transition: height 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-grid .dropdown-card:hover {
    background: linear-gradient(135deg, rgba(254, 41, 114, 0.03) 0%, rgba(254, 41, 114, 0.06) 100%);
    border-color: rgba(254, 41, 114, 0.08);
}

.category-grid .dropdown-card:hover::before {
    height: 60%;
}

.category-grid .dropdown-card:active {
    transform: scale(0.99);
    background: rgba(254, 41, 114, 0.06);
}

.category-grid .dropdown-card.selected {
    background: linear-gradient(135deg, #fff5f8 0%, #fce7f3 100%);
    border-color: rgba(254, 41, 114, 0.2);
    box-shadow: 0 2px 8px rgba(254, 41, 114, 0.08);
}

.category-grid .dropdown-card.selected::before {
    height: 70%;
}

.category-grid .dropdown-card img {
    width: 44px;
    height: 44px;
    min-width: 44px;
    margin: 0;
    border-radius: 12px;
    object-fit: contain;
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    padding: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-grid .dropdown-card:hover img {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(254, 41, 114, 0.12);
}

.category-grid .dropdown-card-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.category-grid .dropdown-card-label {
    font-weight: 700;
    font-size: 14px;
    color: #1a1a2e;
    letter-spacing: -0.01em;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-grid .dropdown-card.selected .dropdown-card-label {
    color: var(--primary-color);
}

.category-description {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.45;
    font-weight: 400;
}

.category-grid .dropdown-card:hover .category-description {
    color: #6b7280;
}

/* ─── Fade-in animation for category items ─── */
@keyframes categoryCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-grid .dropdown-card,
.category-grid .categoryOptions-dropdown-card {
    animation: categoryCardFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.category-grid .dropdown-card:nth-child(1),
.category-grid .categoryOptions-dropdown-card:nth-child(1) { animation-delay: 0.03s; }
.category-grid .dropdown-card:nth-child(2),
.category-grid .categoryOptions-dropdown-card:nth-child(2) { animation-delay: 0.06s; }
.category-grid .dropdown-card:nth-child(3),
.category-grid .categoryOptions-dropdown-card:nth-child(3) { animation-delay: 0.09s; }
.category-grid .dropdown-card:nth-child(4),
.category-grid .categoryOptions-dropdown-card:nth-child(4) { animation-delay: 0.12s; }
.category-grid .dropdown-card:nth-child(5),
.category-grid .categoryOptions-dropdown-card:nth-child(5) { animation-delay: 0.15s; }
.category-grid .dropdown-card:nth-child(n+6),
.category-grid .categoryOptions-dropdown-card:nth-child(n+6) { animation-delay: 0.18s; }

/* ─── Dropdown no-results state ─── */
.category-grid p:only-child {
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
    font-size: 14px;
    font-weight: 500;
}

/* ─── Dropdown box divider header for category ─── */
.popup-category .dropdown-box::before {
    content: '';
    display: block;
    height: 0;
}

/* Date Picker */
.date-picker-container {
    padding: 16px;
    width: 320px;
}

.date-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.month-nav {
    background: transparent;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: var(--text-color);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.month-nav:hover {
    background-color: var(--secondary-color);
}

.days-of-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
    margin-bottom: 10px;
}

.days-of-week span {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-light);
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-standard);
    font-size: 14px;
}

.calendar-day:hover {
    background-color: var(--secondary-color);
}

.calendar-day.today {
    border: 1px solid var(--primary-color);
}

.calendar-day.selected {
    background-color: var(--primary-color);
    color: white;
}

.calendar-day.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.top-header-right {
    display: flex;
    align-items: center;
    margin-right: 16px;
    position: relative;
    flex-shrink: 0;
}



.ham-menu .popup-ham {
    display: flex;
    border-radius: 25px;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: var(--transition-standard);
}

.ham-menu {
    display: flex;
    border-radius: 29px;
    height: 40px;
    padding: 8px 9px 9px 14px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    align-items: center;
    cursor: pointer;
    background-color: transparent;
    gap: 8px;
    font-weight: 500;
}

.ham-menu:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ham-menu:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.ham-menu:focus {
    outline: none;
    border-color: var(--accent-color, #4285f4);
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

/* For the icon if needed */
.ham-menu-icon {
    transition: all 0.3s ease;
}

.ham-menu:hover .ham-menu-icon {
    transform: scale(1.1);
}

.hamburger-lines {
    height: 14px;
    width: 16px;
    margin-right: 1px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger-lines .line {
    display: block;
    width: 100%;
    height: 2px !important;
    border-radius: 2px;
    background-color: #333;
}

.hamburger-lines .line1,
.hamburger-lines .line2,
.hamburger-lines .line3 {
    height: 2px !important;
    margin: 0;
    padding: 0;
}

.user-icon-image {
    height: 20px;
    width: 20px;
}

.menu-content {
    display: none;
    width: 250px;
    position: absolute;
    top: 72px;
    right: 32px;
    padding: 15px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    background-color: #fff;
    box-shadow: var(--shadow-light), var(--shadow-heavy);
    z-index: 14;
}

.menu-content.active {
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
}

.menu-cards a {
    display: block;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-color);
    width: 100%;
    padding: 12px 0;
    opacity: 0.8;
    border-bottom: 1px solid var(--border-color);
    transition: 0.2s all ease;
}

.menu-cards a:hover {
    opacity: 1;
    background-color: var(--secondary-color);
    padding-left: 8px;
    border-radius: var(--border-radius-sm);
}

/* Navigation States */
.top-header.active {
    height: calc(var(--header-height-desktop) + 18px);
}

.top-header.active::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: -1;
    pointer-events: none;
    animation: overlayFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes overlayFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.top-header.active .search_bar {
    transform: scale(1.02);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.14);
    background: #f0f0f0;
    border-color: transparent;
}

.top-header.active .nav-location,
.top-header.active .nav-category,
.top-header.active .nav-time-search {
    background-color: transparent;
    transition: background-color 0.25s ease;
}

.top-header.active .nav-location:hover,
.top-header.active .nav-category:hover,
.top-header.active .nav-time-search:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.top-header.active .nav-location,
.top-header.active .nav-category {
    border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-white-background {
    height: 50px;
    z-index: 1;
    width: 33.33%;
    border-radius: var(--border-radius-lg);
    background-color: #ffffff;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease;
    left: 0;
    display: none;
    pointer-events: none;
}

.top-header.active .nav-white-background {
    display: block;
}

.nav-white-background.location {
    left: 0;
}

.nav-white-background.category {
    left: 33.33%;
}

.nav-white-background.date {
    left: 66.66%;
}

.page-filter-navbar.case-when-search-bar-open {
    top: calc(var(--header-height-desktop) + 18px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.navbar-right-filter-btn:hover {
    background-color: #f1f1f1;
}

.navbar-right-filter-btn a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}


.cart-icon {
    padding: 10px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    transition: var(--transition-standard);
}

.cart-icon:hover {
    background-color: var(--border-color);
}

.cart-icon img {
    width: 20px;
    height: 20px;
}

.selected-services-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--primary-color);
    color: white;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    line-height: 1;
}

.cart-btn-div {
    position: relative;
    margin-right: 12px;
    cursor: pointer;
    display: none;
}

.main-content {
    margin-top: calc(var(--header-height-desktop) + 65px);
    padding: 20px;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-standard);
    background-color: white;
}

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

.service-card-header {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.service-card-header img {
    width: 40px;
    height: 40px;
    margin-right: 12px;
}

.service-card-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.service-card-body {
    padding: 15px;
}

.service-card-description {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.5;
}

.add-to-cart-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-standard);
}

.add-to-cart-btn:hover {
    background-color: var(--primary-hover);
}

/* Loading animations */
.location-spinner {
    display: inline-block;
    margin-left: 5px;
}

.location-loading {
    opacity: 0.7;
}

/* Location permission overlay */
.location-permission-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.location-permission-overlay.active {
    opacity: 1;
}

.location-permission-popup {
    background-color: white;
    width: 90%;
    max-width: 400px;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.location-permission-popup.active {
    transform: translateY(0);
    opacity: 1;
}

.location-popup-header {
    display: flex;
    margin-bottom: 15px;
}

.location-popup-header i {
    color: var(--primary-color);
    font-size: 24px;
    margin-right: 10px;
}

.location-popup-header h3 {
    margin: 0;
    font-size: 18px;
}

.popup-body {
    margin-bottom: 20px;
}

.browser-instructions {
    background-color: #f9f9f9;
    padding: 15px 0px;
    border-radius: 5px;
    margin-top: 10px;
}

.popup-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.popup-footer button {
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn-cancel {
    background-color: #f1f1f1;
    color: #333;
}

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* Responsive Styles */
@media (max-width: 650px) {

    .top-header {
        height: var(--header-height-mobile);
        padding: 0 10px;
        gap: 6px;
    }

    .home-page-logo {
        font-size: 20px;
        flex-shrink: 0;
    }

    /* Search bar — override desktop width/border-radius */
    .search_bar {
        width: auto;
        max-width: none;
        flex: 1;
        min-width: 0;
        height: 40px;
        margin: 0;
        border-radius: 20px;
    }

    #head {
        align-items: center;
    }

    .nav-location,
    .nav-category,
    .nav-time-search {
        font-size: 11px;
        padding: 0 6px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nav-location {
        justify-content: flex-start !important;
    }

    .nav-category {
        justify-content: flex-start !important;
    }

    .nav-location,
    .nav-category {
        border-right: 1px solid var(--border-color);
    }

    .nav-time {
        width: auto;
        flex: 1;
        font-size: 11px;
    }

    .nav-time-text {
        font-size: 11px;
    }

    .nav-time-search {
        padding-right: 4px;
        border-radius: 0 20px 20px 0;
        gap: 2px;
    }

    .searchicon {
        width: 28px;
        height: 28px;
        min-width: 28px;
        flex-shrink: 0;
    }

    .searchicon img {
        width: 12px;
        height: 12px;
    }
    .searchsicon{
        margin-top: -4px;
    }
    /* Popup overrides for mobile */
    .popup-info {
        font-size: 12px;
    }

    .popup-label {
        font-size: 10px;
        margin-bottom: 1px;
        letter-spacing: 0.04em;
        display: none;
    }

    .popup-mid-containers {
        width: 100%;
        left: 0;
        padding: 4px 14px;
    }

    .popup-mid-containers.active {
        border-radius: 24px;
    }

    /* Match #head / search strip — avoid viewport width + translateX(-50%), which
       anchors to segment center and spills over the logo and side chrome. */
    .dropdown-box {
        left: 0 !important;
        right: 0 !important;
        transform: translateY(-8px);
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        border-radius: 16px;
        margin-left: 0 !important;
    }

    .dropdown-box.active {
        transform: translateY(0);
    }

    .dropdown-content {
        max-height: 50vh;
    }

    .popup-container {
        z-index: 50;
    }

    /* Active search state */
    .page-filter-navbar.case-when-search-bar-open {
        top: calc(var(--header-height-mobile) + 14px);
    }

    .top-header.active {
        height: calc(var(--header-height-mobile) + 14px);
    }

    .top-header.active .search_bar {
        transform: none;
        height: 46px;
    }

    /* Cart */
    .cart-icon img {
        width: 15px;
        height: 15px;
    }

    .cart-icon {
        padding: 5px 7px;
    }

    .selected-services-count {
        top: -3px;
        right: -3px;
        min-width: 14px;
        height: 14px;
        font-size: 9px;
    }

    .cart-btn-div {
        margin-right: 6px;
    }

    /* User menu area */
    .user-icon-image {
        height: 22px;
        width: 22px;
    }

    .top-header-right {
        flex-shrink: 0;
        margin-right: 0;
    }

    .ham-menu {
        height: 34px;
        padding: 4px 6px;
        gap: 5px;
    }

    .hamburger-lines {
        height: 12px;
        width: 14px;
    }

    .ham-menu .popup-ham {
        padding: 0;
    }

    .menu-content {
        width: 220px;
        right: 0;
        top: 42px;
    }

    /* Category and date pickers */
    .category-grid {
        padding: 6px 10px 10px;
        gap: 4px;
        height: 50vh;
    }

    .category-grid .dropdown-card {
        padding: 10px 12px;
        gap: 12px;
    }

    .category-grid .dropdown-card img {
        width: 38px;
        height: 38px;
        min-width: 38px;
        padding: 5px;
        border-radius: 10px;
    }

    .category-grid .dropdown-card-label {
        font-size: 13px;
    }

    .category-description {
        font-size: 11px;
        -webkit-line-clamp: 1;
    }

    .popup-category .dropdown-box {
        left: 0 !important;
        right: 0 !important;
        transform: translateX(0) translateY(-8px) !important;
        width: 100% !important;
    }

    .popup-category .dropdown-box.active {
        transform: translateX(0) translateY(0) !important;
    }

    .category-input-wrapper {
        gap: 6px;
    }

    .category-search-icon {
        width: 14px;
        height: 14px;
    }

    .categoryOptions-dropdown-card {
        padding: 9px;
        gap: 6px;
        border-radius: 12px;
        cursor: pointer;
    }

    .categoryOptions-dropdown-card:has(.categoryOptions-dropdown-card-img) {
        grid-template-columns: 48px 1fr;
        column-gap: 10px;
    }

    .categoryOptions-dropdown-card:has(.categoryOptions-dropdown-card-img) .categoryOptions-dropdown-card-img {
        width: 48px;
        height: 42px;
        padding: 4px;
        border-radius: 6px;
    }

    .categoryOptions-dropdown-card h6 {
        font-size: 11.5px;
    }

    .date-picker-container {
        width: 100%;
        padding: 5px;
    }

    /* Filter bar */
    .filter-text {
        display: none;
    }

    /* Content */
    .main-content {
        margin-top: calc(var(--header-height-mobile) + 50px);
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    /* Category text */
    .nav-category-text {
        padding: 4px 6px;
        font-size: 11px;
    }

    .nav-category-text::after {
        bottom: 2px;
    }

    .nav-location-text,
    .nav-time-text {
        font-size: 11px;
    }
}

/* ── Arrow navigation buttons (desktop only) ── */
.nav-arrow {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: none;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.25s ease, transform 0.15s ease, box-shadow 0.2s ease, background 0.15s ease;
    margin: 0 2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    padding: 0;
    flex-shrink: 0;
}

@media (min-width: 651px) {
    .nav-arrow {
        display: flex;
        width: 30px;
        height: 30px;
        min-width: 30px;
        margin: 0 4px;
    }
}

.nav-arrow:hover {
    background: #f5f5f5;
    border-color: #bbb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.13);
}

.nav-arrow:active {
    transform: scale(0.9);
    background: #eee;
}

.nav-arrow.arrow-disabled {
    opacity: 0;
    pointer-events: none;
}


/* CSS FOR Filters — mobile-first; desktop from 651px */
.page-filter-navbar {
    display: flex;
    position: fixed;
    top: var(--header-height-mobile);
    width: 100%;
    height: 60px;
    background-color: white;
    z-index: 9;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-medium);
}

@media (min-width: 651px) {
    .page-filter-navbar {
        top: 80px;
        height: 65px;
    }
}

.toggle-btn-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
}

/* Services toggle: hidden on home for now — remove this block to show again */
.home-header-section .page-filter-navbar .toggle-btn-div {
    display: none;
}

.toggle-btn-text {
    margin: 2px 4px 2px;
    font-size: 8px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: inherit;
}

@media (min-width: 651px) {
    .toggle-btn-text {
        font-size: 12px;
    }
}

.toggle-bar-checkbox {
    display: none;
}

.toggle-bar-btn {
    width: 50px;
    height: 26px;
    background-color: #e0e0e0;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-bar-btn::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: white;
    top: 2px;
    left: 2px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.toggle-bar-checkbox:checked~.toggle-bar-btn {
    background-color: #fe2972;
}

.toggle-bar-checkbox:checked~.toggle-bar-btn::before {
    transform: translateX(24px);
}

/* ── Filter navigation layout ── */
.filter-navigation {
    display: flex;
    align-items: center;
    flex: 1;
    position: relative;
    overflow: hidden;
}

/* ── Scroll container with fade-edge indicators ── */
.filter-bar-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    width: 10px;
    margin: 0;
}

.filter-bar-container::before,
.filter-bar-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 28px;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.filter-bar-container::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.filter-bar-container::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.filter-bar-container.fade-left::before { opacity: 1; }
.filter-bar-container.fade-right::after { opacity: 1; }

/* ── Scrollable chip strip ── */
.filter-btns-for-tests {
    display: flex;
    gap: 6px;
    padding: 0 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    height: 60px;
    align-items: center;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 12px;
    will-change: scroll-position;
}

@media (min-width: 651px) {
    .filter-btns-for-tests {
        gap: 12px;
        padding: 0 12px;
        height: 65px;
        cursor: grab;
    }
}

.filter-btns-for-tests::-webkit-scrollbar {
    display: none;
}

.filter-btns-for-tests.is-dragging {
    cursor: grabbing !important;
    scroll-snap-type: none;
    user-select: none;
}

.arrow-icon {
    font-size: 13px;
    color: #555;
    display: block;
    line-height: 1;
    user-select: none;
}

/* ── Skeleton loading chips ── */
.filter-strip-skeleton-chip {
    flex: 0 0 auto;
    width: 52px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: filter-strip-skeleton-shimmer 1.2s ease-in-out infinite;
    pointer-events: none;
}

.filter-strip--loading .filter-specific-type-btns { animation: none; }

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

/* ── Individual filter chips ── */
.filter-specific-type-btns {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 10px 4px;
    border-radius: 10px;
    transition: background 0.2s ease, transform 0.15s ease;
    cursor: pointer;
    position: relative;
    scroll-snap-align: start;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    animation: fadeInFilterChip 0.3s ease-out both;
}

.filter-specific-type-btns::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: #ff4a6e;
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
    opacity: 0;
}

.filter-specific-type-btns:hover {
    background: rgba(0, 0, 0, 0.03);
}

.filter-specific-type-btns:active {
    transform: scale(0.96);
}

.filter-specific-type-btns.active {
    background: rgba(255, 74, 110, 0.06);
}

.filter-specific-type-btns.active::after {
    width: 60%;
    opacity: 1;
}

.filter-specific-type-btns img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    transition: transform 0.15s ease, filter 0.2s ease;
    filter: grayscale(30%);
}

@media (min-width: 651px) {
    .filter-specific-type-btns img {
        width: 28px;
        height: 28px;
    }
}

.filter-specific-type-btns:hover img { filter: grayscale(0%); }

.filter-specific-type-btns.active img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.filter-specific-type-btns.loading {
    opacity: 0.6;
    pointer-events: none;
}

@keyframes fadeInFilterChip {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.filter-specific-type-btns p {
    margin: 3px 0 0;
    font-size: 11.5px;
    font-weight: 600;
    color: #aaa;
    transition: color 0.2s ease;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 72px;
    line-height: 1.2;
}

@media (min-width: 651px) {
    .filter-specific-type-btns p {
        font-size: 12.5px;
        max-width: 80px;
    }
}

.filter-specific-type-btns:hover p { color: #666; }

.filter-specific-type-btns.active p {
    color: #333;
    font-weight: 700;
}

/* ── Mobile overrides ── */
@media (max-width: 650px) {
    .toggle-btn-div {
        padding: 0;
    }

    .toggle-bar-btn {
        width: 28px;
        height: 17px;
    }

    .toggle-bar-btn::before {
        width: 13px;
        height: 13px;
        top: 1.4px;
        left: 1.4px;
    }

    .toggle-bar-checkbox:checked ~ .toggle-bar-btn::before {
        transform: translateX(11px);
    }

    .filter-specific-type-btns {
        padding: 4px 8px 3px;
    }

    .filter-specific-type-btns img {
        width: 24px;
        height: 24px;
    }

    .filter-specific-type-btns p {
        font-size: 10.5px;
        max-width: 58px;
    }

    .navbar-right-filter-btn {
        padding: 8px 7px !important;
        margin: 14px 10px !important;
    }

    .navbar-right-filter-btn a {
        display: none;
    }

    .filter-bar-container::before,
    .filter-bar-container::after {
        width: 18px;
    }
}

/* Filter Button */
.navbar-right-filter-btn {
    display: inline-flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 10px 15px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 13px 6px;
}

.navbar-right-filter-btn:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.navbar-right-filter-btn img {
    width: 18px;
    height: 18px;
}

.navbar-right-filter-btn a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.specific-filters-mapViewButton {
    /* Base styling */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 4px 6px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 11px 9px;
    border: none;
    font-family: Arial, sans-serif;
    font-weight: 500;
    color: #333333;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    min-width: 80px;
    min-height: 32px;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    letter-spacing: 0.5px;
    user-select: none;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Hover effects */
.specific-filters-mapViewButton:hover {
    background-color: #f8f8f8;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    color: #007bff;
    animation: pulse 1.5s infinite;
    border-bottom: 2px solid #007bff;
    filter: drop-shadow(0 0 5px rgba(0, 123, 255, 0.5));
}

/* Active effects */
.specific-filters-mapViewButton:active {
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    background-color: #f0f0f0;
}

.specific-filters-mapViewButton.active {
    transform: translateY(1px);
    background-color: #007bff;
    color: white;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.4);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.specific-filters-mapViewButton:focus {
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
    outline: none;
}

/* Disabled state */
.specific-filters-mapViewButton:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    background-color: #e9e9e9;
    box-shadow: none;
}

/* Animation effect */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

/* Ripple effect */
.specific-filters-mapViewButton::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.6);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.specific-filters-mapViewButton:focus:not(:active)::after {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }

    20% {
        transform: scale(25, 25);
        opacity: 0.3;
    }

    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

/* Text gradient + scale on inner content */
.specific-filters-mapViewButton:hover span {
    background: linear-gradient(45deg, #007bff, #00e1ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
    transform: scale(1.05);
}

.specific-filters-mapViewButton:hover svg,
.specific-filters-mapViewButton:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .specific-filters-mapViewButton {
        background-color: #2a2a2a;
        color: #f0f0f0;
    }

    .specific-filters-mapViewButton:hover {
        background-color: #3a3a3a;
    }

    .specific-filters-mapViewButton:active {
        background-color: #222222;
    }
}

/* Accessibility improvements */
.specific-filters-mapViewButton:focus-visible {
    outline: 2px solid #0066ff;
    outline-offset: 2px;
}

#filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

#filter-overlay.active {
    opacity: 1;
    visibility: visible;
    display: flex;
}

.navbar-filter-div {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: #fff;
    width: 80%;
    max-width: 900px;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    transition: transform 0.3s ease;
    display: none;
    flex-direction: column;
    overflow: hidden;
    /* Hide overflow for container */
}

.navbar-filter-div.active {
    display: flex;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px 5px;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 2;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.filter-header p {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

hr {
    margin: 0 0 10px 0;
    border: none;
    height: 1px;
    background-color: #eee;
    width: 100%;
}

.filter-popup-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #555;
}

.filter-scrollable-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px 20px;
}

.filter-popup-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-column {
    flex: 1;
    min-width: 250px;
}

.filters {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.filters:last-child {
    border-bottom: none;
}

.filters-left-tag,
.filters-right-tag {
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    font-size: 16px;
}

.filters label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    cursor: pointer;
}

.filters label:hover {
    color: #000;
}

.filters input[type="checkbox"],
.filters input[type="radio"] {
    margin-right: 8px;
}

#corporateSearchInput {
    display: none;
    margin-top: 10px;
}

#corporateSearchBar,
#centersSearchInput {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
}


.centers-search-container {
    position: relative;
}

#centersList {
    position: absolute;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    z-index: 10;
    display: none;
    margin: 0;
    padding: 0;
    list-style: none;
}

#centersList li {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

#centersList li:hover {
    background-color: #f5f5f5;
}

#selected-centers {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

.selected-centers {
    background-color: #f0f6ff;
    border: 1px solid #cce0ff;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
}

.selected-centers span {
    margin-left: 5px;
    cursor: pointer;
    color: #999;
    font-weight: bold;
}

.selected-centers span:hover {
    color: #f44336;
}


.star-rating {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-slider {
    margin-top: 10px;
}

.price-range {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

#priceRangeSlider {
    width: 100%;
}

.filter-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.filter-apply-btn,
.filter-clear-btn {
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    border: none;
}

.filter-apply-btn {
    background-color: #4285f4;
    color: white;
}

.filter-clear-btn {
    background-color: #f5f5f5;
    color: #333;
}

.filter-apply-btn:hover {
    background-color: #3367d6;
}

.filter-clear-btn:hover {
    background-color: #e5e5e5;
}

.map-view-text {
    padding-top: 17px;
    padding-left: 3px;
    font-size: 14px;
    font-family: Quicksand;
}

@media (max-width: 650px) {
    .navbar-filter-div {
        width: 84%;
        max-height: 74vh;
    }

    .filter-popup-close-btn {
        margin-top: -11px;
        font-size: 25px;
        font-weight: bold;
    }

    .filter-popup-content {
        flex-direction: column;
    }

    .filter-column {
        width: 100%;
    }

    .filters-left-tag,
    .filters-right-tag {
        font-size: 12px;
    }

    .filters label {
        font-size: 11px;
    }

    .map-view-text {
        display: none;
    }

    .specific-filters-mapViewButton {
        padding: 8px 8px;
        margin: 13px 5px;
        min-width: 0;
        min-height: 0;
    }

    .filters input[type="checkbox"],
    .filters input[type="radio"] {
        margin-right: 8px;
        height: 9px;
    }

    .filter-apply-btn,
    .filter-clear-btn {
        padding: 5px 13px;
        font-size: 12px;
    }
}

.search-results-container {
    position: relative;
    transition: margin-top 0.3s ease, top 0.3s ease;
    top: 145px;
    background-color: var(--white);
    z-index: 5;
}

.search-results-container.case-when-search-bar-open {
    top: 168px;
}

.search-results-header {
    background-color: var(--white);
    padding: 7px 102px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    display: none;
}

.search-header-left {
    display: flex;
    flex-direction: column;
}

.results-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    color: #bdbdbd;
}

.results-title span {
    color: var(--primary-color);
}

.results-count {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

.filter-controls {
    display: flex;
    gap: 12px;
}

.filter-button {
    background: var(--gray-100);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-medium);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.filter-button:hover {
    background: var(--gray-200);
}



/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.popup {
    background: var(--white);
    border-radius: var(--radius-md);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: relative;
    padding: 15px;
}

.popup-overlay.active .popup {
    transform: translateY(0);
    opacity: 1;
}

.popup-header {
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 2;
}

.popup-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.popup-close {
    position: absolute;
    right: 9px;
    top: 9px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-100);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    color: var(--text-medium);
}

.popup-close:hover {
    background: var(--gray-200);
}

.popup-body {
    padding: 20px;
}

.popup-content {
    margin-bottom: 20px;
}

.popup-section {
    margin-bottom: 16px;
}


.popup-value {
    font-size: 15px;
    color: var(--text-dark);
}

.popup-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.service-tag {
    background: var(--gray-100);
    color: var(--text-medium);
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 20px;
}

.popup-map {
    width: 100%;
    height: 200px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.popup-map i {
    font-size: 24px;
    margin-bottom: 8px;
}

.popup-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: flex-end;
}

.popup-btn {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

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

/* Filter Dropdown */
.filter-dropdown {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    z-index: 95;
    overflow: hidden;
    width: 200px;
}

.dropdown-option {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.dropdown-option:hover {
    background: var(--gray-100);
}

/* Responsive styles */
@media (max-width: 650px) {
    .search-results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .filter-controls {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 8px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .filter-controls::-webkit-scrollbar {
        display: none;
    }

    .popup {
        width: 95%;
    }
}

.centers-container {
    flex: 1;
    overflow-y: auto;
    display: flex;
    padding-top: 18px;
    padding-left: 102px;
    padding-right: 103px;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.center-card {
    background-color: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    cursor: pointer;
    height: 398px;
    width: 300px;
    display: flex;
    flex-direction: column;
}

.center-card:hover {
    transform: scale(1.001);
    box-shadow: var(--shadow-md);
}

.center-card-images-div {
    position: relative;
    height: 300px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background-color: #f1f1f1;
    /* Fallback background color */
}

.center-card-images-div:hover {
    transform: translateY(-5px);
}

.center-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
    /* Smoother fade transition */
    position: absolute;
    top: 0;
    left: 0;
}

/* The rest of the styling remains the same */
.gallery-arrows {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.center-card-images-div:hover .gallery-arrows {
    opacity: 1;
}

.gallery-arrow {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.gallery-arrow:hover {
    background: white;
    transform: scale(1.1);
}

.gallery-arrow i {
    font-size: 16px;
}

/* Progress dots styling */
.gallery-progress {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: white;
    transform: scale(1.2);
}

.center-details {
    padding: 16px 2px;
}

.center-details-header {
    display: flex;
    justify-content: space-between;
}

.center-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.center-address {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 3px;
}

.center-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.center-details-distance-away {
    font-size: 13px;
    color: var(--text-light);
}

.center-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: -5px;
}

.rating-star {
    color: #ffc107;
    margin-top: -2px;
    height: 12px;
}

.rating-value {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
}

.center-icons {
    display: flex;
    gap: 12px;
}

.icon-button {
    color: var(--text-medium);
    font-size: 15px;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 3;
    position: relative;
}

.icon-button:hover {
    color: var(--primary);
}

/* No Results Message */
.no-results {
    background: var(--white);
    padding: 40px;
    text-align: center;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    grid-column: 1 / -1;
}

.no-results-icon {
    font-size: 40px;
    color: #ddd;
    margin-bottom: 16px;
}

.no-results h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.no-results p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.btn-reset {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.centers-loader-container {
    flex: 1;
    display: flex;
    padding: 18px 102px;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.center-skeleton-card {
    background-color: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 384px;
    width: 300px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.center-skeleton-image {
    height: 300px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(110deg, #f5f5f5 8%, #ebebeb 18%, #f5f5f5 33%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
}

.center-skeleton-details {
    padding: 16px 2px;
}

.center-skeleton-name {
    height: 18px;
    width: 70%;
    background: linear-gradient(110deg, #f5f5f5 8%, #ebebeb 18%, #f5f5f5 33%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    margin-bottom: 8px;
    border-radius: 4px;
}

.center-skeleton-address {
    height: 12px;
    width: 90%;
    background: linear-gradient(110deg, #f5f5f5 8%, #ebebeb 18%, #f5f5f5 33%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    margin-bottom: 12px;
    border-radius: 4px;
}

.center-skeleton-footer {
    display: flex;
    justify-content: space-between;
}

.center-skeleton-distance {
    height: 12px;
    width: 60%;
    background: linear-gradient(110deg, #f5f5f5 8%, #ebebeb 18%, #f5f5f5 33%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: 4px;
}

.center-skeleton-icons {
    display: flex;
    gap: 10px;
}

.center-skeleton-icon {
    height: 14px;
    width: 14px;
    border-radius: 50%;
    background: linear-gradient(110deg, #f5f5f5 8%, #ebebeb 18%, #f5f5f5 33%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
}

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

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

/* Mobile: centers grid + cards + loader padding + CSS variables */
@media (max-width: 650px) {
    .centers-container {
        padding: 0px 12px;
        display: flex;
        justify-content: center;
    }

    .center-card {
        width: 85%;
    }

    .centers-loader-container {
        padding: 0 12px;
    }

    :root {
        --primary: #4A6FFF;
        --primary-light: #EEF2FF;
        --primary-dark: #3D5CE6;
        --secondary: #FF6B6B;
        --shadow: 0 4px 16px rgba(74, 111, 255, 0.15);
    }
}

.map-view-container {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100% - 70px);
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s linear 0.4s;
}

.map-view-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s linear;
}

.map-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: var(--shadow);
    z-index: 10;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.map-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 700;
}

.map-title span {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.close-map {
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}

.close-map:hover {
    background-color: var(--primary-light);
    color: var(--primary);
    transform: rotate(90deg);
}

.map-content {
    display: flex;
    height: 100%;
    padding-top: 74px;
}

.map-sidebar {
    width: 380px;
    background: white;
    box-shadow: var(--shadow);
    height: calc(100% - 74px);
    overflow-y: auto;
    transition: var(--transition);
    z-index: 5;
    position: relative;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-toggle {
    position: absolute;
    left: 380px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 28px;
    height: 70px;
    border-radius: 0 14px 14px 0;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 5;
    display: none;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.sidebar-toggle.collapsed {
    left: 0;
}

.map-sidebar.collapsed {
    transform: translateX(-380px);
}

.sidebar-handle {
    display: none;
    width: 50px;
    height: 5px;
    background: #bdbdbd;
    border-radius: 10px;
    margin: 9px auto;
    margin-bottom: 13px;
    cursor: grab;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sidebar-handle:hover {
    transform: scale(1.05);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.sidebar-handle.active {
    background: #1E90FF;
    transform: scale(1.05);
    box-shadow: 0 0 8px rgba(30, 144, 255, 0.6);
}

.sidebar-handle:active {
    cursor: grabbing;
}

.sidebar-handle::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

.sidebar-handle:active::after {
    left: 100%;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

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

.search-box {
    padding: 0px 10px 11px 10px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-medium);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 2;
}

.search-input {
    display: none;
    gap: 10px;
    margin-bottom: 18px;
}

.search-input input {
    flex: 1;
    padding: 7px 10px;
    border: 1px solid #eee;
    border-radius: var(--radius);
    font-size: 15px;
    transition: all 0.3s ease;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

#locationInput {
    border-radius: 12px;
    padding: 10px 12px;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, transform 0.16s ease;
}

#locationInput::placeholder {
    color: #8d96b8;
    opacity: 1;
    transition: color 0.2s ease;
}

.popup-mid-containers.active:hover {
    border-color: rgba(57, 86, 255, 0.35);
    background: #ffffff;
    box-shadow: 0 6px 14px rgba(57, 86, 255, 0.14);
    transform: translateY(-1px);
}

.popup-mid-containers.active:focus,
.popup-mid-containers.active:focus-visible {
    outline: none;
    border-color: rgba(57, 86, 255, 0.65);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(57, 86, 255, 0.16), 0 8px 20px rgba(57, 86, 255, 0.14);
    transform: translateY(0);
}

.popup-mid-containers.active:focus::placeholder,
.popup-mid-containers.active:focus-visible::placeholder {
    color: #a3abc7;
}

.popup-mid-containers.active:active {
    transform: scale(0.998);
}

.search-input input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 8px var(--secondary);
}

.btn {
    background: #aaaaaa;
    color: white;
    border: none;
    border-radius: var(--radius);
    padding: 8px 11px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.btn:hover {
    background: #3f3f3f;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 41, 114, 0.25);
}

.btn-location {
    background: #FE2972;
}

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

.radius-control {
    margin-top: 15px;
    background: #ffe9f0;
    padding: 15px;
    border-radius: var(--card-radius);
}

.radius-header {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 12px;
    font-weight: 600;
}

.radius-header span:last-child {
    color: #FE2972;
}

.radius-slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    background: rgb(255 86 144 / 20%);
    border-radius: 10px;
    outline: none;
}

.radius-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #FE2972;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(254, 41, 114, 0.4);
}

.results-list {
    overflow-y: auto;
    padding: 15px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 0 5px;
}

.results-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
}

.results-count {
    font-size: 14px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
    background: var(--primary-light);
    color: #FE2972;
}

.center-card-map-view {
    background: white;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.center-card-map-view:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.center-card-map-view.active {
    border: 2px solid #ffffff;
    box-shadow: var(--card-shadow);
}

.card-image {
    height: 160px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

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

.center-card-map-view:hover .card-image img {
    transform: scale(1.05);
}

.card-type {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgb(0 0 0 / 90%);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
    z-index: 1;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.card-preview {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
    z-index: 1;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-preview:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-body-map-view {
    padding: 10px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    background-color: white;
    padding: 7px 2px;
}

.card-title {
    font-weight: 700;
    color: #717171;
    font-size: 16px;
}

.card-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.rating-star {
    color: #FFD700;
    font-size: 14px;
    height: 11px;
}

.rating-count {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.card-info {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.card-info i {
    color: #000000;
    width: 16px;
    margin-top: 5px;
    font-size: 15px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.card-tag {
    background: #f5f5f5;
    color: #7c7c7c;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
}

.card-distance {
    font-size: 14px;
    color: #585858;
    font-weight: 600;
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-small {
    padding: 10px 15px;
    font-size: 13px;
    flex: 1;
    text-align: center;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    border: 1px solid #ededed;
    color: #626262;
    box-shadow: none;
}

.btn-outline:hover {
    background: #aaaaaa;
    color: white;
    box-shadow: 0 4px 12px rgba(254, 41, 114, 0.2);
}

.map-container {
    flex: 1;
    position: relative;
    height: calc(100% - 74px);
}

#map {
    height: 100%;
    width: 100%;
}

/* Map controls from mobile version */
.view-type-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 5;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.view-toggle-btn {
    border: none;
    background: white;
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    transition: var(--transition);
}

.view-toggle-btn.active {
    color: var(--primary);
    background: var(--primary-light);
}

.map-actions {
    position: absolute;
    top: 94px;
    right: 15px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.map-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.map-action-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.loading-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(254, 41, 114, 0.2);
    border-top: 6px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    font-size: 17px;
    color: var(--primary);
    font-weight: 600;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

    100% {
        transform: rotate(360deg);
    }
}

.empty-state {
    padding: 40px 20px;
    text-align: center;
    color: #666;
}

.empty-state i {
    font-size: 40px;
    color: #ffe3ec;
    margin-bottom: 15px;
}

.empty-state h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #FE2972;
}

.empty-state p {
    font-size: 14px;
}

/* Custom map marker label */
.map-label {
    color: white;
    background-color: var(--primary);
    font-family: 'Quicksand', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    padding: 4px 8px;
    border-radius: 20px;
    white-space: nowrap;
    margin-top: -45px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
}

.map-label:after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--primary);
}

/* Image preview modal from desktop version */
.image-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1100;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    justify-content: center;
    align-items: center;
}

.image-preview-overlay.active {
    display: flex;
    opacity: 1;
}

.image-preview-container {
    width: 90%;
    max-width: 1000px;
    height: 80%;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.image-preview-overlay.active .image-preview-container {
    transform: scale(1);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.preview-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.close-preview {
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    transition: var(--transition);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-preview:hover {
    background: var(--primary-light);
    color: var(--primary);
    transform: rotate(90deg);
}

.preview-content {
    height: calc(100% - 66px);
    display: flex;
    flex-direction: column;
}

.main-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #f9f9f9;
}

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

.preview-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 2;
}

.preview-arrow {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.preview-arrow:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.thumbnails {
    height: 100px;
    display: flex;
    overflow-x: auto;
    padding: 10px;
    gap: 10px;
    background: #f5f5f5;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    flex-shrink: 0;
}

.thumbnail.active {
    border-color: var(--primary);
    transform: scale(1.05);
}

.thumbnail:hover {
    transform: scale(1.05);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Center detail modal from mobile version */
.center-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 1100;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.center-detail-modal.active {
    transform: translateY(0);
}

.modal-header {
    position: sticky;
    top: 0;
    background: var(--white);
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
}

.close-modal {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gray);
    cursor: pointer;
}

.center-images {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.center-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-counter {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.center-detail-content {
    padding: 20px 15px;
}

.center-detail-header {
    margin-bottom: 20px;
}

.center-detail-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.center-detail-type {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.center-detail-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.detail-rating-stars {
    color: #FFD700;
    font-size: 16px;
}

.detail-rating-count {
    font-size: 14px;
    color: var(--gray);
}

.center-detail-info {
    margin-bottom: 25px;
}

.detail-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.detail-info-icon {
    color: var(--primary);
    font-size: 18px;
    padding-top: 2px;
}

.detail-info-text {
    flex: 1;
    font-size: 15px;
    color: var(--dark);
}

.center-services {
    margin-bottom: 25px;
}

.services-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
}

.services-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-tag {
    background: var(--primary-light);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 15px;
}

.center-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.center-action-btn {
    flex: 1;
    padding: 12px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(74, 111, 255, 0.2);
}

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

/* Media Queries for Responsive Design */
@media (max-width: 650px) {

    /* Switch to mobile layout */
    .map-header {
        padding: 15px;
    }

    .map-title {
        font-size: 1.2rem;
    }

    .sidebar-toggle {
        display: none;
    }

    .sidebar-handle {
        display: block;
    }

    .map-content {
        display: flex;
        flex-direction: column;
        height: 100%;
        padding-top: 60px;
        position: relative;
    }

    .map-container {
        height: 100%;
        position: relative;
    }

    .map-sidebar {
        width: 100%;
        background: var(--white);
        z-index: 99;
        position: absolute;
        bottom: 0;
        left: 0;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
        max-height: 100%;
        overflow-y: auto;
        border-right: none;
    }

    .map-sidebar.mini {
        transform: translateY(calc(100% - 94px));
    }

    .map-sidebar.collapsed {
        transform: none;
    }

    .center-card-map-view {
        display: flex;
        margin-bottom: 15px;
    }

    .card-image {
        width: 139px;
        height: 123px;
        min-height: 100px;
    }

    .search-box {
        padding: 3px 15px 11px 15px;
    }

    .image-preview-container {
        width: 95%;
        height: 90%;
    }

    .radius-control {
        padding: 7px 15px;
        margin-top: -8px;
    }

    .radius-header {
        font-size: 12px;
        margin-bottom: 0px;
    }

    .map-header {
        padding: 12px 15px;
    }

    .map-title {
        font-size: 1.1rem;
        gap: 8px;
    }

    .close-map {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }

    .card-body-map-view {
        padding: 0px 6px;
        width: 100%;
        position: relative;
    }

    .card-actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
        position: absolute;
        bottom: 0;
        left: 0;
        margin: 4px 3px;
    }

    #center-card-map-view-detail-btn {
        width: fit-content;
        padding: 3px 12px;
    }

    .btn-small {
        width: 100%;
        padding: 3px 5px;
        font-size: 10px;
        gap: 4px;
        border-radius: 2px;
    }

    .preview-controls {
        padding: 0 10px;
    }

    .preview-arrow {
        width: 36px;
        height: 36px;
    }

    .thumbnails {
        height: 80px;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }

    .center-action-btn {
        padding: 10px;
        font-size: 14px;
    }

    .btn-location {
        background: #FE2972;
        width: 77%;
    }

    .search-input input {
        width: 77%;
    }

    .search-input {
        flex-direction: column;
        margin-bottom: 15px;
        align-items: center;
        display: none;
    }

    .card-header {
        margin-bottom: 0px;
        background-color: white;
        padding: 10px 2px 3px 2px;
    }

    .card-title {
        font-weight: 700;
        color: #717171;
        font-size: 11px;
        margin-bottom: 0px;
    }

    .card-info {
        font-size: 10px;

        margin-bottom: 6px;
    }

    .card-info i {
        color: #000000;
        width: 1px;
        margin-top: 2px;
        font-size: 11px;
    }

    .card-rating {
        margin-top: 2px;
    }

    .rating-count {
        font-size: 7px;
        color: #666;
        margin-top: -7px;
    }

    .rating-star {
        height: 10px !important;
    }

    .rating-value {
        font-weight: 600;
        font-size: 13px;
    }

    .card-tag {
        padding: 2px 6px;
        font-size: 9px;
    }

    .card-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 2px;
        margin: 0px 0;
    }

    .card-distance {
        font-size: 11px;
        color: #585858;
        font-weight: 600;
        display: flex;
        gap: 8px;
        position: absolute;
        bottom: 0;
        right: 0;
        margin: 8px;
    }
}

/* WhatsApp button */
#sticky-whatsapp-btn {
    position: fixed;
    right: 20px;
    bottom: 100px;
    /* Positioned above the call button */
    width: 60px;
    height: 60px;
    background-color: #25D366;
    /* WhatsApp green */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    overflow: hidden;
    text-decoration: none;
}

#sticky-whatsapp-btn:hover {
    width: 150px;
    border-radius: 30px;
    background-color: #20ba57;
    /* Darker green on hover */
}

#whatsapp-text {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-left: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
}

#sticky-whatsapp-btn:hover #whatsapp-text {
    opacity: 1;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.pulse-green {
    animation: pulse-green 2s infinite;
}


/* Call button */
#sticky-call-btn {
    position: fixed;
    right: 20px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    background-color: #FE2972;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(254, 41, 114, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    overflow: hidden;
    text-decoration: none;
}

#sticky-call-btn:hover {
    width: 150px;
    border-radius: 30px;
    background-color: #e61e64;
}

.button-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    padding-left: 18px;
}

.phone-icon {
    width: 24px;
    height: 24px;
    fill: white;
    flex-shrink: 0;
}

#call-text {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-left: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    text-decoration: none;
}

#sticky-call-btn:hover #call-text {
    opacity: 1;
    text-decoration: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(254, 41, 114, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(254, 41, 114, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(254, 41, 114, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

.company_name_footer {
    font-size: 1.2rem;
    font-weight: 700;
    padding-left: 20px;
    margin-bottom: -10px;
}

.dummy_page {
    height: 200px;
    width: 100%;
    background-color: white;
    text-align: center;
    box-sizing: border-box;
    padding: 60px 0px;
    margin-top: -180px;
}

/* STYLES SPECIFIC TO FOOTER  */
.footer {
    width: 100%;
    position: relative;
    height: auto;
    background-color: white;
    color: black;

    border-top: solid #ccc .5px;
}

.footer .col {
    width: 190px;
    height: auto;
    float: left;
    color: black;

    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding: 0px 20px 20px 20px;
}

.footer .col h1 {
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-size: 12px;
    line-height: 17px;
    padding: 20px 0px 5px 0px;
    color: black;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.250em;
}

.footer .col ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.footer .col ul li {
    color: #999999;
    font-size: 14px;
    font-family: inherit;
    font-weight: bold;
    padding: 5px 0px 5px 0px;
    cursor: pointer;
    transition: .2s;
    -webkit-transition: .2s;
    -moz-transition: .2s;
}

.footer .col ul li a {
    color: #999999;
    font-size: 14px;
    font-family: inherit;
    font-weight: bold;
    padding: 5px 0px 5px 0px;
    cursor: pointer;
    transition: .2s;
    -webkit-transition: .2s;
    -moz-transition: .2s;
}

.social ul li {
    display: inline-block;
    margin-right: -15px;

}

.footer .col ul li:hover {
    color: black;
    transition: .1s;
    -webkit-transition: .1s;
    -moz-transition: .1s;
}

.footer .col ul li a:hover {
    color: black;
    transition: .1s;
    -webkit-transition: .1s;
    -moz-transition: .1s;
}

.clearfix {
    clear: both;
}

/* Desktop: fluid contain (single breakpoint pair with mobile @ 650px) */
.contain {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.contain .social {
    display: block;
    max-width: 100%;
}

.social h1 {
    margin: 0;
}

.socialmedia-page {
    height: 20px;
    width: 50px;
    padding-left: 5px;
}

/* Desktop brand footer — mobile overrides in @media (max-width: 650px) below */
.brandFooter {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #eaeaea;
    margin-top: 200px;
}

.firstCol {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-evenly;
    background-color: #fff;
    border-top: 1px solid #e2e2e2;
    color: #000;
    z-index: 2;
    margin-bottom: 20px;
}

.firstRow h4 {
    font-size: 30px;
    font-weight: 700;
    color: #FE2972;
    margin-top: 20px;
    cursor: pointer;
}

.subDiv p {
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.subDiv2 img {
    width: 137px;
    height: 24px;
    cursor: pointer;
    margin-bottom: -12px;
}

.subDiv3 p {
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
}

.subDiv3 img {
    width: 135px;
    height: 38px;
    margin-left: 51px;
    margin-bottom: -10px;
    cursor: pointer;
}

.subDiv4 p {
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
}

.subDiv4 img {
    width: 112px;
    height: 47px;
    margin-left: 56px;
    margin-bottom: -20px;
    cursor: pointer;
}

.firstRow h5 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 20px;
    cursor: pointer;
    margin-left: -5px;
}

.subhead p {
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.subhead a {
    text-decoration: none;
}

.imgControl {
    display: flex;
    width: 80px;
    height: 30px;
}

.imgControl img {
    width: 100%;
    height: 100%;
    margin-top: 20px;
    cursor: pointer;
}

.imgControls {
    display: flex;
}

.imgControls p {
    font-size: 16px;
    font-weight: 500;
    color: black;
    cursor: pointer;
    padding-top: 17px;
}

.imgControls img {
    width: 36px;
    height: 19px;
    cursor: pointer;
    margin-left: -5px;
}

.playstore-icon-text-link {
    margin-top: -17px;
    text-decoration: none;
    margin-left: 10px;
}

.secondCol {
    display: flex;
    width: auto;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    font-size: 9px;
    font-weight: 500;
    background-color: #fff;
    border-top: 1px solid #e2e2e2;
    color: #000;
    z-index: 2;
    padding: 1em;
}

.secondCol p {
    color: #a1a1a1;
    font-size: 9px;
}

.follow-link {
    text-decoration: none;
    color: #fff;
    height: 25px;
    border: 1px solid white;
    border-radius: 50%;
    padding: 4px;
    padding-left: 8px;
    padding-right: 8px;
    margin: 3px;
}

.follow-link img {
    width: 15px;
    height: 15px;
    filter: brightness(0) invert(1);
    position: relative;
    top: -1px;
}

.follow-link img:hover {
    cursor: pointer;
}

.linkedin img {
    border-radius: 50%;
    position: relative;
    top: -1px;
}

@media (max-width: 650px) {
    .footer .col {
        width: 100%;
        float: none;
    }

    .footer .col h1 {
        font-size: 14px;
    }

    .footer .col ul li {
        font-size: 13px;
    }

    .brandFooter {
        display: flex;
        flex-direction: column;
        border-top: 1px solid #eaeaea;
        margin-top: 188px;
    }

    .heading2 {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        font-size: 20px;
        font-weight: 600;
    }

    .firstCol {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .secondCol {
        padding: 0.5em;
    }

    .secondCol p {
        margin: 0;
        color: #a1a1a1;
        font-size: 8px;
    }

    .secondCol div {
        display: flex;
        text-align: center;
        justify-content: center;
    }

    .secondCol svg {
        width: 15px;
        margin: 6px;
    }

    .firstRow {
        display: flex;
        flex-direction: column;
        margin-left: 20px;
    }

    .firstRow:first-child {
        grid-column: 1/-1;
    }

    .firstRow h4 {
        font-size: 18px;
        margin-top: 10px;
        color: #FE2972;
    }

    .follow {
        display: flex;
        width: 80%;
        justify-content: right;
        margin-top: -30px;
    }

    .newimg {
        display: flex;
        width: 100%;
        margin-left: 170px;
        height: 100px !important;
        justify-content: right;
    }

    .newimg img {
        /* border: 1px solid red; */
        display: flex;
        width: 70% !important;
        height: 30px !important;
        margin-top: -0px !important;
        justify-content: right;
    }

    .subDiv p {
        font-size: 12px;
        font-weight: 500;
        cursor: pointer;
        /* width: 100px; */
    }

    .subDiv2 p {
        font-size: 10px;
        font-weight: 500;
        cursor: pointer;
    }

    .subDiv2 img {
        width: auto;
        height: 19px;
        margin-bottom: -10px;
        margin-left: 6px;
        cursor: pointer;
    }

    .subDiv3 p {
        font-size: 10px;
        font-weight: 500;
        cursor: pointer;
    }

    .subDiv3 img {
        width: auto;
        height: 19px;
        margin-left: 15px;
        cursor: pointer;
        margin-bottom: -3px;
    }

    .subDiv4 p {
        font-size: 10px;
        font-weight: 500;
        cursor: pointer;
    }

    .subDiv4 img {
        width: 63px;
        height: 31px;
        margin-bottom: -11px;
        margin-left: 19px;
        cursor: pointer;
    }

    .subhead {
        height: 1.3em;
    }

    .subhead p {
        font-size: 10px;
        font-weight: 500;
        cursor: pointer;
        margin-top: -5px !important;
    }

    .subhead a {
        text-decoration: none;
    }

    .subhead span {
        margin-top: -5px;
        font-size: 17px;
    }

    .imgControl {
        display: flex;
        width: 80px;
        height: 30px;
    }

    .imgControl img {
        width: 100%;
        height: 100%;
        margin-top: 20px;
        cursor: pointer;
    }

    .imgControls {
        display: flex;
    }

    .imgControls p {
        font-size: 10px !important;
        font-weight: 500;
        color: black;
        cursor: pointer;
        margin-left: 9px;
    }

    .imgControls img {
        width: 37px;
        height: 16px;
        cursor: pointer;
        margin-left: -6px;
    }

    .playstore-icon {
        margin-top: -10px;
    }

    .playstore-icon-text {
        margin-left: 3px !important;
        margin-top: 3px !important;
    }

    .playstore-icon-text-link {
        margin-top: -7px;
        text-decoration: none;
        margin-left: -1px;
    }

    .firstRow h5 {
        font-size: 12px;
        font-weight: 600;
        margin-top: 00px;
        cursor: pointer;
        margin-left: 0px;
        margin-top: 20px;
    }
}
