.max_box {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: clip;
}

.swiper_wrap {
    width: 100%;
}

.swiper-row .swiper {
    width: 100%;
    height: 100%;
}

.swiper-row .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-row .swiper-button-next:after,
.swiper-row .swiper-button-prev:after {
    font-size: 16px;
    color: #3b82f6;
    font-weight: 700;
}

.swiper-row .swiper-button-next,
.swiper-row .swiper-button-prev {
    width: 40px;
    height: 40px;
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.18);
}

.swiper-row .swiper-button-next {
    right: 14px;
}

.swiper-row .swiper-button-prev {
    left: 14px;
}

.swiper-row .swiper-pagination {
    bottom: 14px;
}

.swiper-row .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #bfdbfe;
    opacity: 1;
}

.swiper-row .swiper-pagination-bullet-active {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2563eb;
}

.swiper-row {
    width: 100%;
    margin: 0;
}

.box_contents {
    margin-top: var(--site-nav-height, 114px);
}

.home-body {
    width: 100%;
    max-width: calc(var(--home-cat-width, 228px) + var(--home-body-gap, 12px) + var(--home-content-width, 1200px) + 40px);
    margin: 14px auto 40px;
    padding: 0 20px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: var(--home-cat-width, 228px) minmax(0, var(--home-content-width, 1200px));
    gap: var(--home-body-gap, 12px);
    align-items: start;
    justify-content: center;
}

.home-content {
    min-width: 0;
    width: 100%;
    max-width: var(--home-content-width, 1200px);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.home-main {
    flex: 0 1 auto;
    width: 100%;
    min-width: 0;
    max-width: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.home-main .swiper_wrap,
.home-main .swiper,
.home-main .banner-product-slide {
    height: 340px;
}

.banner-slide-link {
    display: block;
    width: 100%;
}

.banner-slide-media {
    width: 100%;
    height: auto;
    display: block;
}

.banner-product-slide {
    position: relative;
    height: 340px;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.12);
    background-color: #d7ebf9;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(147, 197, 253, 0.45) 1px, transparent 0),
        radial-gradient(ellipse 70% 55% at 18% 78%, rgba(255, 255, 255, 0.65), transparent 60%),
        radial-gradient(ellipse 55% 45% at 88% 22%, rgba(255, 255, 255, 0.45), transparent 58%),
        linear-gradient(125deg, #b9daf3 0%, #d8edfa 48%, #eef7fd 100%);
    background-size: 16px 16px, auto, auto, auto;
    background-position: 8% 42%, center, center, center;
    background-repeat: repeat, no-repeat, no-repeat, no-repeat;
    text-decoration: none;
    color: inherit;
}

.banner-product-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 24% 70%, rgba(147, 197, 253, 0.35) 0%, transparent 38%),
        radial-gradient(circle at 76% 28%, rgba(191, 219, 254, 0.4) 0%, transparent 36%);
    pointer-events: none;
}

.banner-product-slide::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    right: -80px;
    bottom: -160px;
    border-radius: 50%;
    border: 28px solid rgba(255, 255, 255, 0.28);
    pointer-events: none;
}

.banner-product-new-badge {
    position: absolute;
    top: 18px;
    left: 80px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    pointer-events: none;
    transform: rotate(15deg);
    transform-origin: top left;
}

.banner-new-badge-core {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 32px;
    padding: 0 12px;
    border-radius: 8px 0 0 8px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    color: #fff;
}

.banner-new-badge-star {
    width: 14px;
    height: 14px;
    fill: #fde68a;
    flex-shrink: 0;
}

.banner-new-badge-label {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.8px;
    line-height: 1;
}

.banner-new-badge-tag {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 22px 0 16px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
    color: #2563eb;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.5px;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
}

.banner-product-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 28px 64px 36px 48px;
    box-sizing: border-box;
    gap: 40px;
}

.banner-product-media {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.banner-product-stage {
    position: relative;
    width: 300px;
    height: 280px;
    max-width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.banner-product-stage::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(ellipse 100% 100% at 50% 50%, rgba(147, 197, 253, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.banner-product-stage::after {
    content: '';
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(147, 197, 253, 0.45);
    box-shadow:
        0 0 0 12px rgba(147, 197, 253, 0.18),
        0 0 0 28px rgba(147, 197, 253, 0.1),
        0 0 0 48px rgba(147, 197, 253, 0.05);
    pointer-events: none;
}

.banner-product-frame {
    position: relative;
    z-index: 1;
    width: 280px;
    height: 260px;
    max-width: 100%;
    border-radius: 2px;
    background: transparent;
    box-shadow: none;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
    padding: 0;
    box-sizing: border-box;
}

.banner-product-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    background: transparent;
    box-shadow: none;
    filter: drop-shadow(0 8px 16px rgba(37, 99, 235, 0.15));
}

.banner-product-info {
    flex: 1;
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-right: 12px;
}

.banner-product-name {
    margin: 0;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
    color: #1e293b;
    word-break: break-word;
}

.banner-product-attrs {
    margin: 22px 0 22px 0;
    padding: 0;
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 28px;
}

.banner-product-attrs-col {
    margin: 0;
    padding: 0;
    list-style: none;
    flex: 0 1 auto;
    min-width: 0;
}

.banner-product-attrs.is-two-col .banner-product-attrs-col {
    flex: 1 1 0;
}

.banner-product-attrs-col li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.4;
    color: #334155;
}

.banner-product-attrs-col li:last-child {
    margin-bottom: 0;
}

.banner-attr-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    color: #3b82f6;
    display: inline-flex;
}

.banner-attr-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.banner-attr-text {
    min-width: 0;
}

.banner-attr-name {
    color: #64748b;
    margin-right: 4px;
}

.banner-attr-value {
    color: #1e293b;
    font-weight: 500;
}

.banner-product-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1.5px solid #93c5fd;
    background: rgba(255, 255, 255, 0.85);
    color: #2563eb;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.banner-product-slide:hover .banner-product-cta {
    background: #fff;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.banner-product-cta-arrow {
    font-size: 16px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.banner-product-slide:hover .banner-product-cta-arrow {
    transform: translateX(3px);
}

.home-load-more {
    height: 1px;
    width: 100%;
    pointer-events: none;
}

.home-state {
    text-align: center;
    padding: 32px 16px;
    color: #64748b;
    font-size: 14px;
}

.home-state.home-error {
    color: #b45309;
}

.home-retry-btn {
    margin-top: 12px;
    padding: 8px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    color: #334155;
    cursor: pointer;
}

.home-retry-btn:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}


@media (max-width: 768px) {
    .banner-product-slide {
        height: auto;
        min-height: 0;
        border-radius: 16px;
    }

    .banner-product-slide::after {
        width: 240px;
        height: 240px;
        right: -60px;
        bottom: -100px;
        border-width: 18px;
    }

    .banner-product-inner {
        flex-direction: column;
        align-items: stretch;
        padding: 52px 16px 28px;
        gap: 16px;
    }

    .banner-product-new-badge {
        top: 12px;
        left: 12px;
        transform: rotate(30deg) scale(0.88);
        transform-origin: top left;
    }

    .banner-product-media {
        flex: none;
        height: auto;
    }

    .banner-product-stage {
        width: 100%;
        height: 200px;
    }

    .banner-product-stage::after {
        width: 140px;
        bottom: 12px;
        box-shadow:
            0 0 0 8px rgba(147, 197, 253, 0.18),
            0 0 0 18px rgba(147, 197, 253, 0.1);
    }

    .banner-product-frame {
        width: 100%;
        height: 180px;
        border-radius: 2px;
        background: transparent;
        padding: 0;
    }

    .banner-product-img {
        max-height: 176px;
    }

    .banner-product-info {
        padding-right: 0;
    }

    .banner-product-name {
        font-size: 22px;
    }

    .banner-product-attrs {
        margin-bottom: 16px;
        gap: 16px;
    }

    .banner-product-attrs.is-two-col {
        flex-direction: column;
        gap: 8px;
    }

    .banner-product-attrs-col li {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .swiper-row .swiper-button-next,
    .swiper-row .swiper-button-prev {
        width: 32px;
        height: 32px;
    }

    .swiper-row .swiper-button-next {
        right: 8px;
    }

    .swiper-row .swiper-button-prev {
        left: 8px;
    }

    .box_contents {
        width: 100%;
        padding: 0 5px;
        margin-top: var(--site-nav-height, 108px);
        box-sizing: border-box;
    }

    .box_contents > * {
        max-width: 100%;
    }

    .home-body {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 12px 0 20px;
        padding: 0 10px 0 6px;
    }

    .home-main {
        flex: 1 1 auto;
        max-width: 100%;
        gap: 16px;
    }

    .home-main .swiper_wrap,
    .home-main .swiper,
    .home-main .banner-product-slide {
        height: auto;
    }

}
