.spw-about-page {
    position: relative;
}

.spw-about-page::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: calc(100% + 360px);
    margin-left: -180px;
    margin-right: -180px;
    background-color: #ffffff;
    z-index: -1;
}

.spw-about-banner {
    position: relative;
    width: calc(100% + 360px);
    margin-left: -180px;
    margin-right: -180px;
    margin-top: -80px;
    margin-bottom: 40px;
    overflow: hidden;
    aspect-ratio: 1920 / 860;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.spw-about-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    z-index: 0;
    opacity: 0.75;
}

.spw-about-banner-desc {
    position: relative;
    z-index: 1;
    margin: calc(160px + 8vw) auto 0 auto;
    max-width: 1100px;
    padding: 0 24px;
    text-align: center;
    font-size: 22px;
    line-height: 1.8;
    color: #1e2a3d;
    font-weight: 600;
}

.spw-about-banner-desc .spw-nowrap {
    white-space: nowrap;
}

@media screen and (max-width: 776px) {
    .spw-about-banner {
        width: calc(100% + 58px);
        margin-left: -24px;
        margin-right: -34px;
        margin-top: -100px;
        margin-bottom: 12px;
        overflow: visible;
        aspect-ratio: 3 / 2;
        display: block;
        position: relative;
    }
    .spw-about-page::before {
        width: calc(100% + 58px);
        margin-left: -24px;
        margin-right: -34px;
    }
    .spw-about-banner img {
        position: relative;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        opacity: 1;
    }
    .spw-about-banner-desc {
        display: block;
        position: absolute;
        left: 6%;
        right: 6%;
        bottom: 34%;
        margin: 0;
        padding: 0;
        max-width: none;
        font-size: clamp(10px, 3vw, 13px);
        line-height: 1.45;
        text-wrap: balance;
    }
}

.spw-about-intro {
    width: calc(100% + 180px);
    margin-left: -90px;
    margin-right: -90px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    margin-top: -16px;
    margin-bottom: 24px;
}

@media screen and (max-width: 776px) {
    .spw-about-intro {
        width: calc(100% + 24px);
        margin-left: -12px;
        margin-right: -12px;
    }
}

.spw-about-intro-title {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
    color: #324363;
}

.spw-about-intro-title i {
    margin-right: 8px;
}

.spw-about-intro p {
    margin: 0;
    font-size: 18px;
    line-height: 1.8;
    color: #3d4a5c;
}

.spw-best-seller-block {
    width: calc(100% + 180px);
    margin-top: 0;
    margin-left: -90px;
    margin-right: -90px;
    margin-bottom: 24px;
}

@media screen and (max-width: 776px) {
    .spw-best-seller-block {
        width: calc(100% + 24px);
        margin-top: -45px;
        margin-left: -12px;
        margin-right: -12px;
    }
}

.spw-best-seller-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.spw-best-seller-header h3 {
    font-size: 20px;
    font-weight: bold;
    color: #324363;
    margin: 0;
}

.spw-best-seller-header a {
    font-size: 14px;
}

.spw-best-seller-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.spw-best-product {
    flex: 1 1 calc(16.666% - 14px);
    min-width: 130px;
    border: 1px solid #e4eaec;
    border-radius: 12px;
    background: white;
    overflow: hidden;
}

.spw-best-product .spw-best-img {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
    border-bottom: 1px solid #e4eaec;
}

.spw-best-product .spw-best-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.spw-best-product .spw-best-detail {
    padding: 8px;
}

.spw-best-product h4 {
    font-size: 12px;
    font-weight: bold;
    color: black;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spw-best-product .spw-best-sub {
    font-size: 11px;
    color: #888;
    margin-bottom: 4px;
}

.spw-best-product .spw-best-sold {
    font-size: 11px;
    color: #888;
    margin-bottom: 4px;
}
.spw-best-product .spw-best-price {
    font-size: 13px;
    font-weight: bold;
    color: #324363;
    margin-bottom: 8px;
}

.spw-best-product .btn {
    width: 100%;
    font-size: 12px;
    padding: 4px 8px;
}

@media screen and (max-width: 776px) {
    .spw-best-product {
        flex: 1 1 calc(50% - 8px);
    }
    .spw-best-product h4 {
        font-size: 11px;
    }
    .spw-best-product .spw-best-sub,
    .spw-best-product .spw-best-sold {
        font-size: 10px;
    }
    .spw-best-product .spw-best-price {
        font-size: 11px;
    }
    .spw-best-product .btn {
        font-size: 11px !important;
        padding: 3px 6px;
        line-height: 1.3;
        min-height: 0;
    }
    .spw-best-product .btn i {
        font-size: 10px !important;
        margin-right: 4px;
    }
}

.spw-about-features {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 70px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 16px;
}

.spw-about-features-alt {
    display: none;
}

.spw-about-feature-card {
    flex: 0 1 240px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e6e6e6;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.spw-about-feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    background-color: #E0E7F1;
    color: #324363;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.spw-about-feature-card h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #324363;
}

.spw-about-feature-card p {
    margin: 0;
    font-size: 13px;
    color: #3d4a5c;
    line-height: 1.5;
}

.spw-about-cta {
    width: calc(100% + 180px);
    margin-left: -90px;
    margin-right: -90px;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}

@media screen and (max-width: 776px) {
    .spw-about-cta {
        width: calc(100% + 24px);
        margin-left: -12px;
        margin-right: -12px;
    }
}

.spw-about-cta h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #324363;
}

.spw-about-cta p {
    margin: 0 0 16px 0;
    color: #3d4a5c;
}

.spw-about-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media screen and (max-width: 776px) {
    .spw-about-intro {
        padding: 16px;
        margin-top: 8px;
    }
    .spw-about-intro-title {
        font-size: 16px;
    }
    .spw-about-intro p {
        font-size: 14px;
        line-height: 1.6;
    }
    .spw-best-seller-header {
        margin-top: 18px;
    }
    .spw-best-seller-header h3 {
        font-size: 16px;
    }
    .spw-about-cta {
        padding: 20px 16px;
    }
    .spw-about-cta h4 {
        font-size: 16px;
    }
    .spw-about-cta p {
        font-size: 14px;
    }
}

@media screen and (max-width: 776px) {
    .spw-about-banner > .spw-about-features {
        display: none;
    }
    .spw-about-features-alt {
        display: flex;
        position: relative;
        z-index: 2;
        margin-top: 10px;
        margin-bottom: 4px;
    }
    .spw-about-features {
        gap: 6px;
        padding: 0 8px;
    }
    .spw-about-feature-card {
        flex: 0 1 calc(33.333% - 6px);
        padding: 6px 4px;
        border-radius: 8px;
    }
    .spw-about-feature-icon {
        width: 24px;
        height: 24px;
        margin: 0 auto 4px auto;
        font-size: 11px;
    }
    .spw-about-feature-card h4 {
        font-size: 10px;
    }
    .spw-about-feature-card p {
        display: none;
    }
}

/* prevent horizontal scroll caused by full-bleed banner */
html:has(.spw-about-page),
html:has(.spw-about-page) body {
    overflow-x: hidden;
    max-width: 100%;
}
