
/* ===================== 基础规范 ===================== */
*, *::before, *::after {
  box-sizing: border-box;
}

/* ===================== 外层容器 ===================== */
.custom-ready-to-ship-banner {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  overflow-x: hidden;
  background-color: #f5f5f5;
}

/* ===================== 主结构（PC） ===================== */
.banner-inner {
  display: flex;
  width: 100%;
  aspect-ratio: 1920 / 700;
  min-height: 520px;
}

/* ===================== 图片 ===================== */
.banner-image {
  flex: 1 1 50%;
}

.banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===================== 文本区域 ===================== */
.banner-content {
  flex: 1 1 50%;
  background-color: #e9e8eb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

/* ⭐ PC端副标题显示宽度由 480 → 540 */
.content-wrapper {
  width: 100%;
  max-width: 540px;
  text-align: center;
}

/* ===================== 大标题 ===================== */
.main-title {
  font-size: clamp(34px, 3vw, 45px);
  font-weight: 540;
  margin: 0 0 20px;
  line-height: 1.2;
  color: #000;
}

/* ===================== 副标题 ===================== */
.sub-title {
  font-size: 21px;
  line-height: 1.45;
  margin: 0 0 35px;
  color: #333;
}

/* ===================== 按钮（PC默认） ===================== */
.shop-now-btn {
  display: inline-block;
  height: 50px;
  line-height: 50px;
  font-size: 21px;
  font-weight: bold;
  color: #fff;
  background-color: #000;
  border: 2px solid #000;
  text-decoration: none;
  width: 250px; /* ⭐ PC端按钮宽度 */
  transition: all 0.3s ease;
}

.shop-now-btn:hover,
.shop-now-btn:focus,
.shop-now-btn:active {
  background-color: #fff;
  color: #000;
  text-decoration: none;
}

/* ===================== 移动端 ===================== */
@media (max-width: 768px) {

  /* 关闭 aspect-ratio，避免溢出 */
  .banner-inner {
    flex-direction: column;
    aspect-ratio: unset;
    width: 100%;
  }

  .banner-image {
    height: 380px;
  }

  .banner-content {
    padding: 50px 20px;
    background-color: #dedde2;
  }

  /* 副标题 */
  .sub-title {
    font-size: 18px;
  }

  /* ⭐ 移动端按钮文字高度 18px */
  .shop-now-btn {
    font-size: 18px;
    height: 48px;
    line-height: 48px;
    width: 87.5%;
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .banner-image {
    height: 320px;
  }
}
