/*
Theme Name: Greco - Greek Restaurant
Theme URI: https://example.com/greco-theme
Author: Your Name
Author URI: https://example.com
Description: A lightweight, elegant WordPress Block Theme for Greek restaurant chains. Features Full Site Editing, location selection, premium Mediterranean aesthetics, and performance-first approach.
Version: 1.0.5
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: greco
Tags: full-site-editing, block-patterns, block-styles, wide-blocks, custom-colors, custom-menu, editor-style, featured-images, translation-ready

Greco Theme - Premium Block Theme for Greek Restaurants
Designed for performance, accessibility, and conversions.
*/

/* Prevent horizontal scroll caused by 100vw (includes scrollbar width) */
html {
    overflow-x: clip;
}

/* Suppress focus ring for mouse users, but keep it for keyboard users (WCAG 2.4.7) */
*:focus {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--wp--preset--color--aegean, #1e4d6b);
    outline-offset: 2px;
}

/* Accessibility: skip-link and screen-reader-only text (WCAG 2.4.1 Bypass Blocks) */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    white-space: nowrap;
    word-wrap: normal !important;
}

.skip-link:focus,
.skip-link.screen-reader-text:focus {
    background-color: var(--wp--preset--color--aegean, #1e4d6b);
    color: #fff;
    clip: auto !important;
    clip-path: none;
    display: block;
    font-size: 1rem;
    font-weight: 600;
    height: auto;
    left: 1rem;
    top: 1rem;
    line-height: 1.4;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    width: auto;
    z-index: 100000;
    outline: 2px solid #fff;
    outline-offset: 2px;
    border-radius: 0.25rem;
}


/* Hero Blobs - Aegean Teal Gradients */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: clamp(600px, 55vw, 1000px) !important;
}

.hero-blob {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
}

.hero-blob-1 {
    top: -150px;
    left: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 77, 107, 0.35) 0%, rgba(42, 122, 184, 0.15) 40%, transparent 70%);
}

.hero-blob-2 {
    top: 10%;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(42, 122, 184, 0.25) 0%, rgba(15, 58, 82, 0.1) 40%, transparent 70%);
}

/* Location Pill - Liquid Glass Dark */
.hero-location-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(10, 31, 51, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 9999px;
    font-size: 0.8125rem;
    color: #FFFFFF;
    font-weight: 500;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.hero-location-pill:hover {
    background: rgba(10, 31, 51, 0.9);
    border-color: rgba(201, 162, 39, 0.4);
}

/* Sheen removed for performance */

.hero-location-pill svg {
    color: #C9A227;
}

/* Stats Bar - Liquid Glass with Premium Styling */
.greco-stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 1.5rem 2.5rem;
    background: rgba(10, 31, 51, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    margin-top: 3rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 640px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
    position: relative;
    overflow: hidden;
}

/* Sheen removed for performance */

.greco-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2rem;
    min-width: 120px;
    position: relative;
    z-index: 1;
}

.greco-stat-number {
    font-family: var(--wp--preset--font-family--heading);
    font-size: 1.625rem;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1;
    margin-bottom: 0.375rem;
}

.greco-stat-label {
    font-family: var(--wp--preset--font-family--body);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    text-transform: lowercase;
    letter-spacing: 0.02em;
}

.greco-stat-separator {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

@media (max-width: 600px) {
    .greco-stats-bar {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .greco-stat-separator {
        width: 60%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    }

    .greco-stat-item {
        padding: 0;
        width: 100%;
    }
}

/* Location Card Buttons Layout - /lokalizacje/ page and Homepage */
.location-card--full .location-card-footer,
.location-card .location-card-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Base Mobile: Stacked */
.location-card--full .location-card-footer>*,
.location-card .location-card-footer>* {
    width: 100%;
    margin: 0;
}

/* Desktop Layout */
@media (min-width: 768px) {

    .location-card--full .location-card-footer .location-select-btn,
    .location-card--full .location-card-footer a.btn:nth-of-type(1),
    .location-card .location-card-footer .location-select-btn,
    .location-card .location-card-footer a.btn:nth-of-type(1) {
        width: calc(50% - 0.375rem);
        flex: 1 1 auto;
    }

    .location-card--full .location-card-footer a.btn:nth-of-type(2),
    .location-card .location-card-footer a.btn:nth-of-type(2) {
        width: 100%;
        order: 3;
    }
}

/* Social Icons - Global */
.contact-card-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-card-title-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-social-icons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff !important;
    background-color: #333;
    transition: all 0.2s ease;
    text-decoration: none !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
    transform: translateY(-2px);
    opacity: 0.95;
    color: #fff !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.social-icon.facebook {
    background-color: #1877F2;
}

.social-icon.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-icon.tiktok {
    background-color: #000000;
    border-color: rgba(255, 255, 255, 0.2);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    stroke: #ffffff !important;
    fill: none !important;
}

/* Dark mode overrides if body has dark class or media query */
@media (prefers-color-scheme: dark) {
    .social-icon {
        border-color: rgba(255, 255, 255, 0.1);
    }
}

/* Social Icons - Single Location Detail Page Override */
.location-content-wrapper .contact-card-header .contact-card-title {
    justify-content: flex-start;
    gap: 0.5rem;
    margin: 0;
    color: #fff;
}

.location-content-wrapper .contact-social-icons .social-icon {
    width: 34px;
    height: 34px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    box-shadow: none;
    backdrop-filter: blur(4px);
}

.location-content-wrapper .contact-social-icons .social-icon:hover {
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.location-content-wrapper .contact-social-icons .social-icon.facebook {
    background-color: rgba(255, 255, 255, 0.2);
}

.location-content-wrapper .contact-social-icons .social-icon.facebook:hover {
    background-color: #1877F2;
    border-color: #1877F2;
}

.location-content-wrapper .contact-social-icons .social-icon.instagram {
    background-color: rgba(255, 255, 255, 0.2);
}

.location-content-wrapper .contact-social-icons .social-icon.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: transparent;
}

.location-content-wrapper .contact-social-icons .social-icon.tiktok {
    background-color: rgba(255, 255, 255, 0.2);
}

.location-content-wrapper .contact-social-icons .social-icon.tiktok:hover {
    background-color: #000000;
    border-color: #000000;
}

.location-content-wrapper .contact-social-icons .social-icon svg {
    width: 18px;
    height: 18px;
}

/* ===== About Page Styles ===== */

/* Section labels - matching mission label style */
.section-label {
    background: linear-gradient(135deg, #1E4D6B 0%, #2A7AB8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    letter-spacing: 0.2em !important;
    margin-bottom: 0;
}

.dark-mode .section-label {
    background: linear-gradient(135deg, #C9A227 0%, #E5C34A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Values Grid */
.about-values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.about-value-card {
    background: var(--wp--preset--color--white);
    border-radius: var(--wp--custom--border-radius--large);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--wp--preset--shadow--card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--wp--preset--shadow--card-hover);
}

.about-value-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.about-value-title {
    font-family: var(--wp--preset--font-family--heading);
    font-size: var(--wp--preset--font-size--x-large);
    font-weight: 600;
    color: var(--wp--preset--color--dark);
    margin: 0 0 0.5rem 0;
}

.about-value-desc {
    font-family: var(--wp--preset--font-family--body);
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--gray);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .about-values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-value-card {
        padding: 1.5rem;
    }
}

/* Suppliers Grid */
.about-suppliers-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.supplier-card {
    flex: 1 1 300px;
    max-width: 400px;
    text-align: center;
    padding: 2rem;
}

.supplier-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.supplier-logo img {
    max-height: 100%;
    max-width: 200px;
    object-fit: contain;
}

/* Inline SVG styling - light mode uses original SVG colors */
.supplier-logo--svg svg {
    max-height: 80px;
    max-width: 200px;
    width: auto;
    height: auto;
}

/* Dark mode (theme toggle) - use custom color from admin */
.dark-mode .supplier-logo--svg {
    color: var(--supplier-color-dark, #FFFFFF);
}

.dark-mode .supplier-logo--svg svg,
.dark-mode .supplier-logo--svg svg path,
.dark-mode .supplier-logo--svg svg g {
    fill: currentColor !important;
}

.supplier-name {
    font-family: var(--wp--preset--font-family--heading);
    font-size: var(--wp--preset--font-size--x-large);
    font-weight: 600;
    color: var(--wp--preset--color--dark);
    margin: 0 0 0.75rem 0;
}

.supplier-desc {
    font-family: var(--wp--preset--font-family--body);
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--gray);
    margin: 0;
    line-height: 1.6;
}

/* Supplier links */
.supplier-link,
.supplier-name-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.supplier-link:hover,
.supplier-name-link:hover {
    transform: scale(1.05);
    opacity: 0.85;
}

.supplier-name-link .supplier-name {
    transition: color 0.3s ease;
}

.supplier-name-link:hover .supplier-name {
    color: var(--wp--preset--color--primary, #1E4D6B);
}

.dark-mode .supplier-name-link:hover .supplier-name {
    color: var(--wp--preset--color--gold, #C9A227);
}

@media (max-width: 600px) {
    .about-suppliers-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .supplier-card {
        padding: 1.5rem;
        max-width: 100%;
    }

    .supplier-logo {
        height: 60px;
    }
}

/* ===== About Hero - Unique Styling ===== */
.about-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0F3A52 0%, #1E4D6B 50%, #0a2a3d 100%) !important;
}

/* Greek meander pattern at top */
.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: repeating-linear-gradient(90deg,
            #C9A227 0px,
            #C9A227 20px,
            transparent 20px,
            transparent 25px,
            #C9A227 25px,
            #C9A227 45px,
            transparent 45px,
            transparent 50px);
    opacity: 0.8;
}

/* Decorative circle - right side */
.about-hero::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -150px;
    width: 400px;
    height: 400px;
    border: 2px solid rgba(201, 162, 39, 0.15);
    border-radius: 50%;
    pointer-events: none;
}

/* Second decorative circle */
.about-hero .wp-block-heading::before {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -100px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.about-hero h1 {
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Gold accent decoration under title */
.about-hero h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #C9A227, transparent);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

.about-hero .has-gold-color {
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.about-hero .greco-stats-bar {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(201, 162, 39, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.about-hero .greco-stats-bar::before {
    background: linear-gradient(180deg, rgba(201, 162, 39, 0.1) 0%, transparent 100%);
}

/* Two-column layout styles */
.about-hero .wp-block-columns {
    align-items: center;
}

.about-hero-content {
    text-align: left;
}

.about-hero-content h1 {
    text-align: left;
}

.about-hero-content h1::after {
    margin: 1.5rem 0 0 0;
}

.about-hero h1 strong {
    color: #1A8CFF;
    font-weight: 700;
}

/* Vertical stats layout for about page */
.about-hero-stats .greco-stats-bar {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    max-width: 280px;
    margin-left: auto;
}

.about-hero-stats .greco-stat-item {
    flex-direction: row;
    gap: 1rem;
    padding: 0;
    text-align: left;
    width: 100%;
}

.about-hero-stats .greco-stat-number {
    font-size: 2rem;
    min-width: 60px;
}

.about-hero-stats .greco-stat-label {
    text-align: left;
}

.about-hero-stats .greco-stat-separator {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(201, 162, 39, 0.3), transparent);
}

/* Mobile responsive */
@media (max-width: 781px) {
    .about-hero .wp-block-columns {
        flex-direction: column;
    }

    .about-hero-content {
        text-align: center;
    }

    .about-hero-content h1 {
        text-align: center;
    }

    .about-hero-content h1::after {
        margin: 1.5rem auto 0;
    }

    .about-hero-content p {
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .about-hero-stats .greco-stats-bar {
        margin: 2rem auto 0;
        max-width: 100%;
    }

    .about-hero-stats .greco-stat-item {
        justify-content: center;
    }
}

/* About page dark mode styles */
.dark-mode .about-hero h1 {
    color: var(--wp--preset--color--dark) !important;
}

.dark-mode .about-values-section {
    background: var(--wp--preset--color--aegean-deep);
}

.dark-mode .about-values-section h2,
.dark-mode .about-value-title {
    color: var(--wp--preset--color--dark);
}

.dark-mode .about-values-section p,
.dark-mode .about-value-desc {
    color: rgba(255, 255, 255, 0.7);
}

.dark-mode .about-value-card {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

.dark-mode .about-suppliers-section {
    background: var(--wp--preset--color--aegean-deep);
}

.dark-mode .about-suppliers-section h2,
.dark-mode .supplier-name {
    color: var(--wp--preset--color--dark);
}

.dark-mode .about-suppliers-section p,
.dark-mode .supplier-desc {
    color: rgba(255, 255, 255, 0.7);
}

.dark-mode .about-cta-section {
    background: var(--wp--preset--color--aegean);
}

/* About Mission Section - Enhanced Styling */
.about-mission-section {
    position: relative;
    background: linear-gradient(180deg, #F8F6F3 0%, #FFFFFF 100%) !important;
    overflow: hidden;
}

/* Decorative accent line at top */
.about-mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1E4D6B, #C9A227, #1E4D6B);
    border-radius: 2px;
}

/* Subtle side decorations */
.about-mission-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -100px;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(30, 77, 107, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Gold underline accent for section titles */
.about-mission-section h2,
.about-values-section h2,
.about-suppliers-section h2 {
    position: relative;
    padding-bottom: 20px;
}

.about-mission-section h2::after,
.about-values-section h2::after,
.about-suppliers-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #C9A227, transparent);
    border-radius: 2px;
}

.about-mission-section h2 strong {
    color: #1E4D6B;
    font-weight: 700;
}

.about-mission-section p {
    position: relative;
    z-index: 1;
}

/* Label styling */
.about-mission-section .has-small-font-size {
    background: linear-gradient(135deg, #1E4D6B 0%, #2A7AB8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    letter-spacing: 0.2em !important;
}

/* Dark mode styles */
.dark-mode .about-mission-section {
    background: linear-gradient(180deg, var(--wp--preset--color--aegean-deep) 0%, #0a1f33 100%) !important;
}

.dark-mode .about-mission-section::before {
    background: linear-gradient(90deg, #2A7AB8, #C9A227, #2A7AB8);
}

.dark-mode .about-mission-section::after {
    background: radial-gradient(circle, rgba(42, 122, 184, 0.1) 0%, transparent 70%);
}

.dark-mode .about-mission-section h2 {
    color: var(--wp--preset--color--white);
}

.dark-mode .about-mission-section h2 strong {
    color: #C9A227;
}

.dark-mode .about-mission-section p {
    color: rgba(255, 255, 255, 0.8);
}

.dark-mode .about-mission-section .has-small-font-size {
    background: linear-gradient(135deg, #C9A227 0%, #E5C34A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Global Location Modal (outside menu.css)
   ----------------------------------------
   Fallback styles for pages that don't enqueue menu.css. Selectors are scoped
   to .greco-location-modal so they don't bleed into the shared dish modal,
   which previously got its desktop layout overwritten from here (cascade order
   put style.css after menu.css; identical-specificity duplicates won, forcing
   flex-direction: column even on desktop).
   ======================================== */

.greco-location-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    background: rgba(10, 31, 51, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.greco-location-modal.open {
    opacity: 1;
    visibility: visible;
}

.greco-location-modal .greco-modal-container {
    background: rgba(255, 255, 255, 0.98);
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    z-index: 100000;
    box-shadow: 0 25px 80px rgba(10, 31, 51, 0.25), 0 10px 30px rgba(10, 31, 51, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.greco-location-modal.open .greco-modal-container {
    transform: scale(1) translateY(0);
}

.greco-location-modal .greco-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(30, 77, 107, 0.1);
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(10, 31, 51, 0.12);
    transition: transform 0.3s ease, background 0.3s ease;
    line-height: 1;
    color: #1E4D6B;
}

.greco-location-modal .greco-modal-close:hover {
    transform: scale(1.1);
    background: #fff;
}

.greco-location-modal .greco-modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--wp--preset--color--dark, #111827);
}

.greco-location-modal .greco-modal-subtitle {
    font-size: 1rem;
    color: var(--wp--preset--color--gray, #6B7280);
    margin: 0 0 1.5rem 0;
}

.greco-location-modal .greco-modal-container,
.greco-location-modal-container {
    max-width: 900px;
    width: 95%;
}

.greco-location-modal-content {
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(90vh - 4rem);
}

.greco-locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.greco-location-card {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.greco-location-card:hover {
    border-color: #C9A227;
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.15);
}

.greco-location-card-content {
    padding: 1.25rem;
}

.greco-location-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    color: var(--wp--preset--color--dark, #111827);
}

.greco-location-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.greco-location-info-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #6B7280;
}

.greco-location-info-row svg {
    flex-shrink: 0;
    color: #9CA3AF;
}

.greco-location-info-row a {
    color: #1E4D6B;
    text-decoration: none;
}

.location-select-btn {
    width: 100%;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 8px;
    background: var(--wp--preset--color--dark, #1a1a2e);
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.location-select-btn:hover {
    background: #1E4D6B;
}

.location-select-btn:disabled,
.location-select-btn.is-selected {
    background: linear-gradient(135deg, #C9A227, #B8941F);
    cursor: default;
}

/* Dark mode for global location modal */
.dark-mode .greco-location-modal-container {
    background: #1F2937;
}

.dark-mode .greco-modal-title {
    color: #F9FAFB;
}

.dark-mode .greco-modal-close {
    background: #374151;
    color: #F9FAFB;
    border-color: #4B5563;
}

.dark-mode .greco-location-card {
    background: #111827;
    border-color: #374151;
}

.dark-mode .greco-location-card-title {
    color: #F9FAFB;
}

.dark-mode .greco-location-card:hover {
    border-color: #C9A227;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-location-pill,
    .greco-stats-bar {
        background: rgba(10, 31, 51, 0.85);
    }
}