@font-face {
  font-family: "Objectivity";
  src: url("./fonts/Objectivity-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Objectivity";
  src: url("./fonts/Objectivity-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Objectivity";
  src: url("./fonts/Objectivity-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Objectivity";
  src: url("./fonts/Objectivity-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Objectivity";
  src: url("./fonts/Objectivity-LightSlanted.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Objectivity";
  src: url("./fonts/Objectivity-RegularSlanted.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Objectivity";
  src: url("./fonts/Objectivity-MediumSlanted.otf") format("opentype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Objectivity";
  src: url("./fonts/Objectivity-BoldSlanted.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Bebas Neue";
  src: url("./fonts/BebasNeue-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-family: "Objectivity", sans-serif;
  --title-font-family: "Objectivity", sans-serif;
  --bebas-font-family: "Bebas Neue", sans-serif;
}

.swiper-horizontal .swiper-slide {
  height: auto !important;
}

.dropdown-menu,
.form-control,
.btn,
.input-group-text {
  font-size: 16px !important;
}

.bootstrap-select .dropdown-menu {
  max-width: 100%;
}

html {
  font-size: 16px;
}


:root {
  --font-64: 4rem;
  --font-58: 3.625rem;
  --font-56: 3.5rem;
  --font-48: 3rem;
  --font-46: 2.875rem;
  --font-40: max(2.5rem, 24px);
  --font-36: max(2.25rem, 20px);
  --font-32: max(2rem, 20px);
  --font-30: max(1.875rem, 20px);
  --font-28: max(1.75rem, 18px);
  --font-24: max(1.5rem, 16px);
  --font-22: max(1.375rem, 15px);
  --font-20: max(1.25rem, 14px);
  --font-18: max(1.125rem, 13px);
  --font-16: max(1rem, 12px);
  --font-14: max(.875rem, 12px);
  --font-12: 12px;
  --page-padding: calc((100vw - 1200px) / 2);
}

.container {
  max-width: 1230px;
}

@media screen and (max-width:1280px) {
  :root {
    --page-padding: calc((100vw - 1050px) / 2);
  }

  .container {
    max-width: 1080px;
  }

  html {
    font-size: 12px;
  }
}

@media screen and (max-width:1200px) {
  :root {
    --page-padding: calc((100vw - 930px) / 2);
  }

  .container {
    max-width: 960px;
  }

  html {
    font-size: 10px;
  }
}

@media screen and (max-width:992px) {
  :root {
    --page-padding: calc((100vw - 690px) / 2);
  }

  .container {
    max-width: 720px;
  }

  html {
    font-size: 8px;
  }
}

@media screen and (max-width:768px) {
  :root {
    --page-padding: calc((100vw - 510px) / 2);
  }

  .container {
    max-width: 540px;
  }

}

@media screen and (max-width:576px) {
  :root {
    --page-padding: 15px;
  }

  .container {
    max-width: none;
  }
}

/* primary btn */

.chiyang-btn-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;

  padding: 6px 20px;
  background-color: var(--color-primary);
  border-radius: 80px;
  transition: all 0.3s ease;
}

.chiyang-btn-primary span {
  color: #ffffff;
  font-size: var(--font-16);
  font-weight: 700;
  line-height: 1.5;
  transform: translateY(5%);
}

.chiyang-btn-primary svg {
  width: auto;
  height: calc(1.5 * var(--font-16));
  aspect-ratio: 26 / 24;
  display: block;
}

.chiyang-btn-primary:hover {
  transform: scale(1.06);
}

/* swiper button */

.chiyang-swiper-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #1d1d1d;
  background-color: #f6f6f6;
  cursor: pointer;
}

.chiyang-swiper-btn span {
  font-size: var(--font-28);
  font-weight: 400;
  line-height: 1;
}

.chiyang-swiper-btn:not(.swiper-button-disabled):hover {
  color: #ffffff;
  background-color: var(--color-primary);
}

.chiyang-swiper-btn.swiper-button-disabled {
  color: #1d1d1d;
  background-color: #f6f6f6;
  cursor: not-allowed;
  opacity: 0.45;
}

/* pagination */
#pagesize ul {
  display: flex;
  justify-content: center;
  gap: 2px;
}

#pagesize ul li a,
#pagesize ul li span {
  padding-top: 2px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0px;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  color: rgba(29, 29, 29, 0.50);
  font-size: var(--font-14);
  font-weight: 500;
  line-height: calc(18 / 14 * 1em);

  transition: all 0.3s ease;
}

#pagesize ul li:has(span) {
  align-self: flex-end;
}

#pagesize ul li span {
  color: rgba(29, 29, 29, 0.50);
  font-size: var(--font-14);
  font-weight: 500;
  line-height: calc(18 / 14 * 1em);
}

#pagesize ul li a:not(.disabled).active,
#pagesize ul li a:not(.disabled):hover {
  background-color: var(--color-primary);
  color: #fff;
}

#pagesize ul li a.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media screen and (max-width: 768px) {
  #pagesize ul li a {
    width: 30px;
    height: 30px;
  }
}

@media screen and (max-width: 480px) {
  #pagesize ul li a {
    width: 24px;
    height: 24px;
  }
}


.chiyang_goods_read-applications-tabs ,
.chiyang_goods_read2-applications-tabs {
  display: none !important;
}

.chiyang_category_advantage-image img {
  height: auto;
  aspect-ratio: 387 / 560;
}

.chiyang_hot_goods-card {
  height: 100%;
}