/**
 * Sail theme — Private Label & Packaging（对齐 jingsourcing.com/private-label-packaging-service/，结构与 pricing.html 相近）
 */

.sail-plp-page {
    background: #ffffff;
    color: #333333;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin-top: 0;
}

/*
 * 页面用 Elementor「文本编辑器」嵌 HTML 时：外包 .elementor → .e-con → .e-con-inner → .elementor-widget-container，
 * Elementor 4 会为容器保留默认纵向 padding / 变量链，易出现约 20～30px 白条，Hero 视觉上未贴顶栏。
 * 仅作用于已加载本样式表的 sail-plp 页（body.sail-plp-page）。
 */
body.sail-plp-page.elementor-page .site-main > .elementor {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.sail-plp-page.elementor-page .site-main .e-con,
body.sail-plp-page.elementor-page .site-main .e-con > .e-con-inner {
    --container-default-padding-top: 0 !important;
    --padding-top: 0 !important;
    --padding-block-start: 0 !important;
    padding-top: 0 !important;
    padding-block-start: 0 !important;
    margin-top: 0 !important;
}

body.sail-plp-page.elementor-page .site-main .elementor-widget-text-editor .elementor-widget-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

@media (max-width: 768px) {
    .sail-plp {
        padding: 32px 0 60px;
    }
}

/* ---- Heading strip（与 sail-pricing-heading 一致） ---- */

.sail-plp-heading .container {
    max-width: 1120px;
}

.sail-plp-heading__container {
    text-align: -webkit-center;
}

.sail-plp-heading__title {
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 30px;
    padding: 10px 56px;
    font-size: 27px;
    line-height: 1.6;
    font-weight: 500;
    color: #333333;
}

@media (max-width: 768px) {
    .sail-plp-heading__title {
        padding: 8px 24px;
        font-size: 19px;
    }
}

/* ---- Hero：全宽背景 + 双栏（与首版一致：底图 + 整层 opacity；参考站 jingsourcing 该 Section 无额外压暗遮罩） ---- */

.sail-plp-hero {
    position: relative;
    padding: 50px 0 70px;
    overflow: hidden;
}

.sail-plp-hero__bg {
    position: absolute;
    inset: 0;
    background-color: #1a1a1a;
    background-image: url("https://www.sailspan.com/wp-content/uploads/2026/04/image-scaled.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.92;
}

.sail-plp-hero__container {
    position: relative;
    z-index: 1;
    max-width: 1140px;
    padding-left: 24px;
    padding-right: 24px;
}

.sail-plp-hero__row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

@media (min-width: 768px) {
    .sail-plp-page .sail-plp-hero__row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }
}

.sail-plp-hero__col--copy {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
}

.sail-plp-hero__col--media {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sail-plp-hero__title {
    margin: 0 0 20px;
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
    color: #0881F5;
}

.sail-plp-hero__col--copy .sail-plp-hero__title {
    color: #0881F5;
}

.sail-plp-page .sail-plp-hero .sail-plp-hero__title {
    color: #0881F5;
}

/* 与 pricing 首屏副文案一致；参考站 Hero 未单独设字色，按正文深色可读处理（避免白字被 Elementor 叠在浅色底上） */
.sail-plp-hero__body {
    margin: 0;
    font-size: 18px;
    line-height: 1.89;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.83);
}

.sail-plp-hero__body p {
    margin: 0 0 20px;
    color: inherit;
}

.sail-plp-hero__body p:last-child {
    margin-bottom: 0;
}

.sail-plp-hero__body strong {
    font-weight: 600;
}

/* Elementor 常见 `p { color: #fff }` 等与主题横幅不一致时，以定价页同级对比度为准 */
.sail-plp-page .sail-plp-hero .sail-plp-hero__body,
.sail-plp-page .sail-plp-hero .sail-plp-hero__body p {
    color: rgba(0, 0, 0, 0.83);
}

.sail-plp-hero__actions {
    margin: 20px 0 0;
    text-align: center;
}

.sail-plp-hero__figure {
    margin: 0;
    padding: 20px;
    max-width: 100%;
}

.sail-plp-hero__figure img {
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
}

.sail-plp-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 28px;
    border-radius: 100px;
    background-color: #0881F5;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sail-plp-hero__btn:hover {
    background-color: #0568c8;
    color: #ffffff;
}

@media (max-width: 767px) {
    .sail-plp-hero {
        padding: 40px 0 56px;
    }

    .sail-plp-hero__row {
        flex-direction: column;
        align-items: stretch;
    }

    .sail-plp-hero__col--media {
        order: 2;
    }

    .sail-plp-hero__col--copy {
        order: 1;
    }

    .sail-plp-hero__figure {
        padding: 12px 0 8px;
    }

    .sail-plp-hero__body {
        font-size: 16px;
        line-height: 1.75;
    }

    .sail-plp-hero__actions {
        margin-top: 8px;
    }
}

/* ---- Section titles ---- */

.sail-plp-section__header {
    margin-bottom: 32px;
}

.sail-plp-section__header--center {
    text-align: center;
}

.sail-plp-section__title {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.35;
    color: #111827;
}

.sail-plp-section__lead {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.72);
}

@media (max-width: 768px) {
    .sail-plp-section__title {
        font-size: 22px;
    }

    .sail-plp-section__lead {
        font-size: 16px;
    }
}

/* ---- Put your logo ---- */

.sail-plp-logo {
    padding: 56px 0 64px;
    background: #ffffff;
}

.sail-plp-logo .container {
    max-width: 1140px;
    padding-left: 24px;
    padding-right: 24px;
}

.sail-plp-logo__row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 48px;
}

.sail-plp-logo__media {
    flex: 0 1 48%;
    min-width: 0;
}

.sail-plp-logo__copy {
    flex: 1 1 0;
    min-width: 0;
}

.sail-plp-logo__figure {
    margin: 0;
}

.sail-plp-logo__figure img {
    display: block;
    width: 100%;
    max-width: 590px;
    height: auto;
    border-radius: 10px;
}

.sail-plp-logo__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sail-plp-logo__list li {
    position: relative;
    margin: 0 0 24px;
    padding-left: 28px;
    font-size: 16px;
    line-height: 1.75;
    color: rgba(0, 0, 0, 0.82);
}

.sail-plp-logo__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0881F5;
}

.sail-plp-logo__list li:last-child {
    margin-bottom: 0;
}

.sail-plp-logo__list strong {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #111827;
}

.sail-plp-logo__list span {
    display: block;
}

@media (max-width: 900px) {
    .sail-plp-logo__row {
        flex-direction: column;
        gap: 32px;
    }

    .sail-plp-logo__media {
        flex: none;
        width: 100%;
    }

    .sail-plp-logo__figure img {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ---- Packaging cards ---- */

.sail-plp-packaging {
    padding: 56px 0 72px;
    background-color: #f8fafc;
    background-image: linear-gradient(180deg, #ffffff 0%, #f0f4ff 38%, #bdd7ff00 100%);
}


.sail-plp-packaging .container {
    max-width: 1140px;
    padding-left: 24px;
    padding-right: 24px;
}

.sail-plp-packaging__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.sail-plp-pack-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sail-plp-pack-card__figure {
    margin: 0;
    background: #f1f5f9;
}

.sail-plp-pack-card__figure img {
    display: block;
    width: 100%;
    height: auto;
}

.sail-plp-pack-card__title {
    margin: 18px 20px 10px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: #0f172a;
}

.sail-plp-pack-card__text {
    margin: 0 20px 22px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.75);
    flex: 1 1 auto;
}

@media (max-width: 992px) {
    .sail-plp-packaging__grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ---- Why choose us ---- */

.sail-plp-why {
    padding: 56px 0 72px;
    background: #ffffff;
}

.sail-plp-why .container {
    max-width: 1140px;
    padding-left: 24px;
    padding-right: 24px;
}

.sail-plp-why__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
}

.sail-plp-why__item {
    padding: 22px 24px;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

.sail-plp-why__heading {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 600;
    color: #0881F5;
}

.sail-plp-why__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.72;
    color: rgba(0, 0, 0, 0.78);
}

@media (max-width: 768px) {
    .sail-plp-why__grid {
        grid-template-columns: 1fr;
    }
}

/* ---- CTA ---- */

.sail-plp-cta {
    padding: 48px 0 64px;
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
}

.sail-plp-cta__container {
    max-width: 1140px;
    text-align: center;
}

.sail-plp-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 36px;
    border-radius: 100px;
    background-color: #0881F5;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.sail-plp-cta__btn:hover {
    background-color: #0568c8;
    color: #ffffff;
}
