:root {
    --color-navy: #0f172a;
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-eco: #10b981;
    --color-eco-dark: #059669;
    --color-eco-bg: #ecfdf5;
    --color-bg: #f8fafc;
    --color-surface: #ffffff;
    --color-text: #0f172a;
    --color-muted: #64748b;
    --color-border: #e2e8f0;
    --radius-sm: 8px;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.1);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

.site-header {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.35rem;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    flex-shrink: 0;
    transform-origin: center center;
}

.logo-svg {
    display: block;
    width: 100%;
    height: 100%;
}

.logo:hover .logo-mark {
    animation: logo-handshake 0.55s ease-in-out;
}

@keyframes logo-handshake {
    0%,
    100% {
        transform: scale(1);
    }

    35% {
        transform: scale(0.86, 1.08);
    }

    65% {
        transform: scale(1.08, 0.92);
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo:hover .logo-mark {
        animation: none;
    }
}

.logo-text {
    display: inline-flex;
    align-items: baseline;
    line-height: 1;
}

.logo-word {
    font-weight: 700;
    color: var(--color-navy);
}

.logo-tld {
    font-weight: 600;
    color: var(--color-eco);
}

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

.nav a {
    color: var(--color-text);
    text-decoration: none;
}

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

.nav-auth {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-link {
    font-weight: 500;
}

.nav-user {
    color: var(--color-muted);
    font-size: 0.95rem;
}

.btn-nav-register {
    background: var(--color-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
}

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

.btn-nav-logout {
    background: transparent;
    color: var(--color-text);
    border: 1px solid #cbd5e1;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
}

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

.hero {
    position: relative;
    color: white;
    padding: 4rem 0 4.5rem;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.hero-dots {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    max-width: min(90%, 320px);
    z-index: 2;
}

.hero-dot {
    width: 0.45rem;
    height: 0.45rem;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.hero-dot.is-active {
    background: var(--color-eco);
    transform: scale(1.15);
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.82) 0%,
        rgba(15, 23, 42, 0.55) 45%,
        rgba(15, 23, 42, 0.72) 100%
    );
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.hero-content {
    max-width: 720px;
}

.hero-eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a5f3d0;
}

.hero h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    max-width: 720px;
    text-shadow: 0 2px 20px rgba(15, 23, 42, 0.4);
}

.hero-subtitle {
    margin: 0;
    color: #e2e8f0;
    max-width: 560px;
    font-size: 1.05rem;
    text-shadow: 0 1px 12px rgba(15, 23, 42, 0.35);
}

.hero-search {
    background: rgba(255, 255, 255, 0.97);
    color: var(--color-text);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

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

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

.search-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.search-form input,
.search-form select {
    padding: 0.8rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    background: var(--color-surface);
    color: var(--color-text);
    transition: border-color 0.15s, box-shadow 0.15s;
}

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

.search-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.btn-reset-filters {
    margin-left: auto;
}

.search-radius-row {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-sm);
    background: rgba(37, 99, 235, 0.05);
}

.search-field-radius {
    margin: 0;
}

.search-radius-control {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-radius-control input[type="range"] {
    flex: 1;
    min-width: 0;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.search-radius-control .search-radius-value {
    min-width: 4.5rem;
    font-weight: 600;
    color: var(--color-primary);
    text-align: right;
}

.location-status {
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.section-header {
    margin-bottom: 1.75rem;
}

.section-header h2 {
    margin: 0 0 0.35rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-navy);
}

.section-header p {
    margin: 0;
    color: var(--color-muted);
}

.categories-section,
.how-section,
.trust-section {
    padding: 3.5rem 0;
}

.categories-section {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

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

.category-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 1.25rem;
    background: var(--color-bg);
    text-align: left;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.category-card:hover,
.category-card.active,
.category-card:focus-visible {
    border-color: var(--color-primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.category-card-image {
    padding: 0;
    overflow: hidden;
}

.category-card-media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 5 / 3;
    overflow: hidden;
    background: var(--color-navy);
}

.category-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
}

.category-card-tint {
    position: absolute;
    inset: 0;
    background: var(--category-tint, var(--color-primary));
    opacity: 0.42;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.category-card-tint::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.45) 100%);
}

.category-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 1rem 1.25rem 1.25rem;
    width: 100%;
}

.category-icon {
    font-size: 1.75rem;
    line-height: 1;
}

.category-name {
    color: var(--color-navy);
    font-size: 1rem;
    line-height: 1.3;
}

.category-tagline {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--color-muted);
    line-height: 1.45;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.step-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.75rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
}

.step-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: var(--color-navy);
}

.step-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.trust-section {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.trust-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 0.75rem;
    background: var(--color-eco-bg);
    color: var(--color-eco);
    border-radius: var(--radius-sm);
    font-weight: 700;
}

.trust-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    color: var(--color-navy);
}

.trust-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.btn {
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

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

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

.btn-secondary {
    background: var(--color-bg);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

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

.results-section {
    padding: 3.5rem 0;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 1.5rem;
}

.products-panel,
.map-panel {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
}

.products-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    max-height: 560px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-surface);
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.product-card:hover,
.product-card.active {
    border-color: var(--color-primary);
    box-shadow: var(--shadow);
}

.product-card-image {
    position: relative;
    position: relative;
    height: 140px;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.product-card-no-image {
    font-size: 2.5rem;
    opacity: 0.35;
}

.product-availability {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.55rem;
    background: var(--color-eco-bg);
    color: var(--color-eco-dark);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-availability::before {
    content: "⚡";
    font-size: 0.7rem;
}

.product-card-body {
    padding: 0.9rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.product-card h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-navy);
    line-height: 1.3;
}

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

.product-price span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-muted);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
}

.product-rating-stars {
    color: #f59e0b;
    letter-spacing: 0.5px;
}

.product-rating-none {
    color: var(--color-muted);
}

.product-meta {
    color: var(--color-muted);
    font-size: 0.85rem;
    margin: 0;
}

.map-title {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-navy);
}

.map-wrap {
    position: relative;
}

.map-locate-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 1001;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--color-navy);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.map-locate-btn:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
}

.map-locate-btn:active {
    transform: scale(0.98);
}

.map-locate-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.map-locate-icon {
    color: var(--color-primary);
    font-size: 1rem;
    line-height: 1;
}

.placeholder {
    color: var(--color-muted);
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem 1rem;
}

#map {
    height: 520px;
    border-radius: 8px;
}

#map .leaflet-container {
    height: 100%;
    width: 100%;
    border-radius: 8px;
}

#map .leaflet-marker-icon {
    cursor: pointer;
    transition: transform 0.15s ease;
}

#map .leaflet-marker-icon.map-marker-active {
    transform: scale(1.12);
}

.map-product-preview {
    position: fixed;
    z-index: 12000;
    pointer-events: none;
}

.map-product-preview-card {
    width: 156px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-product-preview-card img {
    display: block;
    width: 100%;
    height: 96px;
    object-fit: cover;
}

.map-product-preview-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96px;
    background: var(--color-bg);
    font-size: 2rem;
    opacity: 0.45;
}

.map-product-preview-title {
    margin: 0;
    padding: 0.5rem 0.6rem 0.6rem;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--color-navy);
}

.auth-section {
    padding: 3rem 0 4rem;
}

.auth-page {
    position: relative;
    min-height: calc(100vh - 64px);
    min-height: calc(100dvh - 64px);
    background: var(--color-bg);
}

.auth-page-register {
    overflow: hidden;
}

.auth-page-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.auth-page-bg-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    filter: brightness(1.08) saturate(0.95);
}

.auth-page-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.82) 0%,
        rgba(248, 250, 252, 0.78) 45%,
        rgba(255, 255, 255, 0.85) 100%
    );
}

.auth-page-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 64px);
    min-height: calc(100dvh - 64px);
    padding: 2.5rem 1.25rem;
}

.auth-card {
    max-width: 440px;
    margin: 0 auto;
    background: var(--color-surface);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
}

.auth-card-register {
    max-width: 520px;
    padding: 2rem 2rem 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-lg);
}

.auth-card-header {
    margin-bottom: 1.25rem;
}

.auth-fieldset {
    min-width: 0;
    width: 100%;
    margin: 0 0 1.25rem;
    padding: 0 0 1rem;
    border: none;
    border-bottom: 1px solid var(--color-border);
}

.auth-fieldset-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
    width: 100%;
}

.auth-fieldset-last {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0.5rem;
}

.auth-fieldset legend {
    display: block;
    width: 100%;
    float: none;
    padding: 0;
    margin: 0 0 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.avatar-upload-label {
    display: inline-flex;
    margin-top: 0.25rem;
    cursor: pointer;
}

.avatar-upload-btn {
    display: inline-block;
    padding: 0.6rem 1rem;
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-primary);
    background: var(--color-bg);
    transition: border-color 0.15s, background 0.15s;
}

.avatar-upload-label:hover .avatar-upload-btn {
    border-color: var(--color-primary);
    background: #eff6ff;
}

.avatar-upload-label input[type="file"] {
    display: none;
}

.verify-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 0.5rem;
}

.verify-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.verification-code-input {
    font-size: 1.5rem !important;
    letter-spacing: 0.35em;
    text-align: center;
    font-weight: 600;
}

.auth-card h1 {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
}

.auth-subtitle {
    margin: 0 0 1.5rem;
    color: var(--color-muted);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
    width: 100%;
}

.auth-form #step-1,
.auth-form #step-2 {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
    width: 100%;
}

.auth-form label {
    display: block;
    width: 100%;
    font-weight: 500;
    margin-top: 0.5rem;
}

.auth-fieldset-body > label:first-of-type {
    margin-top: 0;
}

.auth-form .optional {
    font-weight: 400;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.field-hint {
    display: block;
    width: 100%;
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-top: -0.25rem;
}

.nickname-ok {
    color: #166534;
}

.nickname-bad {
    color: #dc2626;
}

.phone-input-row {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.phone-country-select {
    flex: 0 0 auto;
    min-width: 7.25rem;
    max-width: 8.5rem;
    padding: 0.75rem 0.5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    background: var(--color-surface);
    cursor: pointer;
}

.phone-local-input {
    flex: 1;
    min-width: 0;
}

.auth-fieldset-body .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.auth-fieldset-body .form-row label {
    margin-top: 0.5rem;
}

.auth-fieldset-body .form-row > div:first-child label {
    margin-top: 0.5rem;
}

.account-settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.auth-form input:not([type="file"]) {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    background: var(--color-surface);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.auth-form input:not([type="file"]):focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.btn-block {
    width: 100%;
    margin-top: 1rem;
}

.form-error {
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin: 0.5rem 0 0;
    font-size: 0.95rem;
}

.auth-footer {
    margin: 1.5rem 0 0;
    text-align: center;
    color: var(--color-muted);
}

.auth-footer a {
    color: var(--color-primary);
    font-weight: 500;
}

.auth-card-wide {
    max-width: 520px;
}

.step-indicator {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0.5rem;
    border-radius: 8px;
    background: #f1f5f9;
    color: var(--color-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.step.active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-primary);
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.25);
}

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

.verify-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    color: #1e3a8a;
}

.form-success {
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin: 0.5rem 0 0;
    font-size: 0.95rem;
    font-weight: 500;
}

.register-dev-code {
    color: #1e3a8a;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin: 0.5rem 0 0;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.pricing-suggestion {
    margin: 0.75rem 0 1rem;
    padding: 1rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--radius-sm);
}

.pricing-suggestion-title {
    margin: 0 0 0.5rem;
    font-weight: 700;
    color: #92400e;
}

.pricing-suggestion-text {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #78350f;
}

.pricing-suggestion-range,
.pricing-suggestion-note {
    color: #92400e;
    font-size: 0.9rem;
}

.pricing-suggestion .btn {
    margin-top: 0.25rem;
}

.duration-discounts-fieldset {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

.duration-discounts-fieldset legend {
    font-weight: 700;
    color: var(--color-navy);
    padding: 0 0.25rem;
}

.duration-discounts-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0.75rem 0;
}

.duration-discount-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem;
}

.duration-discount-field {
    flex: 1 1 8rem;
    min-width: 8rem;
}

.duration-discount-field label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.duration-discount-row .discount-remove-btn {
    flex: 0 0 auto;
    align-self: flex-end;
}

.product-discount-list {
    flex: 1 1 100%;
    margin: 0;
    padding: 0.75rem 1rem 0.75rem 1.75rem;
    background: var(--color-bg);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--color-muted);
}

.product-discount-list li {
    margin: 0.15rem 0;
}

.btn-link {
    background: transparent;
    color: var(--color-muted);
    border: none;
    text-decoration: underline;
}

.auth-form input[type="file"] {
    padding: 0.5rem 0;
    border: none;
}

.profile-section {
    padding: 2.5rem 0 4rem;
}

.profile-loading {
    text-align: center;
    color: var(--color-muted);
    padding: 3rem 0;
}

.profile-header {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: var(--color-surface);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.profile-avatar-wrap {
    flex-shrink: 0;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e2e8f0;
}

.profile-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dbeafe;
    color: var(--color-primary);
    font-size: 2.5rem;
    font-weight: 700;
}

.profile-info h1 {
    margin: 0 0 0.25rem;
    font-size: 2rem;
}

.profile-meta {
    margin: 0 0 0.75rem;
    color: var(--color-muted);
}

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

.rating-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.rating-stars {
    color: #f59e0b;
    letter-spacing: 1px;
}

.rating-count {
    color: var(--color-muted);
}

.profile-reviews {
    background: var(--color-surface);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.profile-reviews h2 {
    margin: 0 0 1rem;
    font-size: 1.25rem;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.25rem;
}

.review-card-header a {
    color: var(--color-primary);
    text-decoration: none;
}

.review-type {
    font-size: 0.85rem;
    color: var(--color-muted);
}

.review-rating {
    color: #f59e0b;
    margin-bottom: 0.5rem;
}

.review-comment {
    margin: 0 0 0.5rem;
}

.review-date {
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.review-dimension-summary {
    list-style: none;
    margin: 0 0 0.75rem;
    padding: 0;
    display: grid;
    gap: 0.25rem;
    font-size: 0.9rem;
}

.review-dimension-summary li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--color-muted);
}

.review-dimension-summary span:last-child {
    color: #f59e0b;
    white-space: nowrap;
}

.booking-reviews {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    display: grid;
    gap: 1rem;
}

.review-form {
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm, 6px);
}

.review-form h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    color: var(--color-navy, #1e3a5f);
}

.review-form-lead {
    margin: 0 0 0.85rem;
    font-size: 0.92rem;
    color: var(--color-muted, #64748b);
}

.review-dimension-row {
    display: grid;
    grid-template-columns: minmax(8rem, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.review-dimension-label label {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-text, #334155);
}

.review-dimension-hint {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--color-muted, #64748b);
}

.star-input {
    display: inline-flex;
    gap: 0.15rem;
}

.star-input-btn {
    border: none;
    background: transparent;
    color: #cbd5e1;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.star-input-btn.is-active {
    color: #f59e0b;
}

.star-input-btn:hover,
.star-input-btn:focus-visible {
    color: #fbbf24;
}

.review-form textarea {
    width: 100%;
    margin: 0.5rem 0 0.75rem;
}

.review-done-note {
    margin: 0;
    font-size: 0.9rem;
    color: #2e7d32;
}

.profile-dashboard-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.dashboard-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 1rem 0.75rem;
    background: var(--color-surface);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.dashboard-btn:hover,
.dashboard-btn.active {
    border-color: var(--color-primary);
    box-shadow: var(--shadow);
    color: var(--color-primary);
}

.dashboard-btn-icon {
    font-size: 1.5rem;
}

.dashboard-panel {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.dashboard-panel h1 {
    margin: 0 0 0.25rem;
}

.profile-public-link {
    display: inline-block;
    margin-top: 0.75rem;
    color: var(--color-primary);
    font-size: 0.9rem;
}

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

.auth-form textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
}

.auth-form select {
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.orders-section {
    margin-bottom: 2rem;
}

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

.orders-section h2 {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    color: var(--color-navy);
}

.orders-section-lead {
    margin: 0 0 1rem;
    color: var(--color-muted);
    font-size: 0.92rem;
}

.order-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    background: var(--color-surface);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.order-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.order-card-layout {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.order-card-thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid #e2e8f0;
}

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

.order-card-thumb-empty {
    font-size: 1.5rem;
    opacity: 0.45;
}

.order-card-body {
    flex: 1;
    min-width: 0;
}

.order-card-title {
    color: var(--color-navy);
    text-decoration: none;
}

.order-card-title:hover {
    text-decoration: underline;
}

.order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.order-contact-panel {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: var(--color-bg);
    border-radius: var(--radius-sm);
}

.order-contact-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.order-phone {
    margin: 0.75rem 0 0;
    font-weight: 600;
}

.btn-sm {
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.modal[hidden] {
    display: none;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.modal-card {
    position: relative;
    width: min(100%, 480px);
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 1.25rem;
}

.modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-muted);
}

.modal-card h2 {
    margin: 0 0 0.35rem;
    padding-right: 2rem;
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.order-status {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
}

.order-status-pending {
    background: #fef3c7;
    color: #92400e;
}

.order-status-confirmed {
    background: #dbeafe;
    color: #1e40af;
}

.order-status-completed {
    background: var(--color-eco-bg);
    color: var(--color-eco-dark);
}

.order-status-cancelled {
    background: #f1f5f9;
    color: #64748b;
}

.order-meta {
    margin: 0.25rem 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.order-note {
    margin: 0.5rem 0 0;
    font-style: italic;
}

.order-date {
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.account-info-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.account-info-card p {
    margin: 0.35rem 0;
}

.account-earnings-card {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-md, 8px);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.account-earnings-card h2 {
    margin: 0;
    color: var(--color-navy, #1e3a5f);
}

.earnings-overview-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.earnings-overview-lead {
    margin: 0.35rem 0 0;
    color: var(--color-muted, #64748b);
    font-size: 0.95rem;
    max-width: 42rem;
}

.earnings-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 1rem;
}

.earnings-stat-card {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm, 6px);
}

.earnings-stat-highlight {
    border-color: #86efac;
    background: #f0fdf4;
}

.earnings-stat-payout {
    border-color: #fde68a;
    background: #fffbeb;
}

.earnings-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy, #1e3a5f);
    line-height: 1.2;
}

.earnings-stat-label {
    font-weight: 600;
    color: var(--color-text, #334155);
}

.earnings-stat-hint {
    font-size: 0.82rem;
    color: var(--color-muted, #64748b);
}

.earnings-held-note,
.earnings-empty-note {
    margin: 1rem 0 0;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm, 6px);
    font-size: 0.92rem;
}

.earnings-held-note {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
}

.earnings-empty-note {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    color: var(--color-muted, #64748b);
}

.account-placeholder {
    background: #eff6ff;
    border: 1px dashed #93c5fd;
    border-radius: 8px;
    padding: 1.25rem;
    color: #1e3a8a;
}

.account-placeholder h3 {
    margin: 0 0 0.5rem;
}

.dashboard-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.my-products-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.my-product-card {
    display: block;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.my-product-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow);
}

.my-product-edit-hint {
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 500;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.images-preview {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.image-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.current-images {
    margin-top: 0.5rem;
}

.address-status {
    margin: 0.75rem 0 0;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
}

.address-status-pending {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--color-muted);
}

.address-status-ok {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.address-status-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.address-map {
    height: 220px;
    border-radius: 8px;
    margin-top: 0.75rem;
    border: 1px solid #e2e8f0;
}

.pickup-address-choice {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin: 0.5rem 0 1rem;
}

.pickup-address-choice legend {
    font-weight: 600;
    padding: 0 0.25rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
    font-weight: 500;
    cursor: pointer;
}

.address-preview {
    margin: 0.25rem 0 0.75rem 1.5rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: var(--color-text);
    font-size: 0.95rem;
}

.my-product-image {
    height: 160px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.my-product-no-image {
    font-size: 3rem;
    opacity: 0.4;
}

.my-product-body {
    padding: 1rem;
}

.my-product-body h3 {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
}

.site-footer {
    background: var(--color-navy);
    border-top: none;
    padding: 2.5rem 0 2rem;
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(12rem, 1.4fr) minmax(12rem, 1.2fr) minmax(10rem, 1fr);
    gap: 2rem 2.5rem;
    align-items: start;
}

.footer-brand-name {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #f8fafc;
}

.footer-tagline {
    margin: 0 0 1rem;
    line-height: 1.5;
    color: #cbd5e1;
    max-width: 22rem;
}

.footer-copy {
    margin: 0;
    font-size: 0.85rem;
}

.footer-heading {
    margin: 0 0 0.85rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #f8fafc;
}

.footer-contact-list,
.footer-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.footer-contact-list li {
    display: grid;
    gap: 0.15rem;
}

.footer-contact-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.footer-support-note {
    margin: 0.85rem 0 0.5rem;
    font-size: 0.85rem;
    line-height: 1.45;
}

.footer-support a,
.footer-links-list a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-support a:hover,
.footer-links-list a:hover,
.footer-support-link:hover {
    color: #fff;
}

.footer-support-link {
    display: inline-block;
    margin-top: 0.25rem;
    color: #93c5fd;
    text-decoration: none;
    font-weight: 500;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.footer-nav a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-nav a:hover {
    color: #fff;
}

.legal-page {
    padding: 2.5rem 0 4rem;
}

.legal-container {
    max-width: 760px;
}

.legal-header {
    margin-bottom: 2rem;
}

.legal-header h1 {
    margin: 0 0 0.75rem;
    color: var(--color-navy);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.legal-lead {
    margin: 0 0 0.5rem;
    color: var(--color-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.legal-meta {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.legal-content {
    background: var(--color-surface);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    padding: 1.75rem 2rem;
    box-shadow: var(--shadow-sm);
}

.legal-content section + section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.legal-content h2 {
    margin: 0 0 0.85rem;
    color: var(--color-navy);
    font-size: 1.15rem;
}

.legal-content p,
.legal-content li {
    color: #334155;
    line-height: 1.7;
}

.legal-content p {
    margin: 0 0 0.85rem;
}

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

.legal-content ul {
    margin: 0 0 0.85rem;
    padding-left: 1.25rem;
}

.legal-content li + li {
    margin-top: 0.35rem;
}

.legal-content a {
    color: var(--color-primary);
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: left;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .legal-content {
        padding: 1.25rem 1rem;
    }
}

.site-footer p {
    margin: 0;
}

@media (max-width: 900px) {
    .steps-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 2.5rem 0 3rem;
        min-height: auto;
    }

    .hero-slide .hero-image {
        object-position: center center;
    }

    .hero-dots {
        bottom: 0.75rem;
    }

    .header-inner {
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 0.75rem 0;
    }

    .nav {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

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

    #map {
        height: 360px;
    }

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

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

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

    .auth-page-content {
        min-height: auto;
        padding: 1.5rem 1rem 2.5rem;
    }

    .auth-card-register {
        padding: 1.5rem;
    }

    .auth-fieldset-body .form-row {
        grid-template-columns: 1fr;
    }

    .admin-nav {
        flex-wrap: wrap;
    }

    .admin-two-col {
        grid-template-columns: 1fr;
    }

    .admin-table-wrap {
        overflow-x: auto;
    }
}

.admin-section {
    padding: 2rem 0 4rem;
}

.admin-gate {
    max-width: 520px;
    margin: 2rem auto;
}

.admin-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.admin-nav-btn {
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text);
    padding: 0.55rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
}

.admin-nav-btn.active,
.admin-nav-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: #eff6ff;
}

.admin-panel {
    display: none;
}

.admin-panel.active {
    display: block;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

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

.admin-stat-highlight {
    border-color: rgba(37, 99, 235, 0.25);
    background: #eff6ff;
}

.admin-stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-navy);
}

.admin-stat-label {
    color: var(--color-muted);
    font-size: 0.9rem;
}

.admin-panel-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-select {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
}

.admin-table-wrap {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: auto;
    box-shadow: var(--shadow);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.admin-table th,
.admin-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    background: #f8fafc;
    font-weight: 600;
    white-space: nowrap;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-empty {
    text-align: center;
    color: var(--color-muted);
}

.admin-badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.admin-badge-pending { background: #fef3c7; color: #92400e; }
.admin-badge-confirmed { background: #dbeafe; color: #1e40af; }
.admin-badge-completed { background: #d1fae5; color: #065f46; }
.admin-badge-cancelled { background: #fee2e2; color: #991b1b; }
.admin-badge-open { background: #fee2e2; color: #991b1b; }
.admin-badge-in_progress { background: #fef3c7; color: #92400e; }
.admin-badge-resolved { background: #d1fae5; color: #065f46; }
.admin-badge-closed { background: #e2e8f0; color: #475569; }
.admin-badge-sent { background: #d1fae5; color: #065f46; }
.admin-badge-failed { background: #fee2e2; color: #991b1b; }
.admin-badge-admin { background: #ede9fe; color: #5b21b6; }

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.btn-small {
    padding: 0.35rem 0.65rem;
    font-size: 0.82rem;
}

.admin-two-col {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.25rem;
}

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

.admin-card-narrow {
    max-width: 420px;
    margin-bottom: 1.25rem;
}

.admin-messages-history,
.admin-disputes-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 520px;
    overflow: auto;
}

.admin-message-item,
.admin-dispute-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    background: #f8fafc;
}

.admin-message-item header,
.admin-dispute-item header {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.admin-suggestions ul {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--color-muted);
}

.admin-suggestions li + li {
    margin-top: 0.5rem;
}

.admin-categories-tree {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.admin-category-main {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1rem;
    background: var(--color-surface);
}

.admin-category-main-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.admin-category-main-header small {
    display: block;
    color: var(--color-muted);
    margin-top: 0.25rem;
}

.admin-category-sub-list {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--color-muted);
}

.admin-category-sub-list li + li {
    margin-top: 0.35rem;
}

.admin-category-sub-list small {
    margin-left: 0.35rem;
    opacity: 0.8;
}

.category-hero {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
}

.category-hero-media {
    position: absolute;
    inset: 0;
}

.category-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
}

.category-hero-tint {
    position: absolute;
    inset: 0;
    background: var(--category-accent, var(--color-primary));
    opacity: 0.38;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.category-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--category-accent, #2563eb) 18%, transparent) 0%,
        rgba(15, 23, 42, 0.55) 55%,
        rgba(15, 23, 42, 0.82) 100%
    );
}

.category-hero-inner {
    position: relative;
    z-index: 1;
    padding: 2.5rem 0 2rem;
    color: #fff;
}

.category-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
}

.category-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.category-breadcrumb a:hover {
    text-decoration: underline;
}

.category-hero-inner h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: #fff;
}

.category-hero-lead {
    margin: 0;
    max-width: 52rem;
    color: rgba(255, 255, 255, 0.9);
}

.subcategories-section {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

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

.subcategory-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-bg);
    text-decoration: none;
    color: var(--color-text);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.subcategory-card:hover,
.subcategory-card.active,
.subcategory-card:focus-visible {
    border-color: var(--sub-accent, var(--color-primary));
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.subcategory-card-media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    background: var(--color-navy);
}

.subcategory-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.04);
}

.subcategory-card-tint {
    position: absolute;
    inset: 0;
    background: var(--sub-accent, var(--color-primary));
    opacity: 0.48;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.subcategory-card-tint::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.35) 100%);
}

.subcategory-icon {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
    font-size: 1.35rem;
    line-height: 1;
}

.subcategory-name {
    display: block;
    padding: 0.9rem 1rem 0.25rem;
    font-weight: 600;
    color: var(--color-navy);
}

.subcategory-sample {
    display: block;
    padding: 0 1rem 1rem;
    font-size: 0.85rem;
    color: var(--color-muted);
    line-height: 1.4;
}

.category-search-section {
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.category-search-form {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.product-detail-section {
    padding: 2rem 0 4rem;
}

.product-detail-back {
    margin: 0 0 1.25rem;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
    gap: 1.5rem;
    align-items: start;
}

.product-detail-main {
    display: grid;
    gap: 1.5rem;
}

.product-gallery,
.product-booking-panel {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.product-gallery {
    overflow: hidden;
}

.product-gallery-main {
    aspect-ratio: 4 / 3;
    background: var(--color-bg);
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery-empty {
    display: grid;
    place-items: center;
    min-height: 280px;
    font-size: 3rem;
    opacity: 0.35;
}

.product-gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    overflow-x: auto;
}

.gallery-thumb {
    flex: 0 0 72px;
    height: 72px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    background: var(--color-bg);
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--color-primary);
}

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

.product-detail-info h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    color: var(--color-navy);
}

.product-detail-category {
    margin: 0 0 0.75rem;
    color: var(--color-primary);
    font-weight: 600;
}

.product-detail-description {
    margin: 0 0 1.25rem;
    line-height: 1.6;
    color: var(--color-text);
}

.product-detail-prices {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product-detail-prices p {
    margin: 0;
    padding: 0.75rem 1rem;
    background: var(--color-bg);
    border-radius: var(--radius-sm);
}

.product-detail-location h2,
.product-detail-owner h2,
.product-detail-faq h2,
.product-booking-panel h2 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    color: var(--color-navy);
}

.product-detail-faq {
    margin-bottom: 1.5rem;
}

.product-faq-list {
    display: grid;
    gap: 0.5rem;
}

.product-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm, 6px);
    background: #f8fafc;
    overflow: hidden;
}

.product-faq-item summary {
    cursor: pointer;
    padding: 0.85rem 1rem;
    font-weight: 600;
    color: var(--color-navy, #1e3a5f);
    list-style: none;
}

.product-faq-item summary::-webkit-details-marker {
    display: none;
}

.product-faq-item summary::after {
    content: "+";
    float: right;
    color: var(--color-muted, #64748b);
}

.product-faq-item[open] summary::after {
    content: "−";
}

.product-faq-item p {
    margin: 0;
    padding: 0 1rem 1rem;
    color: var(--color-text, #334155);
    line-height: 1.55;
    font-size: 0.95rem;
}

.product-faq-fieldset {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: var(--radius-sm, 6px);
}

.product-faq-fieldset legend {
    font-weight: 700;
    color: var(--color-navy, #1e3a5f);
    padding: 0 0.25rem;
}

.product-faq-fieldset textarea {
    margin-bottom: 0.75rem;
}

.product-booking-panel {
    position: sticky;
    top: 88px;
    padding: 1.25rem;
}

.booking-panel-lead {
    margin: 0 0 1rem;
    color: var(--color-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

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

.booking-calendar-header h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--color-navy);
}

.btn-icon {
    min-width: 2.5rem;
    padding-inline: 0.75rem;
}

.booking-calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: var(--color-muted);
}

.legend-dot {
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 999px;
    margin-right: 0.25rem;
    vertical-align: middle;
}

.legend-free {
    background: #dcfce7;
    border: 1px solid #86efac;
}

.legend-pending {
    background: #ffedd5;
    border: 1px solid #fdba74;
}

.legend-booked {
    background: #fee2e2;
    border: 1px solid #fca5a5;
}

.legend-unavailable {
    background: #e5e7eb;
    border: 1px solid #d1d5db;
}

.legend-busy {
    background: #e5e7eb;
    border: 1px solid #d1d5db;
}

.legend-selected {
    background: #dbeafe;
    border: 1px solid #60a5fa;
}

.booking-calendar {
    margin-bottom: 1rem;
}

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

.calendar-weekdays {
    margin-bottom: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-muted);
    text-align: center;
}

.calendar-day {
    aspect-ratio: 1;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: #f0fdf4;
    color: var(--color-text);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
}

.owner-calendar-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.owner-calendar-section h2 {
    margin: 0 0 0.35rem;
    color: var(--color-navy);
}

.owner-calendar-legend {
    margin-bottom: 1rem;
}

.calendar-day-empty {
    border: none;
    background: transparent;
    cursor: default;
}

.calendar-day-past {
    background: #f9fafb;
    color: #9ca3af;
    cursor: not-allowed;
}

.calendar-day-free {
    background: #f0fdf4;
    border-color: #86efac;
}

.calendar-day-pending {
    background: #ffedd5;
    border-color: #fdba74;
    color: #9a3412;
    cursor: not-allowed;
}

.calendar-day-booked {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #991b1b;
    cursor: not-allowed;
}

.calendar-day-unavailable,
.calendar-day-blocked,
.calendar-day-busy {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #6b7280;
    cursor: not-allowed;
}

.calendar-day-toggle:not(:disabled):hover {
    border-color: var(--color-primary);
}

.calendar-day-selectable:hover {
    border-color: var(--color-primary);
}

.calendar-day-range {
    background: #dbeafe;
    border-color: #93c5fd;
}

.calendar-day-pickup,
.calendar-day-return {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.booking-selection {
    margin: 1rem 0;
    padding: 0.9rem 1rem;
    background: var(--color-bg);
    border-radius: var(--radius-sm);
}

.booking-selection p {
    margin: 0.25rem 0;
}

.booking-total {
    margin-top: 0.5rem !important;
    font-size: 1.05rem;
}

.product-booking-panel textarea {
    width: 100%;
    margin: 0.5rem 0 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    resize: vertical;
}

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

a.product-card:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

@media (max-width: 960px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .product-booking-panel {
        position: static;
    }
}

.messages-nav-btn,
.orders-nav-btn {
    position: relative;
}

.nav-unread-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
}

.nav-unread-badge[hidden] {
    display: none !important;
}

.dashboard-btn.has-unread-messages .dashboard-btn-icon,
.dashboard-btn.has-unread-orders .dashboard-btn-icon {
    filter: none;
}

.orders-toast {
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    background: #ecfdf5;
    border: 1px solid #86efac;
    color: #166534;
    font-weight: 500;
}

.thread-unread .thread-name {
    font-weight: 700;
}

.thread-unread-dot {
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    margin-right: 0.4rem;
    border-radius: 999px;
    background: #dc2626;
    vertical-align: middle;
}

.messages-panel {
    min-height: 520px;
}

.messages-layout {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 1rem;
    margin-top: 1rem;
    min-height: 420px;
}

.messages-subtitle {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    color: var(--color-navy);
}

.threads-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 520px;
    overflow-y: auto;
}

.thread-item {
    display: grid;
    gap: 0.2rem;
    width: 100%;
    text-align: left;
    padding: 0.85rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-surface);
    cursor: pointer;
}

.thread-item:hover,
.thread-item.active {
    border-color: var(--color-primary);
    background: rgba(37, 99, 235, 0.05);
}

.thread-name {
    font-weight: 600;
    color: var(--color-navy);
}

.thread-preview,
.thread-product {
    font-size: 0.85rem;
    color: var(--color-muted);
}

.thread-time {
    font-size: 0.75rem;
    color: var(--color-muted);
}

.messages-conversation {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

.messages-empty {
    display: grid;
    place-items: center;
    flex: 1;
    padding: 2rem;
    color: var(--color-muted);
    text-align: center;
}

.conversation-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
}

.conversation-header h2 {
    margin: 0;
    font-size: 1.1rem;
}

.conversation-context {
    margin: 0.35rem 0 0;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.conversation-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: var(--color-bg);
}

.message-bubble {
    max-width: 85%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
}

.message-mine {
    align-self: flex-end;
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.25);
}

.message-theirs {
    align-self: flex-start;
}

.message-meta {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    color: var(--color-muted);
}

.message-body {
    margin: 0;
    line-height: 1.5;
    white-space: pre-wrap;
}

.conversation-form {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--color-border);
}

.conversation-form textarea {
    width: 100%;
    margin: 0.35rem 0 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    resize: vertical;
}

@media (max-width: 900px) {
    .messages-layout {
        grid-template-columns: 1fr;
    }

    .threads-list {
        max-height: 240px;
    }
}

.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 13000;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    pointer-events: auto;
}

.cookie-banner[hidden] {
    display: none !important;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.5rem;
}

.badge-trusted {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: #e8f5e9;
    color: #1b5e20;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-favorite-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}

.product-favorite-btn.is-active {
    color: #d32f2f;
}

.product-deposit {
    margin: 0.15rem 0 0;
    font-size: 0.82rem;
    color: #5c4d00;
    font-weight: 600;
}

.field-hint-inline {
    font-weight: 400;
    color: var(--color-muted);
    font-size: 0.9em;
}

.order-timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    list-style: none;
    padding: 0.75rem 0 0.5rem;
    margin: 0;
    counter-reset: order-step;
}

.order-timeline-step {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    background: #f1f3f5;
    color: #6c757d;
    border: 1px solid transparent;
}

.order-timeline-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    background: #dee2e6;
    color: #495057;
    font-size: 0.65rem;
    font-weight: 700;
    flex-shrink: 0;
}

.order-timeline-step-done {
    background: #e8f5e9;
    color: #1b5e20;
    border-color: #c8e6c9;
}

.order-timeline-step-done .order-timeline-dot {
    background: #2e7d32;
    color: #fff;
}

.order-timeline-step-current {
    background: #e3f2fd;
    color: #0d47a1;
    border-color: #90caf9;
    font-weight: 600;
}

.order-timeline-step-current .order-timeline-dot {
    background: #1565c0;
    color: #fff;
}

.order-timeline-step-upcoming {
    opacity: 0.55;
}

.order-timeline-cancelled {
    margin: 0.5rem 0;
    color: #b71c1c;
    font-size: 0.9rem;
}

.order-status-hint {
    margin: 0.35rem 0 0.75rem;
    padding: 0.65rem 0.85rem;
    background: #f8fafc;
    border-left: 3px solid var(--color-primary, #1565c0);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.88rem;
    color: #334155;
    line-height: 1.45;
}

.order-flow-legend {
    margin: 0 0 1.25rem;
    padding: 1rem 1.1rem;
    background: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.order-flow-legend-title {
    margin: 0 0 0.5rem;
    font-weight: 600;
    color: var(--color-navy);
}

.order-flow-legend-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    align-items: center;
    font-size: 0.82rem;
}

.order-flow-legend-item strong {
    color: var(--color-primary, #1565c0);
}

.order-flow-legend-arrow {
    color: #94a3b8;
    font-size: 0.75rem;
}

.order-flow-legend-note {
    margin: 0.65rem 0 0;
    font-size: 0.82rem;
    color: var(--color-muted);
}

.order-payment {
    margin: 0.5rem 0;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.order-payment .order-pay-btn {
    margin-top: 0.75rem;
}

.order-paid {
    color: #2e7d32;
    font-weight: 600;
}

.order-refunded {
    color: #c62828;
    font-weight: 600;
}

.order-status-paid,
.order-status-handed_over,
.order-status-returned {
    background: #e3f2fd;
    color: #1565c0;
}

.guide-step,
.contact-card,
.legal-content {
    margin-bottom: 1.5rem;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1.25rem;
    padding: 0 0 3rem;
}

.contact-card {
    padding: 1.25rem;
    background: var(--color-surface, #fff);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm, 6px);
}

.contact-card h2 {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
    color: var(--color-navy, #1e3a5f);
}

.contact-card p {
    margin: 0.35rem 0;
    line-height: 1.55;
}

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

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

@media (max-width: 768px) {
    #map {
        min-height: 280px;
    }
}
