/* =====================================================
   BUSH BAGS — CONTACT PAGE
===================================================== */

.bb-contact-page {
  --bb-contact-light: #f8f6f2;
  --bb-contact-border: #e8e3dc;
  --bb-contact-white: #ffffff;

  color: var(--bb-black);
}

.bb-contact-page *,
.bb-contact-page *::before,
.bb-contact-page *::after {
  box-sizing: border-box;
}

.bb-contact-container {
  width: var(--bb-container);
  margin-inline: auto;
}

/* INTRO */

.bb-contact-intro {
  padding: 65px 0 35px;
  text-align: center;
}

.bb-contact-intro .bb-contact-container {
  width: var(--bb-container);
}

.bb-contact-eyebrow,
.bb-contact-small-label {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--bb-orange);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.bb-contact-intro h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 600;
}

.bb-contact-intro p:last-child {
  width: var(--bb-container);
  margin: 0 auto;
  color: var(--bb-black);
  line-height: 1.8;
}

/* MAIN LAYOUT */

.bb-contact-main {
  padding: 35px 0 90px;
}

.bb-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 55px;
}

/* LEFT COLUMN */

.bb-contact-info {
  padding: 20px 0;
}

.bb-contact-info-heading {
  margin-bottom: 35px;
}

.bb-contact-info-heading .bb-contact-small-label,
.bb-contact-form-heading .bb-contact-small-label {
  margin-bottom: 12px;
}

.bb-contact-info-heading h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 3.5vw, 40px);
  line-height: 1.18;
  font-weight: 600;
}

.bb-contact-info-heading > p {
  margin: 0;
  width: var(--bb-container);
  color: var(--bb-black);
  line-height: 1.8;
}

/* CONTACT DETAILS */

.bb-contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  margin-bottom: 27px;
}

.bb-contact-detail-icon {
  display: flex;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #f7e9e1;
  color: var(--bb-orange);
}

.bb-contact-detail-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.bb-contact-detail > div:last-child {
  min-width: 0;
  padding-top: 2px;
}

.bb-contact-detail h3 {
  margin: 0 0 7px;
  color: var(--bb-black);
  font-weight: 700;
  line-height: 1.4;
}

.bb-contact-detail a {
  display: block;
  width: fit-content;
  margin-bottom: 5px;
  color: var(--bb-black);
  line-height: 1.6;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.bb-contact-detail a:hover {
  color: var(--bb-orange);
}

.bb-contact-detail p {
  margin: 0;
  color: var(--bb-black);
  line-height: 1.7;
}

.bb-contact-detail .bb-contact-secondary-heading {
  margin-top: 15px;
}

/* KIOSK HOURS */

.bb-contact-hours {
  margin: 35px 0 28px;
  padding: 24px;
  border: 1px solid var(--bb-contact-border);
  border-radius: 16px;
  background: var(--bb-contact-light);
}

.bb-contact-hours-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}

.bb-contact-hours-dot {
  display: block;
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bb-orange);
}

.bb-contact-hours-top h3 {
  margin: 0;
  font-weight: 700;
}

.bb-contact-kiosk {
  margin: 0 0 19px;
  color: var(--bb-black);
  line-height: 1.6;
}

.bb-contact-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 15px;
  padding: 11px 0;
  border-top: 1px solid var(--bb-contact-border);
}

.bb-contact-hours-row span {
  color: var(--bb-black);
}

.bb-contact-hours-row strong {
  color: var(--bb-black);
  text-align: right;
  font-weight: 600;
}

/* WHATSAPP BUTTON */

.bb-contact-whatsapp {
  display: flex;
  align-items: center;
  gap: 13px;
  width: fit-content;
  max-width: 100%;
  padding: 15px 20px;
  border-radius: 10px;
  background: var(--bb-black);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.bb-contact-whatsapp:hover {
  background: var(--bb-orange);
  color: #ffffff;
  transform: translateY(-2px);
}

.bb-contact-whatsapp svg {
  display: block;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
}

.bb-contact-whatsapp-arrow {
  margin-left: 10px;
  font-size: 20px;
  line-height: 1;
}

/* RIGHT COLUMN — FORM CARD */

.bb-contact-form-card {
  padding: 38px;
  border: 1px solid var(--bb-contact-border);
  border-radius: 20px;
  background: var(--bb-contact-white);
  box-shadow: 0 15px 45px rgba(41, 43, 37, 0.06);
}

.bb-contact-form-heading {
  margin-bottom: 30px;
}

.bb-contact-form-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(25px, 3vw, 32px);
  line-height: 1.2;
  font-weight: 600;
}

.bb-contact-form-heading p {
  margin: 0;
  color: var(--bb-black);
  line-height: 1.8;
}

/* FORMIDABLE FORMS */

.bb-contact-form-wrapper .frm_forms,
.bb-contact-form-wrapper .frm_form_fields {
  max-width: 100%;
}

.bb-contact-form-wrapper .frm_form_fields fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.bb-contact-form-wrapper .frm_form_fields legend {
  display: none;
}

.bb-contact-form-wrapper .frm_form_field {
  margin-bottom: 20px;
}

.bb-contact-form-wrapper .frm_primary_label {
  display: block;
  margin-bottom: 8px;
  color: var(--bb-black);
  font-weight: 600;
  line-height: 1.5;
}

.bb-contact-form-wrapper
  input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not(
    [type="file"]
  ),
.bb-contact-form-wrapper select,
.bb-contact-form-wrapper textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 49px;
  margin: 0;
  padding: 13px 15px;
  border: 1px solid var(--bb-contact-border);
  border-radius: 9px;
  background: #ffffff;
  color: var(--bb-black);
  font: inherit;
  line-height: 1.5;
  box-shadow: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.bb-contact-form-wrapper textarea {
  min-height: 145px;
  resize: vertical;
}

.bb-contact-form-wrapper input[type="file"] {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 10px 0;
  color: var(--bb-black);
}

.bb-contact-form-wrapper input:focus,
.bb-contact-form-wrapper select:focus,
.bb-contact-form-wrapper textarea:focus {
  border-color: var(--bb-orange);
  outline: none;
  box-shadow: 0 0 0 3px rgba(184, 79, 38, 0.12);
}

.bb-contact-form-wrapper input::placeholder,
.bb-contact-form-wrapper textarea::placeholder {
  color: #a1a19b;
}

.bb-contact-form-wrapper .frm_submit {
  margin-top: 8px;
}

.bb-contact-form-wrapper .frm_button_submit,
.bb-contact-form-wrapper input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 14px 24px;
  border: 0;
  border-radius: 9px;
  background: var(--bb-orange);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.bb-contact-form-wrapper .frm_button_submit:hover,
.bb-contact-form-wrapper input[type="submit"]:hover {
  background: var(--bb-black);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Validation messages */

.bb-contact-form-wrapper .frm_error,
.bb-contact-form-wrapper .frm_error_style {
  color: #b42318;
}

.bb-contact-form-wrapper .frm_error_style {
  margin-bottom: 20px;
  padding: 12px 15px;
  border: 1px solid #f2c5c2;
  border-radius: 8px;
  background: #fff5f4;
}

/* Success message */

.bb-contact-form-wrapper .frm_message {
  padding: 20px;
  border: 1px solid #cde5d1;
  border-radius: 10px;
  background: #f2faf3;
  color: #245b31;
  line-height: 1.8;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .bb-contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
  }

  .bb-contact-info {
    padding: 0;
  }

  .bb-contact-info-heading {
    max-width: 650px;
  }

  .bb-contact-form-card {
    padding: 32px;
  }
}

@media (max-width: 600px) {
  .bb-contact-container {
    width: min(100% - 36px, 1160px);
  }

  .bb-contact-intro {
    padding: 45px 0 25px;
  }

  .bb-contact-intro h2 {
    font-size: 32px;
  }

  .bb-contact-intro p:last-child {
    font-size: 14px;
  }

  .bb-contact-main {
    padding: 25px 0 55px;
  }

  .bb-contact-info-heading h2 {
    font-size: 32px;
  }

  .bb-contact-form-card {
    padding: 23px 18px;
    border-radius: 15px;
  }

  .bb-contact-form-heading h2 {
    font-size: 27px;
  }

  .bb-contact-hours {
    padding: 20px 16px;
  }

  .bb-contact-hours-row {
    gap: 10px;
    font-size: 12px;
  }

  .bb-contact-whatsapp {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bb-contact-page *,
  .bb-contact-page *::before,
  .bb-contact-page *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
