/* ============================================
   MODAL STYLES
   ============================================ */

.wge-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.wge-modal-overlay.wge-modal-visible {
  opacity: 1;
  visibility: visible;
}

.wge-modal-content {
  background-color: #ffffff;
  padding: 36px 48px 40px;
  max-width: 640px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.wge-modal-visible .wge-modal-content {
  transform: scale(1);
}

.wge-modal-logo {
  max-width: 240px;
  height: auto;
  margin-bottom: 20px;
}

.wge-modal-subtitle {
  font-family: 'Prompt', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2px;
  color: #333333;
  margin: 0 0 6px 0;
  text-transform: uppercase;
}

.wge-modal-title {
  font-family: 'Prompt', sans-serif;
  font-weight: 900;
  font-size: 42px;
  color: #00B2A9;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1;
}

.wge-modal-description {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #333333;
  margin: 0 0 24px 0;
  line-height: 1.5;
}

.wge-modal-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.wge-modal-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 220px;
  cursor: pointer;
}

.wge-modal-card:hover .wge-modal-btn {
  background-color: #c4412f;
}

.wge-modal-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: filter 0.2s ease;
}

.wge-modal-card:hover .wge-modal-card-img {
  filter: brightness(0.85);
}

.wge-modal-btn {
  font-family: 'Prompt', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1px;
  color: #ffffff;
  background-color: #EE6352;
  border: none;
  padding: 14px 48px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: background-color 0.2s ease;
  text-transform: uppercase;
  width: 100%;
  justify-content: center;
}

.wge-modal-btn:hover {
  background-color: #c4412f;
}

.wge-modal-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.wge-modal-card:hover .wge-modal-btn svg {
  transform: translateX(4px);
}

/* ============================================
   FOOTER BUTTON GROUP STYLES
   ============================================ */

.wge-location-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.wge-location-label {
  font-family: 'Prompt', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #D9D8D6;
}

.wge-location-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.wge-location-btn {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #ffffff;
  background-color: transparent;
  border: 1px solid #2DC4BB;
  padding: 8px 28px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-transform: none;
  flex: 1;
  min-width: 140px;
}

.wge-location-btn:hover {
  background-color: #2DC4BB;
  color: #ffffff;
}

.wge-location-btn.wge-location-active {
  background-color: #2DC4BB;
  color: #ffffff;
  border-color: #2DC4BB;
  font-weight: 600;
}

.wge-location-btn.wge-location-active:hover {
  background-color: #26b0a8;
}

/* "Coming soon" text */
.wge-location-coming-soon {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 13px;
  color: #999999;
  font-style: italic;
  padding: 12px 0 0 0;
  white-space: nowrap;
  width: 100%;
  text-align: center;
  flex-basis: 100%;
}

.wge-location-btn.wge-location-disabled {
  display: none;
  opacity: 0.4;
  cursor: not-allowed;
  background-color: #f0f0f0;
  color: #999999;
}

/* ============================================
   UTILITY BAR STYLES
   ============================================ */

.wge-utility-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 38px;
  background-color: #024559;
  color: #ffffff;
  z-index: 99999;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 13px;
}

.wge-utility-inner {
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}

.wge-utility-item {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  height: 100%;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  white-space: nowrap;
}

.wge-utility-item:first-child {
  border-left: none;
}

.wge-utility-item a {
  color: #ffffff;
  text-decoration: none;
}

.wge-utility-item a:hover {
  text-decoration: underline;
}

.wge-utility-store-btn {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  background-color: rgba(0, 0, 0, 0.1);
  cursor: pointer;
  white-space: nowrap;
  gap: 0.4em;
  transition: background-color 0.2s ease;
}

.wge-utility-store-btn:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

.wge-utility-caret {
  font-size: 0.7em;
  transition: transform 0.2s ease;
}

.wge-utility-store-btn.wge-utility-open .wge-utility-caret {
  transform: rotate(180deg);
}

.wge-utility-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #024559;
  min-width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: none;
}

.wge-utility-store-btn.wge-utility-open .wge-utility-dropdown {
  display: block;
}

.wge-utility-dropdown-item {
  display: block;
  width: 100%;
  padding: 10px 1rem;
  color: #ffffff;
  background: none;
  border: none;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.wge-utility-dropdown-item:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.wge-utility-dropdown-item.wge-utility-active {
  background-color: rgba(0, 0, 0, 0.15);
  font-weight: 600;
}

/* ============================================
   CITY-SPECIFIC FOOTERS
   ============================================ */
/* Hide both footers by default (prevents flash of wrong footer) */
#wge-seattle-footer,
#wge-slc-footer {
  display: none !important;
}

/* Show correct footer based on body class (set by JS) */
body.wge-city-seattle #wge-seattle-footer {
  display: block !important;
}

body.wge-city-slc #wge-slc-footer {
  display: block !important;
}

/* ============================================
   SQUARESPACE EDIT MODE - Hide utility bar
   ============================================ */
.sqs-edit-mode .wge-utility-bar,
.sqs-edit-mode-active .wge-utility-bar {
  display: none !important;
}

.sqs-edit-mode body,
.sqs-edit-mode-active body {
  padding-top: 0 !important;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 768px) {
  /* Hide phone on tablet/mobile, keep hours + store */
  .wge-utility-phone {
    display: none;
  }

  .wge-modal-content {
    padding: 28px 20px 32px;
  }

  .wge-modal-logo {
    max-width: 180px;
    margin-bottom: 16px;
  }

  .wge-modal-subtitle {
    font-size: 12px;
  }

  .wge-modal-title {
    font-size: 28px;
  }

  .wge-modal-description {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .wge-modal-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .wge-modal-btn {
    padding: 14px 32px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .wge-modal-title {
    font-size: 26px;
  }

  .wge-location-buttons {
    gap: 6px;
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .wge-location-btn {
    font-size: 13px;
    padding: 7px 20px;
    flex: none;
    min-width: 0;
    width: 100%;
  }

  .wge-location-coming-soon {
    font-size: 12px;
    padding: 6px 0;
  }

  /* Smaller utility bar text on mobile */
  .wge-utility-bar {
    font-size: 12px;
  }

  .wge-utility-item,
  .wge-utility-store-btn {
    padding: 0 0.75rem;
  }

  /* Phone already hidden at 768px, this is a fallback */
}
