﻿:root {
    --commerce-blue: #2563eb;
    --commerce-indigo: #4338ca;
    --commerce-cyan: #06b6d4;
    --commerce-navy: #0f172a;
    --commerce-slate: #475569;
    --commerce-border: rgba(148, 163, 184, .28);
    --commerce-shadow: 0 24px 70px rgba(15, 23, 42, .12);
}

.towa-commerce-page {
    background: #fff;
    color: var(--commerce-navy);
    overflow: hidden;
}

.commerce-hero {
    background: radial-gradient(circle at 18% 18%, rgba(99, 102, 241, .12), transparent 38%), radial-gradient(circle at 86% 22%, rgba(14, 165, 233, .10), transparent 36%), linear-gradient(180deg, #f5f7ff 0%, #f8fbff 54%, #ffffff 100%);
}

.commerce-soft-section {
    background: radial-gradient(circle at 16% 24%, rgba(99, 102, 241, .08), transparent 34%), radial-gradient(circle at 84% 18%, rgba(14, 165, 233, .07), transparent 36%), linear-gradient(180deg, #f5f7ff 0%, #f8fbff 100%);
}

.commerce-bg-orb {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(90px);
    opacity: .72;
}

.commerce-bg-orb-one {
    width: 440px;
    height: 440px;
    right: -130px;
    top: 80px;
    background: rgba(99, 102, 241, .20);
}

.commerce-bg-orb-two {
    width: 360px;
    height: 360px;
    left: -120px;
    bottom: 40px;
    background: rgba(14, 165, 233, .16);
}

.commerce-soft-card {
    background: rgba(255, 255, 255, .74) !important;
    border-color: var(--commerce-border) !important;
}

.commerce-hero-card {
    border: 1px solid var(--commerce-border) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .84)), radial-gradient(circle at top right, rgba(37, 99, 235, .16), transparent 38%) !important;
    box-shadow: var(--commerce-shadow) !important;
    backdrop-filter: blur(18px);
}

.commerce-gradient-panel {
    color: #fff;
    background: linear-gradient(135deg, #1e3a8a, #2563eb 58%, #06b6d4) !important;
}

.commerce-carousel-card {
    border: 1px solid var(--commerce-border) !important;
    background: rgba(255, 255, 255, .82) !important;
    box-shadow: var(--commerce-shadow) !important;
    backdrop-filter: blur(18px);
}

.commerce-carousel-img {
    height: min(70vh, 680px);
    min-height: 420px;
    object-fit: cover;
}

.commerce-carousel-caption {
    left: 7%;
    right: auto;
    bottom: 42px;
    width: min(520px, 86%);
    padding: 22px 24px;
    border-radius: 28px;
    text-align: left;
    background: rgba(15, 23, 42, .50);
    backdrop-filter: blur(18px);
}

.commerce-final-cta {
    color: var(--commerce-navy) !important;
    background: radial-gradient(circle at 12% 18%, rgba(99, 102, 241, .10), transparent 34%), radial-gradient(circle at 82% 22%, rgba(14, 165, 233, .08), transparent 34%), linear-gradient(135deg, #f5f7ff 0%, #f8fbff 56%, #ffffff 100%) !important;
    border: 1px solid var(--commerce-border);
}

    .commerce-final-cta h2,
    .commerce-final-cta p,
    .commerce-final-cta .small {
        color: inherit !important;
    }

    .commerce-final-cta p,
    .commerce-final-cta .small {
        opacity: .76 !important;
    }

.commerce-cta-orb {
    position: absolute;
    width: 360px;
    height: 360px;
    right: -120px;
    top: -150px;
    border-radius: 999px;
    background: rgba(14, 165, 233, .18);
    filter: blur(76px);
    opacity: .78;
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .commerce-hero {
        padding-top: 64px !important;
        padding-bottom: 58px !important;
    }

        .commerce-hero .display-4 {
            font-size: clamp(2.35rem, 8vw, 3.5rem);
            line-height: 1.12;
            letter-spacing: -.04em;
        }

        .commerce-hero .lead {
            font-size: 1.02rem;
            line-height: 1.9;
        }

    .commerce-hero-card {
        margin-top: 10px;
        border-radius: 28px !important;
    }

    .commerce-carousel-img {
        height: 520px;
        min-height: 520px;
    }

    .commerce-carousel-caption {
        bottom: 28px;
        width: min(500px, 88%);
    }
}

@media (max-width: 767.98px) {
    .towa-commerce-page .container {
        width: min(100% - 24px, 540px);
    }

    .commerce-hero {
        padding-top: 46px !important;
        padding-bottom: 46px !important;
        background: radial-gradient(circle at 18% 12%, rgba(99, 102, 241, .14), transparent 46%), radial-gradient(circle at 92% 28%, rgba(14, 165, 233, .12), transparent 42%), linear-gradient(180deg, #f5f7ff 0%, #f8fbff 62%, #ffffff 100%);
    }

        .commerce-hero .display-4 {
            font-size: clamp(2.05rem, 12vw, 2.85rem);
            line-height: 1.12;
            letter-spacing: -.045em;
            word-break: keep-all;
        }

        .commerce-hero .lead,
        .towa-commerce-page .text-secondary {
            line-height: 1.85;
        }

        .commerce-hero .badge {
            padding: .72rem .9rem !important;
            font-size: .82rem;
        }

        .commerce-hero .btn,
        .commerce-final-cta .btn {
            width: 100%;
            justify-content: center;
        }

    .commerce-hero-card {
        border-radius: 24px !important;
    }

        .commerce-hero-card .card-header {
            padding: 14px 18px !important;
        }

        .commerce-hero-card .card-body {
            padding: 22px !important;
        }

        .commerce-hero-card .h4 {
            font-size: 1.15rem;
        }

    .commerce-soft-section,
    .towa-commerce-page section.py-5 {
        padding-top: 54px !important;
        padding-bottom: 54px !important;
    }

    .commerce-carousel-card {
        border-radius: 24px !important;
    }

    .commerce-carousel-img {
        height: 390px;
        min-height: 390px;
    }

    .commerce-carousel-caption {
        display: block !important;
        left: 16px;
        right: 16px;
        bottom: 18px;
        width: auto;
        padding: 16px 18px;
        border-radius: 20px;
        background: rgba(15, 23, 42, .58);
    }

        .commerce-carousel-caption h2 {
            font-size: 1.25rem;
            margin-bottom: 6px !important;
        }

        .commerce-carousel-caption p {
            font-size: .88rem;
            line-height: 1.65;
        }

    .carousel-indicators {
        margin-bottom: .45rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 12%;
    }

    .towa-commerce-page h2.fw-bold {
        font-size: clamp(1.65rem, 7vw, 2.15rem);
        line-height: 1.25;
        letter-spacing: -.03em;
    }

    .towa-commerce-page .card-body {
        padding: 22px !important;
    }

    .towa-commerce-page .rounded-5 {
        border-radius: 26px !important;
    }

    .towa-commerce-page .rounded-4 {
        border-radius: 20px !important;
    }

    .commerce-final-cta {
        padding: 28px 22px !important;
        text-align: left;
    }

        .commerce-final-cta h2 {
            font-size: clamp(1.65rem, 7vw, 2.15rem);
            line-height: 1.28;
        }

    .commerce-cta-orb {
        display: block !important;
        width: 240px;
        height: 240px;
        right: -110px;
        top: -95px;
        filter: blur(62px);
        opacity: .64;
    }
}

@media (max-width: 575.98px) {
    .commerce-hero .display-4 {
        font-size: clamp(1.9rem, 11vw, 2.45rem);
    }

    .commerce-hero .d-inline-flex.rounded-pill {
        max-width: 100%;
        white-space: normal;
        line-height: 1.5;
    }

    .commerce-hero .d-flex.flex-wrap.gap-2 {
        gap: 8px !important;
    }

    .commerce-hero .badge {
        flex: 1 1 calc(50% - 8px);
        text-align: center;
        justify-content: center;
    }

    .commerce-carousel-img {
        height: 330px;
        min-height: 330px;
    }

    .commerce-carousel-caption {
        padding: 14px 15px;
    }

        .commerce-carousel-caption .badge {
            font-size: .72rem;
            padding: .45rem .7rem !important;
        }

        .commerce-carousel-caption h2 {
            font-size: 1.12rem;
        }

        .commerce-carousel-caption p {
            font-size: .8rem;
            line-height: 1.55;
        }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 1.45rem;
        height: 1.45rem;
    }

    .towa-commerce-page .row.g-4 {
        --bs-gutter-y: 1rem;
    }
}
.towa-commerce-page .rs-hero-title {
    font-size: clamp(2.8rem, 5.6vw, 5.1rem);
    line-height: 1.12;
    letter-spacing: -0.045em;
    font-weight: 900;
    color: #111827;
    margin-bottom: 1.5rem;
}

@media (max-width: 991.98px) {
    .towa-commerce-page .rs-hero-title {
        font-size: clamp(2.4rem, 8vw, 4rem);
        line-height: 1.14;
    }
}

@media (max-width: 575.98px) {
    .towa-commerce-page .rs-hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
        line-height: 1.16;
        letter-spacing: -0.035em;
    }
}