/**
 * Tree-Ripe Find a Fruit Stop
 * Production CSS — fluid responsive, #F5F0E9 cream, pill buttons
 *
 * @package TreeRipeEcosystem
 * @since 7.0.0
 */

/* ─────────────────────────────────────────────
 * CUSTOM PROPERTIES
 * ─────────────────────────────────────────────
 * Declared on every host that renders .tr-fs-* markup so the
 * variables resolve correctly. The find-stop modal + overlay get
 * portaled to the body level for z-index stacking, so they need
 * their own copy of the vars; the Hello page wrapper needs the
 * same because [tr_zip_search] renders result cards inside it. */
.tr-find-stop,
.tr-hello-page,
.tr-fs-panel,
.tr-fs-panel-overlay {
    --tr-fs-forest: #0F5E41;
    --tr-fs-forest-dark: #0A4A33;
    --tr-fs-cream: #F5F0E9;
    --tr-fs-mint: #BBE0C6;
    --tr-fs-mint-light: #E8F5ED;
    --tr-fs-orange: #E78825;
    --tr-fs-white: #FFFFFF;
    --tr-fs-text: #333333;
    --tr-fs-text-light: #555555;
    --tr-fs-season: var(--tr-fs-mint); /* overridden by JS */

    --tr-fs-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --tr-fs-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --tr-fs-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --tr-fs-radius: 16px;
    --tr-fs-radius-sm: 10px;
}

/* Page-scoped typography for the Find a Stop SVG-map page only. */
.tr-find-stop {
    font-family: 'Avenir', 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--tr-fs-text);
    line-height: 1.5;
}

/* ─────────────────────────────────────────────
 * HERO
 * ───────────────────────────────────────────── */
.tr-fs-hero {
    background: var(--tr-fs-forest);
    position: relative;
    overflow: hidden;
    /* Full-width breakout */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.tr-fs-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 80%, rgba(187, 224, 198, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 20%, rgba(231, 136, 37, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.tr-fs-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(48px, 8vw, 80px) clamp(20px, 5vw, 48px) clamp(40px, 6vw, 64px);
    text-align: center;
}

.tr-fs-hero-eyebrow {
    font-size: clamp(12px, 1.5vw, 14px);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 12px;
}

.tr-fs-hero-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(32px, 5.5vw, 52px);
    color: #fff;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 12px;
}

.tr-fs-hero-subtitle {
    font-size: clamp(15px, 2vw, 17px);
    color: rgba(255, 255, 255, 0.85);
    margin: 0 auto 28px;
    max-width: 520px;
}

.tr-fs-hero-subtitle strong {
    color: #fff;
    font-weight: 700;
}

.tr-fs-hero-pills {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: -8px auto 28px;
    flex-wrap: wrap;
}

.tr-fs-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: "Avenir Next", "Avenir", system-ui, sans-serif;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 100px;
    padding: 10px 22px;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}

.tr-fs-hero-pill:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
}

.tr-fs-hero-brochure {
    text-align: center;
    font-family: "Avenir Next", "Avenir", system-ui, sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin: -12px auto 28px;
}

.tr-fs-hero-brochure a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255, 255, 255, 0.4);
    transition: all 0.2s ease;
}

.tr-fs-hero-brochure a:hover {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, 0.8);
}

/* ─────────────────────────────────────────────
 * SEARCH BAR
 * ───────────────────────────────────────────── */
.tr-fs-search {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
}

.tr-fs-search-input {
    width: 100%;
    height: 56px;
    padding: 0 60px 0 36px !important;
    font-size: 16px;
    border: none !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--tr-fs-text) !important;
    font-family: inherit;
    box-shadow: var(--tr-fs-shadow-md) !important;
    outline: none;
    transition: box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    line-height: 56px;
    margin: 0;
}

.tr-fs-search-input::placeholder {
    color: #999;
    opacity: 1;
}

.tr-fs-search-input:focus {
    box-shadow: 0 0 0 3px rgba(187, 224, 198, 0.5), var(--tr-fs-shadow-md);
}

.tr-fs-search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border: none;
    background: var(--tr-fs-forest);
    color: #fff;
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    padding: 0;
    margin: 0;
    line-height: 1;
    box-sizing: border-box;
}

.tr-fs-search-btn svg {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.tr-fs-search-btn:hover {
    background: var(--tr-fs-forest-dark);
    color: #fff;
}

.tr-fs-search-btn:hover svg {
    stroke: #fff;
    color: #fff;
}

.tr-fs-search-or {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 16px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* ─────────────────────────────────────────────
 * MAP SECTION
 * ───────────────────────────────────────────── */
.tr-fs-map-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(32px, 5vw, 56px) clamp(16px, 4vw, 40px);
}

.tr-fs-map-heading {
    text-align: center;
    margin-bottom: clamp(20px, 3vw, 32px);
}

.tr-fs-map-heading h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(22px, 3.5vw, 32px);
    color: var(--tr-fs-forest);
    font-weight: 700;
    margin: 0 0 6px;
}

.tr-fs-map-heading p {
    font-size: 15px;
    color: var(--tr-fs-text-light);
    margin: 0;
}

/* State dropdown — visible on mobile only */
.tr-fs-state-dropdown-wrap {
    display: none;
    max-width: 400px;
    margin: 0 auto 24px;
}

.tr-fs-state-select {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    font-family: inherit;
    border: 2px solid var(--tr-fs-forest);
    border-radius: 999px;
    background: var(--tr-fs-white);
    color: var(--tr-fs-text);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230F5E41' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    min-height: 48px;
}

/* SVG Map container */
.tr-fs-map-container {
    max-width: 900px;
    margin: 0 auto;
}

.tr-fs-map-container svg {
    width: 100%;
    height: auto;
    display: block;
}

/* SVG state labels */
.tr-fs-state-label {
    font-family: 'Avenir', 'Avenir Next', sans-serif;
    font-size: 14px;
    font-weight: 800;
    fill: var(--tr-fs-forest);
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tr-fs-state-badge {
    font-family: 'Avenir', 'Avenir Next', sans-serif;
    font-size: 9.5px;
    font-weight: 600;
    fill: var(--tr-fs-forest);
    pointer-events: none;
    opacity: 0.7;
}

/* ─────────────────────────────────────────────
 * RESULTS AREA
 * ───────────────────────────────────────────── */
.tr-fs-results {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 40px) clamp(32px, 5vw, 56px);
}

.tr-fs-results--visible {
    animation: trFsFadeSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.tr-fs-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--tr-fs-mint);
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.tr-fs-results-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(20px, 3vw, 28px);
    color: var(--tr-fs-forest);
    font-weight: 700;
    margin: 0;
}

.tr-fs-results-count {
    font-size: 14px;
    color: var(--tr-fs-text-light);
    font-weight: 600;
}

.tr-fs-results-back {
    font-size: 14px;
    color: var(--tr-fs-forest);
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    border: none;
    background: none;
    padding: 10px 16px;
    border-radius: 999px;
    transition: background 0.2s;
    min-height: 44px;
    font-family: inherit;
}

.tr-fs-results-back:hover {
    background: var(--tr-fs-mint-light);
}

/* Results body: two columns */
.tr-fs-results-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

/* Google Map sticks to top of its grid cell */
.tr-fs-results-body > .tr-fs-google-map {
    margin-top: 0;
}

/* ─────────────────────────────────────────────
 * STOP LIST
 * ───────────────────────────────────────────── */
.tr-fs-stop-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 8px;
    margin: 0;
    padding-top: 0;
}

.tr-fs-stop-list::-webkit-scrollbar { width: 4px; }
.tr-fs-stop-list::-webkit-scrollbar-track { background: transparent; }
.tr-fs-stop-list::-webkit-scrollbar-thumb {
    background: var(--tr-fs-mint);
    border-radius: 4px;
}

/* Stop card */
.tr-fs-stop-card {
    background: #FFFFFF;
    border-radius: var(--tr-fs-radius-sm);
    padding: clamp(14px, 2vw, 18px) clamp(16px, 2.5vw, 22px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
    border: 1.5px solid #EEEAE5;
    animation: trFsFadeSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.tr-fs-stop-card:hover {
    box-shadow: var(--tr-fs-shadow-md);
    transform: translateY(-2px);
    border-color: var(--tr-fs-mint);
}

.tr-fs-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.tr-fs-card-title {
    font-family: 'Avenir', 'Avenir Next', -apple-system, sans-serif;
    font-size: clamp(17px, 2.2vw, 19px);
    font-weight: 600;
    color: var(--tr-fs-forest);
    line-height: 1.3;
}

.tr-fs-card-distance {
    font-size: 15px;
    color: var(--tr-fs-forest);
    font-weight: 800;
    white-space: nowrap;
    flex-shrink: 0;
}

.tr-fs-card-address {
    font-size: 14px;
    color: var(--tr-fs-text-light);
    margin-bottom: 8px;
    line-height: 1.4;
}

.tr-fs-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tr-fs-card-date {
    background: var(--tr-fs-mint-light);
    color: var(--tr-fs-forest);
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}

.tr-fs-card-date--past {
    background: #F0EDEA;
    color: var(--tr-fs-text-light);
}

.tr-fs-card-time {
    color: var(--tr-fs-text-light);
    font-weight: 600;
    font-size: 13px;
}

/* Loading + no results */
.tr-fs-loading,
.tr-fs-no-results {
    text-align: center;
    padding: 40px 20px;
    font-size: 15px;
    color: var(--tr-fs-text-light);
    font-weight: 600;
}

/* ─────────────────────────────────────────────
 * GOOGLE MAP
 * ───────────────────────────────────────────── */
.tr-fs-google-map {
    min-height: 600px;
    height: 600px;
    border-radius: var(--tr-fs-radius);
    overflow: hidden;
    box-shadow: var(--tr-fs-shadow-sm);
    position: sticky;
    top: 0;
    background: #E8E4DE;
    margin: 0;
    padding: 0;
}

/* ─────────────────────────────────────────────
 * SIDE PANEL
 * ───────────────────────────────────────────── */

/* Overlay */
.tr-fs-panel-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999998;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.tr-fs-panel-overlay--visible {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: trFsFadeIn 0.2s ease;
}

@keyframes trFsFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal (was side panel) */
.tr-fs-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: min(520px, 92vw);
    max-height: 75vh;
    background: #FFFFFF;
    z-index: 999999;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    pointer-events: none;
}

.tr-fs-panel--open {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

/* Panel header */
.tr-fs-panel-header {
    padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 28px) 18px;
    border-bottom: 1px solid #EEEAE5;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-shrink: 0;
}

.tr-fs-panel-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 700;
    color: var(--tr-fs-text);
    line-height: 1.2;
}

.tr-fs-panel-subtitle {
    font-size: 14px;
    color: var(--tr-fs-text-light);
    margin-top: 4px;
    line-height: 1.4;
}

.tr-fs-panel-close {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border: none;
    background: #F0EDEA;
    color: #333;
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
    padding: 0;
}

.tr-fs-panel-close svg {
    display: block;
    width: 18px;
    height: 18px;
    stroke: #333;
}

.tr-fs-panel-close:hover {
    background: #E0DBD4;
}

/* Panel body */
.tr-fs-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: clamp(20px, 3vw, 28px);
}

.tr-fs-panel-section-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999;
    margin-bottom: 10px;
    margin-top: 20px;
}

.tr-fs-panel-section-label:first-child {
    margin-top: 0;
}

/* Dates */
.tr-fs-panel-dates {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tr-fs-panel-date-chip {
    background: var(--tr-fs-mint-light);
    color: var(--tr-fs-forest);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.tr-fs-panel-no-dates {
    color: var(--tr-fs-text-light);
    font-size: 14px;
    font-style: italic;
    margin: 0;
}

/* Address + time */
.tr-fs-panel-address,
.tr-fs-panel-time {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--tr-fs-text);
    line-height: 1.5;
    margin-bottom: 8px;
}

.tr-fs-panel-address svg,
.tr-fs-panel-time svg {
    flex-shrink: 0;
    margin-top: 3px;
}

/* Products — 2-column grid */
.tr-fs-panel-products {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.tr-fs-panel-product {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--tr-fs-cream);
    border-radius: var(--tr-fs-radius-sm);
}

.tr-fs-panel-product-img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--tr-fs-mint-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tr-fs-panel-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tr-fs-panel-product-placeholder {
    font-size: 20px;
}

.tr-fs-panel-product-name {
    font-family: 'Avenir', 'Avenir Next', -apple-system, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--tr-fs-text);
    line-height: 1.3;
}

.tr-fs-panel-product-price {
    font-size: 13px;
    color: var(--tr-fs-forest);
    font-weight: 700;
    margin-top: 2px;
}

/* Panel loading */
.tr-fs-panel-loading {
    text-align: center;
    padding: 40px 20px;
    color: var(--tr-fs-text-light);
    font-size: 15px;
    font-weight: 600;
}

/* Panel actions (sticky bottom) */
.tr-fs-panel-actions {
    padding: 18px clamp(20px, 3vw, 28px) clamp(20px, 3vw, 28px);
    border-top: 1px solid #EEEAE5;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    background: var(--tr-fs-white);
}

.tr-fs-panel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 48px;
    font-family: inherit;
    line-height: 1.3;
}

.tr-fs-panel-btn--primary {
    background: var(--tr-fs-forest);
    color: #fff;
}

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

.tr-fs-panel-btn--secondary {
    background: transparent;
    color: var(--tr-fs-forest);
    border: 2px solid var(--tr-fs-forest);
}

.tr-fs-panel-btn--secondary:hover {
    background: var(--tr-fs-mint-light);
    text-decoration: none;
    color: var(--tr-fs-forest);
}

.tr-fs-panel-link {
    text-align: center;
    font-size: 14px;
    color: var(--tr-fs-forest);
    font-weight: 700;
    text-decoration: none;
    padding: 8px;
    border-radius: 999px;
    transition: background 0.2s;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tr-fs-panel-link:hover {
    background: var(--tr-fs-mint-light);
    text-decoration: none;
    color: var(--tr-fs-forest);
}

/* ─────────────────────────────────────────────
 *  RESPONSIVE — MOBILE
 * ───────────────────────────────────────────── */
@media (max-width: 768px) {
    /* Show state dropdown */
    .tr-fs-state-dropdown-wrap {
        display: block;
    }

    /* Shrink map on mobile — still visible but not primary */
    .tr-fs-map-container {
        max-width: 100%;
        opacity: 0.85;
    }

    /* Stack results */
    .tr-fs-results-body {
        grid-template-columns: 1fr;
    }

    /* Map below list on mobile */
    .tr-fs-google-map {
        min-height: 300px;
        height: 300px;
        position: static;
        order: 1;
    }

    .tr-fs-stop-list {
        max-height: none;
        padding-right: 0;
    }

    /* Modal stays centered on mobile too — not a bottom sheet */
    .tr-fs-panel {
        top: 50%;
        left: 50%;
        right: auto;
        bottom: auto;
        width: 92vw;
        max-height: 75vh;
        border-radius: 16px;
        transform: translate(-50%, -50%) scale(0.95);
    }

    .tr-fs-panel--open {
        transform: translate(-50%, -50%) scale(1);
    }

    /* No drag handle — it's a centered modal */
    .tr-fs-panel-header::before {
        display: none;
    }

    .tr-fs-panel-header {
        position: sticky;
        top: 0;
        z-index: 2;
        background: #fff;
        padding-top: clamp(16px, 3vw, 20px);
        border-bottom: 1px solid #EEEAE5;
    }

    /* Make close button bigger on mobile */
    .tr-fs-panel-close {
        width: 44px;
        height: 44px;
        background: #F0EDEA;
        border-radius: 999px;
    }

    .tr-fs-panel-close svg {
        width: 22px;
        height: 22px;
        stroke-width: 3;
    }

    /* Products single column on mobile */
    .tr-fs-panel-products {
        grid-template-columns: 1fr;
    }
}

/* ─────────────────────────────────────────────
 * ACCESSIBILITY & FOCUS STATES
 * ───────────────────────────────────────────── */
.tr-fs-stop-card:focus-visible,
.tr-fs-search-input:focus-visible,
.tr-fs-search-btn:focus-visible,
.tr-fs-panel-close:focus-visible,
.tr-fs-panel-btn:focus-visible,
.tr-fs-results-back:focus-visible,
.tr-fs-state-select:focus-visible {
    outline: 3px solid var(--tr-fs-forest);
    outline-offset: 2px;
}

/* ─────────────────────────────────────────────
 * PRINT (hide interactive bits)
 * ───────────────────────────────────────────── */
@media print {
    .tr-fs-panel,
    .tr-fs-panel-overlay,
    .tr-fs-search,
    .tr-fs-search-or,
    .tr-fs-state-dropdown-wrap,
    .tr-fs-google-map {
        display: none !important;
    }
}

/* ─────────────────────────────────────────────
 * CARD ALERT - distinct from date pills
 * ───────────────────────────────────────────── */
.tr-fs-card-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FEF8E7;
    border-left: 3px solid #D4A017;
    border-radius: 0 6px 6px 0;
    padding: 8px 12px;
    margin: 6px 0 10px;
    font-size: 13px;
    line-height: 1.4;
    color: #7A6012;
    font-weight: 500;
    flex-basis: 100%;
}

.tr-fs-card-alert i {
    font-size: 14px;
    flex-shrink: 0;
    color: #D4A017;
}

/* ─────────────────────────────────────────────
 * TR-HELLO SPECIFIC
 * ───────────────────────────────────────────── */
.tr-hello-zip {
    --tr-fs-forest: #0F5E41;
    --tr-fs-forest-dark: #0A4A33;
    --tr-fs-cream: #F5F0E9;
    --tr-fs-mint: #BBE0C6;
    --tr-fs-mint-light: #E8F5ED;
    --tr-fs-white: #FFFFFF;
    --tr-fs-text: #333333;
    --tr-fs-text-light: #555555;
    --tr-fs-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --tr-fs-radius-sm: 10px;

    display: flex;
    align-items: center;
    gap: 6px;
    background: #FFFFFF;
    border: 2px solid #0F5E41;
    border-radius: 999px;
    padding: 4px 4px 4px clamp(14px, 3.5vw, 18px);
    max-width: 420px;
    margin: 0 auto;
}

.tr-hello-zip-icon {
    color: #0F5E41;
    flex-shrink: 0;
    font-size: 16px;
}

.tr-hello-zip-input {
    flex: 1;
    min-width: 0;
    height: 36px;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    /* 16px minimum — iOS Safari uses the COMPUTED size at focus time to
     * decide whether to zoom. !important is required to beat the parent
     * theme's input resets which can otherwise win on specificity and
     * push the computed size back under 16px. */
    font-size: 16px !important;
    line-height: 1.2 !important;
    color: #333333;
    outline: none !important;
    font-family: inherit;
    padding: 0 !important;
    margin: 0 !important;
}

.tr-hello-zip-input::placeholder {
    color: #6A6A6A;
}

.tr-hello-zip-input:focus {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.tr-hello-zip-submit {
    height: 36px;
    padding: 0 clamp(14px, 3.5vw, 18px);
    background: #0F5E41;
    color: #FFFFFF;
    border: none;
    border-radius: 999px;
    font-size: clamp(11px, 2.4vw, 12px);
    font-weight: 600;
    letter-spacing: 0.4px;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.tr-hello-zip-submit:hover {
    background: #0a4530 !important;
    box-shadow: none !important;
    transform: none !important;
    border: none !important;
    outline: none !important;
}

.tr-hello-results {
    margin-top: clamp(24px, 6vw, 32px);
    text-align: left;
}

.tr-hello-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.tr-hello-results-count {
    font-size: 13px;
    color: #4A4A4A;
    font-weight: 600;
}

.tr-hello-results-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #0F5E41;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.tr-hello-results-all:hover {
    opacity: 0.8;
}

.tr-hello-results-all i {
    font-size: 11px;
}

.tr-hello-results-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tr-hello-results-close {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border: none;
    background: #F0EDEA;
    color: #333;
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding: 0;
}

.tr-hello-results-close:hover {
    background: #E0DBD4;
}

.tr-hello-loading,
.tr-hello-no-results,
.tr-hello-error {
    padding: 20px;
    text-align: center;
    color: #4A4A4A;
    font-size: 14px;
}

.tr-hello-loading i {
    margin-right: 8px;
}

.tr-hello-no-results a {
    color: #0F5E41;
    font-weight: 600;
}

.tr-hello-error {
    color: #C0392B;
}

/* ─────────────────────────────────────────────
 * HELLO SEASON CARD
 * ───────────────────────────────────────────── */
.tr-hello-season {
    margin: clamp(16px, 4vw, 24px) clamp(16px, 5vw, 28px);
    border-radius: 20px;
    overflow: hidden;
}

.tr-hello-season-img-wrap {
    position: relative;
    height: clamp(160px, 40vw, 220px);
    overflow: hidden;
}

.tr-hello-season-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tr-hello-season-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--tr-season-accent, #F9E084);
    color: var(--tr-season-banner-text, #0F5E41);
    font-size: clamp(9px, 1.9vw, 10px);
    font-weight: 600;
    letter-spacing: 1.8px;
    padding: 6px 12px;
    border-radius: 999px;
    text-transform: uppercase;
}

.tr-hello-season-body {
    background: var(--tr-newsletter-bg, #0F5E41);
    padding: clamp(18px, 4.5vw, 22px);
    color: var(--tr-season-newsletter-title, #FFFFFF);
}

.tr-hello-season-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 21px;
    font-weight: 600;
    color: var(--tr-season-newsletter-title, #FFFFFF);
    line-height: 1.2;
    margin: 0 0 6px 0;
}

.tr-hello-season-title em {
    font-style: italic;
    color: var(--tr-season-newsletter-title, #FFFFFF);
}

.tr-hello-season-farms {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 14px;
    font-style: italic;
    color: var(--tr-season-accent, #F9E084);
    margin: 0 0 14px 0;
}

.tr-hello-season-actions {
    display: flex;
    gap: 6px;
}

.tr-hello-season-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    height: 40px;
    border-radius: 999px;
    text-decoration: none;
    font-size: clamp(11px, 2.5vw, 12px);
    font-weight: 600;
    letter-spacing: 0.4px;
    transition: background 0.2s ease;
}

.tr-hello-season-btn-primary {
    background: var(--tr-season-accent, #F9E084);
    color: var(--tr-season-banner-text, #0F5E41);
}

.tr-hello-season-btn-primary:hover {
    background: var(--tr-season-accent-hover, #FDDE68);
    color: var(--tr-season-banner-text, #0F5E41);
    text-decoration: none;
}

.tr-hello-season-btn-secondary {
    background: transparent;
    color: var(--tr-season-newsletter-title, #FFFFFF);
    border: 1.5px solid var(--tr-season-newsletter-title, #FFFFFF);
}

.tr-hello-season-btn-secondary:hover {
    background: rgba(0, 0, 0, 0.06);
    color: var(--tr-season-newsletter-title, #FFFFFF);
    text-decoration: none;
}

/* ─────────────────────────────────────────────
 * FARM SHARE 4-PACK CARD
 * ───────────────────────────────────────────── */
.tr-hello-farmshare {
    margin: 0 clamp(16px, 5vw, 28px) clamp(18px, 5vw, 28px);
    border-radius: 20px;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid #ECECEC;
}

.tr-hello-farmshare-img-wrap {
    position: relative;
    height: clamp(110px, 28vw, 140px);
    overflow: hidden;
}

.tr-hello-farmshare-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tr-hello-farmshare-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #FFFFFF;
    color: #0F5E41;
    font-size: clamp(9px, 1.9vw, 10px);
    font-weight: 600;
    letter-spacing: 1.8px;
    padding: 5px 12px;
    border-radius: 999px;
    text-transform: uppercase;
}

.tr-hello-farmshare-body {
    padding: clamp(16px, 4vw, 20px);
}

.tr-hello-farmshare-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(19px, 4.5vw, 22px);
    font-weight: 600;
    color: #0F5E41;
    line-height: 1.2;
    margin: 0 0 6px 0;
}

.tr-hello-farmshare-title em {
    font-style: italic;
}

.tr-hello-farmshare-copy {
    font-size: clamp(12px, 2.6vw, 13px);
    color: #4A4A4A;
    line-height: 1.55;
    margin: 0 0 14px 0;
}

.tr-hello-farmshare-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    background: #0F5E41;
    color: #FFFFFF;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
    transition: background 0.2s ease;
}

.tr-hello-farmshare-btn:hover {
    background: #0a4530;
    color: #FFFFFF;
    text-decoration: none;
}

/* ─────────────────────────────────────────────
 *  HELLO PAGE NEWSLETTER — inline status message
 * ───────────────────────────────────────────── */
.tr-hello-newsletter-msg {
    text-align: center;
    margin-top: 10px;
    font-size: clamp(11px, 2.8vw, 13px);
    font-weight: 600;
    color: #0F5E41;
    min-height: 1.4em;
    line-height: 1.4;
}

.tr-hello-newsletter-msg.is-success {
    color: #0F5E41;
}

.tr-hello-newsletter-msg.is-error {
    color: #B23A2F;
}

/* ═══════════════════════════════════════════════════════════
 * HELLO PAGE TEMPLATE (template-tr-hello.php)
 * Fluid 280px → ∞. No breakpoints. No horizontal scroll.
 * Every grid stays at its declared column count and shrinks
 * via clamp() instead of stacking.
 * ═══════════════════════════════════════════════════════════ */

/* The .tr-hello-page wrapper paints the cream background full-bleed via
 * a 100vw breakout, then the inner .tr-hello-page-inner card is the
 * 560px white content column centered on top. This works regardless of
 * whether WP applies a body template class, and doesn't bleed cream to
 * other templates. */
/* Page wrap paints the cream behind the white card. The 100vw breakout
 * lets the cream extend edge-to-edge even when Kadence's content
 * container constrains the page width; the calc() falls back to 100%
 * if 100vw is unavailable, and the overscroll-behavior keeps the
 * mobile scroll chain healthy on the breakout. */
.tr-hello-page {
    background: #F5F0E9;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0;
    font-family: 'Avenir Next', 'Avenir', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #333333;
    line-height: 1.5;
    font-size: clamp(14px, 2.5vw, 16px);
    overflow: visible;
}
.tr-hello-page-inner {
    max-width: 560px;
    margin: 0 auto;
    background: #FFFFFF;
}

/* ─────────── HEADER ─────────── */
.tr-hello-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: clamp(12px, 3.5vw, 18px) clamp(16px, 5vw, 28px);
}
.tr-hello-header-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
    flex: 0 1 auto;
    min-width: 0;
}
.tr-hello-header-logo img {
    display: block;
    width: auto;
    height: 25px;
    max-width: 100%;
    object-fit: contain;
}
.tr-hello-header-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px clamp(8px, 2.5vw, 12px);
    background: #E8F5E9;
    color: #0F5E41;
    border-radius: 999px;
    text-decoration: none;
    font-size: clamp(9px, 2.2vw, 11px);
    font-weight: 600;
    letter-spacing: 0.3px;
    min-height: 30px;
    white-space: nowrap;
    flex: 0 0 auto;
}
.tr-hello-header-phone i { font-size: 11px; }

/* ─────────── GREETING ─────────── */
.tr-hello-greeting {
    padding: clamp(16px, 5vw, 32px) clamp(16px, 5vw, 28px) clamp(16px, 4.5vw, 24px);
    text-align: center;
}
.tr-hello-greeting-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(38px, 12vw, 58px);
    font-style: italic;
    font-weight: 600;
    color: #0F5E41;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}
.tr-hello-greeting-tagline {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(14px, 3.6vw, 17px);
    font-style: italic;
    color: #408469;
    line-height: 1.3;
    margin-bottom: 10px;
}
.tr-hello-greeting-sub {
    font-size: 14px;
    color: #4A4A4A;
    line-height: 1.55;
    margin: 0 auto 22px;
    max-width: 340px;
}

/* Find-a-stop card: identical anatomy to the season card —
 * photo on top, light-green body below holding the heading /
 * sub / zip search / count. Same frame, radius, inset margin
 * and body padding. */
.tr-hello-find-stop {
    margin: clamp(18px, 4vw, 24px) clamp(20px, 5vw, 28px);
    border-radius: 20px;
    overflow: hidden;
}

.tr-hello-find-stop-img-wrap {
    position: relative;
    height: clamp(160px, 40vw, 220px);
    overflow: hidden;
}
.tr-hello-find-stop-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tr-hello-find-stop-body {
    background: #E8F5E9;
    padding: clamp(18px, 4.5vw, 22px);
    color: #0F5E41;
    text-align: center;
}

.tr-hello-find-stop-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(20px, 4.8vw, 23px);
    font-weight: 600;
    color: #0F5E41;
    line-height: 1.2;
    margin: 0 0 6px;
}

.tr-hello-find-stop-sub {
    font-size: clamp(14px, 3vw, 15px);
    color: #0F5E41;
    line-height: 1.5;
    margin: 0 0 18px;
}

.tr-hello-find-stop .tr-hello-zip-meta {
    font-size: clamp(13px, 2.8vw, 14px);
    color: #0F5E41;
    margin-top: 14px;
}

.tr-hello-zip-meta {
    text-align: center;
    font-size: clamp(10px, 2.4vw, 11px);
    color: #6A6A6A;
    margin-top: 10px;
}

/* ─────────── QUOTE ─────────── */
.tr-hello-quote {
    padding: clamp(18px, 5vw, 32px) clamp(16px, 5vw, 28px);
    text-align: center;
}
.tr-hello-quote-text {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(22px, 6vw, 32px);
    font-style: italic;
    color: #0F5E41;
    line-height: 1.2;
    letter-spacing: -0.015em;
}
.tr-hello-quote-bar {
    width: 36px;
    height: 3px;
    background: var(--tr-season-accent, #F9E084);
    margin: 14px auto 0;
    border-radius: 999px;
}

/* ─────────── SECTION LABEL (shared) ─────────── */
.tr-hello-section-label {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #408469;
    margin-bottom: 14px;
    text-transform: uppercase;
}

/* ─────────── TIMELINE (4 cells, always) ─────────── */
.tr-hello-timeline { padding: 0 clamp(16px, 5vw, 28px) clamp(20px, 5.5vw, 32px); }
.tr-hello-timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(4px, 1.5vw, 8px);
}
.tr-hello-timeline-season {
    background: #FFFFFF;
    border: 1px solid #ECECEC;
    border-radius: clamp(10px, 3vw, 14px);
    padding: clamp(10px, 3vw, 16px) clamp(2px, 1vw, 8px) clamp(10px, 3vw, 14px);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    min-height: clamp(72px, 18vw, 92px);
}
/* When a row has a Link URL the card renders as an <a>. Strip the link
 * underline/blue and add a hover so the whole card reads as clickable. */
a.tr-hello-timeline-season {
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}
a.tr-hello-timeline-season:hover {
    border-color: #408469;
    transform: translateY(-2px);
}
.tr-hello-timeline-season-active {
    background: var(--tr-season-accent, #F9E084);
    border-color: var(--tr-season-accent, #F9E084);
}
.tr-hello-timeline-now {
    display: inline-block;
    font-size: clamp(7px, 1.8vw, 8px);
    font-weight: 600;
    letter-spacing: 1.2px;
    color: #0F5E41;
    background: rgba(255, 255, 255, 0.55);
    padding: 2px 6px;
    border-radius: 999px;
}
.tr-hello-timeline-name {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(12px, 3vw, 15px);
    font-weight: 600;
    color: #0F5E41;
    line-height: 1.1;
}
.tr-hello-timeline-fruit {
    font-size: clamp(8px, 2vw, 10px);
    color: #408469;
    line-height: 1.25;
    padding: 0 1px;
}
/* Active cell text follows the seasonal accent's paired text color
 * (--tr-season-banner-text): dark green on light accents (spring/summer),
 * white on dark accents (winter orange / fall red). */
.tr-hello-timeline-season-active .tr-hello-timeline-now {
    color: var(--tr-season-banner-text, #0F5E41);
}
.tr-hello-timeline-season-active .tr-hello-timeline-name { color: var(--tr-season-banner-text, #0F5E41); }
.tr-hello-timeline-season-active .tr-hello-timeline-fruit { color: var(--tr-season-banner-text, #0F5E41); font-weight: 500; }

/* ─────────── 3 WAYS (always 3 columns) ─────────── */
.tr-hello-ways { padding: 0 clamp(16px, 5vw, 28px) clamp(18px, 5vw, 28px); }
.tr-hello-ways-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(4px, 1.5vw, 8px);
}
.tr-hello-way-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(6px, 2vw, 10px);
    background: #FFFFFF;
    border: 1px solid #ECECEC;
    border-radius: clamp(12px, 3.5vw, 16px);
    padding: clamp(12px, 3.5vw, 20px) clamp(6px, 2vw, 16px);
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
    min-width: 0;
}
.tr-hello-way-card:hover { border-color: #408469; background: #E8F5E9; }
.tr-hello-way-card:hover .tr-hello-way-icon { background: #FFFFFF; }
.tr-hello-way-icon {
    width: clamp(34px, 9vw, 44px);
    height: clamp(34px, 9vw, 44px);
    background: #E8F5E9;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #0F5E41;
    font-size: clamp(13px, 3.5vw, 18px);
}
.tr-hello-way-text { text-align: center; min-width: 0; width: 100%; }
.tr-hello-way-name {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 12.5px;
    font-weight: 600;
    color: #0F5E41;
    line-height: 1.15;
    margin-bottom: 2px;
}
.tr-hello-way-meta {
    font-size: 12px;
    color: #6A6A6A;
    line-height: 1.3;
    padding: 0 1px;
}

/* ─────────── TESTIMONIAL ─────────── */
.tr-hello-testimonial {
    margin: 0 clamp(16px, 5vw, 28px) clamp(18px, 5vw, 28px);
    padding: clamp(22px, 6vw, 32px) clamp(16px, 4vw, 24px);
    text-align: center;
    background: #E8F5E9;
    border-radius: 20px;
}
.tr-hello-testimonial-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #408469;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.tr-hello-testimonial-quote {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(15px, 4vw, 21px);
    font-style: italic;
    color: #0F5E41;
    line-height: 1.35;
    max-width: 420px;
    margin: 0 auto 12px;
}
.tr-hello-testimonial-attr {
    font-size: 12px;
    color: #408469;
    font-weight: 500;
    letter-spacing: 0.4px;
}

/* ─────────── NEWSLETTER ─────────── */
/* Background = the seasonal accent color the site header uses.
 * Text = the seasonal banner-text color that already pairs with the
 * accent across the site. Same two vars the .tr-header uses, so
 * Hello visually matches the header pill colors every season. */
.tr-hello-newsletter {
    margin: 0 clamp(16px, 5vw, 28px) clamp(18px, 5vw, 28px);
    background: var(--tr-season-accent, #F9E084);
    border-radius: 20px;
    padding: clamp(18px, 5vw, 26px) clamp(14px, 4.5vw, 24px);
    text-align: center;
    color: var(--tr-season-banner-text, #0F5E41);
}
.tr-hello-newsletter-count {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(30px, 8.5vw, 44px);
    font-weight: 600;
    color: var(--tr-season-banner-text, #0F5E41);
    line-height: 1;
    letter-spacing: -0.02em;
}
.tr-hello-newsletter-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--tr-season-banner-text, #0F5E41);
    letter-spacing: 2px;
    margin: 6px 0 12px;
    text-transform: uppercase;
}
.tr-hello-newsletter-copy {
    font-size: 14px;
    color: var(--tr-season-banner-text, #0F5E41);
    line-height: 1.5;
    margin: 0 auto 14px;
    max-width: 360px;
    opacity: 1;
}
.tr-hello-newsletter-form { display: flex; gap: 5px; max-width: 420px; margin: 0 auto; }
/* !important on border-radius + border to defeat Kadence / Woo input
 * resets that ship a low-specificity square radius. Same workaround
 * the tr-hello-zip-input above uses. */
/* Input: solid white pill sits cleanly on top of the seasonal accent bg,
 * text + placeholder use the banner-text color so they match the rest
 * of the newsletter section. */
.tr-hello-newsletter-input {
    flex: 1; min-width: 0;
    height: clamp(36px, 9vw, 40px);
    padding: 0 clamp(14px, 3.5vw, 18px) !important;
    -webkit-appearance: none;
    appearance: none;
    border: 1.5px solid var(--tr-season-banner-text, #0F5E41) !important;
    border-radius: 999px !important;
    /* 16px minimum — !important to beat parent theme input resets so
     * the COMPUTED font-size stays at 16px and iOS doesn't auto-zoom. */
    font-size: 16px !important;
    background: #FFFFFF !important;
    color: var(--tr-season-banner-text, #0F5E41) !important;
    outline: none !important;
    box-shadow: none !important;
    font-family: inherit;
    box-sizing: border-box;
    margin: 0;
}
.tr-hello-newsletter-input:focus {
    background: #FFFFFF !important;
    border-color: var(--tr-season-banner-text, #0F5E41) !important;
    outline: none !important;
    box-shadow: none !important;
}
/* Placeholder uses the banner-text color with reduced opacity so it
 * pairs with the input's typed-text color (also banner-text) and
 * stays visible on the white input pill. */
.tr-hello-newsletter-input::placeholder {
    color: var(--tr-season-banner-text, #0F5E41) !important;
    opacity: 0.55;
}

/* Button is the inverse of the section: banner-text color as the pill
 * background, seasonal accent color as the label, so it stays visible
 * against the accent-colored section background. */
.tr-hello-newsletter-btn {
    height: clamp(36px, 9vw, 40px);
    padding: 0 clamp(16px, 4.5vw, 24px);
    background: var(--tr-season-banner-text, #0F5E41);
    color: var(--tr-season-accent, #F9E084);
    border: none;
    border-radius: 999px;
    font-size: clamp(11px, 2.6vw, 13px);
    font-weight: 600;
    letter-spacing: 0.4px;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: filter 0.2s ease, transform 0.15s ease;
}
.tr-hello-newsletter-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* ─────────── QUICKLINKS (always 3 columns) ─────────── */
.tr-hello-quicklinks { padding: 0 clamp(16px, 5vw, 28px) clamp(18px, 5vw, 28px); }
.tr-hello-quicklinks-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(4px, 1.5vw, 6px);
}
.tr-hello-quicklink {
    background: #FFFFFF;
    border: 1px solid #ECECEC;
    border-radius: 999px;
    padding: clamp(8px, 2.5vw, 12px) 4px;
    text-decoration: none;
    text-align: center;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(4px, 1.5vw, 8px);
    transition: border-color 0.2s ease, background 0.2s ease;
    min-width: 0;
}
.tr-hello-quicklink:hover { border-color: #408469; background: #E8F5E9; }
.tr-hello-quicklink-icon { color: #0F5E41; font-size: clamp(11px, 2.8vw, 14px); flex-shrink: 0; }
.tr-hello-quicklink-name {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 13px;
    font-weight: 600;
    color: #0F5E41;
    white-space: nowrap;
    overflow: hidden;
}

/* ─────────── SOCIAL (always 5 columns) ─────────── */
.tr-hello-social { padding: 0 clamp(16px, 5vw, 28px) clamp(24px, 7vw, 36px); }
.tr-hello-social-label {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #408469;
    margin-bottom: 14px;
    text-transform: uppercase;
}
.tr-hello-social-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(2px, 1vw, 4px);
}
.tr-hello-social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: clamp(6px, 2vw, 10px) 2px;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.2s ease;
    min-width: 0;
}
.tr-hello-social-link:hover { background: #E8F5E9; }
.tr-hello-social-icon {
    color: #0F5E41;
    font-size: clamp(17px, 5vw, 24px);
}
.tr-hello-social-name {
    font-size: clamp(8px, 2.2vw, 10px);
    font-weight: 500;
    color: #408469;
}

/* ─────────── FOOTER ─────────── */
.tr-hello-footer {
    background: #0F5E41;
    padding: clamp(18px, 5vw, 26px) clamp(16px, 5vw, 28px);
    text-align: center;
    color: #FFFFFF;
}
.tr-hello-footer-tagline {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(10px, 2.6vw, 13px);
    font-style: italic;
    color: #FFFFFF;
    opacity: 0.9;
    margin-bottom: 12px;
    line-height: 1.5;
}
.tr-hello-footer-tagline i { margin: 0 2px; }
.tr-hello-footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(8px, 3vw, 12px);
    font-size: clamp(9px, 2.4vw, 11px);
    font-weight: 500;
    letter-spacing: 0.4px;
}
.tr-hello-footer-link {
    color: #FFFFFF !important;
    text-decoration: none;
    transition: text-decoration 0.2s ease;
}
.tr-hello-footer-link:hover,
.tr-hello-footer-link:focus,
.tr-hello-footer-link:active {
    color: #FFFFFF !important;
    text-decoration: underline;
}
.tr-hello-footer-separator { color: #FFFFFF; opacity: 0.4; }
