/* Standalone contact widget, using the site's existing contact routes and icons. */
.float-box {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
}
.float-box .fl-contain {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-box .item {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 65% auto;
  box-shadow: 0 5px 16px rgba(16, 44, 89, .16);
  transition: background-color .18s ease;
}
.float-box .wechat { background-color: #fff; background-size: contain; }
.float-box .whatsapp { background-color: #148a45; }
.float-box .tel { background-color: #eef2ff; }
.float-box .app { background-color: #1a73e8; }
.float-box .item:hover,
.float-box .item:focus-visible { box-shadow: 0 7px 19px rgba(16, 44, 89, .24); }
.float-box .whatsapp:hover { background-color: #106c37; }
.float-box .app:hover { background-color: #1557b0; }
.float-box .float-label {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 11px;
  border-radius: 6px;
  background: #152b49;
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}
.float-box .item:hover .float-label,
.float-box .item:focus-visible .float-label { opacity: 1; }
.float-box .float-mobile-label { display: none; }
@media (min-width: 761px) and (max-width: 1370px) {
  .regional-shipping-page .container {
    width: calc(100% - 120px);
    margin-left: 32px;
    margin-right: auto;
  }
}
@media (max-width: 760px) {
  .regional-shipping-page {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
  .float-box {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    transform: none;
    padding: 7px 12px calc(7px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid #dce2e9;
  }
  .float-box .fl-contain {
    flex-direction: row;
    justify-content: space-around;
    gap: 8px;
    max-width: 520px;
    margin-inline: auto;
  }
  .float-box .item {
    width: 70px;
    height: 60px;
    border-radius: 6px;
    background-color: transparent;
    background-size: 28px 28px;
    background-position: center 3px;
    box-shadow: none;
  }
  .float-box .item:hover,
  .float-box .item:focus-visible {
    background-color: #f0f4fa;
    box-shadow: none;
  }
  .float-box .whatsapp {
    background-color: #148a45;
  }
  .float-box .whatsapp:hover,
  .float-box .whatsapp:focus-visible {
    background-color: #106c37;
  }
  .float-box .app {
    background-color: #1a73e8;
  }
  .float-box .app:hover,
  .float-box .app:focus-visible {
    background-color: #1557b0;
  }
  .float-box .float-label,
  .float-box .float-mobile-label {
    position: absolute;
    display: block;
    inset: auto 0 5px;
    transform: none;
    padding: 0;
    background: transparent;
    color: #334b6b;
    font-size: 10px;
    line-height: 1.6;
    text-align: center;
    opacity: 1;
  }
  .float-box .whatsapp .float-label,
  .float-box .app .float-label { color: #fff; }
  .float-box .tel .float-label { display: none; }
  .regional-shipping-page .back-top {
    bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  }
}
@media (prefers-reduced-motion: reduce) {
  .float-box .item { transition: none; }
}

/* Icon artwork reused from css/main.css. */
.float-box .wechat { background-image: url("data:image/svg+xml,<svg viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'><path d='M337.387283 341.82659c-17.757225 0-35.514451 11.83815-35.514451 29.595375s17.757225 29.595376 35.514451 29.595376 29.595376-11.83815 29.595376-29.595376c0-18.49711-11.83815-29.595376-29.595376-29.595375zM577.849711 513.479769c-11.83815 0-22.936416 12.578035-22.936416 23.6763 0 12.578035 11.83815 23.676301 22.936416 23.676301 17.757225 0 29.595376-11.83815 29.595376-23.676301s-11.83815-23.676301-29.595376-23.6763zM501.641618 401.017341c17.757225 0 29.595376-12.578035 29.595376-29.595376 0-17.757225-11.83815-29.595376-29.595376-29.595375s-35.514451 11.83815-35.51445 29.595375 17.757225 29.595376 35.51445 29.595376zM706.589595 513.479769c-11.83815 0-22.936416 12.578035-22.936416 23.6763 0 12.578035 11.83815 23.676301 22.936416 23.676301 17.757225 0 29.595376-11.83815 29.595376-23.676301s-11.83815-23.676301-29.595376-23.6763z' fill='%2328C445'/><path d='M510.520231 2.959538C228.624277 2.959538 0 231.583815 0 513.479769s228.624277 510.520231 510.520231 510.520231 510.520231-228.624277 510.520231-510.520231-228.624277-510.520231-510.520231-510.520231zM413.595376 644.439306c-29.595376 0-53.271676-5.919075-81.387284-12.578034l-81.387283 41.433526 22.936416-71.768786c-58.450867-41.433526-93.965318-95.445087-93.965317-159.815029 0-113.202312 105.803468-201.988439 233.803468-201.98844 114.682081 0 216.046243 71.028902 236.023121 166.473989-7.398844-0.739884-14.797688-1.479769-22.196532-1.479769-110.982659 1.479769-198.289017 85.086705-198.289017 188.67052 0 17.017341 2.959538 33.294798 7.398844 49.572255-7.398844 0.739884-15.537572 1.479769-22.936416 1.479768z m346.265896 82.867052l17.757225 59.190752-63.630058-35.514451c-22.936416 5.919075-46.612717 11.83815-70.289017 11.83815-111.722543 0-199.768786-76.947977-199.768786-172.393063-0.739884-94.705202 87.306358-171.653179 198.289017-171.65318 105.803468 0 199.028902 77.687861 199.028902 172.393064 0 53.271676-34.774566 100.624277-81.387283 136.138728z' fill='%2328C445'/></svg>"); }
.float-box .whatsapp { background-image: url("data:image/svg+xml,<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z' fill='white'/></svg>"); }
.float-box .tel { background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z' fill='%234285f4'/><path d='M15 3.5c3.3 1.1 5.9 3.7 7 7' stroke='%234285f4' stroke-width='1.5' stroke-linecap='round' fill='none'/><path d='M15 7c1.8.6 3.3 2.1 3.9 3.9' stroke='%234285f4' stroke-width='1.5' stroke-linecap='round' fill='none'/></svg>"); }
.float-box .app { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'><rect x='14' y='8' width='20' height='28' rx='2.5' stroke='white' stroke-width='3' fill='none'/><rect x='20' y='12' width='8' height='1.5' rx='0.75' fill='white'/><path d='M24 30v6' stroke='white' stroke-width='3.5' stroke-linecap='round'/><path d='M19 35l5 5 5-5' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>"); }
