/* Main CSS for Riser Recliner Directory */

/* Variables */
:root {
    --primary-color: #E55A2B;
    --primary-dark: #C9421F;
    --primary-light: #FFEEE9;
    --secondary-color: #1a73e8;
    --secondary-dark: #0d47a1;
    --secondary-light: #d4e4fa;
    --accent-color: #34a853;
    --accent-dark: #0f8534;
    --accent-light: #d5f5dd;
    --text-color: #333333;
    --text-light: #666666;
    --background-color: #ffffff;
    --background-alt: #f5f7fa;
    --border-color: #e1e4e8;
    --success-color: #28a745;
    --warning-color: #E55A2B;
    --error-color: #dc3545;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
    --container-width: 1200px;
    --radius: 6px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --section-spacing: 5rem;
    --content-spacing: 2rem;
}

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

/* Breadcrumb Navigation */
.breadcrumb-nav {
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: ">";
    margin-left: 0.5rem;
    color: var(--text-light);
    font-weight: 400;
}

.breadcrumb-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.breadcrumb-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumb-current .breadcrumb-text {
    color: var(--text-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .breadcrumb-nav {
        margin-bottom: 1.5rem;
        padding: 0.75rem 0;
    }
    
    .breadcrumb-list {
        font-size: 0.9rem;
        gap: 0.25rem;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        margin-left: 0.25rem;
    }
}

html {
    font-size: 16px;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color);
}

h1 {
    font-size: 2.8rem;
    letter-spacing: -0.01em;
}

h2 {
    font-size: 2.2rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.6rem;
}

p {
    margin-top: 0;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

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

img, svg {
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
}

/* Buttons */
.btn, button.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--radius);
    transition: var(--transition);
    color: #fff;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    text-decoration: none;
}

.btn:hover {
    color: #fff;
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    text-decoration: none;
}

.btn-outline {
    color: var(--primary-color);
    background-color: transparent;
    border-color: var(--primary-color);
}

.btn-outline:hover {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-sm, .btn-small {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: var(--radius);
}

/* Header */
.site-header {
    background-color: var(--background-color);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: relative;
    z-index: 100;
}

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

.site-branding {
    display: flex;
    align-items: center;
    margin-right: auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

.logo svg {
    margin-right: 0.75rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.logo-text {
    display: block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -0.025em;
    transition: all 0.3s ease;
}

.logo:hover .logo-text {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shop-description {
    margin: 1rem 0;
    padding: 0 1.5rem;
}

.shop-description p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.logo:hover svg {
    transform: scale(1.05);
}

/* Navigation */
.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-color);
}

.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li {
    position: relative;
    margin-left: 1.5rem;
}

.menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    display: block;
}

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

/* Dropdown toggle styles */
.dropdown-toggle {
    cursor: pointer;
    position: relative;
}

.dropdown-toggle::after {
    content: '▼';
    margin-left: 0.5rem;
    font-size: 0.8em;
    transition: transform 0.2s ease;
}

.dropdown-toggle.active::after {
    transform: rotate(180deg);
}

/* Show dropdown on active state instead of hover */
.has-dropdown .dropdown.active {
    display: block;
}

/* Keep hover for desktop as fallback */
@media (min-width: 769px) {
    .has-dropdown:hover .dropdown {
        display: block;
    }
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background-color: var(--background-color);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    padding: 0.5rem 0;
    z-index: 1000;
    max-height: 90vh;
    overflow-y: auto;
}

.dropdown li {
    margin: 0;
}

.dropdown a {
    padding: 0.5rem 1rem;
}

.dropdown a:hover {
    background-color: var(--background-alt);
}

/* Search Link in Navigation */
.search-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-link:hover {
    color: var(--primary-dark) !important;
    transform: translateY(-1px);
}

/* Search Button in Navigation */
.search-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.search-button:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.search-button svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.search-button-text {
    display: inline-block;
}

/* Mobile responsive for search button */
@media (max-width: 768px) {
    .search-button-text {
        display: none;
    }
    
    .search-button {
        padding: 0.5rem;
        margin-left: 0.5rem;
    }
}

/* Search */
.search-toggle {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-color);
}

.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
}

.search-overlay.active {
    display: block;
}

.search-container {
    max-width: 800px;
    margin: 2rem auto;
    background-color: var(--background-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
}

.search-form {
    display: flex;
    margin-bottom: 1rem;
}

.search-form input[type="search"] {
    flex-grow: 1;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
}

.search-input-group {
    position: relative;
    display: flex;
    flex-grow: 1;
}

.search-input-group svg {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.search-close {
    background: none;
    border: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
    color: var(--text-color);
}

.search-results {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background-color: var(--background-alt);
    border-radius: var(--radius);
}

.search-results-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-results-header {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background-color: #718096;
    color: white;
    border-radius: var(--radius);
    text-align: center;
}

.search-results-header p {
    margin: 0;
    font-weight: 500;
    font-size: 0.95rem;
}

.result-item {
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: var(--background-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.result-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.result-item h3 {
    margin-bottom: 0.5rem;
}

.result-meta {
    display: flex;
    justify-content: space-between;
    margin: 0.5rem 0;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.65) 100%);
    padding: 4rem 0;
}

.hero-background {
    background-image: url('/images/hero-riser-recliners.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Override any existing hero background */
.hero {
    background-image: none !important;
    background-color: transparent !important;
}

/* Ensure all hero child elements are transparent */
.hero .container,
.hero .hero-content-wrapper,
.hero .hero-content {
    background: transparent !important;
    background-color: transparent !important;
}

.hero.hero-background {
    background-image: url('/images/hero-riser-recliners.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Additional specificity for hero background */
section.hero.hero-background.full-width {
    background-image: url('/images/hero-riser-recliners.png?v=2') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
    background: transparent !important;
    min-height: 80vh;
}

.hero.full-width {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
    text-align: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    animation: fadeInUp 0.8s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

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

.hero h1 {
    margin-bottom: 0.75rem;
    font-size: 3.2rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.hero .lead {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
    font-size: 1rem;
}

.hero-feature:hover {
    transform: translateY(-2px);
}

.feature-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: none;
    border: none;
}

.feature-icon-wrapper svg {
    color: white;
    stroke-width: 2;
    width: 20px;
    height: 20px;
}

/* Hero Search Styling */
.hero-search-box {
    margin: 2rem 0;
    width: 100%;
}

@media (max-width: 768px) {
    .hero-search-box {
        margin: 1rem -0.5rem;
        padding: 0;
        width: 100vw;
        position: relative;
        left: 0;
        right: 0;
        overflow-x: visible;
    }
    
    .hero-search-box .search-results,
    .hero-search-box #main-search-results {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        box-sizing: border-box !important;
    }
    
    .hero-search-box .search-results .shop-card,
    .hero-search-box #main-search-results .shop-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        box-sizing: border-box !important;
    }
}

.hero-search-container {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 50px;
    padding: 6px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    align-items: center;
    transition: all 0.3s ease;
    gap: 0;
}

.hero-search-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.25);
}

.hero-search-field {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    background: transparent;
    border-radius: 0;
    margin: 0;
    transition: all 0.3s ease;
}

.hero-search-field:focus-within {
    background: transparent;
    box-shadow: none;
    outline: none;
}

.hero-search-field .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    z-index: 1;
    pointer-events: none;
}

.hero-search-field:focus-within .search-icon {
    color: #666;
    transform: translateY(-50%);
}

.hero-search-field input {
    width: 100%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 70px;
    font-size: 16px;
    background: transparent;
    color: #333;
    transition: all 0.3s ease;
    font-weight: 500;
}

.hero-search-field input:focus {
    color: #333;
}

.hero-search-field input::placeholder {
    color: #555;
    transition: color 0.3s ease;
    font-weight: 500;
}

.hero-search-field input:focus::placeholder {
    color: #333;
}

.hero-search-button {
    background: #E55A2B;
    color: white;
    border: none;
    padding: 18px 32px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    margin: 0;
}

.hero-search-button:hover {
    background: #C9421F;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(229, 90, 43, 0.3);
}

/* Radius Selector Styling */
.radius-selector {
    margin: 0 12px;
    position: relative;
}

.radius-selector select {
    background: #e9ecef;
    border: 2px solid transparent;
    border-radius: 25px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    appearance: none;
    -webkit-appearance: none;
    appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.radius-selector select:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.radius-selector select:focus {
    outline: none;
    border-color: #E55A2B;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(229, 90, 43, 0.1);
}

.radius-selector select option {
    background: white;
    color: #333;
    padding: 8px 12px;
}

@media (max-width: 768px) {
    .hero {
        min-height: 50vh;
        padding: 1.5rem 0;
    }

    .hero.hero-background,
    section.hero.hero-background.full-width {
        background-position: 80% center !important;
    }

    .hero-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
        border-radius: 20px;
    }

    .hero h1 {
        font-size: 2.75rem;
        margin-bottom: 1.25rem;
    }
    
    .hero .lead {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .hero-features {
        gap: 1.5rem;
        flex-direction: column;
        align-items: center;
        margin-top: 2rem;
    }
    
    .hero-search-container {
        flex-direction: column;
        padding: 12px;
        border-radius: 20px;
        max-width: 100%;
        gap: 8px;
    }
    
    .hero-search-field {
        width: 100%;
        margin-bottom: 0;
    }
    
    .radius-selector {
        width: 100%;
        margin: 0;
        text-align: center;
    }
    
    .radius-selector select {
        width: 100%;
        padding: 12px 16px;
        border-radius: 25px;
        border: 1px solid #e9ecef;
        background: white;
        font-size: 14px;
    }
    
    .hero-search-button {
        width: 100%;
        padding: 16px 24px;
        margin-top: 4px;
        border-radius: 25px;
        font-size: 16px;
        font-weight: 600;
    }

    .container {
        padding: 0 0.5rem;
    }

    .search-results {
        margin-top: 1rem;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative;
        left: 0;
        right: 0;
        box-sizing: border-box;
    }
    
    /* Mobile search result content centering */
    .search-results .shop-card .shop-name,
    .search-results .shop-card .shop-description,
    .search-results .shop-card .shop-description p,
    .search-results .shop-card .shop-info-left,
    .search-results .shop-card .shop-contact-left,
    .search-results .shop-card .shop-website-left,
    .search-results .shop-card .shop-address-left {
        text-align: center !important;
    }
    
    .search-results .shop-card .shop-rating-left,
    .search-results .shop-card .rating-display {
        justify-content: center !important;
        text-align: center !important;
    }
    
    /* Force all search result containers and their shop cards to be full width */
    .search-results,
    #search-results,
    #main-search-results,
    .search-results .providers-list,
    #search-results .providers-list,
    #main-search-results .providers-list {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: -0.5rem !important;
        margin-right: -0.5rem !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Make sure shop cards in search results are full width */
    .search-results .shop-card,
    #search-results .shop-card,
    #main-search-results .shop-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        box-sizing: border-box !important;
    }

    /* Make provider sections full width on mobile - overridden by locations.css for location pages */
    .providers-section,
    .promoted-providers-section,
    .regular-providers-section {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .providers-list,
    .promoted-providers-grid {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        padding-left: 0;
        padding-right: 0;
        width: 100vw;
        max-width: 100vw;
    }

    .shop-card {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 16px !important;
        box-sizing: border-box !important;
    }

    .search-results-header {
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
    }

    .search-results-list {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    /* Make search results break out of ALL containers on mobile - CSS VARIABLES APPROACH */
    :root {
        --mobile-full-width: 100vw;
        --mobile-negative-margin: -4rem;
    }
    
    .search-overlay .search-results,
    .search-overlay #search-results,
    div.search-results,
    [id="search-results"] {
        margin-left: var(--mobile-negative-margin) !important;
        margin-right: var(--mobile-negative-margin) !important;
        width: var(--mobile-full-width) !important;
        max-width: var(--mobile-full-width) !important;
        padding: 0 !important;
        position: relative !important;
        box-sizing: border-box !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .search-overlay .search-results .shop-card {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        width: 100% !important;
        border-radius: 16px !important;
        box-sizing: border-box;
    }

    .search-overlay .search-results .search-results-header {
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 0 !important;
    }

    .search-overlay .search-results .search-results-list {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Prevent horizontal scrollbars and ensure proper containment */
    .search-overlay {
        overflow-x: hidden;
    }
    
    .search-overlay .search-results,
    .search-results {
        overflow-x: hidden;
    }

    /* MAXIMUM SPECIFICITY OVERRIDE - FINAL ATTEMPT */
    html body .search-overlay.search-overlay.search-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 9999 !important;
    }
    
    html body .search-overlay .search-container.search-container.search-container {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        margin: 0 !important;
        padding: 0 !important;
        max-width: none !important;
        background: transparent !important;
        border-radius: 0 !important;
    }
    
    html body .search-overlay .search-results.search-results.search-results,
    html body .search-overlay #search-results#search-results#search-results {
        position: absolute !important;
        top: 80px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        background: var(--background-alt) !important;
    }
    
    /* Force all search result elements to full width EXCEPT logo and badge */
    html body .search-overlay .search-results *:not(.shop-card-image):not(.shop-card-image *):not(.promotion-badge):not(.featured-badge),
    html body .search-overlay #search-results *:not(.shop-card-image):not(.shop-card-image *):not(.promotion-badge):not(.featured-badge) {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* MOBILE: Properly constrain search results containers */
    html body div.search-overlay,
    html body div.search-container,
    html body div.search-results,
    html body div#search-results,
    html body div#main-search-results {
        margin-left: -0.5rem !important;
        margin-right: -0.5rem !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        width: 100vw !important;
        max-width: 100vw !important;
        position: relative !important;
        left: 0 !important;
        transform: none !important;
        box-sizing: border-box !important;
    }
    
    /* MOBILE: Search results content containers */
    html body .search-overlay div:not(.shop-card-image):not(.promotion-badge):not(.featured-badge),
    html body .search-container div:not(.shop-card-image):not(.promotion-badge):not(.featured-badge),
    html body .search-results div:not(.shop-card-image):not(.promotion-badge):not(.featured-badge) {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
        left: 0 !important;
        transform: none !important;
        box-sizing: border-box !important;
    }
    
    /* Force shop cards to full width - EXCLUDE logo and badge elements */
    html body .search-overlay .shop-card,
    html body .search-results .shop-card,
    html body #search-results .shop-card,
    html body #main-search-results .shop-card {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Apply full width to shop card children EXCEPT logo and badge */
    html body .search-overlay .shop-card *:not(.shop-card-image):not(.shop-card-image *):not(.promotion-badge):not(.featured-badge) {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Fix specific elements that should not be full width */
    html body .search-overlay .shop-card .shop-features-left,
    html body .search-overlay .shop-card .shop-features-left *,
    html body .search-overlay .shop-card .feature-item,
    html body .search-overlay .shop-card .feature-item * {
        width: auto !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Fix logo to remain square - MORE SPECIFIC */
    html body .search-overlay .shop-card .shop-card-image,
    html body .search-overlay .shop-card .shop-card-image img,
    html body .search-overlay .shop-card .shop-card-image svg,
    html body .search-overlay .shop-card .shop-card-image .feature-icon-wrapper,
    html body .search-overlay .shop-card .shop-card-image .feature-icon-wrapper svg {
        width: 80px !important;
        height: 80px !important;
        max-width: 80px !important;
        max-height: 80px !important;
        min-width: 80px !important;
        min-height: 80px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        object-fit: contain !important;
    }
    
    /* Override any full-width styles on logo container */
    html body .search-overlay .shop-card .shop-card-image * {
        width: auto !important;
        max-width: 80px !important;
        height: auto !important;
        max-height: 80px !important;
    }
    
    /* Ensure logo container is excluded from full-width rules */
    html body .search-overlay .shop-card .shop-card-image {
        position: relative !important;
        left: auto !important;
        transform: none !important;
        width: 80px !important;
        height: 80px !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
    }
    
    /* Fix FEATURED badge to normal width - PRESERVE ORANGE OUTLINE */
    html body .search-overlay .shop-card .promotion-badge,
    html body .search-overlay .shop-card .featured-badge,
    html body .search-overlay .shop-card .promoted .promotion-badge,
    html body .search-overlay .shop-card .promoted .featured-badge {
        width: auto !important;
        max-width: none !important;
        min-width: auto !important;
        height: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        position: relative !important;
        left: auto !important;
        transform: none !important;
        display: inline-block !important;
    }
    
    /* Override universal selectors for logo and badge */
    html body .search-overlay .shop-card .shop-card-image,
    html body .search-overlay .shop-card .promotion-badge,
    html body .search-overlay .shop-card .featured-badge {
        width: auto !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        position: relative !important;
        left: auto !important;
        transform: none !important;
    }
    
    /* Specific override for logo dimensions */
    html body .search-overlay .shop-card .shop-card-image {
        width: 80px !important;
        height: 80px !important;
        max-width: 80px !important;
        max-height: 80px !important;
    }
    
    /* OVERRIDE UNIVERSAL SELECTORS - Force logo and badge to normal size */
    html body .search-overlay .shop-card .shop-card-image,
    html body .search-overlay .shop-card .shop-card-image img,
    html body .search-overlay .shop-card .shop-card-image svg,
    html body .search-overlay .shop-card .promotion-badge,
    html body .search-overlay .shop-card .featured-badge {
        width: auto !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        position: relative !important;
        left: auto !important;
        transform: none !important;
    }
    
    /* Force logo to exact dimensions */
    html body .search-overlay .shop-card .shop-card-image {
        width: 80px !important;
        height: 80px !important;
        max-width: 80px !important;
        max-height: 80px !important;
        min-width: 80px !important;
        min-height: 80px !important;
    }
    
    /* Force badge to auto width */
    html body .search-overlay .shop-card .promotion-badge,
    html body .search-overlay .shop-card .featured-badge {
        width: auto !important;
        max-width: none !important;
        min-width: auto !important;
        height: auto !important;
        display: inline-block !important;
    }
    
    /* Fix buttons and badges to maintain original sizing */
    html body .search-overlay .shop-card .btn,
    html body .search-overlay .shop-card .promotion-badge,
    html body .search-overlay .shop-card .featured-badge {
        width: auto !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    /* Fix rating stars to maintain original sizing */
    html body .search-overlay .shop-card .rating-display,
    html body .search-overlay .shop-card .rating-display * {
        width: auto !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Global override for any interfering margins */
    body, html {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Ensure search overlay itself has no constraints */
    .search-overlay {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* FINAL OVERRIDE - Must be last to override everything */
    .search-overlay .shop-card .shop-card-image {
        width: 80px !important;
        height: 80px !important;
        max-width: 80px !important;
        max-height: 80px !important;
        min-width: 80px !important;
        min-height: 80px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        position: relative !important;
        left: auto !important;
        transform: none !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
    }
    
    .search-overlay .shop-card .promotion-badge,
    .search-overlay .shop-card .featured-badge {
        width: auto !important;
        max-width: none !important;
        min-width: auto !important;
        height: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        position: relative !important;
        left: auto !important;
        transform: none !important;
        display: inline-block !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
    }
    
    /* MAXIMUM SPECIFICITY OVERRIDE - MUST WORK */
    html body div.search-overlay div.search-container div.search-results div.shop-card div.shop-card-image,
    html body div.search-overlay div.search-container div.search-results div.shop-card div.shop-card-image img,
    html body div.search-overlay div.search-container div.search-results div.shop-card div.shop-card-image svg {
        width: 80px !important;
        height: 80px !important;
        max-width: 80px !important;
        max-height: 80px !important;
        min-width: 80px !important;
        min-height: 80px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        position: relative !important;
        left: auto !important;
        transform: none !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
    }
    
    html body div.search-overlay div.search-container div.search-results div.shop-card div.promotion-badge,
    html body div.search-overlay div.search-container div.search-results div.shop-card div.featured-badge {
        width: auto !important;
        max-width: none !important;
        min-width: auto !important;
        height: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        position: relative !important;
        left: auto !important;
        transform: none !important;
        display: inline-block !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
    }

    /* Force full width with JavaScript injection */
    .search-results[style*="width"],
    .search-results[style*="margin"],
    .search-results[style*="padding"] {
        margin-left: var(--mobile-negative-margin) !important;
        margin-right: var(--mobile-negative-margin) !important;
        width: var(--mobile-full-width) !important;
        max-width: var(--mobile-full-width) !important;
        padding: 0 !important;
        position: relative !important;
        box-sizing: border-box !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

.lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 2rem;
    padding: 0 0.5rem;
}

@media (max-width: 768px) {
    .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
}

/* Search Box */
.search-box {
    max-width: 700px;
    margin: 0 auto 1.5rem;
    position: relative;
    padding: 0;
}

.search-container {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.search-field-container {
    position: relative;
    flex: 2;
    border: 1px solid var(--border-color);
    border-radius: var(--radius) 0 0 var(--radius);
    background-color: white;
    display: flex;
    align-items: center;
}

.search-radius-container {
    position: relative;
    flex: 0 0 auto;
    border: 1px solid var(--border-color);
    border-left: none;
    background-color: white;
    padding: 0 5px;
    display: flex;
    align-items: center;
}

.search-radius-container select {
    border: none;
    background: transparent;
    padding: 12px 5px;
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
    color: var(--text-color);
    -webkit-appearance: none;
    appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1em;
    padding-right: 1.5rem;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    z-index: 1;
}

.search-box input[type="search"] {
    border: none;
    padding: 12px 15px 12px 40px;
    font-size: 1rem;
    width: 100%;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}

/* Remove blue outline from search inputs */
.hero-search-field input[type="search"] {
    border: none;
    padding: 12px 15px 12px 40px;
    font-size: 1rem;
    width: 100%;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    -webkit-focus-ring-color: transparent;
    -webkit-tap-highlight-color: transparent;
}

.hero-search-field input[type="search"]:focus {
    outline: none;
    box-shadow: none;
    border: none;
    -webkit-focus-ring-color: transparent;
}

.search-button {
    flex: 1;
    white-space: nowrap;
    padding: 0 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    text-align: center;
    font-size: 1rem;
}

.search-button:hover {
    background-color: var(--primary-dark);
}

/* Search Results Styling */
.search-results-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-results-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.search-results-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.result-item h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.result-item p {
    margin: 0 0 8px 0;
    color: var(--text-color);
    font-size: 0.95rem;
}

.result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
    justify-content: center;
}

.result-rating {
    color: var(--primary-color);
}

.result-distance {
    color: var(--accent-color);
    font-weight: 500;
}

.result-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.75rem;
}

.btn-small {
    display: inline-block;
    padding: 5px 10px;
    background-color: var(--background-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 0.85rem;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.btn-small:hover {
    background-color: var(--border-color);
    color: var(--text-color);
}

.btn-small.view-on-map {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-color: var(--primary-light);
}

.btn-small.view-on-map:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-small.visit-website {
    background-color: var(--accent-light);
    color: var(--accent-dark);
    border-color: var(--accent-light);
}

.btn-small.visit-website:hover {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

@media (min-width: 481px) {
    .search-input-wrapper {
        width: 65%;
    }

    .search-button {
        width: 35%;
    }
}

@media (max-width: 768px) {
    .search-box {
        padding: 0 1rem;
        width: 100%;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .search-input-wrapper {
        width: 55%;
    }

    .search-button {
        width: 45%;
    }

    .providers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .search-box {
        width: 100%;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .search-container {
        flex-direction: column;
        width: 100%;
    }

    .search-field-container {
        border-radius: var(--radius);
        width: 100%;
        margin-bottom: 8px;
    }

    .search-radius-container {
        border-radius: var(--radius);
        width: 100%;
        margin-bottom: 8px;
        border: 1px solid var(--border-color);
    }

    .search-button {
        width: 100%;
        border-radius: var(--radius);
        padding: 12px;
    }
}

/* Map Section */
.map-section {
    margin: 2rem 0;
}

.map-container {
    display: flex;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    background-color: var(--background-alt);
}

.map {
    flex-grow: 1;
    height: 500px;
    min-height: 500px;
}

.map-sidebar {
    width: 350px;
    background-color: var(--background-color);
    border-left: 1px solid var(--border-color);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.map-filters {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.filter-group {
    margin-bottom: 1rem;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.filter-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background-color: var(--background-color);
}

/* .provider-list {
    padding: 1.5rem;
    flex-grow: 1;
    overflow-y: auto;
} */

/* .provider-card {
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: var(--background-alt);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
} */

/* .provider-card h4 {
    margin-bottom: 0.5rem;
} */

/* .provider-address {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
} */

/* .provider-rating {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
} */

/* .view-on-map {
    color: var(--primary-color);
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-block;
} */

.map-container.single-location .map {
    height: 400px;
}

/* Location Grid */
.location-grid {
    margin: 4rem 0;
    padding: 3rem 2rem;
    background-color: var(--background-alt);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.location-grid:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.location-grid h2 {
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.location-grid h2:after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.location-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    background-color: var(--background-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border-color);
    max-width: 280px; /* Make cards smaller */
    margin: 0 auto; /* Center cards */
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    color: var(--text-color);
    border-color: var(--primary-color);
}

/* Popular Locations List */
.popular-locations {
    margin: 4rem 0;
    padding: 3rem 2rem;
    background-color: var(--background-alt);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.popular-locations:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.popular-locations h2 {
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.popular-locations h2:after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

.locations-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.location-item {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.location-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.location-link {
    display: block;
    padding: 1.25rem 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
}

.location-link:hover {
    color: var(--primary-color);
    text-decoration: none;
    background-color: #f8f9fa;
}

@media (max-width: 768px) {
    .locations-list {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .location-link {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
}

/* Hide the image section completely */
.location-card-image {
    display: none;
}

.location-card-image svg {
    display: none;
}

.location-card-content {
    padding: 1.2rem; /* Smaller padding */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.location-card h3 {
    margin-bottom: 0.5rem; /* Smaller margin */
    font-size: 1.2rem; /* Smaller font */
    color: var(--primary-dark);
}

.location-card p {
    margin-bottom: 1rem; /* Smaller margin */
    color: var(--text-light);
    font-size: 0.95rem; /* Smaller font */
}

.location-card .btn, .location-card .explore-btn {
    margin-top: auto;
    align-self: center;
    padding: 0.5rem 1rem; /* Smaller padding */
    font-weight: 600;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--radius);
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    border: none;
    width: fit-content;
    border-radius: 50px;
    font-size: 0.9rem; /* Smaller font */
    z-index: 1;
}

/* Shop meta styling for provider cards using location-card layout */
.location-card .shop-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 12px 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.location-card .shop-meta span {
    display: inline-block;
}

.location-card .rating-info {
    color: #e55a2b;
    font-weight: 500;
}

.location-card .distance-info {
    color: #10b981;
    font-weight: 500;
}

/* Ensure provider cards use proper styling when using location-card class */
.providers-list .location-card {
    max-width: none; /* Override the 280px limit for provider listings */
    margin: 0 0 1.25rem 0; /* Remove auto centering for lists */
}

/* Search result cards styling */
.search-results-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-results-list li {
    margin-bottom: 2rem; /* Match location page spacing */
}

.search-result-card {
    cursor: pointer;
    width: 100%; /* Ensure full width like location tiles */
}

.search-result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.search-result-card:hover .explore-btn {
    background-color: #1a73e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Desktop only - Ensure all text in search results is left-aligned */
@media (min-width: 769px) {
    .search-results .shop-card,
    .search-results .shop-card * {
        text-align: left !important;
    }
}

/* Desktop only - left align search results */
@media (min-width: 769px) {
    .search-results .shop-card .shop-name,
    .search-results .shop-card .shop-description,
    .search-results .shop-card .shop-info-left,
    .search-results .shop-card .shop-features-left,
    .search-results .shop-card .rating-display {
        text-align: left !important;
    }
    
    /* Ensure desktop rating elements are left-aligned */
    .search-results .shop-card .shop-rating-left,
    .search-results .shop-card .rating-display,
    .search-results .shop-card .rating-stars,
    .search-results .shop-card .rating-value {
        justify-content: flex-start !important;
        text-align: left !important;
    }
}

/* Info Section */
.info-section {
    margin: 5rem 0;
    padding: 4rem 2rem;
    background-color: var(--background-alt);
    border-radius: var(--radius-lg);
    position: relative;
    background-image: linear-gradient(135deg, rgba(26, 115, 232, 0.05) 0%, rgba(248, 189, 0, 0.05) 100%);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.info-section:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.info-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.info-section h2:after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem 1rem;
    background-color: var(--background-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border-color);
    max-width: 280px;
    margin: 0 auto;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature svg {
    height: 36px;
    width: 36px;
    padding: 8px;
    background-color: rgba(26, 115, 232, 0.1);
    border-radius: 50%;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature h3 {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
    color: var(--primary-dark);
}

.feature p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Modern Shop Card - Horizontal Layout */
.shop-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
    border: 1px solid #e1e8ed;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.25rem;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

/* Fix alignment for first shop card in providers list */
.providers-list .shop-card:first-child {
    margin-top: 2rem; /* Increased margin to prevent overlap when hovering */
}

/* Ensure providers list container is properly aligned */
.providers-list {
    margin: 0;
    padding: 0;
}

/* Additional fix for shop card alignment in providers section */
.providers-section .shop-card:first-child {
    margin-top: 2rem; /* Increased margin to prevent overlap when hovering (translateY(-4px)) */
}

/* Ensure perfect alignment of first shop card with background container */
.providers-section .providers-list .shop-card:first-child {
    margin-top: 2rem; /* Increased margin to prevent overlap when hovering (translateY(-4px)) */
    margin-left: 0;
    margin-right: 0;
}

.shop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.shop-card-layout {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
}

.shop-card-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.shop-card-content {
    flex: 1;
    min-width: 0;
}

.shop-card-header {
    margin-bottom: 0.75rem;
}

.shop-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    text-align: left;
}

.shop-rating-left {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

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

.rating-stars {
    display: flex;
    gap: 1px;
}

.star {
    font-size: 16px;
    color: #e0e0e0;
    transition: color 0.2s ease;
}

.star.filled {
    color: #ffa726;
}

.rating-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    margin-left: 0.25rem;
}

.rating-count {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
    margin-left: 0.25rem;
}

.shop-info-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.shop-address-left,
.shop-contact-left,
.shop-website-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.shop-address-left svg,
.shop-contact-left svg,
.shop-website-left svg {
    color: var(--text-light);
    flex-shrink: 0;
}

.shop-description {
    margin-bottom: 0.75rem;
}

.shop-description p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.shop-features-left {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.feature-tag {
    display: inline-block;
    background: #000000;
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid #000000;
    text-transform: capitalize;
}

/* Remove old centered styles that are no longer needed */
.shop-rating-center,
.shop-address-center,
.shop-distance-center,
.shop-features {
    display: none;
}

.address-content {
    display: none;
}

.shop-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e1e8ed;
}

.shop-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid;
    font-weight: 500;
}

.shop-actions .btn svg {
    flex-shrink: 0;
}

.btn-view-map {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: var(--primary-color);
    border-color: #90caf9;
}

.btn-view-map:hover {
    background: linear-gradient(135deg, #bbdefb 0%, #90caf9 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.btn-hours {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    color: var(--accent-color);
    border-color: #a5d6a7;
}

.btn-hours:hover {
    background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1a73e8;
    border-color: #90caf9;
}

.btn-info:hover {
    background: linear-gradient(135deg, #bbdefb 0%, #90caf9 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

/* Mobile styles for horizontal shop cards */
@media (max-width: 768px) {
    .shop-card {
        margin-bottom: 1rem;
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
    }

    .shop-card-layout {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
        text-align: center;
        width: 100%;
    }

    .shop-card-image {
        align-self: center;
        width: 60px;
        height: 60px;
    }

    .shop-card-content {
        text-align: center;
    }

    .shop-name {
        font-size: 1.1rem;
        text-align: center;
    }

    .shop-rating-left {
        justify-content: center !important;
        text-align: center !important;
        align-items: center !important;
    }
    
    .rating-display {
        justify-content: center !important;
        text-align: center !important;
        align-items: center !important;
    }
    
    .rating-stars {
        justify-content: center !important;
        text-align: center !important;
        align-items: center !important;
    }
    
    .rating-value {
        text-align: center !important;
    }

    .shop-info-left {
        align-items: center;
        text-align: center;
    }

    .shop-address-left,
    .shop-contact-left,
    .shop-website-left {
        justify-content: center;
        font-size: 0.85rem;
    }

    .rating-value {
        font-size: 0.85rem;
    }

    .rating-count {
        font-size: 0.75rem;
    }

    .star {
        font-size: 14px;
    }

    .shop-description p {
        font-size: 0.85rem;
        text-align: center;
    }

    .shop-features-left {
        justify-content: center;
        gap: 0.4rem;
    }

    .feature-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .shop-card-layout {
        padding: 1rem;
    }

    .shop-card-image {
        width: 50px;
        height: 50px;
    }

    .shop-name {
        font-size: 1rem;
    }
}

/* Center text content in search overlay on mobile - MAXIMUM SPECIFICITY */
@media (max-width: 768px) {
    /* Force centering with maximum specificity */
    html body .search-overlay .shop-card .shop-card-content,
    html body .search-overlay .shop-card .shop-card-content * {
        text-align: center !important;
    }
    
    html body .search-overlay .shop-card .shop-name,
    html body .search-overlay .shop-card .shop-name * {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    html body .search-overlay .shop-card .shop-rating-left,
    html body .search-overlay .shop-card .shop-rating-left * {
        justify-content: center !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    html body .search-overlay .shop-card .rating-display,
    html body .search-overlay .shop-card .rating-display * {
        justify-content: center !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    html body .search-overlay .shop-card .rating-stars,
    html body .search-overlay .shop-card .rating-stars * {
        justify-content: center !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    html body .search-overlay .shop-card .rating-value,
    html body .search-overlay .shop-card .rating-count {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    html body .search-overlay .shop-card .shop-description,
    html body .search-overlay .shop-card .shop-description * {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    html body .search-overlay .shop-card .shop-info-left,
    html body .search-overlay .shop-card .shop-info-left * {
        align-items: center !important;
        text-align: center !important;
        justify-content: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    html body .search-overlay .shop-card .shop-address-left,
    html body .search-overlay .shop-card .shop-contact-left,
    html body .search-overlay .shop-card .shop-website-left,
    html body .search-overlay .shop-card .shop-address-left *,
    html body .search-overlay .shop-card .shop-contact-left *,
    html body .search-overlay .shop-card .shop-website-left * {
        justify-content: center !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Override any flexbox alignment */
    html body .search-overlay .shop-card .shop-card-layout {
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Force all text elements to center */
    html body .search-overlay .shop-card h1,
    html body .search-overlay .shop-card h2,
    html body .search-overlay .shop-card h3,
    html body .search-overlay .shop-card h4,
    html body .search-overlay .shop-card h5,
    html body .search-overlay .shop-card h6,
    html body .search-overlay .shop-card p,
    html body .search-overlay .shop-card span,
    html body .search-overlay .shop-card div {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* EXTREME OVERRIDE - Force provider name centering */
    html body .search-overlay .shop-card .shop-name,
    html body .search-overlay .shop-card .shop-name *,
    html body .search-overlay .shop-card h3.shop-name {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
        width: 100% !important;
    }
    
    /* EXTREME OVERRIDE - Force description centering */
    html body .search-overlay .shop-card .shop-description,
    html body .search-overlay .shop-card .shop-description *,
    html body .search-overlay .shop-card .shop-description p {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
        width: 100% !important;
    }
    
    /* EXTREME OVERRIDE - Force all content centering */
    html body .search-overlay .shop-card .shop-card-content,
    html body .search-overlay .shop-card .shop-card-content * {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Shop card styles cleaned up - old conflicting styles removed */

/* Footer */
.site-footer {
    background-color: var(--background-alt);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--background-color);
    border-radius: 50%;
    color: var(--text-color);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

/* Provider Detail Page */
.provider-details {
    margin: 2rem 0;
}

.provider-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.provider-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.provider-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.provider-address, .provider-contact, .provider-hours {
    padding: 1.5rem;
    background-color: var(--background-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.provider-rating {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rating-stars {
    display: flex;
    align-items: center;
}

.rating-stars .stars {
    display: flex;
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.rating-value {
    font-weight: 600;
}

.provider-hours ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.provider-hours li {
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--border-color);
}

.provider-hours li:last-child {
    border-bottom: none;
}

.provider-features .feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.provider-features .feature-list li {
    background-color: var(--background-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.provider-description {
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: var(--background-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.provider-map-section {
    margin-bottom: 2rem;
}

.provider-location {
    height: 400px;
}

.nearby-providers-section {
    margin-bottom: 3rem;
}

.nearby-providers-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.nearby-provider-card {
    padding: 1.5rem;
    background-color: var(--background-alt);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

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

.nearby-provider-card p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.rating-compact {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.providers-section {
    margin: 5rem 0;
    padding: 3rem 2rem;
    background-color: var(--background-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: relative;
}

.providers-section:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
}

.providers-section h2 {
    margin-bottom: 2.5rem;
    text-align: center;
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.providers-section h2:after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.provider-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    background-color: var(--background-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.provider-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.provider-card-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--background-alt);
}

.provider-card-header h3 {
    font-size: 1.4rem;
    margin: 0;
    color: var(--primary-dark);
}

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

.provider-rating .stars {
    margin-bottom: 0.25rem;
}

.provider-card-body {
    flex-grow: 1;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.provider-location {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.provider-location:before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231a73e8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E");
    background-size: contain;
    margin-right: 0.5rem;
}

.provider-features {
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.provider-card-footer {
    padding: 1.25rem;
    text-align: center;
}

.provider-card-footer .btn {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 50px;
    font-weight: 600;
}

.view-all-link {
    text-align: center;
    margin-top: 3rem;
}

.view-all-link a {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--background-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.view-all-link a:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-lg);
}

.map-popup {
    padding: 5px;
}

.map-popup h3 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.map-popup p {
    margin: 3px 0;
    font-size: 0.9rem;
}

.map-popup .btn-sm {
    margin-top: 5px;
    padding: 3px 8px;
    font-size: 0.8rem;
}

/* Provider Page Styles */
.provider-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
}

.provider-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    text-align: center;
}

.provider-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
}

.provider-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.provider-rating-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.provider-rating-header .rating-stars {
    display: flex;
    gap: 0.25rem;
}

.provider-rating-header .star {
    font-size: 1.5rem;
    color: #E55A2B;
}

.provider-rating-header .star.empty {
    color: rgba(255, 255, 255, 0.3);
}

.provider-rating-header .rating-text {
    font-size: 1.2rem;
    font-weight: 600;
}

.provider-content {
    margin-bottom: 2rem;
}

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

.info-card {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.25rem 0;
}

.contact-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

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

.contact-link:hover {
    text-decoration: underline;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hours-item {
    padding: 0.25rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}

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

.features-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem;
    background: transparent;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.9rem;
}

.feature-item svg {
    color: var(--accent-color);
    flex-shrink: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .map-container {
        flex-direction: column;
    }

    .map-sidebar {
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--border-color);
    }

    /* .provider-list {
        max-height: 300px;
    } */

    .shop-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .shop-rating {
        margin-top: 0.5rem;
    }

    .provider-page {
        padding: 1rem;
    }

    .provider-header {
        padding: 2rem 1rem;
    }

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

    .provider-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .info-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .provider-title {
        font-size: 1.8rem;
    }

    .provider-location {
        font-size: 1rem;
    }

    .provider-rating-header .star {
        font-size: 1.2rem;
    }

    .info-card {
        padding: 1.25rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .menu-toggle {
        display: block;
    }

    .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--background-color);
        box-shadow: var(--shadow-lg);
        padding: 1rem 0;
        flex-direction: column;
    }

    .menu.active {
        display: block;
    }

    .menu li {
        margin: 0;
    }

    /* Mobile search button positioning */
    .search-button {
        margin-left: 0;
        margin-top: 0.5rem;
        width: calc(100% - 3rem);
        justify-content: center;
    }

    .menu a {
        padding: 0.75rem 1.5rem;
    }

    .dropdown {
        position: static;
        box-shadow: none;
        padding: 0;
        margin-left: 1.5rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .lead {
        font-size: 1rem;
    }

    .search-submit {
        position: static;
        border-radius: var(--radius);
        margin-top: 1rem;
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .legal-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .search-container {
        margin: 1rem;
        padding: 1rem;
    }

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

    .features {
        grid-template-columns: 1fr;
    }

    .providers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .shop-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .shop-actions .btn {
        width: 100%;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.no-scroll {
    overflow: hidden;
}

/* Other Locations Section */
.other-locations {
    margin: 3rem 0;
    padding: 2rem 0;
}

/* Improved spacing for location pages */
.intro-text {
    margin-bottom: 1rem;
}

.providers-section {
    margin-top: 2rem;
    padding-top: 2rem;
}

.why-choose-section {
    margin-top: 2rem;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.location-tile {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--background-color);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.location-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.location-tile-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: var(--text-color);
}

.location-tile-inner:hover {
    text-decoration: none;
    color: var(--text-color);
}

.location-tile-content {
    padding: 1.5rem 1.5rem 1rem;
    flex-grow: 1;
}

.location-tile h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.location-tile p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.location-tile-footer {
    padding: 0 1.5rem 1.5rem;
    text-align: center;
}

.location-explore-btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

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

.view-all-locations {
    text-align: center;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .locations-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* Provider Blog Tile Styles */
.provider-blog-section {
    margin-bottom: 2rem;
    background-color: var(--background-alt);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.provider-blog-section h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.provider-blog-highlight {
    position: relative;
}

.blog-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

.blog-tile {
    display: flex;
    gap: 1.5rem;
    background-color: var(--background-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.blog-tile-image {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    overflow: hidden;
}

.blog-tile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-tile-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-tile-category {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.blog-tile-title {
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.blog-tile-title a {
    color: var(--primary-dark);
    text-decoration: none;
}

.blog-tile-title a:hover {
    color: var(--primary-color);
}

.blog-tile-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-tile-meta {
    display: flex;
    gap: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-tile-button {
    align-self: flex-start;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
}

.blog-tile-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.no-blog-fallback {
    text-align: center;
    padding: 2rem;
    background-color: var(--background-color);
    border-radius: var(--radius);
    border: 2px dashed var(--border-color);
}

@media (max-width: 768px) {
    .blog-tile {
        flex-direction: column;
    }

    .blog-tile-image {
        width: 100%;
        height: 200px;
    }
}/* Force refresh: Thu Aug 21 11:53:29 AM UTC 2025 */
/* Cache buster: 1755778823 */

/* Modern Content Sections */
.intro-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    margin-top: 0;
    overflow: hidden;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.intro-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.intro-text .lead {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
    min-width: 120px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #E55A2B;
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 0.25rem;
}

.benefits-cards {
    display: grid;
    gap: 1.5rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #E55A2B, #C9421F);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.benefit-icon svg {
    color: white;
    width: 24px;
    height: 24px;
}

.benefit-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
}

/* Process Section */
.process-section {
    padding: 5rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #E55A2B, #C9421F);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
}

.process-step:not(:last-child) .step-number::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(100% + 32px);
    width: calc(100% - 64px);
    height: 2px;
    background: linear-gradient(90deg, #E55A2B, #e2e8f0);
    transform: translateY(-50%);
    z-index: -1;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.step-content p {
    color: #64748b;
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .intro-section {
        padding: 3rem 0;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .intro-text h2 {
        font-size: 2rem;
    }
    
    .stats-row {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .stat-item {
        text-align: center;
        min-width: auto;
    }
    
    .process-section {
        padding: 3rem 0;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .process-step:not(:last-child) .step-number::after {
        display: none;
    }
}

/* Guide Promotion Section */
.guide-promotion {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
    margin: 3rem 0;
}

.guide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.guide-text h2 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-size: 2.4rem;
    line-height: 1.2;
}

.guide-text p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.guide-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.guide-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-color);
    font-size: 1rem;
}

.guide-feature svg {
    color: var(--accent-color);
    flex-shrink: 0;
}

.guide-cta-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(229, 90, 43, 0.3);
}

.guide-cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 90, 43, 0.4);
    color: white;
    text-decoration: none;
}

.guide-image {
    text-align: center;
}

.guide-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Responsive Design for Guide Promotion */
@media (max-width: 768px) {
    .guide-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .guide-text h2 {
        font-size: 2rem;
    }
    
    .guide-features {
        align-items: center;
    }
}

/* Enhanced Blog Post Styles */
.blog-post-container {
    background: var(--background-color);
}

/* Featured Image Section */
.featured-image-section {
    width: 100%;
    margin-bottom: 0;
    background: #f8f9fa;
}

.featured-image-section img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

/* Post Header Section */
.post-header {
    background: white;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.post-header .container {
    max-width: 800px;
    margin: 0 auto;
}

.post-meta-header {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.post-category-header {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.reading-time-header {
    background: #f0f0f0;
    color: #666;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.post-title-header {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-color);
}

.post-meta-details {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #666;
    flex-wrap: wrap;
}

.post-date-header,
.post-author-header {
    color: #666;
}

.post-excerpt-header {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    color: #555;
}

.post-content-wrapper {
    padding: 3rem 0;
}

.post-content-wrapper .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-content h2 {
    color: var(--primary-dark);
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-light);
}

.post-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
}

.post-content h4 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.post-content ul, .post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.post-content strong {
    color: var(--primary-dark);
    font-weight: 600;
}
.post-content blockquote {
    background: var(--primary-light);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text-color);
}

.post-sidebar {
    position: sticky;
    top: 2rem;
}

.toc-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.toc-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

.toc-container h4 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents li {
    margin-bottom: 0.75rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.table-of-contents li:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.table-of-contents a {
    color: var(--text-color);
    text-decoration: none;
    padding: 1rem 1.25rem;
    display: block;
    transition: all 0.3s ease;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 500;
    border-left: 4px solid transparent;
    position: relative;
}

.table-of-contents a:hover {
    color: var(--primary-dark);
    background: transparent;
    border-left-color: var(--primary-color);
}

.table-of-contents a:active {
    transform: scale(0.98);
}

/* Remove the old bullet point styling */
.table-of-contents li::before {
    display: none;
}

/* Remove the problematic arrow indicator */
.table-of-contents a::before {
    display: none;
}

.post-footer {
    background: var(--background-alt);
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}

.post-tags {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tags-label {
    font-weight: 600;
    color: var(--text-color);
}

.tag {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--primary-color);
}

.related-posts {
    background: var(--background-alt);
    padding: 4rem 0;
}

.related-posts h2 {
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.related-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-post-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.related-post-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.related-post-card h3 {
    margin-bottom: 1rem;
}

.related-post-card h3 a {
    color: var(--primary-dark);
    text-decoration: none;
}

.related-post-card h3 a:hover {
    color: var(--primary-color);
}

.related-post-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.post-navigation {
    background: white;
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
}

.nav-previous, .nav-next {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-color);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    background: white;
    min-height: 80px;
    justify-content: center;
    max-width: 250px;
}

.nav-previous:hover, .nav-next:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.nav-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.nav-title {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
    line-height: 1.3;
}

.nav-home {
    text-align: center;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(229, 90, 43, 0.2);
}

.nav-home:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(229, 90, 43, 0.3);
    color: white;
    text-decoration: none;
}

/* Responsive Design for Blog Posts */
@media (max-width: 768px) {
    .post-title-header {
        font-size: 2.2rem;
    }
    
    .post-content-wrapper .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .post-sidebar {
        position: static;
        order: -1;
    }
    
    .nav-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .nav-previous, .nav-next {
        max-width: 100%;
        text-align: center;
    }
    
    .featured-image-section img {
        max-height: 300px;
    }
    
    .post-header {
        padding: 2rem 1rem;
    }
    
    .post-meta-header {
        flex-direction: column;
        align-items: center;
    }
    
    .post-meta-details {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}

/* Blog Section Styles */
.blog-section {
    padding: 4rem 0;
    background-color: var(--background-alt);
}

.blog-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-highlight {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card.featured {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    position: relative;
}

.blog-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-card h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.reading-time, .category {
    color: var(--text-light);
    background: var(--background-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
}

.read-more-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

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

.blog-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-cta h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blog-cta p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.blog-cta .btn {
    align-self: center;
}

/* Mobile responsive for blog section */
@media (max-width: 768px) {
    .blog-highlight {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .blog-card.featured {
        padding: 1.5rem;
    }
    
    .blog-cta {
        padding: 1.5rem;
    }
}

/* FAQ Section Styles */
.faq-section {
    padding: 3rem 0;
    background: var(--background-color);
}

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

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    background: white;
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.faq-question:hover {
    background: var(--primary-color);
    color: white;
}

.faq-question-text {
    flex: 1;
    margin-right: 1rem;
    line-height: 1.5;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: all 0.3s ease;
    min-width: 24px;
    text-align: center;
}

.faq-question:hover .faq-icon {
    color: white;
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    background: white;
    border-top: 1px solid var(--border-color);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    display: block;
    max-height: 1000px;
    padding: 2rem;
}

.faq-answer-content {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

.faq-answer-content p {
    margin-bottom: 1rem;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-answer-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* NUCLEAR OVERRIDE - MUST WORK - FORCE CENTERING IN SEARCH OVERLAY - MOBILE ONLY */
@media (max-width: 768px) {
    /* This is the absolute last CSS rule - nothing can override this */
    html body div.search-overlay div.search-container div.search-results div.shop-card div.shop-card-layout div.shop-card-content div.shop-card-header h3.shop-name,
    html body div.search-overlay div.search-container div.search-results div.shop-card div.shop-card-layout div.shop-card-content div.shop-card-header h3.shop-name *,
    html body div.search-overlay div.search-container div.search-results div.shop-card div.shop-card-layout div.shop-card-content div.shop-card-header h3.shop-name::before,
    html body div.search-overlay div.search-container div.search-results div.shop-card div.shop-card-layout div.shop-card-content div.shop-card-header h3.shop-name::after {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        float: none !important;
        clear: both !important;
    }

    html body div.search-overlay div.search-container div.search-results div.shop-card div.shop-card-layout div.shop-card-content div.shop-description,
    html body div.search-overlay div.search-container div.search-results div.shop-card div.shop-card-layout div.shop-card-content div.shop-description *,
    html body div.search-overlay div.search-container div.search-results div.shop-card div.shop-card-layout div.shop-card-content div.shop-description p,
    html body div.search-overlay div.search-container div.search-results div.shop-card div.shop-card-layout div.shop-card-content div.shop-description p *,
    html body div.search-overlay div.search-container div.search-results div.shop-card div.shop-card-layout div.shop-card-content div.shop-description::before,
    html body div.search-overlay div.search-container div.search-results div.shop-card div.shop-card-layout div.shop-card-content div.shop-description::after {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        float: none !important;
        clear: both !important;
    }

    html body div.search-overlay div.search-container div.search-results div.shop-card div.shop-card-layout div.shop-card-content,
    html body div.search-overlay div.search-container div.search-results div.shop-card div.shop-card-layout div.shop-card-content * {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* UNIVERSAL OVERRIDE - Target every possible element */
    html body div.search-overlay * {
        text-align: center !important;
    }

    /* EXCEPT for logo and badge which should stay their original size */
    html body div.search-overlay .shop-card-image,
    html body div.search-overlay .shop-card-image *,
    html body div.search-overlay .promotion-badge,
    html body div.search-overlay .featured-badge {
        text-align: left !important;
        width: auto !important;
        max-width: none !important;
    }

    /* OVERRIDE THE LEFT-ALIGN RULES - MUST BE AFTER THE ORIGINAL RULES */
    html body div.search-overlay .search-results .shop-card,
    html body div.search-overlay .search-results .shop-card * {
        text-align: center !important;
    }

    html body div.search-overlay .search-results .shop-card .shop-name,
    html body div.search-overlay .search-results .shop-card .shop-description,
    html body div.search-overlay .search-results .shop-card .shop-info-left,
    html body div.search-overlay .search-results .shop-card .shop-features-left,
    html body div.search-overlay .search-results .shop-card .rating-display {
        text-align: center !important;
    }

    /* ALSO OVERRIDE ANY OTHER SEARCH RESULT RULES */
    html body div.search-overlay .shop-card,
    html body div.search-overlay .shop-card * {
        text-align: center !important;
    }

    html body div.search-overlay .shop-card .shop-name,
    html body div.search-overlay .shop-card .shop-description,
    html body div.search-overlay .shop-card .shop-info-left,
    html body div.search-overlay .shop-card .shop-features-left,
    html body div.search-overlay .shop-card .rating-display {
        text-align: center !important;
    }
}

.faq-answer-content li:last-child {
    margin-bottom: 0;
}

/* Mobile responsive for FAQ section */
@media (max-width: 768px) {
    .faq-section {
        padding: 2rem 1rem;
    }
    
    .faq-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
    
    .faq-answer.active {
        padding: 1.5rem;
    }
    
    .faq-answer-content {
        font-size: 0.95rem;
    }
}/* Styles for location pages */

/* Blog Hero Section for Location Pages */
.blog-hero {
    background: linear-gradient(135deg, #ffe8e0 0%, #ffedd4 100%);
    color: #333333;
    padding: 4rem 2rem;
    border-radius: 20px;
    margin: 2rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

.blog-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.blog-hero p {
    font-size: 1.2rem;
    margin: 0;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Blog Content Section for Location Pages */
.blog-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin: 2rem 0 1.5rem;
    text-align: center;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 0.5rem;
}

.blog-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Read More Functionality for Location Pages */
.blog-content-wrapper {
    position: relative;
}

.blog-content-collapsed {
    max-height: 120px; /* Show approximately first paragraph */
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease-in-out;
}

.blog-content-expanded {
    max-height: none;
    overflow: visible;
    transition: max-height 0.4s ease-in-out;
}

/* Gradient fade effect for collapsed state */
.blog-content-collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, #fff);
    pointer-events: none;
}

.read-more-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    color: #666;
    text-decoration: none;
    margin: 1rem auto 2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.read-more-button:hover {
    background: #e9ecef;
    border-color: #ff6b35;
    color: #ff6b35;
    transform: translateY(-1px);
}

.read-more-button:active {
    transform: translateY(0);
}

.read-more-button .icon {
    transition: transform 0.2s ease;
    font-size: 0.9rem;
}

.read-more-button.expanded .icon {
    transform: rotate(180deg);
}

.read-more-container {
    text-align: center;
    margin: 1rem 0 2rem;
}

/* Blog Intro Section for Location Pages */
.blog-intro {
    text-align: center;
    margin: 2rem 0 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #ff6b35;
}

.blog-intro p {
    font-size: 1.1rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Responsive Design for Hero and Intro */
@media (max-width: 768px) {
    .blog-hero {
        padding: 2rem 1rem;
        margin: 0.5rem 0 1.5rem;
    }
    
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .blog-hero p {
        font-size: 1rem;
    }
    
    .blog-content h2 {
        font-size: 1.5rem;
        margin: 1.5rem 0 1rem;
    }
    
    .blog-intro {
        padding: 1.5rem;
        margin: 1rem 0 2rem;
    }
    
    /* Mobile read more adjustments */
    .blog-content-collapsed {
        max-height: 100px; /* Slightly shorter on mobile */
    }
    
    .read-more-button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        margin: 0.5rem auto 0.75rem;
    }
    
    .read-more-container {
        margin: 0.5rem 0 0.75rem;
    }
    
    /* Reduce spacing around providers section on mobile */
    .providers-section {
        margin: 0.75rem 0 !important; /* Override main.css margin: 5rem 0 */
        padding: 1rem 0 !important; /* Override main.css padding: 3rem 2rem */
    }
    
    .regular-providers-section h2,
    .promoted-providers-section h2 {
        margin: 0.25rem 0 0.75rem;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 1.5rem 1rem;
        margin: 0.25rem 0 1rem;
    }
    
    .blog-hero h1 {
        font-size: 1.8rem;
    }
    
    .blog-content h2 {
        font-size: 1.3rem;
        margin: 1rem 0 0.75rem;
    }
    
    /* Extra small mobile read more adjustments */
    .blog-content-collapsed {
        max-height: 80px; /* Even shorter on very small screens */
    }
    
    .read-more-button {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
        margin: 0.4rem auto 0.6rem;
    }
    
    .read-more-text {
        font-size: 0.85rem;
    }
    
    .read-more-container {
        margin: 0.4rem 0 0.6rem;
    }
    
    /* Further reduce spacing on very small screens */
    .providers-section {
        margin: 0.5rem 0 !important; /* Override main.css margin: 5rem 0 */
        padding: 0.75rem 0 !important; /* Override main.css padding: 3rem 2rem */
    }
    
    .regular-providers-section h2,
    .promoted-providers-section h2 {
        margin: 0.15rem 0 0.5rem;
    }
}

/* Mobile breadcrumb spacing optimization */
@media (max-width: 768px) {
    .breadcrumb-nav {
        margin-bottom: 1rem;
        padding: 0.5rem 0;
    }
}

/* Other locations section */
.other-locations {
    margin-top: 4rem;
}

.locations-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-item {
    width: 100%;
}

.location-link {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    padding: 2rem 2.5rem;
    border: 1px solid #e1e4e8;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location-link h3 {
    color: #1a73e8;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.location-link p {
    color: #666666;
    margin-bottom: 0;
    font-size: 1rem;
}

.location-link .explore-btn {
    background-color: #4285f4;
    color: white;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    font-size: 1.05rem;
    margin-left: 2rem;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.location-link .explore-btn:hover {
    background-color: #1a73e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Location Pages Styles */
.location-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.location-header {
    text-align: center;
    margin-bottom: 3rem;
}

.location-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.location-description {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature p {
    color: var(--text-color);
    line-height: 1.6;
}

.location-map-section {
    margin: 3rem 0;
}

.location-providers {
    margin-top: 3rem;
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .location-page {
        padding: 1rem;
    }
    
    .location-title {
        font-size: 2rem;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature {
        padding: 1.5rem;
    }
    
    .providers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Make provider sections break out of container padding on mobile */
    .providers-section,
    .regular-providers-section,
    .promoted-providers-section {
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .providers-list,
    .promoted-providers-grid {
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Override shop-card padding for location pages to achieve true full width */
    .providers-section .shop-card,
    .regular-providers-section .shop-card,
    .promoted-providers-section .shop-card {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Add internal padding to shop-card-content instead */
    .providers-section .shop-card .shop-card-content,
    .regular-providers-section .shop-card .shop-card-content,
    .promoted-providers-section .shop-card .shop-card-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Override promoted section padding to achieve full width */
    .promoted-providers-section {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        margin-left: -1rem !important;
        margin-right: -1rem !important;
    }
}

/* Desktop: Ensure shop names are left-aligned on location pages */
@media (min-width: 769px) {
    .providers-section .shop-card .shop-name,
    .regular-providers-section .shop-card .shop-name,
    .promoted-providers-section .shop-card .shop-name {
        text-align: left !important;
    }
    
    .providers-section .shop-card .shop-rating-left,
    .regular-providers-section .shop-card .shop-rating-left,
    .promoted-providers-section .shop-card .shop-rating-left {
        justify-content: flex-start !important;
        text-align: left !important;
    }
    
    .providers-section .shop-card .rating-display,
    .regular-providers-section .shop-card .rating-display,
    .promoted-providers-section .shop-card .rating-display {
        text-align: left !important;
    }
}
/* Promotion System Styles */

/* Promotion Badge */
.promotion-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 12px;
    color: white;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: badgePulse 2s ease-in-out infinite;
}

.promotion-badge.featured {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.promotion-badge.boosted {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
}

.promotion-badge.sponsored {
    background: linear-gradient(135deg, #45b7d1, #96c93d);
}

/* Enhanced Shop Card for Promoted Providers */
.shop-card.promoted {
    position: relative;
    border: 2px solid #ff6b35; /* Default orange outline */
    border-radius: 16px; /* Match the main tile border radius */
    background: inherit; /* Keep the original background */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.shop-card.promoted:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Promotion level specific border colors */
.shop-card.promoted.featured {
    border-color: #ff6b35; /* Orange for featured */
}

.shop-card.promoted.boosted {
    border-color: #ff6b35; /* Orange for boosted */
}

.shop-card.promoted.sponsored {
    border-color: #ff6b35; /* Orange for sponsored */
}

/* Promotion section header */
.promoted-providers-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border-left: 4px solid #ff6b35;
}

.promoted-providers-section h2 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.promoted-providers-section .section-description {
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Promotion grid layout */
.promoted-providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Regular providers section */
.regular-providers-section {
    margin-top: 2rem;
}

.regular-providers-section h2 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

/* Promotion status indicators */
.promotion-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promotion-status.active {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.promotion-status.scheduled {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.promotion-status.expired {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Promotion stats */
.promotion-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.stat-item strong {
    display: block;
    font-size: 1.5rem;
    color: #495057;
    margin-bottom: 0.25rem;
}

/* Animation for promotion badges */
@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .promoted-providers-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .promotion-badge {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .shop-card.promoted {
        transform: none;
        border-radius: 16px; /* Ensure rounded corners on mobile */
    }
    
    .shop-card.promoted:hover {
        transform: none;
    }
}

/* Promotion info tooltip */
.promotion-info {
    position: relative;
    display: inline-block;
    margin-left: 0.5rem;
    cursor: help;
}

.promotion-info .tooltip {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.8rem;
    line-height: 1.4;
}

.promotion-info:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.promotion-info .tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}
/* Shop Signup Page Styles - Modern & Sleek Design */
.shop-signup-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    display: inline-block;
}

.shop-signup-page .hero-title {
    color: white !important;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.2);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.4rem;
    opacity: 0.95;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.shop-signup-page .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: white !important;
}

.shop-signup-page .stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: white !important;
}

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

.content-grid {
    display: block;
    margin-bottom: 4rem;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 100%;
}

/* Benefits Section */
.benefits-section h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.benefit-icon svg {
    width: 30px;
    height: 30px;
}

.benefit-item h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefit-item p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Email Section */
.email-section h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-intro {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.email-template {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.template-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.template-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.copy-button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.copy-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.copy-button.copied {
    background: #27ae60;
    border-color: #27ae60;
}

.copy-button svg {
    width: 18px;
    height: 18px;
}

.template-content {
    padding: 2rem;
}

.template-field {
    margin-bottom: 2rem;
}

.template-field label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.field-value {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    color: #495057;
    line-height: 1.6;
}

.field-value h4 {
    color: #2c3e50;
    margin: 1.5rem 0 1rem 0;
    font-size: 1.1rem;
}

.field-value h4:first-child {
    margin-top: 0;
}

.field-value ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.field-value li {
    margin-bottom: 0.5rem;
}

/* Process Section */
.process-section h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #E55A2B, #C9421F);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-content p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Promotion Section */
.promotion-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem 0;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.promotion-header {
    text-align: center;
    margin-bottom: 3rem;
}

.promotion-header h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.promotion-subtitle {
    color: #6c757d;
    font-size: 1.2rem;
    margin: 0;
}

.promotion-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.promotion-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    height: 100%;
    justify-content: space-between;
}

.promotion-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(102, 126, 234, 0.1);
    flex: 1;
}

.promotion-feature .feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.promotion-feature .feature-icon svg {
    width: 25px;
    height: 25px;
}

.promotion-feature .feature-text h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.promotion-feature .feature-text p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.promotion-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.promotion-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.promotion-cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.cta-button.primary {
    background: white;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    color: #667eea;
    text-decoration: none;
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* Pricing Section */
.pricing-section {
    margin: 4rem 0;
}

.pricing-section h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.pricing-content {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    width: 100%;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
    overflow: hidden;
    width: 100%;
}

.pricing-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.free-listing .pricing-header {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
}

.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    transform: rotate(3deg);
    z-index: 10;
}

.free-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
    transform: rotate(-3deg);
    z-index: 10;
}

.pricing-header h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.price-comparison {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.original-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    opacity: 0.8;
}

.strikethrough {
    font-size: 1.2rem;
    text-decoration: line-through;
    font-weight: 500;
}

.original-label {
    font-size: 0.9rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.price-period {
    font-size: 1.2rem;
    opacity: 0.9;
}

.pricing-features {
    padding: 2rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: #2c3e50;
    font-weight: 500;
    border-bottom: 1px solid #f8f9fa;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-details {
    padding: 0 2rem;
    margin-bottom: 2rem;
}

.pricing-details p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.savings-highlight {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 1px solid #28a745;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.savings-amount {
    color: #155724;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
}

.annual-price {
    color: #155724;
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
}

.pricing-details p:not(.savings-amount):not(.annual-price) {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.pricing-details p:first-of-type:not(.savings-amount) {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
}

.pricing-cta {
    padding: 0 2rem 2rem;
}

.pricing-button {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #E55A2B, #C9421F);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(229, 90, 43, 0.3);
}

.pricing-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 90, 43, 0.4);
    color: white;
    text-decoration: none;
}

.free-button {
    background: linear-gradient(135deg, #27ae60, #2ecc71) !important;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3) !important;
}

.free-button:hover {
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4) !important;
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat {
        padding: 1rem 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1rem;
    }

    .promotion-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .promotion-section {
        padding: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .template-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .copy-button {
        width: 100%;
        justify-content: center;
    }

    .promotion-section {
        padding: 1.5rem;
    }
    
    .promotion-feature {
        flex-direction: column;
        text-align: center;
    }
}
/* Provider Pages - Modern Showcase Design */
:root {
  --provider-primary: #E55A2B;
  --provider-primary-dark: #C9421F;
  --provider-secondary: #64748b;
  --provider-accent: #E55A2B;
  --provider-success: #10b981;
  --provider-bg: #ffffff;
  --provider-bg-alt: #f8fafc;
  --provider-border: #e2e8f0;
  --provider-text: #1e293b;
  --provider-text-light: #64748b;
  --provider-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  --provider-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --provider-radius: 0.75rem;
  --provider-radius-lg: 1rem;
}

/* Provider Page Container */
.provider-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  background: var(--provider-bg);
}

/* Provider Logo Styles */
.provider-logo-container {
  text-align: center;
  margin-bottom: 2rem;
}

.provider-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 2rem;
  border: 1px solid var(--provider-border);
  box-shadow: var(--provider-shadow-lg);
}

/* Hero Header Section */
.provider-hero {
  background: linear-gradient(135deg, rgba(229, 90, 43, 0.1) 0%, rgba(201, 66, 31, 0.15) 100%);
  backdrop-filter: blur(10px);
  border: 2px solid var(--provider-primary);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 4px 16px rgba(229, 90, 43, 0.1);
  color: var(--provider-text);
  padding: 3rem 2rem;
  border-radius: 0 0 var(--provider-radius-lg) var(--provider-radius-lg);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}



.provider-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--provider-text);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.provider-subtitle {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--provider-text-light);
  font-weight: 500;
}

.provider-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.provider-rating-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  padding: 0.75rem 1.5rem;
  border-radius: var(--provider-radius);
  border: 1px solid var(--provider-primary);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 2px 8px rgba(229, 90, 43, 0.1);
}

.provider-rating-stars {
  display: flex;
  gap: 0.25rem;
}

.provider-rating-stars .star {
  font-size: 1.25rem;
  color: #E55A2B;
}

.provider-rating-text {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--provider-text);
}

.provider-location-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  padding: 0.75rem 1.5rem;
  border-radius: var(--provider-radius);
  border: 1px solid var(--provider-primary);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 2px 8px rgba(229, 90, 43, 0.1);
  color: var(--provider-text);
}

.provider-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.provider-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--provider-radius);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.provider-btn-primary {
  background: var(--provider-accent);
  color: white;
  box-shadow: var(--provider-shadow-lg);
}

.provider-btn-primary:hover {
  background: #C9421F;
  transform: translateY(-2px);
}

.provider-btn-secondary {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  color: var(--provider-text);
  border: 2px solid var(--provider-primary);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 2px 8px rgba(229, 90, 43, 0.1);
}

.provider-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.6);
  border-color: var(--provider-primary-dark);
  transform: translateY(-2px);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 4px 12px rgba(229, 90, 43, 0.2);
}

/* Three Column Top Grid */
.provider-top-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 0 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem auto;
}

/* Bottom Full Width Section */
.provider-bottom-section {
  padding: 0 2rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Provider Sections */
.provider-section {
  background: var(--provider-bg);
  border: 1px solid var(--provider-border);
  border-radius: var(--provider-radius-lg);
  padding: 2rem;
  box-shadow: var(--provider-shadow);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
}

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

/* Specific section styling */
.provider-about-section {
  width: 100%;
  overflow: visible;
}

.provider-about-section .provider-section-content {
  position: relative;
  z-index: 1;
  min-height: auto;
  height: auto;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  white-space: normal;
}

.provider-brands-section {
  width: 100%;
}

.provider-map-section {
  width: 100%;
}

.provider-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--provider-text);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.provider-section-title::before {
  content: '';
  width: 4px;
  height: 24px;
  background: var(--provider-primary);
  border-radius: 2px;
}

.provider-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--provider-text);
  margin-bottom: 1.5rem;
}

.provider-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.provider-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: transparent;
  border-radius: var(--provider-radius);
  border: 1px solid var(--provider-border);
  transition: all 0.3s ease;
}

.provider-feature-item:hover {
  background: var(--provider-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--provider-shadow-lg);
}

.provider-brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.provider-brand-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--provider-bg-alt);
  border-radius: var(--provider-radius);
  border: 1px solid var(--provider-border);
  transition: all 0.3s ease;
}

.provider-brand-item:hover {
  background: var(--provider-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--provider-shadow-lg);
}

/* Ensure cards in top grid have equal height */
.provider-top-grid .provider-card {
  display: flex;
  flex-direction: column;
  height: 440px;
  min-height: 440px;
  max-height: 440px;
}

.provider-top-grid .provider-card .provider-contact-info,
.provider-top-grid .provider-card .provider-opening-times,
.provider-top-grid .provider-card .provider-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: visible;
}

.provider-sidebar-card {
  background: var(--provider-bg);
  border: 1px solid var(--provider-border);
  border-radius: var(--provider-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--provider-shadow);
}

.provider-photo-container {
  text-align: center;
  margin-bottom: 1rem;
}

.provider-photo {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--provider-radius);
  box-shadow: var(--provider-shadow-lg);
}

.provider-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.provider-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--provider-border);
}

.provider-contact-item:last-child {
  border-bottom: none;
}

.provider-contact-link {
  color: var(--provider-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.provider-opening-times {
  list-style: none;
  padding: 0;
  margin: 0;
}

.provider-opening-time {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--provider-border);
}

.provider-opening-time:last-child {
  border-bottom: none;
}

.provider-opening-day {
  font-weight: 600;
  color: var(--provider-text);
}

.provider-opening-hours {
  color: var(--provider-text-light);
}

/* Map Section */
.provider-map-section {
  margin-top: 2rem;
  padding: 0 2rem 2rem;
}

.provider-map-container {
  background: var(--provider-bg);
  border: 1px solid var(--provider-border);
  border-radius: var(--provider-radius-lg);
  padding: 2rem;
  box-shadow: var(--provider-shadow);
}

.provider-map-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--provider-text);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.provider-map-title::before {
  content: '';
  width: 4px;
  height: 24px;
  background: var(--provider-primary);
  border-radius: 2px;
}

.provider-map {
  height: 400px;
  width: 100%;
  border-radius: var(--provider-radius);
  overflow: hidden;
  box-shadow: var(--provider-shadow-lg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .provider-top-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .provider-bottom-section {
    padding: 0 1rem 1rem;
  }
}

@media (max-width: 768px) {
  .provider-hero {
    padding: 2rem 1rem;
  }
  
  .provider-title {
    font-size: 2.5rem;
  }
  
  .provider-hero-meta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .provider-hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .provider-top-grid {
    padding: 0 1rem;
  }
  
  .provider-bottom-section {
    padding: 0 1rem 1rem;
  }
  
  .provider-section {
    padding: 1.5rem;
  }
  
  .provider-features-grid {
    grid-template-columns: 1fr;
  }
  
  .provider-brands-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
  
  .provider-map-section {
    padding: 0 1rem 1rem;
  }
  
  .provider-map-container {
    padding: 1.5rem;
  }
  
  .provider-map {
    height: 300px;
  }
}
/* Missing classes from the template */

/* Provider Cards */
.provider-card {
  background: var(--provider-bg);
  border: 1px solid var(--provider-border);
  border-radius: var(--provider-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--provider-shadow);
  margin-bottom: 1.5rem;
  overflow: visible;
  height: auto;
  min-height: fit-content;
}

.provider-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--provider-text);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.provider-card-title::before {
  content: '';
  width: 3px;
  height: 20px;
  background: var(--provider-primary);
  border-radius: 2px;
}

/* Contact Information */
.provider-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  justify-content: space-around;
}

.provider-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--provider-border);
  flex-shrink: 0;
}

.provider-contact-item:last-child {
  border-bottom: none;
}

.provider-contact-icon {
  font-size: 1.25rem;
  min-width: 24px;
}

.provider-contact-details {
  flex: 1;
}

.provider-contact-details strong {
  display: block;
  font-weight: 600;
  color: var(--provider-text);
  margin-bottom: 0.25rem;
}

.provider-contact-details p {
  margin: 0;
  color: var(--provider-text-light);
  line-height: 1.4;
}

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

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

/* Contact Rating */
.provider-contact-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.provider-contact-rating .provider-rating-stars {
  display: flex;
  gap: 0.125rem;
}

.provider-contact-rating .star {
  font-size: 0.875rem;
  color: var(--provider-primary);
}

.provider-contact-rating .provider-rating-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--provider-text-light);
}

/* Features */
.provider-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  justify-content: space-around;
}

.provider-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: transparent;
  border-radius: var(--provider-radius);
  border: 1px solid var(--provider-border);
  transition: all 0.3s ease;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.provider-feature:hover {
  background: var(--provider-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--provider-shadow-lg);
}

.provider-feature-icon {
  font-weight: bold;
  color: var(--provider-success);
  font-size: 1.1rem;
}

.provider-feature:hover .provider-feature-icon {
  color: white;
}

.provider-feature-text {
  font-weight: 500;
}

/* Brands */
.provider-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.provider-brand-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--provider-bg-alt);
  border: 1px solid var(--provider-border);
  border-radius: var(--provider-radius);
  font-weight: 500;
  color: var(--provider-text);
  transition: all 0.3s ease;
}

.provider-brand-tag:hover {
  background: var(--provider-primary);
  color: white;
  transform: translateY(-1px);
}

/* Section Content */
.provider-section-content {
  color: var(--provider-text);
  line-height: 1.7;
  font-size: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
  overflow: visible;
  white-space: normal;
  display: block;
}

.provider-section-content h1,
.provider-section-content h2,
.provider-section-content h3 {
  color: var(--provider-text);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.provider-section-content h1:first-child,
.provider-section-content h2:first-child,
.provider-section-content h3:first-child {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--provider-text);
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.provider-section-content p {
  margin-bottom: 1rem;
  max-width: 100%;
  word-wrap: break-word;
  white-space: normal;
  overflow-wrap: break-word;
  hyphens: auto;
  line-height: 1.6;
  text-align: left;
  display: block;
}

.provider-section-content ul,
.provider-section-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.provider-section-content li {
  margin-bottom: 0.5rem;
  max-width: 100%;
  word-wrap: break-word;
}

/* Additional content containment */
.provider-section-content * {
  max-width: 100%;
  box-sizing: border-box;
}

.provider-section-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--provider-radius);
}

/* Opening Times - Enhanced styling */
.provider-opening-times {
  gap: 0.6rem;
  justify-content: space-evenly;
  padding: 0.75rem 0;
}

.provider-opening-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1rem;
  background: var(--provider-bg-alt);
  border-radius: var(--provider-radius);
  border: 1px solid var(--provider-border);
  font-size: 0.95rem;
  height: 38px;
  box-sizing: border-box;
  line-height: 1.3;
  flex-shrink: 0;
  font-weight: 500;
}

.provider-opening-time .day {
  font-weight: 700;
  color: var(--provider-primary);
  min-width: 85px;
  text-align: left;
  font-size: 0.9rem;
}

.provider-opening-time .hours {
  color: var(--provider-text);
  text-align: right;
  font-weight: 600;
  font-size: 0.9rem;
}

.provider-opening-time:hover {
  background: var(--provider-primary);
  color: white;
  transform: translateY(-1px);
}

.provider-opening-time:hover .day,
.provider-opening-time:hover .hours {
  color: white;
}

/* FAQ Section Styles */
.provider-faq-section {
  width: 100%;
}

.provider-faq-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.provider-faq-item {
  background: var(--provider-bg);
  border: 1px solid var(--provider-border);
  border-radius: var(--provider-radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.provider-faq-item:hover {
  box-shadow: var(--provider-shadow-lg);
  border-color: var(--provider-primary);
}

.provider-faq-question {
  width: 100%;
  background: var(--provider-bg-alt);
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 600;
  color: var(--provider-text);
}

.provider-faq-question:hover {
  background: var(--provider-primary);
  color: white;
}

.provider-faq-question-text {
  flex: 1;
  margin-right: 1rem;
  line-height: 1.5;
}

.provider-faq-icon {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--provider-primary);
  transition: all 0.3s ease;
  min-width: 24px;
  text-align: center;
}

.provider-faq-question:hover .provider-faq-icon {
  color: white;
  transform: rotate(180deg);
}

.provider-faq-answer {
  display: none;
  background: var(--provider-bg);
  border-top: 1px solid var(--provider-border);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.provider-faq-answer.active {
  display: block;
  max-height: 1000px;
  padding: 1.5rem;
}

.provider-faq-answer-content {
  color: var(--provider-text);
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
}

.provider-faq-answer-content p {
  margin-bottom: 1rem;
}

.provider-faq-answer-content p:last-child {
  margin-bottom: 0;
}

/* Mobile responsiveness additions */
@media (max-width: 768px) {
  .provider-features {
    grid-template-columns: 1fr;
  }
  
  .provider-section {
    padding: 1.5rem;
    margin: 0 1rem;
  }
  
  .provider-section-content {
    font-size: 0.95rem;
  }
  
  .provider-section-content h1,
  .provider-section-content h2,
  .provider-section-content h3 {
    font-size: 1.3rem;
  }
  
  .provider-brands {
    gap: 0.5rem;
  }
  
  .provider-brand-tag {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
  
  .provider-contact-item {
    flex-direction: row;
    align-items: flex-start;
  }
  
  .provider-faq-question {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }
  
  .provider-faq-answer.active {
    padding: 1.25rem;
  }
  
  .provider-faq-answer-content {
    font-size: 0.95rem;
  }
}
/* New map layout with controls below the map */
.map-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    margin-bottom: 2rem;
}

.map-container.full-width {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 0;
}

.map-controls {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.map-filters {
    background-color: var(--background-color);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.filters-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

#reset-filters {
    margin-top: auto;
    height: 38px;
}

/* .provider-list {
    background-color: var(--background-color);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
} */

/* #providers-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
} */

/* #providers-container .result-item {
    text-align: left;
}

#providers-container .result-item h3 {
    text-align: left;
    margin-bottom: 0.75rem;
}

#providers-container .result-item p {
    text-align: left;
    margin-bottom: 0.75rem;
} */

/* .provider-card {
    padding: 1.25rem;
    background-color: var(--background-alt);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: 100%;
    display: flex: flex-direction: column;
} */

/* .provider-card h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
} */

/* .provider-address {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    flex-grow: 1;
} */

/* .provider-rating {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
} */

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .filters-flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-group {
        width: 100%;
    }
    
    #providers-container {
        grid-template-columns: 1fr;
    }
    
    /* .provider-list {
        height: 600px !important;
        max-height: 600px;
        overflow-y: auto;
    }
    
    #providers-container {
        height: 500px;
        overflow-y: auto;
    } */
}
/* Map Layout Styles */
.map-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.map {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.map-container.single-location .map {
    height: 400px;
}

/* Custom marker icon styling */
.custom-marker-icon {
    background: transparent;
    border: none;
}

.custom-marker-icon svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Current provider marker styling */
.current-provider-marker-icon {
    background: transparent;
    border: none;
}

.current-provider-marker-icon svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    animation: pulse 2s infinite;
}

/* Make current provider marker more visible */
.current-provider-marker-icon svg circle:last-child {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        opacity: 0.6;
        stroke-width: 2;
    }
    to {
        opacity: 1;
        stroke-width: 3;
    }
}

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

/* Map popup styles */
.leaflet-popup-content-wrapper {
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12), 0 12px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 250, 251, 0.95) 100%);
    overflow: hidden;
}

.leaflet-popup-content {
    margin: 0;
    line-height: 1.5;
    padding: 0;
    font-size: 14px;
}

.map-popup {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-width: 260px;
    max-width: 300px;
    background: transparent;
}

/* Popup header with name and rating */
.popup-header {
    padding: 18px 20px 14px 20px;
    border-bottom: 1px solid rgba(229, 231, 235, 0.3);
    background: linear-gradient(135deg, rgba(229, 90, 43, 0.02) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.popup-header h3 {
    margin: 0 0 10px 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.popup-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(251, 191, 36, 0.05) 100%);
    padding: 6px 12px;
    border-radius: 16px;
    width: fit-content;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.popup-rating .stars {
    color: #f59e0b;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.popup-rating .rating-text {
    font-size: 0.8rem;
    color: #374151;
    font-weight: 600;
}

/* Popup content with address and phone */
.popup-content {
    padding: 16px 20px;
    background: transparent;
}

.popup-address,
.popup-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(249, 250, 251, 0.8) 0%, rgba(255, 255, 255, 0.6) 100%);
    border-radius: 12px;
    border: 1px solid rgba(229, 231, 235, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(4px);
}

.popup-address:last-child,
.popup-phone:last-child {
    margin-bottom: 0;
}

.popup-address:hover,
.popup-phone:hover {
    background: linear-gradient(135deg, rgba(229, 90, 43, 0.08) 0%, rgba(229, 90, 43, 0.03) 100%);
    border-color: rgba(229, 90, 43, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.popup-icon {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
    flex-shrink: 0;
    opacity: 0.8;
}

.popup-address span,
.popup-phone span {
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.4;
    font-weight: 500;
}

/* Popup footer */
.popup-footer {
    padding: 14px 20px 16px 20px;
    background: linear-gradient(135deg, rgba(249, 250, 251, 0.9) 0%, rgba(243, 244, 246, 0.8) 100%);
    border-top: 1px solid rgba(229, 231, 235, 0.3);
    text-align: center;
    margin-top: 4px;
}

.popup-status {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(249, 250, 251, 0.8) 100%);
    padding: 6px 14px;
    border-radius: 16px;
    border: 1px solid rgba(229, 231, 235, 0.4);
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.popup-status:hover {
    background: linear-gradient(135deg, rgba(229, 90, 43, 0.1) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-color: rgba(229, 90, 43, 0.3);
    color: #374151;
}

.map-popup .btn-sm {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    transition: var(--transition);
}

.map-popup .btn-sm:hover {
    background-color: var(--primary-dark);
    color: white;
}

/* Responsive map styles */
@media (max-width: 768px) {
    .map-container {
        height: 400px;
    }
    
    .map-container.single-location .map {
        height: 350px;
    }
}
/* Modern Blog Styles */

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    color: #333 !important;
}

.blog-content {
    color: #333 !important;
}

/* Ensure all text in blog posts is visible */
.blog-container * {
    color: inherit;
}

.blog-container p,
.blog-container h1,
.blog-container h2,
.blog-container h3,
.blog-container h4,
.blog-container h5,
.blog-container h6,
.blog-container span,
.blog-container div {
    color: #333 !important;
}

/* Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #ffe8e0 0%, #ffedd4 100%);
    color: #333333;
    padding: 4rem 2rem;
    border-radius: 20px;
    margin: 2rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

.blog-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.blog-hero p {
    font-size: 1.2rem;
    margin: 0;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Blog Intro */
.blog-intro {
    text-align: center;
    margin: 2rem 0 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #ff6b35;
}

.blog-intro p {
    font-size: 1.1rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}



/* Blog Posts Grid */
.blog-posts {
    margin-top: 3rem;
}

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

/* Blog Post Cards */
.blog-post-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

.blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.post-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}

.blog-post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ff6b35;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.post-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    color: #333 !important;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #666 !important;
}

.post-author {
    color: #ff6b35;
    font-weight: 600;
}

.reading-time {
    background: #f0f0f0;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    color: #666 !important;
}

.post-title {
    margin: 0 0 1rem;
    font-size: 1.4rem;
    line-height: 1.3;
    font-weight: 700;
}

.post-title a {
    color: #2c3e50 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #ff6b35;
}

.post-excerpt {
    margin-bottom: 1.5rem;
    flex: 1;
}

.post-excerpt p {
    color: #555 !important;
    line-height: 1.6;
    margin: 0;
}

.read-more-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    align-self: flex-start;
    padding: 0.75rem 1.5rem;
    background: #ff6b35;
    border-radius: 25px;
    display: inline-block;
    position: relative;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.read-more-link:hover {
    background: #e55a2b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* No Posts State */
.no-posts {
    text-align: center;
    padding: 4rem 2rem;
}

.no-posts-content {
    max-width: 500px;
    margin: 0 auto;
}

.no-posts h3 {
    color: #ff6b35;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.no-posts p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}



/* Responsive Design */
@media (max-width: 768px) {
    .blog-hero {
        padding: 3rem 1rem;
        margin: 1rem 0 2rem;
    }
    
    .blog-hero h1 {
        font-size: 2.2rem;
    }
    
    .blog-hero p {
        font-size: 1rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    

    
    .post-content {
        padding: 1.5rem;
    }
    
    .post-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .blog-hero h1 {
        font-size: 1.8rem;
    }
    
    .blog-intro {
        padding: 1.5rem;
        margin: 1rem 0 2rem;
    }
    

}

/* Force text visibility - highest specificity */
.blog-container .blog-post-card .post-content *,
.blog-container .blog-post-card .post-meta *,
.blog-container .blog-post-card .post-excerpt *,
.blog-container .blog-post-card .post-title * {
    color: inherit !important;
}

.blog-container .blog-post-card .post-content {
    color: #333 !important;
}

.blog-container .blog-post-card .post-content p {
    color: #555 !important;
}

.blog-container .blog-post-card .post-content h2,
.blog-container .blog-post-card .post-content h3 {
    color: #2c3e50 !important;
}

.blog-container .blog-post-card .post-meta {
    color: #666 !important;
}

.blog-container .blog-post-card .post-meta .post-author {
    color: #ff6b35 !important;
}

.blog-container .blog-post-card .post-meta .reading-time {
    color: #666 !important;
}/* Footer Styles */
.site-footer {
  background-color: #f5f7fa;
  padding: 3rem 0;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.footer-logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
}

.footer-info p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.highlight-link {
  color: #667eea !important;
  font-weight: 600 !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.highlight-link:hover {
  transform: translateY(-1px);
  text-decoration: none !important;
}

.copyright {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e1e4e8;
  width: 100%;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
  }
  
  .footer-logo {
    flex-basis: 100%;
    margin-bottom: 1rem;
  }
  
  .footer-info {
    flex-basis: 60%;
  }
  
  .footer-nav {
    flex-basis: 30%;
  }
  
  .copyright {
    flex-basis: 100%;
  }
}/* Additional styles for provider actions */
.provider-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.view-on-map, .visit-website {
    color: var(--primary-color);
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    background-color: rgba(26, 115, 232, 0.08);
}

.view-on-map:hover, .visit-website:hover {
    background-color: rgba(26, 115, 232, 0.15);
    color: var(--primary-dark);
    text-decoration: none;
}

.visit-website {
    display: inline-flex;
    align-items: center;
}

.visit-website::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231a73e8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Make provider cards more consistent */
.result-item .provider-actions {
    margin-top: 8px;
}

/* Styling for clickable map popup */
.map-popup:hover {
    background-color: rgba(26, 115, 232, 0.05);
}

.map-popup {
    transition: background-color 0.2s ease;
}/* GDPR Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c3e50;
    color: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-banner-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-banner-text p {
    margin: 0 0 10px 0;
}

.cookie-banner-text a {
    color: #3498db;
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.cookie-btn-accept {
    background: #27ae60;
    color: white;
}

.cookie-btn-accept:hover {
    background: #229954;
}

.cookie-btn-decline {
    background: #e74c3c;
    color: white;
}

.cookie-btn-decline:hover {
    background: #c0392b;
}

.cookie-btn-settings {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-btn-settings:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
}

.cookie-settings-modal.show {
    display: flex;
}

.cookie-settings-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

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

.cookie-settings-header h2 {
    margin: 0;
    color: #2c3e50;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
}

.cookie-category h3 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 16px;
}

.cookie-category p {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

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

.cookie-toggle label {
    font-weight: 500;
    color: #2c3e50;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 24px;
    background: #ccc;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.toggle-switch.active {
    background: #27ae60;
}

.toggle-switch.disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

.toggle-switch::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.toggle-switch.active::before {
    transform: translateX(26px);
}

.cookie-settings-actions {
    margin-top: 30px;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.cookie-settings-actions .cookie-btn {
    margin: 0 5px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
    
    .cookie-settings-content {
        margin: 20px;
        padding: 20px;
    }
}/* Style for dropdown divider */
.dropdown-divider {
    height: 1px;
    margin: 0.5rem 0;
    background-color: var(--border-color);
    border: none;
}

/* Ensure dropdown items have proper spacing */
.dropdown li {
    margin: 0;
}

.dropdown li a {
    display: block;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.2s ease;
}

.dropdown li a:hover {
    background-color: rgba(26, 115, 232, 0.08);
    color: var(--primary-color);
    text-decoration: none;
}

/* Style for "View All Locations" link */
.dropdown li:last-child a {
    font-weight: 500;
    color: var(--primary-color);
    border-top: 1px solid var(--border-color);
}

.dropdown li:last-child a:hover {
    background-color: rgba(26, 115, 232, 0.15);
}