.solution-page {
    padding-top: 60px;
    background: #ffffff;
    color: #2c2c2c;
    font-family: var(--theme-font-family);
}

.solution-section {
    padding: 50px 0;
    background-color: #F9F7F2;
}

.container-box {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 150px;
}

@media (max-width: 1199px) {
    .container-box {
        padding: 0 80px;
    }
}

@media (max-width: 992px) {
    .container-box {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .container-box {
        padding: 0 20px;
    }
}


/* Hero Section */

.solution-hero {
    position: relative;
    /* min-height: 500px; */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    /* padding: 120px 0 90px; */
    overflow: hidden;
    width: 100%;
    height: 41.7vw;
    min-height: 300px;
}

.solution-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.3);
}

.solution-hero .hero-content {
    position: relative;
    z-index: 2;
    color: #2c2c2c;
    max-width: 900px;
    padding-left: 50px;
    width: 100%;
}

.solution-hero .hero-title {
    font-size: 52px;
    font-weight: 800;
    margin: 0 0 25px 0;
    letter-spacing: 0.5px;
    line-height: 1.3;
    color: #2c2c2c;
}

.solution-hero .hero-subtitle {
    font-size: 18px;
    margin: 0;
    line-height: 1.7;
    color: #4a4a4a;
    font-weight: 400;
}


/* Section Title */

.section-title {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #333;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
}


/* Core Services Section */

.core-services {
    background: #ffffff;
}

.services-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.service-item {
    display: flex;
    align-items: center;
    /* gap: 60px; */
}

.service-item.oem-service {
    flex-direction: row;
    border-bottom: 1px solid #DEDEDE;
    padding-bottom: 50px;
}

.service-item.odm-service {
    flex-direction: row;
    /* 通过 order 属性调整顺序，实现左文字右图 */
}

.service-item.odm-service .service-content {
    order: -1;
}

.service-image {
    flex: 1;
    max-width: 50%;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.service-content {
    flex: 1;
    max-width: 50%;
    padding: 0 43px;
}

.service-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
}

.service-description {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}


/* Key Markets Section */

.key-markets {}

.section-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* gap: 30px; */
    margin-bottom: 50px;
    text-align: center;
}

.section-icon {
    flex-shrink: 0;
}

.section-icon img {
    width: 41px;
    height: 64px;
    object-fit: contain;
}

.section-text {
    flex: 1;
}

.section-subtitle {
    font-size: 17px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.section-description {
    font-size: 14px;
    color: #333;
    line-height: 1.7;
    margin: 0;
    margin-top: 20px;
    padding: 0 100px;
}

@media (max-width: 992px) {
    .section-description {
        padding: 0 40px;
    }
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.solution-card {
    background: #ffffff;
    border-radius: 9px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.solution-card-full-width {
    grid-column: 1 / -1;
}

.solution-image {
    width: 155px;
    height: 100%;
    overflow: hidden;
    padding: 10px;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.solution-content {
    padding: 25px;
    flex: 1;
}

.solution-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.solution-title {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin: 0;
    flex: 1;
}

.solution-description {
    font-size: 12px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.learn-more {
    color: #FFBB11;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
    margin-left: 15px;
    cursor: pointer;
}

.learn-more:hover {
    color: #e0a000;
    text-decoration: none;
}


/* Roll Film Section */

.roll-film {
    /* background: #ffffff; */
    padding-top: 0px;
}

.roll-film .section-header-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.roll-film .section-icon {
    /* margin-bottom: 20px; */
}

.roll-film .section-description {
    /* max-width: 900px; */
    padding: 0 150px;
}

@media (max-width: 992px) {
    .roll-film .section-description {
        padding: 0 40px;
    }
}

.roll-film .section-subtitle {
    font-weight: bold;
    font-size: 17px;
    color: #333333;
    margin-top: 14px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    background-color: #fff;
    padding: 25px;
    padding-top: 0;
}
.feature-img{
    width: 100%;
}
.feature-title {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin: 0;
    margin-bottom: 10px;
}

.feature-description {
    font-size: 12px;
    color: #333;
    line-height: 1.7;
    margin: 0;
}


/* Technology Support Section */

.technology-support {
    background: white;
}

.technology-support .section-title {
    margin-bottom: 60px;
    margin-top: 20px;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    /* margin-top: 40px; */
}

.support-card {
    background: #ffffff;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0px 0px 17px 0px rgba(178, 173, 160, 0.3);
    border-radius: 9px;
}

.support-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.support-image {
    width: 100%;
    /* height: 172px; */
    /* margin-bottom: 20px; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-image img {
    width: 100%;
    /* height: 100%; */
    object-fit: contain;
}

.support-title {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    padding: 0 20px;
    /* padding-top: 10px; */
    text-align: left;
    margin: 16px 0;
}

.support-description {
    font-size: 12px;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0 20px;
    padding-bottom: 16px;
    text-align: justify;
    text-justify: inter-word;
    text-align: left;
}


/* Partnership Process Section */

.partnership-process {
    background: #ffffff;
    padding-top: 30px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.process-step {
    box-shadow: 0px 0px 17px 0px rgba(178, 173, 160, 0.3);
    padding: 0 25px;
    padding-top: 28px;
    padding-bottom: 28px;
}

.step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* padding: 0 20px; */
    padding-bottom: 30px;
}

.step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step-number {
    width: 23px;
    height: 23px;
    background: #333333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    margin: 0 auto;
}

.step-title {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    text-align: center;
    line-height: 1.5;
    margin-top: 10px;
}

.step-description {
    font-size: 12px;
    color: #333;
    line-height: 1.6;
    margin: 0;
}


/* Contact Form Section */

.contact-form-section {
    background: #F9F7F2;
    padding: 80px 0;
}

.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.contact-intro p {
    font-size: 16px;
    color: #4a4a4a;
    line-height: 1.7;
    margin: 0;
}

.solution-contact-form {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
}

.solution-contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.solution-contact-form input,
.solution-contact-form select,
.solution-contact-form textarea {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 12px;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
    font-family: inherit;
}

.solution-contact-form input:focus,
.solution-contact-form select:focus,
.solution-contact-form textarea:focus {
    outline: none;
    border-color: #FFBB11;
    box-shadow: 0 0 0 3px rgba(255, 187, 17, 0.15);
}

.solution-contact-form .row {
    margin-bottom: 18px;
}

.solution-contact-form .form-actions {
    text-align: center;
    margin-top: 30px;
}

.btn-submit {
    border: none;
    background: #FFBB11;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    padding: 16px 40px;
    border-radius: 9px;
    width: 100%;
    max-width: 500px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(255, 187, 17, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}


/* Responsive Design */

@media (max-width: 1199px) {
    .solution-hero {
        min-height: 450px;
        padding: 100px 0 70px;
    }
    .solution-hero .hero-title {
        font-size: 40px;
    }
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .solution-section {
        padding: 60px 0;
    }
    .solution-hero .hero-title {
        font-size: 34px;
    }
    .service-item {
        flex-direction: column !important;
        gap: 30px;
    }
    .service-item.odm-service .service-content {
        order: 0;
        /* 在小屏幕上重置 order，保持上图下文字的布局 */
    }
    .service-image,
    .service-content {
        max-width: 100%;
    }
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .solution-page {
        padding-top: 50px;
    }
    .solution-section {
        padding: 40px 0;
    }
    .solution-hero {
        height: 60vw;
        min-height: 280px;
        max-height: 350px;
    }
    .solution-hero .hero-content {
        padding-left: 20px;
        padding-right: 20px;
    }
    .solution-hero .hero-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    .solution-hero .hero-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }
    .section-title {
        font-size: 20px;
        margin-bottom: 25px;
        letter-spacing: 0.5px;
    }
    .service-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    .service-content {
        padding: 0 15px;
    }
    .service-description {
        font-size: 13px;
    }
    .section-header-content {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px;
    }
    .section-icon img {
        width: 45px;
        height: 64px;
    }
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .section-description {
        font-size: 13px;
        padding: 0 20px;
        margin-top: 15px;
    }
    .roll-film .section-description {
        padding: 0 20px;
    }
    .solution-card {
        flex-direction: column;
    }
    .solution-image {
        width: 100%;
        height: 180px;
    }
    .solution-content {
        padding: 20px;
    }
    .solution-title {
        font-size: 14px;
    }
    .solution-description {
        font-size: 12px;
    }
    .learn-more {
        font-size: 13px;
        margin-left: 10px;
    }
    .features-grid {
        gap: 20px;
        margin-top: 30px;
    }
    .feature-item {
        padding: 20px;
    }
    .feature-title {
        font-size: 14px;
    }
    .feature-description {
        font-size: 12px;
    }
    .support-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .support-image {
        height: 150px;
    }
    .support-title {
        font-size: 14px;
        padding: 0 15px;
    }
    .support-description {
        font-size: 12px;
        padding: 0 15px;
        padding-bottom: 20px;
    }
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 30px;
    }
    .process-step {
        padding: 20px;
    }
    .step-icon {
        width: 80px;
        height: 80px;
        padding-bottom: 20px;
    }
    .step-title {
        font-size: 14px;
        margin-bottom: 10px;
    }
    .step-description {
        font-size: 12px;
    }
    .solution-contact-form {
        padding: 25px 15px;
    }
    .contact-form-section {
        padding: 50px 0;
    }
    .contact-intro p {
        font-size: 14px;
    }
    .btn-submit {
        font-size: 15px;
        padding: 14px 30px;
    }
}


/*
 * Haiye Packaging - Solution Page Hero Replacement (V7 Clean)
 * Scope: ONLY the hero section using .haiye-solution-hero-v7
 * Brand color: Haiye yellow #F8B808. No red text is used.
 */

.solution-hero.haiye-solution-hero-v7 {
  position: relative;
  height: 35vw;
  min-height: 260px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #243044;
  background:
    radial-gradient(circle at 18% 18%, rgba(248, 184, 8, .20), transparent 30%),
    radial-gradient(circle at 82% 20%, rgba(248, 184, 8, .16), transparent 34%),
    linear-gradient(135deg, #fff9ec 0%, #f8f2e7 42%, #edf5fb 100%);
  font-family: var(--theme-font-family, Inter, Arial, sans-serif);
}

.haiye-solution-hero-v7,
.haiye-solution-hero-v7 *,
.haiye-solution-hero-v7 *::before,
.haiye-solution-hero-v7 *::after {
  box-sizing: border-box;
}

.haiye-solution-hero-v7::before {
  content: "";
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(248, 184, 8, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 184, 8, .045) 1px, transparent 1px);
  background-size: 88px 88px;
  transform: rotate(-6deg);
  opacity: .7;
  pointer-events: none;
}

.haiye-solution-hero-v7::after {
  content: "";
  position: absolute;
  right: -10vw;
  top: 8%;
  width: 52vw;
  height: 52vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .68), rgba(255, 255, 255, 0) 62%);
  pointer-events: none;
}

.haiye-solution-hero-v7__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  padding: clamp(54px, 4.6vw, 88px) 150px clamp(52px, 4.4vw, 84px);
}

/* If the current theme already defines .container-box, this scoped rule keeps the hero spacing stable. */
.haiye-solution-hero-v7 .container-box {
  margin-left: auto;
  margin-right: auto;
}

.haiye-solution-hero-v7__headline {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .62fr);
  gap: clamp(20px, 2.8vw, 44px);
  align-items: end;
  margin-bottom: clamp(20px, 2.5vw, 34px);
}

.haiye-solution-hero-v7 h1 {
  margin: 0;
  max-width: 1120px;
  color: #1f2b3a;
  font-size: clamp(34px, 4.6vw, 72px);
  line-height: 1;
  letter-spacing: -.07em;
  /* font-weight: 920; */
  text-wrap: balance;
}

.haiye-solution-hero-v7__accent {
  color: #F8B808;
}

.haiye-solution-hero-v7__summary {
  margin: 0;
  color: #536070;
  font-size: clamp(14px, .92vw, 16px);
  line-height: 1.56;
  max-width: 470px;
}

.haiye-solution-hero-v7__system {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.08fr 1fr;
  gap: clamp(14px, 1.5vw, 22px);
  align-items: stretch;
}

.haiye-solution-hero-v7__system::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 50%;
  height: 3px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(248, 184, 8, .08), rgba(248, 184, 8, .44), rgba(248, 184, 8, .52), rgba(248, 184, 8, .18));
  z-index: 0;
}

.haiye-solution-hero-v7__node {
  position: relative;
  z-index: 1;
  min-height: 150px;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(255, 255, 255, .88);
  box-shadow: 0 24px 70px rgba(43, 58, 78, .10);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .25s ease, box-shadow .25s ease;
  text-align: left;
}

.haiye-solution-hero-v7__node:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 84px rgba(43, 58, 78, .14);
}

.haiye-solution-hero-v7__node--center {
  min-height: 184px;
  margin-top: -10px;
  margin-bottom: -10px;
  background: rgba(255, 255, 255, .86);
  color: #2c2c2c;
  border: 1px solid rgba(248, 184, 8, .42);
  box-shadow: 0 30px 84px rgba(80, 58, 34, .13), inset 0 0 0 1px rgba(255, 255, 255, .75);
}

.haiye-solution-hero-v7__node h2 {
  margin: 10px 0 6px;
  color: inherit;
  font-size: clamp(17px, 1.15vw, 21px);
  line-height: 1.1;
  letter-spacing: -.035em;
  font-weight: 900;
}

.haiye-solution-hero-v7__node--center h2 {
  color: #D49500;
}

.haiye-solution-hero-v7__node p {
  margin: 0;
  color: #657183;
  font-size: 12px;
  line-height: 1.4;
}

.haiye-solution-hero-v7__node--center p {
  color: #665b4c;
}

.haiye-solution-hero-v7__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(18px, 2vw, 28px);
}

.haiye-solution-hero-v7__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  background: #F8B808;
  color: #33260b;
  font-weight: 900;
  font-size: 14px;
  box-shadow: 0 16px 36px rgba(248, 184, 8, .24);
  transition: transform .2s ease, box-shadow .2s ease;
}

.haiye-solution-hero-v7__btn:hover,
.haiye-solution-hero-v7__btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(248, 184, 8, .30);
}

@media (max-width: 1199px) {
  .haiye-solution-hero-v7__inner {
    padding-left: 80px;
    padding-right: 80px;
    padding-top: 52px;
    padding-bottom: 56px;
  }

  .haiye-solution-hero-v7__headline {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .haiye-solution-hero-v7__summary {
    max-width: 760px;
  }

  .haiye-solution-hero-v7__system {
    grid-template-columns: 1fr;
  }

  .haiye-solution-hero-v7__system::before {
    left: 46px;
    right: auto;
    top: 8%;
    bottom: 8%;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, rgba(248, 184, 8, .18), rgba(248, 184, 8, .48), rgba(248, 184, 8, .18));
    transform: none;
  }

  .haiye-solution-hero-v7__node,
  .haiye-solution-hero-v7__node--center {
    min-height: auto;
    margin-top: 0;
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .solution-hero.haiye-solution-hero-v7 {
    height: auto;
    min-height: 0;
  }

  .haiye-solution-hero-v7__inner {
    padding: 40px 20px 42px;
  }

  .haiye-solution-hero-v7 h1 {
    font-size: clamp(28px, 8.6vw, 38px);
    letter-spacing: -.055em;
  }

  .haiye-solution-hero-v7__summary {
    font-size: 12px;
  }

  .haiye-solution-hero-v7__node {
    border-radius: 20px;
    padding: 16px;
  }

  .haiye-solution-hero-v7__btn {
    width: 100%;
    min-height: 44px;
  }
}
