:root {
    --cream-bg: #fcf8f3;
    --cream-soft: #fffbf7;
    --cream-card: #ffffff;
    --ink: #2b1d14;
    --ink-muted: #725b4d;
    --orange-500: #e86b24;
    --orange-600: #d65715;
    --orange-400: #f28441;
    --orange-300: #f8a974;
    --orange-soft: #fff2e6;
    --border-warm: rgba(120, 74, 38, 0.12);
    --shadow-soft: 0 8px 26px rgba(90, 52, 24, 0.05);
    --shadow-orange: 0 8px 20px rgba(214, 87, 21, 0.18);
    --radius-card: 20px;
    --radius-pill: 999px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: clip;
}

body {
    min-height: 100vh;
    max-width: 100%;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 86% 12%, rgba(255, 169, 92, 0.22) 0%, rgba(255, 169, 92, 0) 42%),
        radial-gradient(circle at 12% 38%, rgba(255, 203, 148, 0.16) 0%, rgba(255, 203, 148, 0) 36%),
        var(--cream-bg);
    line-height: 1.55;
    position: relative;
    overflow-x: clip;
}

.page-bg-ornaments {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-leaf {
    position: absolute;
    width: 58px;
    height: auto;
    opacity: 0.72;
    filter: drop-shadow(0 8px 14px rgba(72, 95, 32, 0.14));
}

.leaf-1 {
    top: 86px;
    left: 60%;
    width: 44px;
    transform: rotate(-18deg);
}

.leaf-2 {
    top: 39%;
    left: 18px;
    width: 52px;
    transform: rotate(32deg);
}

.leaf-3 {
    top: 44%;
    right: 16px;
    width: 56px;
    transform: rotate(-42deg);
}

.leaf-4 {
    bottom: 120px;
    left: 56%;
    width: 42px;
    transform: rotate(22deg);
}

/* Header */
.site-header {
    position: relative;
    z-index: 20;
    padding: 20px 24px 8px;
}

.header-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 800;
    letter-spacing: 0.04em;
    font-size: 1rem;
    flex-shrink: 0;
}

.brand img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.brand-wordmark {
    color: var(--orange-600);
    font-weight: 900;
    letter-spacing: 0.03em;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-nav a {
    text-decoration: none;
    color: var(--ink-muted);
    font-size: 0.92rem;
    font-weight: 600;
    transition: color 0.18s ease;
}

.header-nav a:hover {
    color: var(--orange-600);
}

.header-all-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    border: 1.5px solid rgba(110, 58, 22, 0.22);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(8px);
    color: var(--ink);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(120, 58, 18, 0.06);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    flex-shrink: 0;
}

.header-all-link svg {
    width: 15px;
    height: 15px;
    fill: var(--orange-600);
    flex-shrink: 0;
}

.header-all-link:hover {
    transform: translateY(-1px);
    border-color: var(--orange-500);
    background: #ffffff;
}

main {
    position: relative;
    z-index: 2;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 28px 24px 86px;
    overflow: hidden;
}

.hero-grid {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
    gap: 28px;
    position: relative;
    z-index: 2;
}

.hero-copy {
    padding: 12px 0 18px;
}

.eyebrow {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange-600);
    margin-bottom: 12px;
}

.hero h1 {
    font-size: clamp(2.15rem, 4.5vw, 3.35rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin-bottom: 18px;
}

#hero-outlet-name {
    color: var(--orange-600);
    display: inline;
}

.hero-description {
    max-width: 470px;
    font-size: 1.02rem;
    color: var(--ink-muted);
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.map-jump-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--orange-400) 0%, var(--orange-600) 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 700;
    box-shadow: var(--shadow-orange);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.map-jump-link svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
    flex-shrink: 0;
}

.map-jump-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(234, 90, 12, 0.3);
}

.map-jump-link.secondary {
    background: rgba(255, 255, 255, 0.82);
    color: var(--ink);
    border: 1.5px solid rgba(110, 58, 22, 0.24);
    box-shadow: 0 6px 16px rgba(120, 58, 18, 0.06);
}

.map-jump-link.secondary:hover {
    background: #ffffff;
    border-color: var(--orange-500);
    box-shadow: 0 10px 22px rgba(120, 58, 18, 0.1);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-tea-image {
    width: 100%;
    max-width: 470px;
    height: auto;
    display: block;
    mix-blend-mode: multiply;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 50%, transparent 74%);
    mask-image: radial-gradient(ellipse at center, #000 50%, transparent 74%);
    transform: translateY(10px);
    user-select: none;
    pointer-events: none;
}

.hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 112px;
    pointer-events: none;
    z-index: 1;
}

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

/* Explorer Section */
.finder-section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 8px 24px 72px;
    position: relative;
    z-index: 3;
}

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

.section-heading .eyebrow {
    margin-bottom: 4px;
}

.section-heading h2 {
    font-size: clamp(1.55rem, 2.8vw, 2.05rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    background: var(--orange-soft);
    color: var(--orange-600);
    border: 1px solid rgba(214, 87, 21, 0.16);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

/* Current Outlet Banner */
.current-outlet {
    margin-bottom: 18px;
}

.current-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
    border-radius: 22px;
    background: linear-gradient(135deg, #fff6ed 0%, #ffebd6 100%);
    border: 1px solid rgba(214, 87, 21, 0.2);
    color: var(--ink);
    box-shadow: 0 10px 26px rgba(180, 88, 28, 0.08);
}

.current-card-main {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.current-card-pin {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--orange-400) 0%, var(--orange-600) 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(214, 87, 21, 0.2);
}

.current-card-pin svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
}

.current-card-copy {
    min-width: 0;
}

.current-card-copy .eyebrow {
    color: var(--orange-600);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: none;
    margin-bottom: 2px;
}

.current-card-copy h3 {
    font-size: clamp(1.2rem, 2.2vw, 1.55rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--ink);
    margin-bottom: 4px;
}

.current-card-copy p {
    font-size: 0.88rem;
    color: var(--ink-muted);
}

.current-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: var(--radius-pill);
    background: #ffffff;
    color: var(--ink);
    border: 1px solid rgba(214, 87, 21, 0.16);
    font-size: 0.84rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(90, 52, 24, 0.06);
    flex-shrink: 0;
}

/* Map Tools & Container */
.outlet-map-wrap {
    margin-bottom: 24px;
}

.outlet-map-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.user-location-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    border: 1.5px solid rgba(110, 58, 22, 0.22);
    background: #ffffff;
    color: var(--ink);
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(120, 58, 18, 0.06);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.user-location-button svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--orange-600);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.user-location-button:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: var(--orange-500);
    box-shadow: 0 10px 20px rgba(120, 58, 18, 0.1);
}

.user-location-button:disabled {
    opacity: 0.68;
    cursor: wait;
}

.user-location-status {
    font-size: 0.84rem;
    color: var(--ink-muted);
    font-weight: 600;
}

.user-location-status.is-error {
    color: #c23b16;
}

.outlet-map-frame {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(110, 58, 22, 0.14);
    box-shadow: var(--shadow-soft);
    background: #f5ecdf;
}

.outlet-map {
    width: 100%;
    height: 410px;
    z-index: 1;
}

.qr-map-lock-btn {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 450;
    display: none;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(110, 58, 22, 0.18);
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(45, 22, 10, 0.16);
    cursor: pointer;
}

.qr-map-lock-btn.is-unlocked {
    background: var(--orange-600);
    color: #ffffff;
    border-color: var(--orange-600);
}

.qr-map-lock-hint {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 460;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    background: rgba(53, 27, 14, 0.88);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.qr-map-lock-hint.is-visible {
    opacity: 1;
}

.outlet-isochrone-status,
.outlet-map-status {
    margin-top: 8px;
    font-size: 0.82rem;
    color: var(--ink-muted);
    font-weight: 500;
}

/* Map Markers & Speech Bubble */
.outlet-marker-icon {
    background: transparent;
    border: 0;
}

.outlet-marker-icon.is-current-marker {
    z-index: 700 !important;
}

.outlet-marker-badge {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #ffffff;
    border: 2.5px solid var(--orange-500);
    box-shadow: 0 6px 16px rgba(53, 27, 14, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.outlet-marker-badge.is-reference {
    border: 3px solid #ffffff;
    background: linear-gradient(135deg, #3b261a 0%, #1f120b 100%);
    box-shadow: 0 8px 22px rgba(31, 18, 11, 0.44);
}

.outlet-marker-image {
    width: 72%;
    height: 72%;
    object-fit: contain;
}

.outlet-marker-fallback {
    display: none;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--orange-600);
}

.outlet-here-bubble {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 12px);
    transform: translateX(-50%);
    padding: 7px 14px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--ink);
    font-size: 0.84rem;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(45, 22, 10, 0.2);
    border: 1.5px solid rgba(234, 90, 12, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    line-height: 1.2;
    white-space: nowrap;
    z-index: 5;
    pointer-events: none;
    transition: opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    animation: hereFloat 2.4s ease-in-out infinite;
}

.outlet-here-bubble.is-overlapping {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-color: rgba(214, 87, 21, 0.25);
    box-shadow: 0 6px 16px rgba(45, 22, 10, 0.12);
    opacity: 0.72;
}

.outlet-here-bubble.is-overlapping::after {
    border-color: rgba(255, 255, 255, 0.45) transparent transparent transparent;
}

.outlet-here-bubble.is-popup-open {
    opacity: 0.12;
}

.outlet-cluster-icon:hover,
.outlet-marker-icon:not(.is-current-marker):hover {
    z-index: 1200 !important;
}

@keyframes hereFloat {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-4px);
    }
}

.outlet-here-bubble::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    border-width: 7px 7px 0 7px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}

.outlet-here-bubble .here-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1f120b;
    flex-shrink: 0;
}

.here-burst {
    position: absolute;
    top: -10px;
    right: -12px;
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.here-burst span {
    position: absolute;
    width: 2px;
    height: 7px;
    border-radius: 2px;
    background: var(--orange-500);
}

.here-burst span:nth-child(1) {
    left: 3px;
    top: 2px;
    transform: rotate(-16deg);
}

.here-burst span:nth-child(2) {
    left: 9px;
    top: 4px;
    transform: rotate(22deg);
}

.here-burst span:nth-child(3) {
    left: 12px;
    top: 10px;
    transform: rotate(58deg);
}

.outlet-here-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: rgba(243, 108, 33, 0.28);
    animation: herePulse 2s ease-out infinite;
    z-index: 1;
}

@keyframes herePulse {
    0% {
        transform: scale(0.92);
        opacity: 0.85;
    }
    70% {
        transform: scale(1.48);
        opacity: 0;
    }
    100% {
        transform: scale(1.48);
        opacity: 0;
    }
}

.outlet-cluster-icon {
    background: transparent;
}

.outlet-cluster-count {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--orange-600);
    color: #ffffff;
    border: 3px solid #ffffff;
    box-shadow: 0 6px 16px rgba(53, 27, 14, 0.24);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.84rem;
    font-weight: 800;
}

.outlet-cluster-icon.has-reference .outlet-cluster-count {
    background: var(--ink);
}

.user-location-icon {
    background: transparent;
}

.user-location-dot {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #2563eb;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.22);
}

/* Leaflet Popup */
.outlet-map-popup .leaflet-popup-content-wrapper {
    border-radius: 16px;
    box-shadow: 0 14px 32px rgba(45, 22, 10, 0.18);
    padding: 4px;
}

.outlet-popup-card {
    font-family: "Plus Jakarta Sans", sans-serif;
    padding: 4px 2px;
}

.outlet-popup-card h4 {
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 4px;
}

.outlet-popup-card p {
    font-size: 0.8rem;
    color: var(--ink-muted);
    margin-bottom: 6px;
    line-height: 1.4;
}

.outlet-popup-distance {
    font-weight: 700;
    color: var(--orange-600) !important;
}

.outlet-popup-link {
    display: inline-block;
    margin-top: 4px;
    color: var(--orange-600);
    font-weight: 800;
    font-size: 0.82rem;
    text-decoration: none;
}

.outlet-popup-link:hover {
    text-decoration: underline;
}

/* Outlet Cards Grid */
.outlet-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.outlet-card {
    background: var(--cream-card);
    border: 1px solid rgba(234, 90, 12, 0.14);
    border-radius: var(--radius-card);
    padding: 22px 24px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.outlet-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(120, 58, 18, 0.12);
    border-color: rgba(234, 90, 12, 0.28);
}

.outlet-card-top,
.outlet-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.rank-badge,
.outlet-number {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--orange-600);
    text-transform: uppercase;
}

.outlet-code,
.outlet-label {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: var(--orange-soft);
    color: var(--orange-600);
    border: 1px solid rgba(214, 87, 21, 0.16);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.outlet-card h3 {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 4px;
}

.outlet-distance,
.distance {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink-muted);
    margin-bottom: 6px;
}

.outlet-distance::before,
.distance::before {
    content: "";
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background-color: var(--orange-600);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E") no-repeat center / contain;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.outlet-address {
    font-size: 0.84rem;
    color: var(--ink-muted);
    line-height: 1.48;
}

.outlet-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--orange-400) 0%, var(--orange-600) 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(234, 90, 12, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.action-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(234, 90, 12, 0.28);
}

.action-link.secondary {
    background: #ffffff;
    color: var(--ink);
    border: 1.5px solid rgba(110, 58, 22, 0.22);
    box-shadow: none;
}

.action-link.secondary:hover {
    border-color: var(--orange-500);
    background: var(--cream-soft);
    box-shadow: 0 6px 14px rgba(120, 58, 18, 0.08);
}

.empty-state {
    grid-column: 1 / -1;
    padding: 28px;
    border-radius: var(--radius-card);
    background: #ffffff;
    border: 1px dashed rgba(234, 90, 12, 0.35);
    text-align: center;
    color: var(--ink-muted);
    font-weight: 600;
}

/* Footer with Flowing Orange Wave */
.site-footer {
    position: relative;
    margin-top: 28px;
    background: #ea631c;
    color: #ffffff;
    z-index: 4;
}

.footer-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 78px;
    pointer-events: none;
    overflow: hidden;
}

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

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px 24px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-brand-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 900;
    font-size: 1.25rem;
}

.footer-brand img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 50%;
    padding: 4px;
}

.footer-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.42);
}

.footer-tagline {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.38;
    color: rgba(255, 255, 255, 0.94);
}

.footer-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.32);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: transform 0.18s ease, background 0.18s ease;
}

.footer-socials a:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.34);
}

.footer-socials svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.qr-page-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    transition: background 0.18s ease;
}

.qr-page-link:hover {
    background: rgba(255, 255, 255, 0.28);
}

/* Responsive */
@media (max-width: 900px) {
    .header-nav {
        display: none;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        text-align: left;
        gap: 12px;
    }

    .hero-copy,
    .hero-visual,
    .finder-section {
        min-width: 0;
    }

    .hero-visual {
        order: -1;
        margin-bottom: -10px;
    }

    .hero-tea-image {
        max-width: 310px;
    }
}

@media (max-width: 767px) {
    a,
    button {
        -webkit-tap-highlight-color: transparent;
    }

    .map-jump-link:active,
    .action-link:active,
    .user-location-button:active,
    .header-all-link:active,
    .qr-map-lock-btn:active {
        transform: scale(0.97);
    }

    .floating-leaf {
        display: none;
    }

    .site-header {
        padding: 14px 18px 8px;
    }

    .brand img {
        width: 32px;
        height: 32px;
    }

    .brand-wordmark {
        font-size: 0.92rem;
    }

    .header-all-link {
        padding: 0 14px;
        min-height: 44px;
        font-size: 0.875rem;
        border-radius: 999px;
        border: 1px solid rgba(110, 58, 22, 0.14);
        box-shadow: 0 4px 12px rgba(120, 58, 18, 0.04);
    }

    .hero {
        padding: 10px 18px 44px;
    }

    .hero-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
    }

    .hero-visual {
        position: static;
        order: -1;
        width: 112px;
        margin: 0 auto 4px;
    }

    .hero-tea-image {
        max-width: 112px;
        transform: translateY(0);
    }

    .hero-copy {
        padding: 0;
        width: 100%;
    }

    .hero .eyebrow,
    .hero h1 {
        padding-right: 0;
    }

    .eyebrow {
        font-size: 0.75rem;
        letter-spacing: 0.12em;
        margin-bottom: 8px;
    }

    .hero h1 {
        font-size: clamp(1.75rem, 7vw, 1.875rem);
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .hero-description {
        font-size: 0.9rem;
        line-height: 1.55;
        max-width: 320px;
        margin: 0 auto 20px;
        padding-right: 0;
    }

    .hero-actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .map-jump-link {
        flex: 0 1 auto;
        min-height: 48px;
        padding: 0 22px;
        font-size: 0.875rem;
        border-radius: 999px;
        white-space: nowrap;
    }

    .map-jump-link.secondary {
        background: transparent;
        border: 1px solid rgba(110, 58, 22, 0.18);
        box-shadow: none;
    }

    .hero-wave {
        height: 44px;
    }

    .finder-section {
        padding: 8px 18px 52px;
    }

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

    .section-heading h2 {
        font-size: 1.4375rem;
        line-height: 1.25;
    }

    .count-badge {
        padding: 6px 14px;
        font-size: 0.75rem;
    }

    .current-outlet {
        margin-bottom: 16px;
    }

    .current-card {
        position: static;
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        border-radius: 18px;
        gap: 12px;
    }

    .current-card-main {
        align-items: flex-start;
        gap: 12px;
        width: 100%;
    }

    .current-card-pin {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .current-card-pin svg {
        width: 20px;
        height: 20px;
    }

    .current-card-copy {
        flex: 1;
        min-width: 0;
    }

    .current-card-copy .eyebrow {
        font-size: 0.75rem;
        margin-bottom: 3px;
        padding-right: 0;
    }

    .current-card-copy h3 {
        font-size: 1.0625rem;
        line-height: 1.32;
        margin-bottom: 4px;
        padding-right: 0;
    }

    .current-card-copy p {
        display: block;
        font-size: 0.875rem;
        line-height: 1.48;
    }

    .current-tag {
        position: static;
        margin-left: 50px;
        padding: 6px 13px;
        font-size: 0.75rem;
        box-shadow: 0 4px 10px rgba(96, 34, 4, 0.1);
    }

    .outlet-map-wrap {
        margin-bottom: 24px;
    }

    .outlet-map-tools {
        margin-bottom: 12px;
    }

    .user-location-button {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        padding: 0 18px;
        font-size: 0.875rem;
        border-radius: 999px;
        border: 1px solid rgba(110, 58, 22, 0.14);
        box-shadow: 0 4px 12px rgba(120, 58, 18, 0.04);
    }

    .outlet-map-frame {
        border-radius: 18px;
        border: 1px solid rgba(110, 58, 22, 0.1);
        box-shadow: 0 8px 24px rgba(120, 58, 18, 0.06);
    }

    .outlet-map {
        height: 310px;
        scroll-margin-top: 16px;
    }

    .outlet-map .leaflet-popup-pane {
        z-index: 900 !important;
    }

    .outlet-map .leaflet-top.leaflet-left {
        top: auto;
        bottom: 30px;
        left: 10px;
    }

    .outlet-map .leaflet-control-zoom {
        margin: 0 !important;
    }

    .outlet-map .leaflet-control-zoom a {
        width: 44px;
        height: 44px;
        line-height: 44px;
        font-size: 18px;
    }

    .outlet-here-bubble {
        bottom: calc(100% + 10px);
        padding: 6px 12px;
        font-size: 0.8125rem;
    }

    .outlet-map-popup .leaflet-popup-content-wrapper {
        max-width: 232px;
    }

    .outlet-popup-card h4 {
        font-size: 0.9375rem;
    }

    .outlet-popup-card p,
    .outlet-popup-link {
        font-size: 0.8125rem;
    }

    .qr-map-lock-btn {
        display: inline-flex;
        min-height: 40px;
        padding: 0 14px;
        right: 10px;
        bottom: 28px;
        font-size: 0.8125rem;
    }

    .outlet-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        scroll-margin-top: 16px;
    }

    .outlet-card {
        padding: 16px;
        border-radius: 18px;
        gap: 12px;
    }

    .outlet-number,
    .rank-badge {
        font-size: 0.75rem;
    }

    .outlet-label,
    .outlet-code {
        font-size: 0.75rem;
        padding: 5px 12px;
    }

    .outlet-card h3 {
        font-size: 1.0625rem;
        line-height: 1.32;
        margin-bottom: 4px;
    }

    .distance,
    .outlet-distance {
        font-size: 0.875rem;
        margin-bottom: 2px;
    }

    .outlet-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 2px;
    }

    .action-link {
        width: 100%;
        min-height: 48px;
        padding: 0 16px;
        font-size: 0.875rem;
        border-radius: 999px;
    }

    .footer-inner {
        padding: 24px 18px 32px;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .footer-divider {
        display: none;
    }

    .footer-socials a {
        width: 44px;
        height: 44px;
    }

    .qr-page-link {
        min-height: 44px;
        padding: 0 16px;
        font-size: 0.875rem;
    }
}

@media (max-width: 380px) {
    .site-header {
        padding: 12px 16px 6px;
    }

    .hero {
        padding: 8px 16px 44px;
    }

    .finder-section {
        padding: 4px 16px 48px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .action-link {
        padding: 0 12px;
        font-size: 0.875rem;
    }
}
