/* =============================================
   BRANCH'S — HOURS & LOCATION PAGE
   ============================================= */

/* ---- HERO ---- */
.hours-hero {
  position: relative;
  height: 460px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hours-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hours-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,26,0,0.95) 0%, rgba(44,26,0,0.5) 55%, rgba(44,26,0,0.15) 100%);
  z-index: 1;
}

.hours-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 6vw 56px;
}

.hours-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #C8860A;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.hours-hero-title {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(44px, 7vw, 72px);
  color: #fff;
  line-height: 1.1;
  margin: 0 0 12px;
}

.hours-hero-sub {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: rgba(44,26,0,0.6);
  text-transform: uppercase;
  margin: 0;
}

/* ---- LIVE STATUS BADGE ---- */
.hours-live-badge {
  position: absolute;
  top: 80px;
  right: 6vw;
  z-index: 3;
  background: rgba(44,26,0,0.85);
  border: 1px solid rgba(200,134,10,0.3);
  border-radius: 40px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #fff;
  backdrop-filter: blur(8px);
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #aaa;
  flex-shrink: 0;
}

.live-dot.is-open {
  background: #2ecc71;
  box-shadow: 0 0 0 3px rgba(46,204,113,0.25);
  animation: pulseDot 2s infinite;
}

.live-dot.is-closed {
  background: #e74c3c;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(46,204,113,0.25); }
  50%       { box-shadow: 0 0 0 6px rgba(46,204,113,0.1); }
}

/* ---- MAIN LAYOUT ---- */
.hours-main {
  background: #2C1A00;
  padding: 90px 6vw;
}

.hours-main-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

/* ---- SECTION LABELS ---- */
.section-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #C8860A;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  text-transform: uppercase;
  margin: 0 0 20px;
  line-height: 1.15;
}

.hours-note {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: rgba(44,26,0,0.55);
  line-height: 1.65;
  margin: 0 0 28px;
}

/* ---- HOURS TABLE ---- */
.hours-table-wrap {
  background: #3D2400;
  border: 1px solid rgba(200,134,10,0.15);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 24px;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table thead tr {
  background: rgba(200,134,10,0.1);
  border-bottom: 1px solid rgba(200,134,10,0.2);
}

.hours-table th {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #C8860A;
  text-transform: uppercase;
  padding: 12px 18px;
  text-align: left;
}

.hours-table tbody tr {
  border-bottom: 1px solid rgba(200,134,10,0.08);
  transition: background 0.2s ease;
}

.hours-table tbody tr:last-child {
  border-bottom: none;
}

.hours-table tbody tr:hover {
  background: rgba(200,134,10,0.06);
}

.hours-table tbody tr.today-row {
  background: rgba(200,134,10,0.08);
  border-left: 3px solid #C8860A;
}

.hours-table td {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  padding: 14px 18px;
  color: rgba(44,26,0,0.75);
}

.day-name {
  font-weight: 700;
  color: #fff !important;
}

.today-row .day-name::after {
  content: ' (Today)';
  font-size: 11px;
  color: #C8860A;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.closed-day td {
  color: rgba(44,26,0,0.35) !important;
}

.status-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-pill.open {
  background: rgba(46,204,113,0.15);
  color: #2ecc71;
  border: 1px solid rgba(46,204,113,0.3);
}

.status-pill.closed {
  background: rgba(231,76,60,0.12);
  color: #e74c3c;
  border: 1px solid rgba(231,76,60,0.25);
}

/* ---- NOTICE ---- */
.hours-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(200,134,10,0.07);
  border: 1px solid rgba(200,134,10,0.2);
  border-radius: 3px;
  padding: 14px 16px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(12px);
}

.hours-notice.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hours-notice-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.hours-notice p {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  color: rgba(44,26,0,0.6);
  line-height: 1.6;
  margin: 0;
}

.hours-notice a {
  color: #C8860A;
  text-decoration: none;
  border-bottom: 1px solid rgba(200,134,10,0.4);
}

.hours-notice a:hover {
  border-color: #C8860A;
}

/* ---- SEASON CARDS ---- */
.season-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #3D2400;
  border: 1px solid rgba(200,134,10,0.12);
  border-radius: 3px;
  padding: 18px 18px;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(12px);
}

.season-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.season-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.season-card h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #C8860A;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 6px;
}

.season-card p {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  color: rgba(44,26,0,0.55);
  line-height: 1.6;
  margin: 0;
}

/* ---- MAP ---- */
.hours-map-wrap {
  border: 1px solid rgba(200,134,10,0.2);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 28px;
}

.hours-map-wrap iframe {
  display: block;
  filter: grayscale(30%) brightness(0.85);
}

/* ---- LOCATION DETAILS ---- */
.location-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.location-detail-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #3D2400;
  border: 1px solid rgba(200,134,10,0.1);
  border-radius: 3px;
  padding: 16px 18px;
}

.loc-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.location-detail-item strong {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #C8860A;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.location-detail-item p {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: rgba(44,26,0,0.65);
  line-height: 1.6;
  margin: 0;
}

.location-detail-item a {
  color: rgba(44,26,0,0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

.location-detail-item a:hover {
  color: #C8860A;
}

.directions-btn {
  display: inline-block;
  margin-top: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #C8860A !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(200,134,10,0.4);
  padding-bottom: 1px;
  transition: border-color 0.2s ease;
}

.directions-btn:hover {
  border-color: #C8860A;
}

.loc-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.loc-social a {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #C8860A !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(200,134,10,0.35);
  padding-bottom: 1px;
  transition: border-color 0.2s ease;
}

.loc-social a:hover {
  border-color: #C8860A;
}

/* ---- TRUCK TRACKER ---- */
.truck-tracker {
  background: #3D2400;
  padding: 90px 6vw;
}

.tracker-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.tracker-intro {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: rgba(44,26,0,0.6);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}

.tracker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tracker-card {
  background: #2C1A00;
  border: 1px solid rgba(200,134,10,0.12);
  border-radius: 3px;
  padding: 28px 22px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.tracker-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s ease;
}

.tracker-card:hover {
  border-color: rgba(200,134,10,0.4);
  transform: translateY(-3px);
}

.tracker-step {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(200,134,10,0.5);
  margin-bottom: 10px;
}

.tracker-card-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
}

.tracker-card h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 10px;
}

.tracker-card p {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  color: rgba(44,26,0,0.55);
  line-height: 1.65;
  margin: 0 0 14px;
}

.tracker-link {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #C8860A;
  text-decoration: none;
  border-bottom: 1px solid rgba(200,134,10,0.35);
  padding-bottom: 1px;
  transition: border-color 0.2s ease;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  cursor: pointer;
}

.tracker-link:hover {
  border-bottom-color: #C8860A;
}

/* ---- NEARBY ---- */
.hours-nearby {
  background: #2C1A00;
  padding: 90px 6vw;
}

.hours-nearby-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.nearby-intro {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: rgba(44,26,0,0.6);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.nearby-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.nearby-item {
  background: #3D2400;
  border: 1px solid rgba(200,134,10,0.1);
  border-radius: 3px;
  padding: 28px 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
}

.nearby-item.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.nearby-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
}

.nearby-item h5 {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #C8860A;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 8px;
}

.nearby-item p {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.52);
  line-height: 1.6;
  margin: 0;
}

/* ---- CTA STRIP ---- */
.hours-cta-strip {
  background: linear-gradient(135deg, #3D2400 0%, #0e1620 100%);
  border-top: 1px solid rgba(200,134,10,0.2);
  padding: 72px 6vw;
  text-align: center;
}

.hours-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.hours-cta-strip h2 {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(32px, 5vw, 48px);
  color: #fff;
  margin: 0 0 12px;
}

.hours-cta-strip p {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: rgba(44,26,0,0.6);
  margin: 0 0 32px;
}

.hours-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-gold {
  display: inline-block;
  padding: 13px 28px;
  background: #C8860A;
  color: #2C1A00;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-gold:hover {
  background: #f5d76e;
  transform: translateY(-2px);
}

.btn-outline-gold {
  display: inline-block;
  padding: 12px 28px;
  background: transparent;
  border: 1px solid #C8860A;
  color: #C8860A;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-outline-gold:hover {
  background: #C8860A;
  color: #2C1A00;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .hours-main-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .tracker-grid,
  .nearby-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .tracker-grid,
  .nearby-grid {
    grid-template-columns: 1fr;
  }

  .hours-live-badge {
    top: auto;
    bottom: 80px;
    right: 20px;
  }

  .hours-cta-btns {
    flex-direction: column;
    align-items: center;
  }
}

/* Option 1 overrides */
.hours-page { background: #FFF8EE !important; }
.hours-hero { background: linear-gradient(135deg, rgba(44,26,0,0.85), rgba(61,36,0,0.75)), url('../images/brownie-sundae.jpg') center/cover !important; }
.hours-main { background: #FFF8EE !important; }
.hours-card { background: #ffffff !important; border: 1px solid #F0D9A8 !important; }
.hours-table tr { border-bottom-color: #F0D9A8 !important; }
.hours-table tr.today { background: #FFF0D6 !important; }
.day-name { color: #2C1A00 !important; }
.hours-time { color: #4A2E00 !important; }
.status-open { background: #C8860A !important; color: #fff !important; }
.status-closed { background: #8A6A40 !important; color: #fff !important; }
.location-section { background: #FFF0D6 !important; }
.location-card { background: #ffffff !important; border: 1px solid #F0D9A8 !important; }
.tracker-section { background: #2C1A00 !important; }
.tracker-step { background: rgba(255,255,255,0.08) !important; }

/* Hours page contrast fixes */
.hours-hero-title, .hours-hero-subtitle { color: #ffffff!important; }
.hours-table th { color: #C8860A!important; font-weight: 700; }
.hours-table td { color: #2C1A00!important; }
.hours-row.today td { color: #C8860A!important; font-weight: 700; }
.hours-note { color: #8A6A40!important; }
.location-card h3 { color: #2C1A00!important; font-weight: 700; }
.location-card p { color: #2C1A00!important; }
.tracker-step h3 { color: #2C1A00!important; font-weight: 700; }
.tracker-step p { color: #2C1A00!important; }
.tracker-step-number { color: #C8860A!important; }
.landmark-item h3, .landmark-item p { color: #2C1A00!important; }
.status-badge-open { color: #ffffff!important; background: #2a7a2a!important; }
.status-badge-closed { color: #ffffff!important; background: #8B2020!important; }

.hours-table td { color: #2C1A00!important; }
.hours-row.today td { color: #C8860A!important; font-weight:700; }
.status-badge-open { color: #ffffff!important; background: #2a7a2a!important; }
.status-badge-closed { color: #ffffff!important; background: #8B2020!important; }


/* ============================================================
   HOURS PAGE — DEFINITIVE CONTRAST FIX
   ============================================================ */

/* Hours table section — light bg */
.hours-content { background: #FFF8EE !important; }
.hours-content .section-eyebrow { color: #C8860A !important; }
.hours-content h2 { color: #2C1A00 !important; }
.hours-table { background: #ffffff !important; border-color: #F0D9A8 !important; }
.hours-table th { background: #2C1A00 !important; color: #ffffff !important; }
.hours-table td { color: #2C1A00 !important; background: #ffffff !important; }
.hours-table tr:nth-child(even) td { background: #FFF8EE !important; }
.hours-table tr.today td { background: #FFF0D6 !important; color: #C8860A !important; font-weight: 700; }
.status-badge.open { background: rgba(26,122,26,0.1) !important; color: #1a7a1a !important; }
.status-badge.closed { background: rgba(204,34,0,0.1) !important; color: #cc2200 !important; }
.hours-note { background: #FFF0D6 !important; border-color: #C8860A !important; color: #5A3800 !important; }
.seasonal-card { background: #ffffff !important; border-color: #F0D9A8 !important; }
.seasonal-card h4 { color: #2C1A00 !important; }
.seasonal-card p { color: #5A3800 !important; }
.seasonal-icon { color: #C8860A !important; }

/* Location section — dark bg */
.location-section { background: #2C1A00 !important; }
.location-section .section-eyebrow { color: #C8860A !important; }
.location-section h2 { color: #ffffff !important; }
.location-card { background: rgba(255,255,255,0.07) !important; border-color: rgba(200,134,10,0.25) !important; }
.location-card .location-icon { color: #C8860A !important; }
.location-card h3, .location-card h4 { color: #ffffff !important; }
.location-card p, .location-card a { color: rgba(255,255,255,0.82) !important; }

/* Find the truck — light bg */
.find-truck-section { background: #FFF8EE !important; }
.find-truck-section .section-eyebrow { color: #C8860A !important; }
.find-truck-section h2 { color: #2C1A00 !important; }
.find-truck-section p { color: #5A3800 !important; }
.tracker-step { background: #ffffff !important; border-color: #F0D9A8 !important; }
.tracker-step .step-num { color: #C8860A !important; }
.tracker-step h4 { color: #2C1A00 !important; }
.tracker-step p { color: #5A3800 !important; }
.tracker-step .step-icon { color: #C8860A !important; }

/* Nearby section — dark bg */
.nearby-section { background: #2C1A00 !important; }
.nearby-section .section-eyebrow { color: #C8860A !important; }
.nearby-section h2 { color: #ffffff !important; }
.nearby-card { background: rgba(255,255,255,0.07) !important; border-color: rgba(200,134,10,0.25) !important; }
.nearby-card .nearby-icon { color: #C8860A !important; }
.nearby-card h5 { color: #ffffff !important; }
.nearby-card p { color: rgba(255,255,255,0.82) !important; }

/* Hours CTA — dark bg */
.hours-cta { background: #2C1A00 !important; }
.hours-cta .section-eyebrow { color: #C8860A !important; }
.hours-cta h2 { color: #ffffff !important; }
.hours-cta p { color: rgba(255,255,255,0.82) !important; }

/* ===== WHITE TEXT OVERRIDES FOR DARK SECTIONS ===== */
.hours-hero-sub { color: rgba(255,255,255,0.7) !important; }
.hours-status .section-eyebrow { color: #C8860A !important; }
.hours-status .section-title { color: #fff !important; }
.hours-table th { color: rgba(255,255,255,0.55) !important; }
.hours-table td { color: rgba(255,255,255,0.85) !important; }
.hours-table .today-row td { color: #fff !important; }
.seasonal-note { color: rgba(255,255,255,0.7) !important; }
.location-section .section-eyebrow { color: #C8860A !important; }
.location-section .section-title { color: #fff !important; }
.location-section .section-desc { color: rgba(255,255,255,0.7) !important; }
.lcard-label { color: rgba(255,255,255,0.55) !important; }
.lcard-value { color: #fff !important; }
.find-truck .section-eyebrow { color: #C8860A !important; }
.find-truck .section-title { color: #fff !important; }
.find-truck .section-desc { color: rgba(255,255,255,0.7) !important; }
.tracker-step-title { color: #fff !important; }
.tracker-step-desc { color: rgba(255,255,255,0.72) !important; }
.landmarks .section-eyebrow { color: #C8860A !important; }
.landmarks .section-title { color: #fff !important; }
.landmark-name { color: #fff !important; }
.landmark-dist { color: rgba(255,255,255,0.6) !important; }

