/* Component: components/sections/Hero.astro */
.hero-module {
  position: relative;
}
.hero-module .pic::after {
  padding-top: 26.5625%;
}
@media screen and (max-width: 1200px) {
  .hero-module .pic::after {
    padding-top: 30.5625%;
  }
}
@media screen and (max-width: 768px) {
  .hero-module .pic::after {
    padding-top: 40.5625%;
  }
}
@media screen and (max-width: 500px) {
  .hero-module .pic::after {
    padding-top: 60%;
  }
}
.hero-module .text-box {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: 1;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-module .text-box .subtitle {
  font-size: 1.875rem;
  line-height: 1.46;
  font-weight: 500;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
@media screen and (max-width: 1200px) {
  .hero-module .text-box .subtitle {
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 768px) {
  .hero-module .text-box .subtitle {
    font-size: 1.25rem;
  }
}
.hero-module .text-box .title {
  margin-bottom: 4.125rem;
  font-size: 4.375rem;
  line-height: 1.44;
  font-weight: 500;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
@media screen and (max-width: 1200px) {
  .hero-module .text-box .title {
    margin-bottom: 3.125rem;
    font-size: 3.375rem;
  }
}
@media screen and (max-width: 768px) {
  .hero-module .text-box .title {
    margin-bottom: 2.125rem;
    font-size: 2.375rem;
  }
}

/* Component: components/common/Layout.astro */
.layout-box {
  padding-top: 5.875rem;
  padding-bottom: 9.625rem;
  background: #e7f4ff var(--pageBg) repeat top center / 100% auto;
}
.layout-box .layout-body {
  display: flex;
  align-items: flex-start;
  gap: 3.75rem;
}
@media screen and (max-width: 1400px) {
  .layout-box .layout-body {
    gap: 2.5rem;
  }
}
.layout-box .layout-body .layout-left {
  min-width: 270px;
  max-width: 300px;
}
@media screen and (max-width: 1200px) {
  .layout-box .layout-body .layout-left {
    position: fixed;
    left: 0;
    bottom: 15vh;
    z-index: 999;
    border-radius: 30px;
    background-color: #f5f5f5;
    max-height: 60vh;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
  }
  .layout-box .layout-body .layout-left.open {
    transform: translateX(0);
  }
}
.layout-box .layout-body .layout-left .list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  flex-shrink: 0;
}
@media screen and (max-width: 1200px) {
  .layout-box .layout-body .layout-left .list {
    padding: 2rem;
    height: 100%;
    overflow-y: auto;
    max-height: 60vh;
  }
}
.layout-box .layout-body .layout-left .list .white-box {
  border-radius: 30px;
  padding: 1rem 2rem;
  background-color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}
.layout-box .layout-body .layout-left .list .white-box:hover {
  background-color: #00267e;
}
.layout-box .layout-body .layout-left .list .white-box:hover .nav-tit {
  color: #ffffff;
}
.layout-box .layout-body .layout-left .list .white-box:hover .nav-tit .bi-plus-lg,
.layout-box .layout-body .layout-left .list .white-box:hover .nav-tit .bi-dash-lg {
  color: #ffffff;
}
.layout-box .layout-body .layout-left .list .white-box:hover .nav-list ul li::before {
  background-color: #ffffff;
}
.layout-box .layout-body .layout-left .list .white-box:hover .nav-list ul li a {
  color: #ffffff;
}
.layout-box .layout-body .layout-left .list .white-box:hover .nav-list ul li a:hover {
  color: #ffc400;
}
.layout-box .layout-body .layout-left .list .white-box .nav-tit {
  color: #333333;
  font-size: 1.125rem;
  line-height: 1.44;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.3s ease-in-out;
}
.layout-box .layout-body .layout-left .list .white-box .nav-tit .bi-plus-lg {
  display: block;
  color: #00267e;
  transition: color 0.3s ease-in-out;
}
.layout-box .layout-body .layout-left .list .white-box .nav-tit .bi-dash-lg {
  display: none;
  transition: color 0.3s ease-in-out;
}
.layout-box .layout-body .layout-left .list .white-box .nav-list {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease-in-out;
}
.layout-box .layout-body .layout-left .list .white-box .nav-list ul {
  padding: 1rem 0 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.layout-box .layout-body .layout-left .list .white-box .nav-list ul li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.layout-box .layout-body .layout-left .list .white-box .nav-list ul li::before {
  content: '';
  border-radius: 50%;
  width: 0.375rem;
  height: 0.375rem;
  background-color: #00267e;
  transition: background-color 0.3s ease-in-out;
  flex-shrink: 0;
}
.layout-box .layout-body .layout-left .list .white-box .nav-list ul li a {
  color: #333333;
  display: block;
  font-size: 1rem;
  line-height: 1.5;
  transition: color 0.3s ease-in-out;
}
.layout-box .layout-body .layout-left .list .white-box.active {
  background-color: #00267e;
}
.layout-box .layout-body .layout-left .list .white-box.active .nav-tit {
  color: #ffffff;
}
.layout-box .layout-body .layout-left .list .white-box.active .nav-tit .bi-plus-lg {
  display: none;
}
.layout-box .layout-body .layout-left .list .white-box.active .nav-tit .bi-dash-lg {
  display: block;
  color: #fff;
}
.layout-box .layout-body .layout-left .list .white-box.active .nav-list ul li::before {
  background-color: #ffffff;
}
.layout-box .layout-body .layout-left .list .white-box.active .nav-list ul li a {
  color: #ffffff;
  transition: color 0.3s ease-in-out;
}
.layout-box .layout-body .layout-left .list .white-box.active .nav-list ul li a:hover {
  color: #ffc400;
}
.layout-box .layout-body .layout-left .list .white-box.active .nav-list ul li.active::before {
  background-color: #ffc400;
}
.layout-box .layout-body .layout-left .list .white-box.active .nav-list ul li.active a {
  color: #ffc400;
}
.layout-box .layout-body .layout-left .close-btn {
  position: absolute;
  bottom: 30px;
  left: 100%;
  box-shadow: 0 0 10px 0 rgba(255, 255, 255, 0.2);
  border-radius: 0 10px 10px 0;
  width: 50px;
  height: 50px;
  background-color: #00267e;
  color: #ffffff;
  font-size: 1.25rem;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
  display: none;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 1200px) {
  .layout-box .layout-body .layout-left .close-btn {
    display: flex;
  }
}
.layout-box .layout-body .layout-left .close-btn::before {
  transform: rotate(0);
}
.layout-box .layout-body .layout-left .close-btn.active::before {
  transform: rotate(180deg);
}
.layout-box .layout-body .layout-right {
  margin: 0 -1.25rem -1.25rem -1.25rem;
  padding: 0 1.25rem 1.25rem 1.25rem;
  flex-grow: 1;
  overflow: hidden;
}
.layout-box .layout-body .layout-right h2 {
  padding-bottom: 1.875rem;
  color: #333333;
  position: relative;
  font-size: 2.25rem;
}
.layout-box .layout-body .layout-right h2::after {
  content: '';
  height: 6px;
  width: 160px;
  background-color: #ffc400;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
}
.layout-box .layout-body .layout-right h2::before {
  content: '';
  height: 1px;
  width: 100%;
  display: block;
  background-color: #ffffff;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}
.layout-box .layout-body .layout-right .right-body {
  padding-top: 3.75rem;
}
.layout-box .layout-body .layout-right .right-body .white-box {
  border-radius: 10px;
  padding: 1.375rem 2.5rem;
  background-color: #ffffff;
}

/* Component: components/sections/ProductDetail.astro */
.product-detail-card {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  border-radius: 10px;
  padding: 2rem;
  background-color: #fff;
}
@media screen and (max-width: 992px) {
  .product-detail-card {
    flex-direction: column;
    align-items: center;
  }
}
.product-detail-card .product-gallery {
  flex-shrink: 0;
  width: 280px;
}
@media screen and (max-width: 992px) {
  .product-detail-card .product-gallery {
    width: 100%;
    max-width: 280px;
  }
}
.product-detail-card .product-gallery .product-image {
  border-radius: 10px;
  overflow: hidden;
}
.product-detail-card .product-gallery .product-image::after {
  padding-top: 135.6%;
}
.product-detail-card .product-main {
  flex-grow: 1;
}
.product-detail-card .product-main .product-title {
  margin-bottom: 5px;
  font-size: 1.875rem;
  color: #333333;
  line-height: 1.63;
}
.product-detail-card .product-main .product-info {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
  color: #333333;
}
.product-detail-card .product-main .product-info .product-label {
  color: #333333;
  font-size: 1rem;
  line-height: 1.625;
  flex-shrink: 0;
}
.product-detail-card .product-main .product-info .info-box {
  color: #333333;
  font-size: 1rem;
  line-height: 1.625;
}
.product-detail-card .product-main .product-info .info-box .info-label {
  font-size: 0.875rem;
  color: #666666;
}
.product-detail-card .product-main .product-info .info-box .price-value {
  color: #DC0000;
  font-size: 1.5rem;
  line-height: 1.45;
  font-weight: 600;
}
.product-detail-card .product-main .product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.product-detail-card .product-main .product-actions .btn {
  border: none;
  padding: 0.75rem 0;
  border-radius: 25px;
  font-size: 1.125rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  width: 230px;
}
@media screen and (max-width: 600px) {
  .product-detail-card .product-main .product-actions .btn {
    width: calc(50% - 0.5rem);
  }
}
.product-detail-card .product-main .product-actions .btn.btn-buy {
  background-color: #ffc400;
  color: #ffffff;
}
.product-detail-card .product-main .product-actions .btn.btn-buy:hover {
  background-color: #d6a500;
  color: #ffffff;
}
.product-detail-card .product-main .product-actions .btn.btn-back {
  background-color: #00267e;
  color: #ffffff;
}
.product-detail-card .product-main .product-actions .btn.btn-back .bi-arrow-left {
  font-size: 1rem;
}
.product-detail-card .product-main .product-actions .btn.btn-back:hover {
  background-color: #0032a7;
  color: #ffffff;
}

/* Page: news-detail */
.news-detail .news-detail-inner {
  max-width: 100%;
}
.news-detail .news-detail-image {
  margin-bottom: 1.5rem;
  border-radius: 10px;
  overflow: hidden;
}
.news-detail .news-detail-image .pic::after {
  padding-top: 66.81514%;
}
.news-detail .news-detail-title {
  font-size: 1.75rem;
  color: #333333;
  line-height: 1.44;
  margin-bottom: 1rem;
  font-weight: bold;
}
.news-detail .news-detail-meta {
  margin-bottom: 1.5rem;
}
.news-detail .news-detail-meta .news-detail-date {
  font-size: 1rem;
  color: #666666;
}
.news-detail .news-detail-content {
  font-size: 1.125rem;
  color: #333333;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.news-detail .news-detail-content p {
  margin: 0 0 1rem 0;
}
.news-detail .news-detail-content p:last-child {
  margin-bottom: 0;
}
.news-detail .news-detail-actions .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #00267e;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}
.news-detail .news-detail-actions .back-link .bi-arrow-left {
  font-size: 1rem;
}
.news-detail .news-detail-actions .back-link:hover {
  color: #3c9ae2;
  text-decoration: underline;
}