* {
    box-sizing: border-box;
}

:root {
    /* =========================================================
       DESIGN SYSTEM — GLOBAL DEFAULTS V1 / TYPOGRAPHY V2 BRIDGE
       Admin Typography V2 supplies the --vm-typography-* values.
       Original design values remain fallback when a setting is absent.
       Local component typography remains untouched in this stage.
    ========================================================= */

    /* Typography — font families */
    --frontend-design-font-heading:
        var(--vm-typography-font-heading,
            "Source Serif 4", Georgia, "Times New Roman", serif);

    --frontend-design-font-body:
        var(--vm-typography-font-body,
            "Manrope", Arial, sans-serif);

    /* Core colors */
    --frontend-design-color-background: #F7F4ED;
    --frontend-design-color-surface: #FFFFFF;
    --frontend-design-color-surface-muted: #F1ECE2;

    --frontend-design-color-text: #1C2520;
    --frontend-design-color-text-muted: #667069;
    --frontend-design-color-heading: #132A22;

    /* Brand */
    --frontend-design-color-brand: #174936;
    --frontend-design-color-brand-dark: #0D3327;

    /* Heritage accent */
    --frontend-design-color-accent: #B88A3B;
    --frontend-design-color-accent-soft: #D8BC83;

    /* CTA */
    --frontend-design-color-cta: #D92F3D;
    --frontend-design-color-cta-hover: #B9212E;

    /* Borders */
    --frontend-design-color-border: #DED8CC;

    /* Body */
    --frontend-design-body-font-family:
        var(--frontend-design-font-body);

    --frontend-design-body-font-size:
        var(--vm-typography-body-size, 16px);
    --frontend-design-body-font-weight:
        var(--vm-typography-body-weight, 400);
    --frontend-design-body-line-height:
        var(--vm-typography-body-line-height, 1.65);
    --frontend-design-body-letter-spacing:
        var(--vm-typography-body-letter-spacing, normal);
    --frontend-design-body-color:
        var(--frontend-design-color-text);

    /* Heading */
    --frontend-design-heading-title-font-family:
        var(--frontend-design-font-heading);

    --frontend-design-heading-title-font-size:
        clamp(32px, 3.2vw, 46px);

    --frontend-design-heading-title-font-weight:
        var(--vm-typography-heading-weight, 700);
    --frontend-design-heading-title-line-height:
        var(--vm-typography-heading-line-height, 1.08);
    --frontend-design-heading-title-letter-spacing:
        var(--vm-typography-heading-letter-spacing, normal);

    --frontend-design-heading-title-color:
        var(--frontend-design-color-heading);

    --frontend-design-heading-title-margin-top: 0px;
    --frontend-design-heading-title-margin-bottom: 10px;

    /* Heading subtitle */
    --frontend-design-heading-subtitle-font-family:
        var(--frontend-design-font-body);

    --frontend-design-heading-subtitle-font-size:
        var(--vm-typography-subtitle-size, 16px);
    --frontend-design-heading-subtitle-font-weight:
        var(--vm-typography-subtitle-weight, 400);
    --frontend-design-heading-subtitle-line-height:
        var(--vm-typography-subtitle-line-height, 1.6);

    --frontend-design-heading-subtitle-color:
        var(--frontend-design-color-text-muted);

    /* Alignment */
    --frontend-design-heading-alignment: left;

    /* Radius */
    --frontend-design-radius-sm: 10px;
    --frontend-design-radius-md: 16px;
    --frontend-design-radius-lg: 24px;
    --frontend-design-radius-pill: 999px;

    /* Shadow */
    --frontend-design-shadow-card:
        0 10px 30px rgba(15, 35, 28, 0.08);

    /* Buttons */
    --frontend-design-button-font-family:
        var(--frontend-design-font-body);

    --frontend-design-button-font-size:
        var(--vm-typography-ui-button-size, 14px);
    --frontend-design-button-font-weight:
        var(--vm-typography-ui-button-weight, 700);
}

body {
    margin: 0;
    font-family:
        var(--frontend-design-body-font-family);
    font-size:
        var(--frontend-design-body-font-size);
    font-weight:
        var(--frontend-design-body-font-weight);
    line-height:
        var(--frontend-design-body-line-height);
    letter-spacing:
        var(--frontend-design-body-letter-spacing);
    color:
        var(--frontend-design-body-color);
    background:
        var(--frontend-design-color-background);
}

/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(1400px, 100%);
    margin: 0 auto;
}

/* =========================================================
   HEADER
========================================================= */

header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.topbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 42px;
    padding: 18px 0;
}

.header-main {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    min-width: 0;
}

.header-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.header-contact {
    color: #64748b;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-left: 18px;
    border-left: 1px solid #e5e7eb;
}

.language-switcher a {
    text-decoration: none;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    color: #64748b;
    transition: color 0.2s ease;
}

.language-switcher a:hover,
.language-switcher a.is-active {
    color: #111827;
}

.language-switcher span {
    color: #cbd5e1;
    font-size: 12px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #111827;
    flex-shrink: 0;
}

.brand__logo {
    display: block;
    max-height: 62px;
    width: auto;
}

.brand__text {
    font-size: 28px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111827;
}

.site-header {
    position: relative;
    z-index: 100;
    background: #ffffff;
}

.site-header--sticky {
    transition:
        transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.52s ease;
}

.site-header--sticky.is-sticky-visible {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 800;
    transform: translateY(0);
    animation: siteHeaderRevealDown 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header--sticky.is-sticky-visible .site-header__inner {
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

@keyframes siteHeaderRevealDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.site-header-spacer {
    height: 0;
}

.site-header--sticky.is-sticky-visible + .site-header-spacer {
    height: var(--site-header-height, 0px);
}

/* =========================================================
   HERO
========================================================= */

.hero {
    background: #1f2937;
    color: #ffffff;
    padding: 60px 0;
}

.hero h1 {
    margin: 0 0 10px;
    font-size: 40px;
}

.hero p {
    margin: 0;
    max-width: 800px;
    color: #d1d5db;
}

/* =========================================================
   SECTION
========================================================= */

.section {
    padding: 50px 0 70px;
}

/* =========================================================
   GENERIC GRID / CARD / BOX
========================================================= */

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card h3 {
    margin: 0 0 10px;
}

.card p {
    margin: 0 0 12px;
    color: #4b5563;
}

.card a {
    text-decoration: none;
    font-weight: 700;
    color: #111827;
}

.box {
    background: #ffffff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}



/* =========================================================
   HERO IMAGE — PREMIUM RESPONSIVE
========================================================= */

.hero-image {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero-image img {
    display: block;
    width: 100%;
    height: clamp(460px, 68svh, 760px);
    object-fit: cover;
    object-position: center 45%;
}

/* Overlay negru diagonal */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    display: grid;
    align-items: end;

    color: #ffffff;

    background: linear-gradient(
        to top right,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.58) 22%,
        rgba(0, 0, 0, 0.32) 43%,
        rgba(0, 0, 0, 0.12) 62%,
        transparent 82%
    );
}

/* Lățimea este moștenită din .container global.
   Alinierea laterală corespunde spațiului de siguranță Composition V2. */
.hero-overlay .container {
    padding-inline: clamp(15px, 1vw, 20px);
    padding-bottom: clamp(75px, 9svh, 115px);
}

/* Titlu editorial */
.hero-overlay h1 {
    max-width: 760px;
    margin: 0;

    font-family: var(--type-font-heading, Georgia, serif);
    font-size: clamp(34px, 3.25vw, 54px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    text-wrap: balance;

    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero-overlay .meta {
    color: #e5e7eb;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {
    .hero-image img {
        height: clamp(420px, 60svh, 620px);
    }

    .hero-overlay .container {
        padding-bottom: 85px;
    }

    .hero-overlay h1 {
        max-width: 650px;
        font-size: clamp(34px, 4.5vw, 46px);
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {
    .hero-image img {
        height: clamp(380px, 56svh, 520px);
        object-position: 58% 42%;
    }

    .hero-overlay {
        background: linear-gradient(
            to top right,
            rgba(0, 0, 0, 0.82) 0%,
            rgba(0, 0, 0, 0.56) 32%,
            rgba(0, 0, 0, 0.20) 62%,
            transparent 90%
        );
    }

    .hero-overlay .container {
        padding-bottom: 70px;
    }

    .hero-overlay h1 {
        max-width: 100%;
        font-size: clamp(30px, 7.5vw, 38px);
        line-height: 1.15;
        letter-spacing: -0.015em;
    }
}

/* =========================================================
   MOBILE LANDSCAPE
========================================================= */

@media (max-height: 500px) and (orientation: landscape) {
    .hero-image img {
        height: clamp(300px, 90svh, 440px);
    }

    .hero-overlay .container {
        padding-bottom: 55px;
    }

    .hero-overlay h1 {
        font-size: clamp(28px, 4vw, 38px);
    }
}

/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 14px;
    text-decoration: none;
    font-family: var(--frontend-design-button-font-family);
    font-size: var(--frontend-design-button-font-size);
    font-weight: var(--frontend-design-button-font-weight);
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
    background: #111827;
    color: #ffffff;
}

.btn-primary:hover {
    background: #0b1220;
}

.btn-secondary {
    background: #e5e7eb;
    color: #111827;
}

.btn-secondary:hover {
    background: #d1d5db;
}

/* Button System V2 — shared editorial Link variant (ZF3.13.5).
   Transparent by default; restrained warm interaction on hover. */
.btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 46px;
    padding: 6px 8px 6px 14px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: transparent;
    color: var(--frontend-design-color-heading, #132a22);
    line-height: 1.35;
    box-shadow: none;
    transition: background-color 0.22s ease, border-color 0.22s ease,
        box-shadow 0.22s ease, color 0.22s ease;
}

.btn-link .fa-arrow-right {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--frontend-design-color-accent-soft, #d8bc83);
    color: var(--frontend-design-color-heading, #132a22);
    font-size: 12px;
    transition: background-color 0.22s ease, color 0.22s ease,
        transform 0.22s ease;
}

.btn-link:hover {
    border-color: rgba(184, 138, 59, 0.18);
    background: rgba(184, 138, 59, 0.075);
    color: var(--frontend-design-color-heading, #132a22);
    box-shadow: 0 5px 14px rgba(19, 42, 34, 0.045);
    text-decoration: none;
}

.btn-link:hover .fa-arrow-right {
    background: var(--frontend-design-color-accent, #b88a3b);
    color: #ffffff;
    transform: translateX(2px);
}

.btn-link:focus-visible {
    outline: 2px solid var(--frontend-design-color-accent, #b88a3b);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .btn-link,
    .btn-link .fa-arrow-right {
        transition: none;
    }
}

/* =========================================================
   SHARED FRONTEND DETAIL UI
========================================================= */

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: 28px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #334155;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow:
        0 8px 18px rgba(15, 23, 42, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        background 0.2s ease;
}

.back-link:hover {
    transform: translateX(-3px);
    color: #0f172a;
    border-color: rgba(59, 130, 246, 0.28);
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
    box-shadow:
        0 12px 24px rgba(37, 99, 235, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    text-decoration: none;
}

.back-link-top {
    margin-top: 0;
}

.back-link-bottom {
    margin-top: 36px;
}

.section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.section-heading h3 {
    margin: 0 0 6px;
}

.section-heading p {
    margin: 0;
    color: #64748b;
    line-height: 1.7;
    max-width: 720px;
}

.section-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.04);
}

.contact-card {
    padding: 24px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.contact-card h3 {
    margin: 0 0 16px;
    font-size: 1.2rem;
    color: #0f172a;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
    text-decoration: none;
    color: #0f172a;
    transition: all 0.2s ease;
}

.contact-item:hover {
    background: #f1f5f9;
    transform: translateY(-1px);
}

.contact-icon {
    font-size: 1.05rem;
    line-height: 1;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1rem;
    width: 18px;
    text-align: center;
}

.contact-text {
    font-size: 0.95rem;
    font-weight: 600;
    word-break: break-word;
}

.contact-item.is-primary {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
}

.contact-item.is-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.22);
}

.contact-item.is-secondary {
    background: #0f172a;
    color: #ffffff;
    border: none;
}

.contact-item.is-secondary:hover {
    background: #1e293b;
}

.contact-item.is-whatsapp {
    background: #25D366;
    color: #ffffff;
    border: none;
}

.contact-item.is-whatsapp:hover {
    background: #1ebe5d;
}

.contact-item.is-whatsapp .contact-icon,
.contact-item.is-whatsapp .contact-icon i,
.contact-item.is-whatsapp .contact-text {
    color: #ffffff;
}

.contact-empty {
    margin: 4px 0 0;
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
}

.review-form-section {
    margin-top: 40px;
}

.review-form-card {
    position: relative;
    padding: 26px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(96, 165, 250, 0.10) 0%, rgba(96, 165, 250, 0) 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.08),
        0 6px 18px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    overflow: hidden;
    isolation: isolate;
}

.review-form-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0f172a 0%, #334155 40%, #94a3b8 100%);
    opacity: 0.92;
}

.review-form-header {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.review-form-title {
    margin: 0 0 8px;
    font-size: 1.28rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #0f172a;
}

.review-form-text {
    margin: 0 0 8px;
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.75;
    max-width: 760px;
}

.review-form-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 10px 14px;
    border-radius: 14px;
    background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
    font-size: 0.88rem;
    line-height: 1.5;
    font-weight: 700;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 8px 16px rgba(37, 99, 235, 0.08);
}

.review-alert {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 0.94rem;
    line-height: 1.65;
    font-weight: 600;
    box-shadow:
        0 10px 20px rgba(15, 23, 42, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.review-alert strong {
    color: inherit;
}

.review-alert-success {
    background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.review-alert-error {
    background: linear-gradient(180deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fecaca;
    color: #991b1b;
}

.review-form {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 20px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.review-field {
    min-width: 0;
}

.review-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    color: #0f172a;
    font-size: 0.92rem;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.review-label span {
    color: #dc2626;
}

.review-input,
.review-textarea {
    display: block;
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: #0f172a;
    font-size: 0.96rem;
    line-height: 1.5;
    font-weight: 600;
    box-shadow:
        0 8px 18px rgba(15, 23, 42, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease,
        transform 0.22s ease;
}

.review-input {
    min-height: 52px;
    padding: 14px 16px;
}

.review-textarea {
    min-height: 150px;
    padding: 14px 16px;
    resize: vertical;
}

.review-input::placeholder,
.review-textarea::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.review-input:hover,
.review-textarea:hover {
    border-color: rgba(59, 130, 246, 0.28);
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
    box-shadow:
        0 12px 22px rgba(37, 99, 235, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.review-input:focus,
.review-textarea:focus {
    outline: none;
    border-color: rgba(37, 99, 235, 0.46);
    background: #ffffff;
    box-shadow:
        0 0 0 4px rgba(59, 130, 246, 0.12),
        0 12px 22px rgba(37, 99, 235, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.review-help {
    margin-top: 8px;
    color: #64748b;
    font-size: 0.84rem;
    line-height: 1.55;
    font-weight: 600;
}

.review-error {
    margin-top: 9px;
    color: #b91c1c;
    font-size: 0.85rem;
    line-height: 1.55;
    font-weight: 700;
}

.review-rating-group {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}

.review-rating-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(148, 163, 184, 0.24);
    color: rgba(148, 163, 184, 0.75);
    cursor: pointer;
    user-select: none;
    box-shadow:
        0 10px 20px rgba(15, 23, 42, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.review-rating-option:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 158, 11, 0.32);
    background: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
    box-shadow:
        0 14px 26px rgba(245, 158, 11, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.review-rating-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    margin: 0;
}

.review-rating-star {
    font-size: 1.6rem;
    line-height: 1;
    transform: translateY(-1px);
}

.review-rating-option:hover .review-rating-star {
    color: #f59e0b;
}

.review-rating-option.is-active,
.review-rating-option.is-active .review-rating-star {
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.34);
    background: linear-gradient(180deg, #fffdf7 0%, #fff7ed 100%);
    box-shadow:
        0 14px 26px rgba(245, 158, 11, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.review-rating-option:focus-within {
    outline: 3px solid rgba(59, 130, 246, 0.20);
    outline-offset: 2px;
}

.review-rating-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.review-label-rating {
    margin-bottom: 0;
    flex-shrink: 0;
}

.review-rating-text {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.5;
    font-weight: 700;
}

.review-rating-text-inline {
    margin-top: 0;
    min-height: auto;
    flex: 0 0 auto;
    white-space: nowrap;
}

.review-submit-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 2px;
}

.review-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 20px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    font-size: 0.96rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.01em;
    cursor: pointer;
    box-shadow:
        0 14px 28px rgba(15, 23, 42, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease;
}

.review-submit:hover {
    transform: translateY(-2px);
    box-shadow:
        0 20px 36px rgba(15, 23, 42, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.review-submit:active {
    transform: translateY(0);
}

.review-submit:focus-visible {
    outline: 3px solid rgba(59, 130, 246, 0.22);
    outline-offset: 3px;
}

.review-submit-note {
    color: #64748b;
    font-size: 0.84rem;
    line-height: 1.6;
    font-weight: 600;
}

.reviews-list {
    display: grid;
    gap: 18px;
    margin-top: 6px;
}

.pagination-wrap-reviews {
    margin-top: 22px;
}

.review-card {
    position: relative;
    padding: 22px 22px 20px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(96, 165, 250, 0.08) 0%, rgba(96, 165, 250, 0) 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow:
        0 14px 30px rgba(15, 23, 42, 0.06),
        0 4px 14px rgba(15, 23, 42, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.review-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #0f172a 0%, #334155 40%, #94a3b8 100%);
    opacity: 0.9;
}

.review-card:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.16);
    box-shadow:
        0 18px 36px rgba(15, 23, 42, 0.08),
        0 8px 18px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.review-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1 1 260px;
}

.review-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: var(--review-avatar-background, linear-gradient(135deg, #0f172a 0%, #334155 100%));
    color: #ffffff;
    font-size: 1rem;
    line-height: 1;
    font-weight: 800;
    box-shadow:
        0 8px 18px rgba(15, 23, 42, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover .review-avatar {
    transform: scale(1.06);
    box-shadow:
        0 12px 24px rgba(15, 23, 42, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.review-author-meta {
    min-width: 0;
}

.review-author-meta strong {
    display: block;
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.review-date {
    margin-top: 4px;
    font-size: 0.84rem;
    line-height: 1.45;
    color: #64748b;
    font-weight: 600;
}

.review-rating-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    border: 1px solid rgba(148, 163, 184, 0.20);
    box-shadow:
        0 6px 14px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.review-rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.review-rating-star {
    font-size: 0.9rem;
    line-height: 1;
    color: rgba(148, 163, 184, 0.42);
}

.review-rating-star.is-active {
    color: #f59e0b;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.review-rating-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.8rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.01em;
}

p.review-text {
    margin: 4px 0 0;
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.85;
}

.review-text-empty {
    color: #64748b;
    font-style: italic;
}

/* =========================================================
   SHARED DETAIL / MEDIA / LISTING UI
========================================================= */

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.detail-main {
    min-width: 0;
}

.detail-sidebar {
    position: sticky;
    top: 20px;
}

.detail-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.detail-hero {
    position: relative;
    overflow: hidden;
    background: #e2e8f0;
    aspect-ratio: 16 / 9;
}

.detail-main-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-body {
    padding: 34px 34px 36px;
}

.detail-section + .detail-section {
    margin-top: 36px;
}

.detail-section h3 {
    margin: 0 0 14px;
    font-size: 1.18rem;
    color: #0f172a;
}

.detail-description {
    font-size: 1rem;
    line-height: 1.85;
    color: #475569;
}

.detail-description p {
    margin: 0 0 14px;
}

.detail-description p:last-child {
    margin-bottom: 0;
}

.detail-description strong {
    font-weight: 700;
    color: #0f172a;
}

.detail-description em {
    font-style: italic;
}

.detail-description u {
    text-decoration: underline;
}

.detail-description a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 2px;
    word-break: break-word;
}

.detail-description a:hover {
    color: #1d4ed8;
}

.detail-description ul,
.detail-description ol {
    margin: 0 0 14px 22px;
    padding: 0;
}

.detail-description li + li {
    margin-top: 6px;
}

.detail-section + .detail-info-grid {
    margin-top: 26px;
}

.detail-image-source {
    margin-top: -10px;
    margin-bottom: 4px;
    text-align: right;
    font-size: 0.78rem;
    line-height: 1.4;
    color: #64748b;
    font-weight: 400;
}

.detail-image-source-value {
    font-style: italic;
}

.detail-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 36px;
}

.detail-info-card {
    position: relative;
    min-width: 0;
    padding: 24px 24px 22px;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(96, 165, 250, 0.10) 0%, rgba(96, 165, 250, 0) 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 250, 252, 0.98) 100%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow:
        0 20px 48px rgba(15, 23, 42, 0.08),
        0 4px 14px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.detail-info-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0f172a 0%, #334155 40%, #94a3b8 100%);
    opacity: 0.92;
}

.detail-info-card::after {
    content: "";
    position: absolute;
    inset: auto -30px -34px auto;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.detail-info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.18);
    box-shadow:
        0 28px 60px rgba(15, 23, 42, 0.12),
        0 8px 18px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.detail-info-card:nth-child(2) {
    background:
        radial-gradient(circle at top right, rgba(251, 191, 36, 0.10) 0%, rgba(251, 191, 36, 0) 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 250, 252, 0.98) 100%);
}

.detail-info-card:nth-child(3) {
    background:
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.10) 0%, rgba(16, 185, 129, 0) 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 250, 252, 0.98) 100%);
}

.detail-info-card-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 18px;
}

.detail-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1d4ed8;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 12px 24px rgba(37, 99, 235, 0.12);
    font-size: 1.02rem;
}

.detail-info-card:nth-child(2) .detail-info-icon {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #d97706;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 12px 24px rgba(217, 119, 6, 0.12);
}

.detail-info-card:nth-child(3) .detail-info-icon {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #059669;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 12px 24px rgba(5, 150, 105, 0.12);
}

.detail-info-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
    line-height: 1.3;
}

.detail-info-value {
    position: relative;
    z-index: 1;
    color: #0f172a;
    font-size: 1.02rem;
    line-height: 1.78;
    font-weight: 600;
    word-break: break-word;
}

.detail-info-mainvalue {
    font-size: 1.16rem;
    line-height: 1.35;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.detail-info-subvalue {
    margin-top: 6px;
    font-size: 0.94rem;
    line-height: 1.55;
    color: #64748b;
    font-weight: 600;
}

.detail-info-value-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-info-value-rows div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.detail-info-value-rows div:first-child {
    padding-top: 0;
    border-top: none;
}

.detail-info-value-rows span {
    font-size: 0.94rem;
    line-height: 1.5;
    color: #475569;
    font-weight: 600;
}

.detail-info-value-rows strong {
    font-size: 1.12rem;
    line-height: 1.2;
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.media-list {
    display: grid;
    gap: 16px;
}

.media-item {
    padding: 18px 20px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.media-link {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-decoration: none;
    color: inherit;
}

.media-thumb {
    display: inline-flex;
    width: 180px;
    max-width: 40%;
    border-radius: 16px;
    overflow: hidden;
    background: #e2e8f0;
    flex-shrink: 0;
}

.media-thumb img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.media-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.media-content-spaced {
    margin-top: 14px;
}

.media-title {
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.45;
    font-weight: 800;
}

.media-caption {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.65;
    font-weight: 600;
}

.media-action,
.map-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 11px 16px;
    border-radius: 12px;
    background: #0f172a;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.media-action:hover,
.map-link:hover {
    background: #1e293b;
    transform: translateY(-1px);
}

.media-embed-wrap {
    width: 100%;
}

.media-embed-frame {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 18px;
}

.map-box {
    padding: 18px 20px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.map-box p {
    margin: 0 0 14px;
    color: #475569;
    line-height: 1.7;
}

.map-embed {
    width: 100%;
    height: 340px;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 14px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
}

.map-embed iframe {
    width: 100%;
    height: 100%;
}

.map-frame {
    border: 0;
}

.map-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.map-footer p {
    margin: 0;
    color: #475569;
    font-size: 0.95rem;
}

.listing-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.listing-sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
}

.listing-content {
    min-width: 0;
}

.mobile-filter-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 14px;
    padding: 13px 16px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 16px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    cursor: pointer;
    box-shadow:
        0 14px 30px rgba(15, 23, 42, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.mobile-filter-toggle:hover {
    transform: translateY(-1px);
    box-shadow:
        0 18px 36px rgba(15, 23, 42, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.mobile-filter-toggle:active {
    transform: translateY(0);
}

.mobile-filter-toggle:focus-visible {
    outline: 3px solid rgba(59, 130, 246, 0.22);
    outline-offset: 2px;
}

.mobile-filter-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.10);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
    flex-shrink: 0;
    font-size: 0.9rem;
    line-height: 1;
}

.mobile-filter-toggle-text {
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
}

.filters-panel {
    display: grid;
    gap: 16px;
}

.results-header-premium {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    padding: 18px 20px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(96, 165, 250, 0.10) 0%, rgba(96, 165, 250, 0) 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow:
        0 18px 38px rgba(15, 23, 42, 0.08),
        0 6px 18px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.90);
    position: relative;
    overflow: hidden;
}

.results-header-premium::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 58%, #334155 100%);
    opacity: 0.96;
}

.results-header-main {
    min-width: 0;
    flex: 1 1 320px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 18px;
}

.results-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 0 1 auto;
    flex-wrap: wrap;
}

.results-header-premium h2 {
    margin: 0;
    grid-column: 1;
    grid-row: 1;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #0f172a;
}

.results-header-premium p {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    color: #475569;
    font-size: 0.92rem;
    line-height: 1;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

.results-header-premium p strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.16);
}

.sort-form,
.per-page-form {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.per-page-control {
    min-width: 110px;
}

.sort-label {
    margin: 0;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.sort-control {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 260px;
}

.sort-control.per-page-control {
    min-width: 110px;
}

.sort-icon {
    position: absolute;
    left: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #64748b;
    pointer-events: none;
    z-index: 1;
}

.sort-select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    min-height: 46px;
    padding: 10px 42px 10px 42px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: #0f172a;
    font-size: 0.92rem;
    line-height: 1.2;
    font-weight: 700;
    box-shadow:
        0 8px 18px rgba(15, 23, 42, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    cursor: pointer;
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease,
        transform 0.22s ease;
}

.per-page-control .sort-select, .per-page-form .sort-select {
  width: auto;
  min-width: 88px;
  padding-left: 20px;
}

.sort-select:hover {
    border-color: rgba(59, 130, 246, 0.28);
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
    box-shadow:
        0 12px 22px rgba(37, 99, 235, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.sort-select:focus {
    outline: none;
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow:
        0 0 0 4px rgba(59, 130, 246, 0.12),
        0 12px 22px rgba(37, 99, 235, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.sort-select::-ms-expand {
    display: none;
}

.sort-control::after {
    content: "";
    position: absolute;
    right: 16px;
    width: 9px;
    height: 9px;
    border-right: 2px solid #64748b;
    border-bottom: 2px solid #64748b;
    transform: rotate(45deg);
    pointer-events: none;
}



.sort-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border: none;
    border-radius: 12px;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
}

.sort-submit:hover {
    background: #1e293b;
}

.active-filters-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.active-filters-bar-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 7px 12px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.active-filter-chip:hover {
    transform: translateY(-1px);
}

.active-filter-chip-zone {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
}

.active-filter-chip-location {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
}

.active-filter-chip-category {
    background: #fff7e6;
    border: 1px solid #ead6a8;
    color: #79571b;
}

.active-filter-chip-badge {
    background: #f5f0ff;
    border: 1px solid #d8c7ff;
    color: #5b21b6;
}

.clear-filters-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    color: #475569;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
}

.clear-filters-link:hover {
    color: #0f172a;
}

.listing-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.listing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 26px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(96, 165, 250, 0.08) 0%, rgba(96, 165, 250, 0) 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow:
        0 18px 42px rgba(15, 23, 42, 0.08),
        0 6px 18px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    isolation: isolate;
    transition:
        transform 0.24s ease,
        box-shadow 0.24s ease,
        border-color 0.24s ease;
}

.listing-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0f172a 0%, #334155 42%, #94a3b8 100%);
    opacity: 0.92;
    z-index: 2;
}

.listing-card::after {
    content: "";
    position: absolute;
    inset: auto -34px -34px auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.listing-card:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.18);
    box-shadow:
        0 28px 60px rgba(15, 23, 42, 0.12),
        0 10px 24px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.listing-card-image-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.listing-card-image-wrap {
    position: relative;
    background: #e2e8f0;
    overflow: hidden;
    aspect-ratio: 16 / 10.2;
}

.listing-card-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.04) 0%, rgba(15, 23, 42, 0.00) 34%, rgba(15, 23, 42, 0.32) 100%);
    pointer-events: none;
    z-index: 1;
}

.listing-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.42s ease;
}

.listing-card:hover .listing-card-image {
    transform: scale(1.06);
}

.listing-card-image-overlay {
    position: absolute;
    inset: auto 0 0 0;
    height: 44%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.62) 100%);
    pointer-events: none;
    z-index: 1;
}

.listing-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: wrap;
    z-index: 3;
}

.listing-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 0.75rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.02em;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 8px 18px rgba(15, 23, 42, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.listing-card-badge i {
    font-size: 0.78rem;
}

.listing-card-badge-recommended {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.25);
}

.listing-card-badge-top {
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.22);
}

.listing-card-badge-new {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.14);
}

.listing-card-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px 20px 22px;
}

.listing-card-title {
    margin: 0 0 8px 0;
    font-size: 1.14rem;
    line-height: 1.32;
    letter-spacing: -0.01em;
}

.listing-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.listing-card-title a:hover {
    color: #1d4ed8;
}

.listing-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.listing-card-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 6px 11px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(148, 163, 184, 0.22);
    color: #475569;
    font-size: 0.8rem;
    line-height: 1;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.listing-card-meta-pill i {
    color: #1d4ed8;
    font-size: 0.78rem;
}

.listing-card-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.listing-card-rating-visual {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.listing-card-rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.listing-card-rating-star {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(148, 163, 184, 0.45);
    font-size: 0.76rem;
    line-height: 1;
}

.listing-card-rating-star.is-filled {
    color: #f59e0b;
}

.listing-card-rating-star.is-half {
    color: rgba(148, 163, 184, 0.45);
}

.listing-card-rating-star-base,
.listing-card-rating-star-fill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.listing-card-rating-star-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 50%;
    overflow: hidden;
    color: #f59e0b;
}

.listing-card-rating-score,
.listing-card-rating-count {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.listing-card-rating-score {
    background: transparent;
    color: #0f172a;
    font-weight: 700;
    padding: 0;
    box-shadow: none;
}

.listing-card-rating-count {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(148, 163, 184, 0.22);
    color: #475569;
}

.listing-card-rating-empty {
    gap: 0;
}

.listing-card-rating-empty-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px dashed rgba(148, 163, 184, 0.38);
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.listing-card-rating-empty-badge i {
    font-size: 0.74rem;
    color: #94a3b8;
}

.listing-card-text {
    margin: 0;
    color: #475569;
    font-size: 0.93rem;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-card-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 2px;
}

.listing-card-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #475569;
    font-size: 0.88rem;
    line-height: 1.55;
}

.listing-card-contact-item i {
    margin-top: 2px;
    color: #64748b;
    font-size: 0.82rem;
    width: 14px;
    flex-shrink: 0;
    text-align: center;
}

.listing-card-contact-item span {
    min-width: 0;
    word-break: break-word;
}

.listing-card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: auto;
    padding-top: 6px;
}

.listing-card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(100, 116, 139, 0.32);
    color: #0f172a;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1;
    box-shadow:
        0 8px 18px rgba(15, 23, 42, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        color 0.22s ease,
        background 0.22s ease;
}

.listing-card-link:hover {
    transform: translateY(-1px);
    color: #1d4ed8;
    text-decoration: none !important;
    border-color: rgba(59, 130, 246, 0.24);
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
    box-shadow:
        0 12px 24px rgba(37, 99, 235, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.listing-card-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.72rem;
    transition: transform 0.22s ease, background 0.22s ease;
}

.listing-card-link:hover .listing-card-link-icon {
    transform: translateX(2px);
}

.empty-state-card {
    padding: 28px 24px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    text-align: center;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.empty-state-card h3 {
    margin: 0 0 10px;
    color: #0f172a;
}

.empty-state-card p {
    margin: 0 0 16px;
    color: #64748b;
    line-height: 1.7;
}

/* =========================================================
   SHARED FRONTEND CARDS
========================================================= */

.frontend-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(96, 165, 250, 0.08) 0%, rgba(96, 165, 250, 0) 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow:
        0 18px 42px rgba(15, 23, 42, 0.08),
        0 6px 18px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    transition:
        transform 0.24s ease,
        box-shadow 0.24s ease,
        border-color 0.24s ease;
}

.frontend-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.18);
    box-shadow:
        0 28px 60px rgba(15, 23, 42, 0.12),
        0 10px 24px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.frontend-card__media {
    position: relative;
}

.frontend-card__media-link {
    display: block;
    text-decoration: none;
}

.frontend-card__media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.frontend-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.24);
}

.frontend-card__body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    flex: 1;
}

.frontend-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.frontend-card__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 700;
}

.frontend-card__title {
    margin: 0;
    font-size: 1.12rem;
    line-height: 1.35;
}

.frontend-card__title-link {
    color: #0f172a;
    text-decoration: none;
}

.frontend-card__title-link:hover {
    color: #1d4ed8;
}

.frontend-card__rating {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #475569;
    font-size: 0.86rem;
    font-weight: 700;
}

.frontend-card__excerpt {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}

.frontend-card__facilities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

.frontend-card__facility {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.76rem;
    font-weight: 700;
}

.frontend-card__footer {
    margin-top: auto;
    padding-top: 6px;
}

.frontend-card__link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 14px;
    background: #0f172a;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 800;
    transition:
        transform 0.22s ease,
        background 0.22s ease;
}

.frontend-card__link:hover {
    transform: translateY(-1px);
    background: #1e293b;
}

.frontend-card--compact .frontend-card__body {
    gap: 10px;
}

.frontend-card--compact .frontend-card__title {
    font-size: 1rem;
}

.frontend-card--compact .frontend-card__link {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.82rem;
}

.frontend-card--highlight {
    border-color: rgba(245, 158, 11, 0.22);
    box-shadow:
        0 26px 54px rgba(15, 23, 42, 0.12),
        0 10px 24px rgba(245, 158, 11, 0.10);
}

.frontend-card--highlight .frontend-card__media img {
    aspect-ratio: 16 / 9;
}

.frontend-card--highlight .frontend-card__title {
    font-size: 1.22rem;
}

.frontend-card--highlight .frontend-card__excerpt {
    font-size: 0.96rem;
}

.frontend-card--highlight .frontend-card__link {
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
}

.frontend-card--highlight {
    border-color: rgba(245, 158, 11, 0.22);
}

/* =========================================================
   FOOTER
========================================================= */

footer {
    background: #111827;
    color: #ffffff;
    padding: 28px 0;
    margin-top: 30px;
}

/* =========================================================
   LIST PAGES SHARED LAYOUT
========================================================= */

.gastronomy-layout,
.accommodations-layout,
.attractions-layout,
.zones-layout,
.locations-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.gastronomy-sidebar,
.accommodations-sidebar,
.attractions-sidebar,
.zones-sidebar,
.locations-sidebar {
    position: sticky;
    top: 20px;
}

.gastronomy-content,
.accommodations-content,
.attractions-content,
.zones-content,
.locations-content {
    min-width: 0;
}

/* =========================================================
   SHARED FILTER CARDS
========================================================= */

.filter-card,
.accommodation-filter-card,
.attraction-filter-card,
.zone-filter-card,
.location-filter-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.accommodation-filter-card + .accommodation-filter-card {
    margin-top: 16px;
}
.attraction-filter-card + .attraction-filter-card {
    margin-top: 16px;
}

.filter-card h3,
.accommodation-filter-card h3,
.attraction-filter-card h3,
.zone-filter-card h3,
.location-filter-card h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 18px;
}

.filter-actions,
.accommodation-filter-actions,
.attraction-filter-actions,
.zone-filter-actions,
.location-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* =========================================================
   SHARED PREMIUM FILTER PANELS / CARDS / HEAD
========================================================= */

.gastronomy-filters-panel .filter-card,
.filters-panel .accommodation-filter-card,
.attraction-filters-panel .attraction-filter-card,
.zone-filters-panel .zone-filter-card,
.location-filters-panel .location-filter-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    padding: 18px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(96, 165, 250, 0.10) 0%, rgba(96, 165, 250, 0) 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow:
        0 18px 38px rgba(15, 23, 42, 0.08),
        0 6px 18px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.90);
}

.gastronomy-filters-panel .filter-card::before,
.filters-panel .accommodation-filter-card::before,
.attraction-filters-panel .attraction-filter-card::before,
.zone-filters-panel .zone-filter-card::before,
.location-filters-panel .location-filter-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 55%, #334155 100%);
    opacity: 0.96;
}

.gastronomy-filters-panel .filter-card h3,
.filters-panel .accommodation-filter-card h3,
.attraction-filters-panel .attraction-filter-card h3,
.zone-filters-panel .zone-filter-card h3,
.location-filters-panel .location-filter-card h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #0f172a;
}

.filter-card-head,
.attraction-filter-card-head,
.zone-filter-card-head,
.location-filter-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.filter-card-head-title {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.filter-card-head-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    flex-shrink: 0;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 8px 16px rgba(37, 99, 235, 0.10);
}

.filter-card-head-title h3 {
    margin: 0;
}

.accommodation-filter-card-facilities .filter-card-head-icon {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-color: #fdba74;
    color: #ea580c;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 8px 16px rgba(234, 88, 12, 0.10);
}

.filter-card-head:last-child,
.attraction-filter-card-head:last-child,
.zone-filter-card-head:last-child,
.location-filter-card-head:last-child {
    margin-bottom: 0;
}

/* =========================================================
   MOBILE FILTER TOGGLES
========================================================= */

.gastronomy-mobile-toggle,
.accommodation-mobile-toggle,
.attraction-mobile-toggle,
.zone-mobile-toggle,
.location-mobile-toggle {
    display: none;
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 15px;
    border: none;
    border-radius: 10px;
    background: #111827;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.gastronomy-filters-panel,
.attraction-filters-panel,
.zone-filters-panel,
.location-filters-panel {
    display: block;
}

/* =========================================================
   SHARED FILTER GROUPS
========================================================= */

.filter-zone {
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.filter-zone:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-zone-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.filter-zone-label,
.filter-location-label,
.filter-category-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.filter-zone-label {
    font-weight: 600;
}

.filter-categories {
    display: grid;
    gap: 10px;
}

/* =========================================================
   ACCORDION
========================================================= */

.filter-zone-toggle {
    width: 34px;
    height: 34px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.filter-zone-toggle:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.filter-zone-toggle-icon {
    width: 10px;
    height: 10px;
    border-right: 2px solid #374151;
    border-bottom: 2px solid #374151;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-top: -2px;
}

.filter-zone-toggle.is-open .filter-zone-toggle-icon {
    transform: rotate(225deg);
    margin-top: 2px;
}

.filter-locations {
    margin-left: 26px;
    margin-top: 10px;
    display: grid;
    gap: 8px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease;
}

.filter-locations.is-open {
    max-height: 1000px;
    opacity: 1;
}

/* =========================================================
   SHARED RESULT HEADER / INTRO / EMPTY
========================================================= */

.results-header {
    margin-bottom: 22px;
}

.results-header h2 {
    margin-top: 0;
    margin-bottom: 8px;
}

.results-header p {
    margin: 0;
    color: #666666;
}

.accommodation-intro-box,
.attraction-intro-box,
.zone-intro-box,
.location-intro-box,
.empty-state-box,
.accommodation-empty-state,
.attraction-empty-state,
.zone-empty-state,
.location-empty-state {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.accommodation-intro-box,
.attraction-intro-box,
.zone-intro-box,
.location-intro-box {
    padding: 24px;
    margin-bottom: 24px;
}

.accommodation-intro-box h2,
.attraction-intro-box h2,
.zone-intro-box h2,
.location-intro-box h2 {
    margin: 0 0 10px;
}

.accommodation-intro-box p,
.attraction-intro-box p,
.zone-intro-box p,
.location-intro-box p {
    margin: 0;
    color: #4b5563;
    line-height: 1.7;
}

.empty-state-box,
.accommodation-empty-state,
.attraction-empty-state,
.zone-empty-state,
.location-empty-state {
    padding: 28px;
}

.empty-state-box h3,
.accommodation-empty-state h3,
.attraction-empty-state h3,
.zone-empty-state h3,
.location-empty-state h3 {
    margin-top: 0;
}

.zone-empty-state p,
.location-empty-state p {
    margin: 0;
}

/* =========================================================
   GASTRONOMY GRID / CARDS
========================================================= */

.gastronomy-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.gastronomy-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gastronomy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.gastronomy-card-image-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.gastronomy-card-image-wrap {
    position: relative;
    overflow: hidden;
}

.gastronomy-card-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.02));
    pointer-events: none;
}

.gastronomy-card-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.gastronomy-card:hover .gastronomy-card-image {
    transform: scale(1.04);
}

.gastronomy-card-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: calc(100% - 28px);
}

.gastronomy-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gastronomy-card-title {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.3;
}

.gastronomy-card-title a {
    text-decoration: none;
    color: inherit;
}

.gastronomy-card-title a:hover {
    color: #b91c1c;
}

.gastronomy-card-meta {
    margin-bottom: 12px;
    color: #666666;
    font-size: 14px;
    line-height: 1.5;
}

.gastronomy-card-text {
    margin-bottom: 12px;
    color: #333333;
    line-height: 1.6;
}

.gastronomy-card-info {
    margin-bottom: 8px;
    color: #444444;
    font-size: 14px;
    line-height: 1.5;
}

.gastronomy-card-info a {
    color: inherit;
    text-decoration: none;
}

.gastronomy-card-info a:hover {
    text-decoration: underline;
}

.gastronomy-card-link {
    margin-top: auto;
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    color: #111827;
}

.gastronomy-card-link:hover {
    text-decoration: underline;
}

/* =========================================================
   ACCOMMODATIONS GRID / CARDS
========================================================= */

.accommodations-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.accommodation-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.accommodation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.accommodation-card-image-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.accommodation-card-image-wrap {
    position: relative;
    overflow: hidden;
}

.accommodation-card-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.02));
    pointer-events: none;
}

.accommodation-card-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.accommodation-card:hover .accommodation-card-image {
    transform: scale(1.04);
}

.accommodation-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.accommodation-card-title {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.3;
}

.accommodation-card-title a {
    text-decoration: none;
    color: inherit;
}

.accommodation-card-title a:hover {
    color: #111827;
}

.accommodation-card-meta {
    margin-bottom: 12px;
    color: #666666;
    font-size: 14px;
    line-height: 1.5;
}

.accommodation-card-text {
    margin-bottom: 12px;
    color: #333333;
    line-height: 1.6;
}

.accommodation-card-link {
    margin-top: auto;
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    color: #111827;
}

.accommodation-card-link:hover {
    text-decoration: underline;
}

.accommodation-btn-reset {
    display: inline-block;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 10px;
    background: #e5e7eb;
    color: #111827;
    font-weight: 700;
}

.accommodation-btn-reset:hover {
    background: #d1d5db;
}

/* =========================================================
   ATTRACTIONS GRID / CARDS
========================================================= */

.attractions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.attraction-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.attraction-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.attraction-card-image-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.attraction-card-image-wrap {
    position: relative;
    overflow: hidden;
}

.attraction-card-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.02));
    pointer-events: none;
}

.attraction-card-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.attraction-card:hover .attraction-card-image {
    transform: scale(1.04);
}

.attraction-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.attraction-card-title {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.3;
}

.attraction-card-title a {
    text-decoration: none;
    color: inherit;
}

.attraction-card-title a:hover {
    color: #b91c1c;
}

.attraction-card-meta {
    margin-bottom: 12px;
    color: #666666;
    font-size: 14px;
    line-height: 1.5;
}

.attraction-card-text {
    margin-bottom: 12px;
    color: #333333;
    line-height: 1.6;
}

.attraction-card-link {
    margin-top: auto;
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    color: #111827;
}

.attraction-card-link:hover {
    text-decoration: underline;
}

.attraction-btn-reset {
    display: inline-block;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 10px;
    background: #e5e7eb;
    color: #111827;
    font-weight: 700;
}

.attraction-btn-reset:hover {
    background: #d1d5db;
}

.attraction-back-link {
    display: inline-block;
    margin-top: 24px;
    text-decoration: none;
    font-weight: 600;
}

/* =========================================================
   ZONES HUB
========================================================= */

.zone-filter-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.zone-filter-card h3 {
    margin: 0 0 16px;
    font-size: 18px;
}

.zone-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.zone-btn-reset {
    display: inline-block;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 10px;
    background: #e5e7eb;
    color: #111827;
    font-weight: 700;
}

.zone-btn-reset:hover {
    background: #d1d5db;
}

.zone-section {
    margin-bottom: 40px;
}

.zone-section:last-child {
    margin-bottom: 0;
}

.zone-section-header {
    margin-bottom: 18px;
}

.zone-section-header h2 {
    margin: 0;
}

.zones-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.zone-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.zone-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.zone-card-image-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.zone-card-image-wrap {
    position: relative;
    overflow: hidden;
}

.zone-card-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.02));
    pointer-events: none;
}

.zone-card-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.zone-card:hover .zone-card-image {
    transform: scale(1.04);
}

.zone-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.zone-card-title {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.3;
}

.zone-card-title a {
    text-decoration: none;
    color: inherit;
}

.zone-card-title a:hover {
    color: #111827;
}

.zone-card-text {
    margin-bottom: 12px;
    color: #333333;
    line-height: 1.6;
}

.zone-card-link {
    margin-top: auto;
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    color: #111827;
}

.zone-card-link:hover {
    text-decoration: underline;
}

/* =========================================================
   LOCATIONS GRID / CARDS
========================================================= */

.location-filter-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.location-filter-card h3 {
    margin: 0 0 16px;
    font-size: 18px;
}

.location-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.location-btn-reset {
    display: inline-block;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 10px;
    background: #e5e7eb;
    color: #111827;
    font-weight: 700;
}

.location-btn-reset:hover {
    background: #d1d5db;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.location-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.location-card-image-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.location-card-image-wrap {
    position: relative;
    overflow: hidden;
}

.location-card-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.02));
    pointer-events: none;
}

.location-card-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.location-card:hover .location-card-image {
    transform: scale(1.04);
}

.location-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.location-card-title {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.3;
}

.location-card-title a {
    text-decoration: none;
    color: inherit;
}

.location-card-title a:hover {
    color: #111827;
}

.location-card-meta {
    margin-bottom: 12px;
    color: #666666;
    font-size: 14px;
    line-height: 1.5;
}

.location-card-text {
    margin-bottom: 12px;
    color: #333333;
    line-height: 1.6;
}

.location-card-link {
    margin-top: auto;
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    color: #111827;
}

.location-card-link:hover {
    text-decoration: underline;
}

.location-back-link {
    display: inline-block;
    margin-top: 24px;
    text-decoration: none;
    font-weight: 600;
}

/* =========================================================
   ITINERARY STATUS BADGE
========================================================= */

.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    border-radius: 999px;
}

.badge-success {
    background: #16a34a;
    color: #ffffff;
}

.badge-warning {
    background: #f59e0b;
    color: #ffffff;
}

.badge-primary {
    background: #2563eb;
    color: #ffffff;
}

/* =========================================================
   UNIVERSAL PAGINATION — DESIGN SYSTEM V2 (F2.1.12)
   Stiluri globale: mod numeric, paleta Design System, responsive.
   Modificare strict vizuala. Fara impact asupra paginarii.
========================================================= */

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 30px 0 0;
    padding: 0;
}

.pagination > * {
    margin: 0 !important;
}

.pagination-item,
.pagination-item.is-active,
.pagination-item.is-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    height: 48px;
    padding: 0;
    margin: 0 !important;
    box-sizing: border-box;
    border-radius: 12px;
    font-family: var(--frontend-design-font-body, "Manrope", Arial, sans-serif);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    color: var(--frontend-design-color-heading, #132A22);
    background: var(--frontend-design-color-surface, #FFFFFF);
    border: 1px solid var(--frontend-design-color-border, #DED8CC);
    box-shadow: 0 3px 12px rgba(13, 51, 39, 0.055);
    transition: background-color 160ms ease,
                border-color 160ms ease,
                color 160ms ease,
                box-shadow 160ms ease,
                transform 160ms ease;
}

.pagination a.pagination-item:not(.is-active):hover {
    transform: translateY(-1px);
    color: var(--frontend-design-color-brand-dark, #0D3327);
    background: var(--frontend-design-color-surface-muted, #F1ECE2);
    border-color: var(--frontend-design-color-accent, #B88A3B);
    box-shadow: 0 5px 14px rgba(13, 51, 39, 0.09);
    text-decoration: none;
}

.pagination a.pagination-item:focus-visible {
    outline: 3px solid var(--frontend-design-color-accent, #B88A3B);
    outline-offset: 3px;
}

.pagination-item.is-active {
    background: var(--frontend-design-color-brand, #174936);
    color: #FFFFFF;
    border-color: var(--frontend-design-color-brand, #174936);
    box-shadow: 0 5px 15px rgba(13, 51, 39, 0.16);
}

.pagination-item.is-disabled {
    background: var(--frontend-design-color-surface-muted, #F1ECE2);
    border-color: var(--frontend-design-color-border, #DED8CC);
    color: var(--frontend-design-color-text-muted, #667069);
    opacity: 0.58;
    box-shadow: none;
    cursor: default;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .pagination-item {
        transition: none;
    }

    .pagination a.pagination-item:not(.is-active):hover {
        transform: none;
    }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
    .gastronomy-layout,
    .accommodations-layout,
    .attractions-layout,
    .zones-layout,
    .locations-layout,
    .detail-layout,
    .listing-layout {
        grid-template-columns: 1fr;
    }

    .gastronomy-sidebar,
    .accommodations-sidebar,
    .attractions-sidebar,
    .zones-sidebar,
    .locations-sidebar,
    .detail-sidebar,
    .listing-sidebar {
        position: static;
    }

    .gastronomy-grid,
    .accommodations-grid,
    .attractions-grid,
    .zones-grid,
    .locations-grid,
    .grid,
    .listing-grid-premium {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .gastronomy-mobile-toggle,
    .accommodation-mobile-toggle,
    .attraction-mobile-toggle,
    .zone-mobile-toggle,
    .location-mobile-toggle {
        display: block;
    }

    .gastronomy-filters-panel,
    .attraction-filters-panel,
    .zone-filters-panel,
    .location-filters-panel {
        display: none;
    }

    .gastronomy-filters-panel.is-open,
    .attraction-filters-panel.is-open,
    .zone-filters-panel.is-open,
    .location-filters-panel.is-open {
        display: block;
        margin-top: 10px;
    }
}

@media (max-width: 900px) {
    .detail-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .grid,
    .gastronomy-grid,
    .accommodations-grid,
    .attractions-grid,
    .zones-grid,
    .locations-grid,
    .listing-grid-premium {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 28px;
    }

    .review-form-card {
        padding: 20px 18px;
        border-radius: 20px;
    }

    .review-form-header {
        margin-bottom: 18px;
    }

    .review-form-title {
        font-size: 1.16rem;
    }

    .review-form-text {
        font-size: 0.94rem;
        line-height: 1.7;
    }

    .review-form-note {
        display: block;
        font-size: 0.84rem;
        line-height: 1.55;
        padding: 10px 12px;
        border-radius: 13px;
    }

    .review-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .review-form {
        gap: 18px;
    }

    .review-input {
        min-height: 50px;
        padding: 13px 14px;
        border-radius: 14px;
        font-size: 0.94rem;
    }

    .review-textarea {
        min-height: 140px;
        padding: 13px 14px;
        border-radius: 14px;
        font-size: 0.94rem;
    }

    .review-rating-group {
        gap: 7px;
    }

    .review-rating-option {
        width: 52px;
        height: 52px;
        border-radius: 16px;
    }

    .review-rating-star {
        font-size: 1.46rem;
    }

    .review-submit {
        width: 100%;
        min-height: 50px;
        padding: 12px 16px;
        border-radius: 15px;
    }

    .review-submit-wrap {
        align-items: stretch;
    }

    .contact-card {
        padding: 20px 18px;
    }

    .section-heading {
        align-items: flex-start;
        gap: 12px;
    }

    .section-count {
        min-height: 34px;
        padding: 7px 12px;
        font-size: 0.8rem;
    }

    .detail-body {
        padding: 22px 18px;
    }

    .results-header-actions {
        width: 100%;
        justify-content: stretch;
    }

    .sort-form,
    .per-page-form {
        width: 100%;
        justify-content: stretch;
        gap: 10px;
    }

    .sort-label {
        width: 100%;
    }

    .sort-control,
    .per-page-control {
        width: 100%;
        min-width: 0;
    }

    .mobile-filter-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .filters-panel {
        display: none;
    }

    .filters-panel.is-open {
        display: grid;
    }

    .review-rating-row {
        align-items: flex-start;
        gap: 10px;
    }

    .review-label-rating {
        width: 100%;
    }

    .review-rating-group {
        width: 100%;
        flex-wrap: wrap;
    }

    .review-rating-text-inline {
        width: 100%;
        margin-top: 2px;
        white-space: normal;
    }

    .media-link {
        flex-direction: column;
    }

    .media-thumb {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 700px) {
    .gastronomy-card-title,
    .accommodation-card-title,
    .attraction-card-title,
    .zone-card-title,
    .location-card-title {
        font-size: 20px;
    }

    .filter-actions {
        flex-direction: column;
    }

    .gastronomy-card-badges {
        top: 12px;
        left: 12px;
        max-width: calc(100% - 24px);
    }

    .active-filters,
    .active-filters-bar {
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .pagination {
        gap: 6px;
        margin-top: 24px;
    }

    .pagination-item,
    .pagination-item.is-active,
    .pagination-item.is-disabled {
        width: 40px;
        min-width: 40px;
        height: 40px;
        border-radius: 12px;
        font-size: 0.85rem;
    }

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

    .section-heading p {
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .section-count {
        min-height: 32px;
        padding: 6px 11px;
        font-size: 0.78rem;
    }

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

    .detail-info-card {
        padding: 19px 18px 18px;
        border-radius: 22px;
    }

    .detail-info-card-top {
        margin-bottom: 15px;
        gap: 11px;
    }

    .detail-info-icon {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        border-radius: 15px;
    }

    .detail-info-mainvalue {
        font-size: 1.05rem;
    }

    .detail-info-value {
        font-size: 0.97rem;
    }

    .detail-info-subvalue,
    .detail-info-value-rows span {
        font-size: 0.9rem;
    }

    .detail-info-value-rows div {
        gap: 10px;
        padding-top: 10px;
    }

    .detail-info-value-rows strong {
        font-size: 1rem;
    }

    .results-header-premium {
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .review-form-card {
        padding: 18px 16px;
    }

    .review-form-title {
        font-size: 1.08rem;
    }

    .review-form-text {
        font-size: 0.92rem;
    }

    .review-label {
        margin-bottom: 9px;
        font-size: 0.9rem;
    }

    .review-help,
    .review-submit-note,
    .review-error {
        font-size: 0.82rem;
    }

    .review-alert {
        padding: 13px 14px;
        border-radius: 14px;
        font-size: 0.9rem;
    }

    .review-rating-group {
        gap: 6px;
    }

    .review-rating-option {
        width: 48px;
        height: 48px;
        border-radius: 15px;
    }

    .review-rating-star {
        font-size: 1.32rem;
    }

    .review-rating-text {
        margin-top: 10px;
        font-size: 0.86rem;
    }

    .review-card {
        padding: 17px 16px 16px;
        border-radius: 18px;
    }

    .review-head {
        align-items: flex-start;
        gap: 12px;
    }

    .review-author {
        gap: 10px;
    }

    .review-avatar {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .review-author-meta strong {
        font-size: 0.92rem;
    }

    .review-date {
        font-size: 0.8rem;
    }

    .review-rating-box {
        width: 100%;
        justify-content: space-between;
        padding: 8px 10px;
    }

    .review-rating-stars {
        gap: 2px;
    }

    .review-rating-star {
        font-size: 0.82rem;
    }

    .review-text {
        font-size: 0.92rem;
        line-height: 1.72;
    }
}

@media (max-width: 380px) {
    .pagination {
        gap: 4px;
    }

    .pagination-item,
    .pagination-item.is-active,
    .pagination-item.is-disabled {
        width: 36px;
        min-width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   PNRR footer banner (global – afișat pe toate paginile frontend)
   Text: #0066B2 = RGB(0, 102, 178) conform manualului de brand
   ========================================================================== */

.homepage-pnrr-footer {
    background: #e5e5e5;
    color: #0066B2;
    padding: 10px 30px 12px;
    text-align: center;
}

.homepage-pnrr-footer .container {
    max-width: none;
    padding: 0;
    width: 100%;
}

.homepage-pnrr-footer__disclaimer {
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 7px;
}

.homepage-pnrr-footer__separator {
    background: linear-gradient(to right,
        #0066B2 0 33.333%,
        #ffce00 33.333% 66.666%,
        #ec1c24 66.666%);
    height: 4px;
    margin: 0 0 7px;
}

.homepage-pnrr-footer__title {
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.homepage-pnrr-footer__links {
    display: flex;
    font-size: .72rem;
    font-weight: 700;
    gap: 80px;
    justify-content: center;
    margin-top: 8px;
}

.homepage-pnrr-footer__link {
    color: inherit;
    text-decoration: underline;
}

.homepage-pnrr-footer__link:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .homepage-pnrr-footer {
        padding: 10px 16px 14px;
    }

    .homepage-pnrr-footer__disclaimer {
        font-size: .68rem;
    }

    .homepage-pnrr-footer__title {
        font-size: .88rem;
    }

    .homepage-pnrr-footer__links {
        align-items: center;
        flex-direction: column;
        gap: 6px;
            margin-top: 8px;
    }
}

/* ============ Banner proiect PNRR (global - sus) ============ */
.homepage-project-banner {
    background: #fff;
    line-height: 0;
    padding: 16px 0;
}

.homepage-project-banner__image {
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: 100%;
    width: 60%;
}

@media (max-width: 767px) {
    .homepage-project-banner__image {
        width: 100%;
    }
}
