/* ========================================
   TR STOP SCHEDULE v1.0.0
   Public-facing Fruit Stop page component.
   Shortcode: [tr_stop_schedule]
   ======================================== */

/* ----------------------------------------
   HERO
   ---------------------------------------- */
.tr-stop-hero {
    background: #0F5E41;
    padding: clamp(32px, 5vw, 56px) clamp(20px, 5vw, 48px);
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

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

.tr-stop-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.tr-stop-hero-eyebrow {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #BBE0C6;
    margin-bottom: 12px;
}

.tr-stop-hero-title {
    font-family: Georgia, 'Times New Roman', serif;
    color: #FDFAF6;
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 12px 0 !important;
    padding: 0;
}

.tr-stop-hero-address {
    font-size: clamp(14px, 1.8vw, 16px);
    color: rgba(245, 240, 233, 1);
    margin-bottom: 16px;
}

.tr-stop-hero-address a {
    color: rgba(245, 240, 233, 1);
    text-decoration: none;
    border-bottom: 1px solid rgba(245, 240, 233, 0.5);
    transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.tr-stop-hero-address a:hover {
    color: #FDFAF6;
    border-color: #FDFAF6;
}

.tr-stop-hero-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: clamp(14px, 1.8vw, 16px);
    font-weight: 600;
    color: #FDFAF6;
}

.tr-stop-hero-time svg {
    width: 16px;
    height: 16px;
    opacity: 1;
}

/* ----------------------------------------
   CONTAINER
   ---------------------------------------- */
.tr-stop-schedule-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 40px) 0;
}

/* ----------------------------------------
   NEXT VISIT CALLOUT
   ---------------------------------------- */
.tr-stop-next-visit {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 16px);
    padding: clamp(14px, 2.5vw, 20px);
    background: #FDFAF6;
    border-radius: 16px;
    border: 1px solid #E6E0D6;
    margin-bottom: clamp(28px, 4vw, 40px);
    box-shadow: 0 1px 3px rgba(15, 94, 65, 0.04);
}

.tr-stop-nv-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #0F5E41;
    color: #FDFAF6;
    border-radius: 12px;
    padding: 12px 18px;
    min-width: 72px;
    flex-shrink: 0;
}

.tr-stop-nv-month {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 1;
    line-height: 1;
}

.tr-stop-nv-day {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 700;
    line-height: 1.1;
}

.tr-stop-nv-weekday {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 1;
    line-height: 1;
}

.tr-stop-nv-text {
    flex: 1;
    min-width: 0;
}

.tr-stop-nv-label {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #408469;
    margin-bottom: 2px;
}

.tr-stop-nv-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(16px, 2.2vw, 19px);
    font-weight: 700;
    color: #333;
    line-height: 1.3;
}

.tr-stop-nv-subtitle {
    font-size: 14px;
    color: #333;
    margin-top: 2px;
}

.tr-stop-nv-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 14px;
    background: #E8F4EB;
    border-left: 3px solid #0F5E41;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: #0F5E41;
}

.tr-stop-nv-alert i {
    flex-shrink: 0;
    font-size: 14px;
    color: #0F5E41;
}

/* ----------------------------------------
   SECTION HEADERS
   ---------------------------------------- */
.tr-stop-section-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: clamp(16px, 2.5vw, 24px);
}

.tr-stop-section-header h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 700;
    color: #0F5E41;
    margin: 0;
    padding: 0;
}

.tr-stop-section-count {
    font-size: 14px;
    font-weight: 700;
    color: #408469;
    background: #E8F4EB;
    padding: 3px 10px;
    border-radius: 100px;
}

/* ----------------------------------------
   PRODUCT CARDS
   ---------------------------------------- */
.tr-stop-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: clamp(28px, 4vw, 40px);
}

@media (max-width: 600px) {
    .tr-stop-products {
        grid-template-columns: 1fr;
    }
}

.tr-stop-product {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.5vw, 20px);
    padding: clamp(14px, 2.5vw, 20px);
    background: #FDFAF6;
    border-radius: 16px;
    border: 1px solid #E6E0D6;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.tr-stop-product:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(15, 94, 65, 0.06);
}

.tr-stop-product-img {
    width: clamp(72px, 10vw, 88px);
    height: clamp(72px, 10vw, 88px);
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: #F5F0E9;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.tr-stop-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tr-stop-product:hover .tr-stop-product-img img {
    transform: scale(1.05);
}

.tr-stop-product-body {
    flex: 1;
    min-width: 0;
}

.tr-stop-product-name {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-size: clamp(15px, 2vw, 17px);
    color: #333;
    line-height: 1.3;
    margin-bottom: 2px;
}

.tr-stop-product-origin {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.tr-stop-product-pricing {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tr-stop-product-tag {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #0F5E41;
    background: #E8F4EB;
    padding: 4px 10px;
    border-radius: 8px;
    line-height: 1;
}

/* ----------------------------------------
   RESERVE CTA
   ---------------------------------------- */
.tr-stop-cta {
    text-align: center;
    margin-bottom: clamp(32px, 5vw, 48px);
}

.tr-stop-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    background: #0F5E41;
    color: #fff;
    font-family: inherit;
    font-size: clamp(15px, 2vw, 17px);
    font-weight: 600;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    text-decoration: none;
    min-height: 52px;
    transition: background 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(15, 94, 65, 0.2);
}

.tr-stop-cta-btn:hover {
    background: #0a4a33;
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}

.tr-stop-cta-btn:active {
    transform: translateY(0);
}

.tr-stop-cta-btn svg {
    width: 18px;
    height: 18px;
}

.tr-stop-cta-note {
    font-size: 14px;
    color: #555;
    margin-top: 10px;
}

/* ----------------------------------------
   DATES GRID
   ---------------------------------------- */
.tr-stop-dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 10px;
    margin-bottom: clamp(28px, 4vw, 40px);
}

.tr-stop-date-card {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 18px 20px;
    background: #FDFAF6;
    border-radius: 12px;
    border: 1px solid #E6E0D6;
    transition: border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.tr-stop-dc-day {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 700;
    color: #0F5E41;
    flex-shrink: 0;
    text-align: center;
    line-height: 1;
    width: 32px;
}

.tr-stop-dc-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.tr-stop-dc-weekday {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.tr-stop-dc-month {
    font-size: 14px;
    color: #555;
    line-height: 1.2;
}

.tr-stop-dc-time {
    font-size: 14px;
    color: #408469;
    font-weight: 600;
    line-height: 1.2;
}

.tr-stop-date-special {
    font-size: 14px;
    font-weight: 700;
    color: #E78825;
    background: #FEF4E6;
    padding: 2px 7px;
    border-radius: 4px;
    align-self: flex-start;
    margin-top: 4px;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

/* ----------------------------------------
   FOOTER NOTE
   ---------------------------------------- */
.tr-stop-footer-note {
    text-align: center;
    padding: 24px 20px;
    font-size: 14px;
    color: #555;
}

.tr-stop-footer-note a {
    color: #0F5E41;
    text-decoration: none;
    font-weight: 600;
}

.tr-stop-footer-note a:hover {
    text-decoration: underline;
}

/* ----------------------------------------
   DIRECTIONS LINK [tr_stop_directions]
   ---------------------------------------- */
.tr-stop-directions-wrap {
    max-width: 800px;
    margin: 12px 0;
}

.tr-stop-directions-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #0F5E41 !important;
    text-decoration: none !important;
    border: none !important;
    background: none !important;
    padding: 0 !important;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.tr-stop-directions-link:hover {
    opacity: 0.7 !important;
    text-decoration: none !important;
    color: #0F5E41 !important;
}

.tr-stop-directions-link svg {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
}

/* ----------------------------------------
   EMPTY STATES
   ---------------------------------------- */
.tr-stop-empty-state {
    background: #FDFAF6;
    border: 1px dashed #E6E0D6;
    border-radius: 12px;
    padding: clamp(24px, 4vw, 40px);
    text-align: center;
    margin: 16px 0 24px;
}

.tr-stop-empty-state p {
    margin: 0;
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* ─── POP-UP "WALK-UP ONLY" PILL ─── */
/* Pop-Up stops show this in the hero instead of a Reserve CTA. */
/* Hero is dark green, so the pill inverts: white bg, forest text. */
.tr-stop-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    color: #0A4730;
    font-size: 14px;
    font-weight: 800;
    padding: 8px 18px 8px 15px;
    border-radius: 999px;
    margin-top: 18px;
    line-height: 1.3;
}

.tr-stop-hero-pill i {
    font-size: 14px;
}
