/* Homepage autoplay poster carousel. */
.wx-hero-carousel {
    isolation: isolate;
}

.wx-hero-track,
.wx-hero-slide {
    position: absolute;
    inset: 0;
}

.wx-hero-track {
    z-index: 3;
}

.wx-hero-slide {
    visibility: hidden;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .7s ease, visibility .7s ease;
}

.wx-hero-slide.is-active {
    z-index: 2;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.wx-hero-slide--operations {
    background: radial-gradient(circle at 73% 24%, rgba(123, 187, 255, .42), transparent 28%);
}

.wx-hero-slide--procurement {
    background:
        radial-gradient(circle at 77% 28%, rgba(109, 222, 255, .35), transparent 27%),
        linear-gradient(128deg, #1e68ea 0%, #267df6 52%, #3597f7 100%);
}

.wx-hero-slide--warehouse {
    background:
        radial-gradient(circle at 75% 25%, rgba(116, 157, 255, .46), transparent 30%),
        linear-gradient(128deg, #185fdc 0%, #316fe7 48%, #477ef3 100%);
}

.wx-hero-slide .wx-hero-copy,
.wx-hero-slide .wx-trial-card,
.wx-hero-slide .wx-poster-visual {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .65s ease .12s, transform .65s ease .12s;
}

.wx-hero-slide.is-active .wx-hero-copy,
.wx-hero-slide.is-active .wx-trial-card,
.wx-hero-slide.is-active .wx-poster-visual {
    opacity: 1;
    transform: translateY(0);
}

.wx-hero-carousel .wx-hero-wave {
    z-index: 5;
}

.wx-hero-arrow {
    position: absolute;
    z-index: 7;
    top: 47%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 58px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 8px;
    background: rgba(8, 60, 164, .18);
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 34px;
    line-height: 1;
    opacity: .35;
    cursor: pointer;
    transform: translateY(-50%);
    transition: opacity .2s ease, background .2s ease;
}

.wx-hero-carousel:hover .wx-hero-arrow,
.wx-hero-arrow:focus-visible {
    opacity: .88;
}

.wx-hero-arrow:hover {
    background: rgba(8, 60, 164, .38);
}

.wx-hero-arrow--prev { left: 20px; }
.wx-hero-arrow--next { right: 20px; }

.wx-hero-dots {
    position: absolute;
    z-index: 7;
    bottom: 82px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 9px;
    transform: translateX(-50%);
}

.wx-hero-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .46);
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
}

.wx-hero-dots button.is-active {
    width: 28px;
    background: #fff;
}

.wx-poster-visual {
    position: relative;
    width: 420px;
    min-height: 382px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 18px;
    background: rgba(19, 78, 190, .58);
    color: #fff;
    box-shadow: 0 25px 65px rgba(9, 49, 145, .34);
    backdrop-filter: blur(12px);
}

.wx-poster-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.wx-poster-head small {
    color: rgba(255, 255, 255, .6);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.wx-poster-head h2 {
    margin-top: 4px;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

.wx-live-pill {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    margin-top: 4px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .8);
    font-size: 11px;
}

.wx-live-pill i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #55e1ad;
    box-shadow: 0 0 0 4px rgba(85, 225, 173, .14);
}

.wx-procurement-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
    margin-top: 24px;
}

.wx-procurement-metrics > div {
    min-width: 0;
    padding: 14px 10px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 10px;
    background: rgba(255, 255, 255, .09);
}

.wx-procurement-metrics span,
.wx-procurement-metrics strong,
.wx-procurement-metrics em {
    display: block;
    font-style: normal;
}

.wx-procurement-metrics span {
    color: rgba(255, 255, 255, .65);
    font-size: 11px;
}

.wx-procurement-metrics strong {
    margin-top: 4px;
    overflow: hidden;
    font-size: 21px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wx-procurement-metrics em {
    margin-top: 2px;
    color: rgba(255, 255, 255, .52);
    font-size: 10px;
}

.wx-procurement-list {
    margin-top: 14px;
    overflow: hidden;
    border-radius: 11px;
    background: #fff;
    color: #24324a;
}

.wx-procurement-list > div {
    display: grid;
    grid-template-columns: 1.3fr .8fr .8fr .72fr;
    align-items: center;
    min-height: 43px;
    padding: 0 13px;
    border-bottom: 1px solid #eef2f8;
    font-size: 11px;
}

.wx-procurement-list > div:last-child { border-bottom: 0; }

.wx-procurement-list .head {
    min-height: 36px;
    background: #f4f8ff;
    color: #8792a5;
}

.wx-procurement-list b { font-weight: 600; }

.wx-procurement-list i {
    justify-self: start;
    padding: 3px 7px;
    border-radius: 999px;
    background: #e8f7f1;
    color: #20a776;
    font-style: normal;
    font-size: 10px;
}

.wx-poster-float {
    position: absolute;
    display: flex;
    flex-direction: column;
    min-width: 126px;
    padding: 11px 15px;
    border-radius: 10px;
    background: #fff;
    color: #182033;
    box-shadow: 0 16px 35px rgba(8, 48, 130, .22);
}

.wx-poster-float b {
    color: #2878f5;
    font-size: 17px;
}

.wx-poster-float span {
    margin-top: 2px;
    color: #8792a8;
    font-size: 11px;
}

.wx-poster-float--top {
    top: 88px;
    right: -60px;
}

.wx-poster-float--bottom {
    right: -48px;
    bottom: 72px;
}

.wx-warehouse-stage {
    position: relative;
    height: 196px;
    margin-top: 22px;
    overflow: hidden;
    border-radius: 12px;
    background:
        linear-gradient(rgba(42, 113, 230, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(42, 113, 230, .08) 1px, transparent 1px),
        #f8fbff;
    background-size: 22px 22px;
}

.wx-conveyor {
    position: absolute;
    right: 22px;
    bottom: 34px;
    left: 22px;
    display: flex;
    justify-content: space-around;
    height: 24px;
    border: 5px solid #8bb9ff;
    border-radius: 8px;
    background: #dceaff;
}

.wx-conveyor i {
    width: 10px;
    height: 10px;
    margin-top: 2px;
    border-radius: 50%;
    background: #4e8ff5;
}

.wx-bin {
    position: absolute;
    bottom: 53px;
    display: flex;
    width: 92px;
    height: 94px;
    padding: 13px 11px;
    flex-direction: column;
    border: 2px solid #91bcff;
    border-radius: 10px 10px 5px 5px;
    background: linear-gradient(155deg, #fff 0%, #dceaff 100%);
    color: #1b4384;
    box-shadow: 0 10px 20px rgba(45, 105, 195, .14);
}

.wx-bin::after {
    content: "";
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    height: 5px;
    border-radius: 4px;
    background: #b9d3fb;
}

.wx-bin b { font-size: 18px; }
.wx-bin span { margin-top: 3px; color: #6c83a8; font-size: 11px; }
.wx-bin em { margin-top: 6px; color: #2878f5; font-style: normal; font-size: 12px; }
.wx-bin--one { left: 34px; }
.wx-bin--two { left: 139px; }
.wx-bin--three { right: 34px; }

.wx-warehouse-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
    margin-top: 13px;
}

.wx-warehouse-footer > div {
    padding: 11px 9px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 9px;
    background: rgba(255, 255, 255, .08);
}

.wx-warehouse-footer span,
.wx-warehouse-footer strong { display: block; }
.wx-warehouse-footer span { color: rgba(255, 255, 255, .62); font-size: 10px; }
.wx-warehouse-footer strong { margin-top: 4px; font-size: 17px; }
.wx-warehouse-footer small { color: rgba(255, 255, 255, .58); font-size: 9px; font-weight: 400; }

@media (max-width: 1280px) {
    .wx-hero-arrow { display: none; }
}

@media (max-width: 980px) {
    .wx-poster-visual {
        width: min(430px, 100%);
        margin-top: 48px;
    }

    .wx-hero-dots { bottom: 82px; }
}

@media (max-width: 640px) {
    .wx-poster-visual {
        min-height: 350px;
        padding: 19px;
    }

    .wx-poster-head h2 { font-size: 17px; }
    .wx-live-pill { padding: 5px 8px; }
    .wx-procurement-metrics { margin-top: 16px; }
    .wx-procurement-metrics > div { padding: 10px 7px; }
    .wx-procurement-metrics strong { font-size: 17px; }
    .wx-procurement-list > div { padding: 0 8px; font-size: 10px; }
    .wx-poster-float { display: none; }
    .wx-warehouse-stage { height: 174px; }
    .wx-bin { width: 78px; }
    .wx-bin--one { left: 18px; }
    .wx-bin--two { left: calc(50% - 39px); }
    .wx-bin--three { right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .wx-hero-slide,
    .wx-hero-slide .wx-hero-copy,
    .wx-hero-slide .wx-trial-card,
    .wx-hero-slide .wx-poster-visual {
        transition: none;
    }
}
