/* BuyEverything · premium compact footer, v2.1
   Intentionally scoped: never affects legacy page layouts or admin UI. */
#contact.bv-site-footer,
#contact.bv-site-footer *,
#contact.bv-site-footer *::before,
#contact.bv-site-footer *::after { box-sizing: border-box; }
#contact.bv-site-footer {
  position: relative;
  isolation: isolate;
  clear: both;
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 3px solid #3795ed;
  border-radius: 0;
  background: radial-gradient(ellipse 620px 280px at 3% 10%, rgba(19,110,182,.23), transparent 68%), radial-gradient(ellipse 550px 260px at 98% 98%, rgba(11,154,175,.11), transparent 68%), linear-gradient(110deg, #07182e 0%, #0b2038 52%, #071628 100%);
  color: #eef6ff;
  font: 400 13px/1.58 Tahoma, "Noto Sans Thai", "Leelawadee UI", Arial, sans-serif;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
#contact.bv-site-footer::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(104,212,247,.75), rgba(55,130,255,.55), transparent);
}
#contact.bv-site-footer .bv-footer-wrap {
  width: min(1280px, calc(100% - 52px));
  margin: 0 auto;
}
#contact.bv-site-footer .bv-footer-grid {
  display: grid;
  grid-template-columns: minmax(230px,1.3fr) minmax(160px,.93fr) minmax(175px,.97fr) minmax(210px,1.02fr);
  gap: clamp(17px,2.5vw,35px);
  align-items: start;
  padding: 28px 0 24px;
}
#contact.bv-site-footer .bv-footer-grid > * { min-width: 0; }
#contact.bv-site-footer .bv-footer-brand { padding-right: 6px; }
#contact.bv-site-footer .bv-footer-identity { display: flex; align-items: center; gap: 12px; min-height: 79px; }
#contact.bv-site-footer .bv-footer-logo { display: flex; flex: 0 0 100px; width: 100px; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; }
#contact.bv-site-footer .bv-footer-logo img { display:block; width: 100px; max-width: 100%; height: auto; max-height: 76px; margin: 0; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0,0,0,.24)); }
#contact.bv-site-footer .bv-footer-brand-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#contact.bv-site-footer .bv-footer-eyebrow { display: block; color: #76c5f5; font: 800 9px/1.4 Tahoma,Arial,sans-serif; letter-spacing: 1.3px; text-transform: uppercase; }
#contact.bv-site-footer .bv-footer-brand-text strong { font-size: clamp(15px,1.4vw,19px); line-height: 1.3; font-weight: 900; color: #fff; overflow-wrap: anywhere; }
#contact.bv-site-footer .bv-footer-brand-sub { font-weight: 600; color: #b6c9da; font-size: 11px; }
#contact.bv-site-footer .bv-footer-description { color: #bdcde0; font-size: 12px; line-height: 1.75; margin: 10px 0 12px; max-width: 360px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
#contact.bv-site-footer .bv-footer-trust { display: flex; flex-wrap: wrap; gap: 6px; }
#contact.bv-site-footer .bv-footer-trust span { white-space: nowrap; color: #d4e7f8; background: rgba(119,177,223,.09); border: 1px solid rgba(121,179,224,.2); border-radius: 5px; padding: 3px 7px; font-size: 10px; font-weight: 700; line-height: 1.5; }
#contact.bv-site-footer .bv-footer-trust span::before { content: "✓"; margin-right: 4px; color: #6bdfc5; font-weight: 900; }
#contact.bv-site-footer .bv-footer-heading { margin: 3px 0 13px; }
#contact.bv-site-footer .bv-footer-heading h2 { font-size: 15px; line-height: 1.4; font-weight: 900; color: #fff; margin: 3px 0 0; padding: 0; letter-spacing: 0; border: 0; background: none; }
#contact.bv-site-footer .bv-footer-list { padding: 0; margin: 0; list-style: none; display: grid; gap: 7px; }
#contact.bv-site-footer .bv-footer-list li { display: grid; grid-template-columns: 11px minmax(0,1fr); gap: 6px; align-items: start; min-width: 0; padding: 0; margin: 0; color: #cad8e9; font-size: 11.6px; line-height: 1.55; overflow-wrap: anywhere; }
#contact.bv-site-footer .bv-footer-list li span:last-child { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
#contact.bv-site-footer .bv-footer-bullet { width: 5px; height: 5px; margin: 6px 0 0 1px; border-radius: 50%; background: #4ec9e8; box-shadow: 0 0 0 3px rgba(78,201,232,.11); }
#contact.bv-site-footer .bv-footer-actions { display: grid; gap: 8px; }
#contact.bv-site-footer .bv-footer-call,
#contact.bv-site-footer .bv-footer-line { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 53px; border-radius: 9px; padding: 8px 10px; text-decoration: none; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
#contact.bv-site-footer .bv-footer-call { border: 1px solid rgba(116,172,222,.36); background: rgba(255,255,255,.055); color: #fff; }
#contact.bv-site-footer .bv-footer-line { border: 1px solid rgba(101,231,151,.46); background: linear-gradient(105deg,#1a8f5b,#0a6548); color: #fff; }
#contact.bv-site-footer .bv-footer-call:hover { transform: translateY(-2px); border-color: rgba(134,205,255,.75); background: rgba(255,255,255,.11); color: #fff; }
#contact.bv-site-footer .bv-footer-line:hover { transform: translateY(-2px); background: linear-gradient(105deg,#20a86b,#0c7554); color: #fff; }
#contact.bv-site-footer .bv-footer-call:focus-visible,
#contact.bv-site-footer .bv-footer-line:focus-visible,
#contact.bv-site-footer .bv-footer-credits a:focus-visible,
#contact.bv-site-footer .bv-footer-logo:focus-visible { outline: 2px solid #77d3fb; outline-offset: 3px; }
#contact.bv-site-footer .bv-footer-action-icon { flex: 0 0 32px; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; background: rgba(255,255,255,.09); display: grid; place-items: center; }
#contact.bv-site-footer .bv-footer-action-icon svg { display:block; width: 17px; height: 17px; }
#contact.bv-site-footer .bv-footer-call span:nth-child(2),
#contact.bv-site-footer .bv-footer-line span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
#contact.bv-site-footer .bv-footer-actions small { color: #c2d8eb; font-size: 10px; line-height: 1.25; font-weight: 600; }
#contact.bv-site-footer .bv-footer-line small { color: #e5fff0; }
#contact.bv-site-footer .bv-footer-actions strong { color: #fff; font-size: 15px; line-height: 1.28; font-weight: 900; overflow-wrap: anywhere; }
#contact.bv-site-footer .bv-footer-action-arrow { margin-left: auto; color: #c7e5fb; font-size: 15px; }
#contact.bv-site-footer .bv-footer-contact-note { color: #a8bfd1; margin: 8px 0 0; font-size: 10px; line-height: 1.6; }
#contact.bv-site-footer .bv-footer-bottom { min-height: 51px; border-top: 1px solid rgba(165,200,230,.17); display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 11px 0 13px; color: #a9bfd4; font-size: 11px; }
#contact.bv-site-footer .bv-footer-copyright { white-space: nowrap; }
#contact.bv-site-footer .bv-footer-copyright strong { color: #e6f2fd; font-weight: 800; }
#contact.bv-site-footer .bv-footer-credits { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 0; justify-content: flex-end; }
#contact.bv-site-footer .bv-footer-credits span { display: inline-flex; align-items: center; white-space: nowrap; color: #a9bfd4; }
#contact.bv-site-footer .bv-footer-credits span + span::before { content: ""; display: inline-block; width: 1px; height: 11px; margin: 0 13px; background: rgba(191,216,239,.27); }
#contact.bv-site-footer .bv-footer-credits a { color: #e5f6ff; text-decoration: none; margin-left: 4px; font-size: 11px; font-weight: 900; border-bottom: 1px solid rgba(124,205,249,.45); transition: color .15s ease, border-color .15s ease; }
#contact.bv-site-footer .bv-footer-credits a:hover { color: #69d9f7; border-color: currentColor; }
@media (max-width: 1110px) {
  #contact.bv-site-footer .bv-footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  #contact.bv-site-footer .bv-footer-contact { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(190px,.85fr) minmax(300px,2fr); gap: 8px 18px; align-items: center; padding-top: 12px; border-top: 1px solid rgba(165,200,230,.13); }
  #contact.bv-site-footer .bv-footer-contact .bv-footer-heading { margin: 0; }
  #contact.bv-site-footer .bv-footer-actions { grid-template-columns: 1fr 1fr; }
  #contact.bv-site-footer .bv-footer-contact-note { grid-column: 1 / -1; margin: 0; }
}
@media (max-width: 760px) {
  #contact.bv-site-footer .bv-footer-wrap { width: min(100% - 32px,610px); }
  #contact.bv-site-footer .bv-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 18px; padding: 21px 0 17px; }
  #contact.bv-site-footer .bv-footer-brand { grid-column: 1 / -1; padding: 0 0 15px; border-bottom: 1px solid rgba(165,200,230,.14); }
  #contact.bv-site-footer .bv-footer-identity { min-height: 66px; }
  #contact.bv-site-footer .bv-footer-description { margin: 6px 0 9px; max-width: none; }
  #contact.bv-site-footer .bv-footer-contact { display: block; grid-column: 1 / -1; padding-top: 15px; }
  #contact.bv-site-footer .bv-footer-contact .bv-footer-heading { margin-bottom: 9px; }
  #contact.bv-site-footer .bv-footer-bottom { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px; }
  #contact.bv-site-footer .bv-footer-credits { justify-content: flex-start; }
}
@media (max-width: 430px) {
  #contact.bv-site-footer .bv-footer-wrap { width: calc(100% - 26px); }
  #contact.bv-site-footer .bv-footer-grid { column-gap: 12px; }
  #contact.bv-site-footer .bv-footer-identity { gap: 8px; }
  #contact.bv-site-footer .bv-footer-logo { flex-basis: 92px; width: 92px; }
  #contact.bv-site-footer .bv-footer-logo img { width: 92px; }
  #contact.bv-site-footer .bv-footer-brand-text strong { font-size: 16px; }
  #contact.bv-site-footer .bv-footer-heading h2 { font-size: 13.5px; }
  #contact.bv-site-footer .bv-footer-list li { font-size: 11px; }
  #contact.bv-site-footer .bv-footer-actions { gap: 7px; }
  #contact.bv-site-footer .bv-footer-call,
  #contact.bv-site-footer .bv-footer-line { padding: 8px; gap: 6px; }
  #contact.bv-site-footer .bv-footer-action-icon { display: none; }
  #contact.bv-site-footer .bv-footer-actions strong { font-size: 13px; }
  #contact.bv-site-footer .bv-footer-credits span + span::before { margin: 0 8px; }
  #contact.bv-site-footer .bv-footer-copyright { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  #contact.bv-site-footer a { transition: none; }
}
/* The original site's fixed mobile buttons must not cover footer contact links. */
html.bv-footer-in-view .floatBtns,
html.bv-footer-in-view .bottomCta {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
