@font-face {
  font-family: "Bronova";
  src: url("/assets/font/Bronova-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  ascent-override: 103%;
  descent-override: 30%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

@font-face {
  font-family: "Bronova";
  src: url("/assets/font/Bronova-Blod.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  ascent-override: 103%;
  descent-override: 30%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

:root {
  --header-height: clamp(100px, 26.6667vw, 200px);
  --footer-height: 200px;
  --primary-color: #dd133d;
  --layout: clamp(375px, 100vw, 750px);
  --font-12: clamp(12px, 0.625vw, 12px);
  --font-13: clamp(12px, 0.6771vw, 13px);
  --font-14: clamp(12px, 0.7292vw, 14px);
  --font-15: clamp(12px, 0.7813vw, 15px);
  --font-16: clamp(12px, 0.8333vw, 16px);
  --font-17: clamp(12px, 0.8854vw, 17px);
  --font-18: clamp(12px, 0.9375vw, 18px);
  --font-19: clamp(12px, 0.9896vw, 19px);
  --font-20: clamp(12px, 1.0417vw, 20px);
  --font-21: clamp(12px, 1.0938vw, 21px);
  --font-22: clamp(12px, 1.1458vw, 22px);
  --font-23: clamp(12px, 1.1979vw, 23px);
  --font-24: clamp(12px, 1.25vw, 24px);
  --font-25: clamp(12.5px, 1.3021vw, 25px);
  --font-26: clamp(13px, 1.3542vw, 26px);
  --font-27: clamp(13.5px, 1.4063vw, 27px);
  --font-28: clamp(14px, 1.4583vw, 28px);
  --font-29: clamp(14.5px, 1.5104vw, 29px);
  --font-30: clamp(15px, 1.5625vw, 30px);
  --font-31: clamp(15.5px, 1.6146vw, 31px);
  --font-32: clamp(16px, 1.6667vw, 32px);
  --font-33: clamp(16.5px, 1.7188vw, 33px);
  --font-34: clamp(17px, 1.7708vw, 34px);
  --font-35: clamp(17.5px, 1.8229vw, 35px);
  --font-36: clamp(18px, 1.875vw, 36px);
  --font-37: clamp(18.5px, 1.9271vw, 37px);
  --font-38: clamp(19px, 1.9792vw, 38px);
  --font-39: clamp(19.5px, 2.0313vw, 39px);
  --font-40: clamp(20px, 2.0833vw, 40px);
  --font-41: clamp(20.5px, 2.1354vw, 41px);
  --font-42: clamp(21px, 2.1875vw, 42px);
  --font-43: clamp(21.5px, 2.2396vw, 43px);
  --font-44: clamp(22px, 2.2917vw, 44px);
  --font-45: clamp(22.5px, 2.3438vw, 45px);
  --font-46: clamp(23px, 2.3958vw, 46px);
  --font-47: clamp(23.5px, 2.4479vw, 47px);
  --font-48: clamp(24px, 2.5vw, 48px);
  --font-49: clamp(24.5px, 2.5521vw, 49px);
  --font-50: clamp(25px, 2.6042vw, 50px);
  --font-51: clamp(25.5px, 2.6563vw, 51px);
  --font-52: clamp(26px, 2.7083vw, 52px);
  --font-53: clamp(26.5px, 2.7604vw, 53px);
  --font-54: clamp(27px, 2.8125vw, 54px);
  --font-55: clamp(27.5px, 2.8646vw, 55px);
  --font-56: clamp(28px, 2.9167vw, 56px);
  --font-57: clamp(28.5px, 2.9688vw, 57px);
  --font-58: clamp(29px, 3.0208vw, 58px);
  --font-59: clamp(29.5px, 3.0729vw, 59px);
  --font-60: clamp(30px, 3.125vw, 60px);
}

*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* 禁用浏览器文本缩放 */
  text-size-adjust: none;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
}

::placeholder {
  color: #999;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Bronova";
  font-weight: 400;
  font-display: swap;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

button {
  cursor: pointer;
}

img,
video {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

p {
  margin: 0;
}

.icon-menu {
  width: 6.6667vw;
  aspect-ratio: 80 / 56;
}

.header {
  height: var(--header-height);
  padding: 0 6vw;
  display: flex;
  justify-content: space-between;
  background-color: #000;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  flex-shrink: 0;
  height: inherit;
  display: flex;
  align-items: center;
}

.logo > img {
  width: clamp(118px, 22.5333vw, 169px);
  aspect-ratio: 482 / 80;
}

.header .right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.header .toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.header .toolbar .lang {
  width: 12.8vw;
  aspect-ratio: 96 / 27;
  border: 1px solid #fff;
  border-radius: 30px;
  position: relative;
  cursor: pointer;
}

.header .toolbar .lang input {
  opacity: 0;
  width: 0;
  height: 0;
}

.header .toolbar .lang .slider {
  position: absolute;
  top: -1px;
  right: -1px;
  bottom: -1px;
  left: -1px;
  z-index: 1;
}

.header .toolbar .lang .slider::before {
  position: absolute;
  content: "";
  height: inherit;
  width: 6.4vw;
  left: 0;
  top: 0;
  bottom: 0;
  background-color: white;
  border-radius: 30px;
  transition: 0.4s;
  z-index: 2;
}

.header .toolbar .lang input:checked ~ .slider::before {
  transform: translateX(6.4vw);
}

.header .toolbar .lang .slider-text {
  position: absolute;
  top: -2px;
  right: -2px;
  bottom: -2px;
  left: -2px;
  z-index: 9;
  display: flex;
  align-items: center;
  color: #fff;
}

.header .toolbar .lang .slider-text span {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: var(--font-13);
}

.header .toolbar .lang input:checked ~ .slider-text .on-text {
  color: #000;
}

.header .toolbar .lang input:not(:checked) ~ .slider-text .off-text {
  color: #000;
}

.layout {
  margin: 0 auto;
  width: var(--layout);
}

.footer {
  background-color: #1b1b1b;
  padding-bottom: 17.3333vw;
}

.footer .logo-box {
  padding: 12vw 0 4vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer .apps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.2vw;
}

.footer .apps .app {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.footer .apps .icon-app {
  width: 6vw;
  height: 6vw;
  border-radius: 50%;
}

.footer .apps .app.active .icon-app,
.footer .apps .app:hover .icon-app {
  content: var(--hover-url);
}

.footer .contact-us {
  padding: 4vw 0 12vw;
  font-size: var(--font-18);
  color: #999;
  text-align: center;
  line-height: normal;
}

.footer .tabbar {
  border-top: 1px solid #6a6a6a;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 9999;
  background: #1b1b1b;
  width: 100%;
}

.footer .tabbar ul {
  height: 17.3333vw;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer .tabbar ul li {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer .tabbar ul li a {
  color: #999;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer .tabbar ul li.active a {
  color: #fff;
}

.footer .tabbar ul li img {
  width: 6vw;
  height: auto;
  margin-bottom: 5px;
}

.container {
  position: relative;
}

.breadcrumb {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  padding: 0 30px;
  background-color: rgba(255, 255, 255, 0.75);
}

.breadcrumb > ul {
  height: 42px;
  display: flex;
  align-items: center;
}

.breadcrumb > ul > li {
  display: flex;
  align-items: center;
  font-size: var(-font-16);
  color: #727171;
}

.breadcrumb > ul > li + li::before {
  content: "/";
  padding: 0 10px;
  color: #727171;
}

.breadcrumb > ul > li.active,
.breadcrumb > ul > li:hover {
  color: var(--primary-color);
}

.breadcrumb > ul > li > a {
  color: inherit;
}

.btn-contact-us {
  width: 142px;
  height: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-19);
  color: #3e3a39;
  background-color: #fff;
  border: 1px solid var(--primary-color);
  border-radius: 30px;
}

.btn-contact-us:hover {
  color: #fff;
  background-color: var(--primary-color);
}

/* 模态框样式 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s;
  backdrop-filter: blur(5px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: #fff;
  border-radius: min(2.6042vw, 50px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  width: 72.6562vw;
  transform: translateY(-20%);
  transition: all 0.6s;
  position: relative;
  overflow: hidden;
}

.modal .modal-body {
  max-height: 98vh;
  overflow-y: auto;
}

.modal .modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal .modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 2px;
}

.modal .modal-body::-webkit-scrollbar-thumb {
  background: #bdc3c7;
  border-radius: 2px;
}

.modal .modal-body::-webkit-scrollbar-thumb:hover {
  background: #95a5a6;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-close {
  width: 2.0833vw;
  height: 2.0833vw;
  position: absolute;
  right: 2.0833vw;
  top: 2.6042vw;
  cursor: pointer;
}

.drawer {
  position: relative;
}

.drawer .drawer-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.5);
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.5s linear;
}

.drawer.active .drawer-mask {
  visibility: visible;
  opacity: 1;
}

.drawer .drawer-content {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  z-index: 1001;
  background-color: #fff;
  box-shadow: -6px 0 16px 0 rgba(0, 0, 0, 0.08),
    -3px 0 6px -4px rgba(0, 0, 0, 0.12), -9px 0 28px 8px rgba(0, 0, 0, 0.05);
  transform: translateX(100%);
  transition: all 0.5s;
}

.drawer.active .drawer-content {
  transform: translateX(0);
}

.drawer .drawer-content .navbar {
  padding-top: 50px;
}

.drawer .icon-close {
  position: absolute;
  top: -100px;
  right: 15px;
  font-size: 30px;
  color: #666;
  z-index: 9999;
  display: none;
}

.drawer.active .icon-close {
  display: block;
}

.drawer .close {
  padding: 4vw;
  display: flex;
  align-items: center;
}

.drawer .close .icon-close {
  width: 4vw;
  height: 4vw;
  margin-left: auto;
}

.drawer-menu .nav {
  height: 17.3333vw;
  padding: 0 10vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #999;
  font-size: var(--font-33);
}

.drawer-menu .nav.active {
  font-weight: bold;
}

.drawer-menu .nav .icon-link {
  width: 2.5333vw;
}

.filter-picker {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-picker .picker {
  width: fit-content;
  height: 6.6667vw;
  padding: 0 4vw;
  background: #ffffff;
  border-radius: 2.2667vw;
  font-size: var(--font-25);
  color: #000000;
}

.filter-picker .picker .picker-value {
  height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-25);
  color: #000000;
}

.filter-picker .picker .icon-picker {
  margin-left: 1.6vw;
  width: 2.8vw;
}

.filter-picker .picker.picker-classify {
  width: 100%;
}

.filter-picker .picker.picker-2 {
  width: 26.4vw;
}

.picker-options {
  display: none;
}

.picker-options.active {
  display: block;
}

.picker-options .picker-mask {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9998;
  background-color: rgba(0, 0, 0, 0.4);
}

.picker-options .picker-body {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  background-color: #fff;
}

.picker-options .picker-body .picker-action {
  padding: 4vw 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #000;
  font-size: var(--font-30);
}

.picker-options .picker-body .picker-action .btn-cancel {
  color: red;
}

.picker-options .picker-body .picker-action .btn-confirm {
  color: green;
}

.picker-options .picker-body .options {
  max-height: 50vh;
  padding: 4vw 4vw;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4vw;
}

.picker-options .picker-body .options .option {
  font-size: var(--font-24);
  text-align: center;
}

.picker-options .picker-body .options .option.active {
  color: green;
}
