/* 仅在购物车产品选择页加载，彻底禁用WHMCS旧顶部导航。 */
html,
body {
    overflow-x: hidden !important;
}

body {
    background: #f5f9ff !important;
}

body > #header,
body > section#header,
body > header#header,
body > #nav,
body > nav#nav,
body > .top-toolbar,
body > .navbar-main,
body > nav.navbar-main,
body > .navbar.navbar-default,
body > header:not(.fy6-header),
body > nav:not(.fy6-menu),
#header,
#nav,
.top-toolbar,
.navbar.navbar-default.navbar-main,
.navbar-main {
    display: none !important;
}

#main-body {
    padding: 0 !important;
    margin: 0 !important;
}

#main-body > .container,
#main-body .container {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#fy6-cart-page,
#fy6-cart-page *,
#fy6-cart-page *:before,
#fy6-cart-page *:after {
    box-sizing: border-box;
}

#fy6-cart-page {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    color: #fff;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "PingFang SC",
        "Microsoft YaHei",
        Arial,
        "Apple Color Emoji",
        "Segoe UI Emoji",
        "Noto Color Emoji",
        sans-serif;
}

.fy6-header {
    display: block !important;
    width: 100%;
    margin: 0;
    padding: 0;
    background:
        radial-gradient(
            circle at 89% 8%,
            rgba(66, 208, 255, .78),
            rgba(66, 208, 255, 0) 31%
        ),
        linear-gradient(112deg, #083774 0%, #0865b9 54%, #19a9ed 100%);
    border: 0;
}

.fy6-header-inner {
    width: min(1480px, calc(100% - 48px));
    min-height: 104px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
}

.fy6-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff !important;
    text-decoration: none !important;
}

.fy6-brand-icon {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(255, 255, 255, .11);
    border: 1px solid rgba(255, 255, 255, .28);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .11),
        0 14px 35px rgba(0, 38, 104, .16);
}

.fy6-fish {
    width: 37px;
    height: 31px;
    display: block;
    position: relative;
    background: #fff;
    clip-path: polygon(
        0 48%,
        23% 28%,
        68% 13%,
        57% 36%,
        100% 45%,
        61% 56%,
        76% 87%,
        27% 69%
    );
}

.fy6-fish:after {
    content: "";
    width: 5px;
    height: 5px;
    position: absolute;
    top: 10px;
    right: 9px;
    border-radius: 50%;
    background: #0a65b7;
}

.fy6-brand-copy strong {
    display: block;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 2px;
}

.fy6-brand-copy small {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 4px;
}

.fy6-menu {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: clamp(22px, 3vw, 48px);
}

.fy6-menu a {
    color: #fff !important;
    font-size: 17px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none !important;
    white-space: nowrap;
    text-shadow: 0 2px 8px rgba(0, 45, 108, .2);
}

.fy6-menu a:hover {
    color: #c8f7ff !important;
}

.fy6-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.fy6-contact,
.fy6-login,
.fy6-register {
    min-height: 54px;
    padding: 0 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 17px;
    line-height: 1;
    font-weight: 900;
    text-decoration: none !important;
    white-space: nowrap;
}

.fy6-contact {
    color: #fff !important;
    background: #64df00;
    border: 1px solid #64df00;
    box-shadow: 0 14px 28px rgba(74, 217, 0, .24);
}

.fy6-login {
    color: #fff !important;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .44);
}

.fy6-register {
    color: #0870c8 !important;
    background: #fff;
    border: 1px solid #fff;
    box-shadow: 0 14px 28px rgba(0, 65, 145, .15);
}

.fy6-main {
    width: min(1580px, calc(100vw - 40px));
    margin: 0 auto;
    padding: 58px 0 70px;
    color: #163c6c;
}

.fy6-heading {
    margin: 0 0 36px;
    text-align: center;
}

.fy6-heading > span {
    min-height: 42px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1779dd;
    background: #e8f4ff;
    border: 1px solid #d2eaff;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 3px;
}

.fy6-heading h1 {
    margin: 20px 0 12px;
    color: #133e71;
    font-size: clamp(38px, 4.3vw, 60px);
    line-height: 1.15;
    font-weight: 900;
}

.fy6-heading p {
    margin: 0;
    color: #7488a8;
    font-size: 18px;
    line-height: 1.8;
}

.fy6-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.fy6-card {
    grid-column: span 2;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e0eaf5;
    border-radius: 25px;
    box-shadow: 0 16px 42px rgba(26, 61, 119, .085);
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.fy6-grid > .fy6-card:last-child:nth-child(4n + 1) {
    grid-column: 4 / span 2;
}

.fy6-card:hover {
    transform: translateY(-5px);
    border-color: #cfe3f7;
    box-shadow: 0 24px 52px rgba(26, 61, 119, .13);
}

.fy6-card.is-featured {
    border-color: #8bc6ff;
    box-shadow: 0 19px 48px rgba(18, 121, 228, .17);
}

.fy6-card-head {
    min-height: 212px;
    padding: 31px 30px 27px;
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(255, 255, 255, .92),
            rgba(255, 255, 255, 0) 48%
        ),
        linear-gradient(135deg, #eff8ff 0%, #e7f4ff 100%);
}

.fy6-card-head h2 {
    min-height: 68px;
    margin: 0 0 27px;
    color: #123f72;
    font-size: 27px;
    line-height: 1.3;
    font-weight: 900;
    word-break: break-word;
}

.fy6-price {
    color: #1784ee;
    line-height: 1.05;
}

.fy6-price em {
    display: block;
    margin-bottom: 8px;
    color: #6d86a7;
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

.fy6-price strong {
    color: #1784ee;
    font-size: clamp(42px, 3.5vw, 55px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -1px;
    overflow-wrap: anywhere;
}

.fy6-price small {
    display: block;
    margin-top: 9px;
    color: #1784ee;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 900;
}

.fy6-card-body {
    padding: 29px 28px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.fy6-description {
    margin: 0 0 28px;
    color: #627d9c;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 700;
    overflow-wrap: anywhere;
    word-break: normal;
}

.fy6-description > *:first-child {
    margin-top: 0 !important;
}

.fy6-description > *:last-child {
    margin-bottom: 0 !important;
}

.fy6-description ul,
.fy6-description ol {
    margin: 0 !important;
    padding: 0 !important;
    display: grid;
    gap: 16px;
    list-style: none !important;
}

.fy6-description li {
    margin: 0 !important;
    padding: 0 !important;
    color: #627d9c !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
    font-weight: 700 !important;
}

.fy6-description p,
.fy6-description div {
    margin: 0 0 14px;
}

.fy6-description img {
    max-width: 100%;
    height: auto;
}

.fy6-order,
.fy6-soldout {
    min-height: 58px;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    font-size: 18px;
    line-height: 1;
    font-weight: 900;
    text-decoration: none !important;
}

.fy6-order {
    color: #0875e8 !important;
    background: #fff;
    border: 1px solid #e9eff6;
    box-shadow: 0 11px 27px rgba(24, 57, 110, .075);
}

.fy6-order:hover,
.fy6-order:focus {
    color: #fff !important;
    background: #0c75eb;
    border-color: #0c75eb;
}

.fy6-soldout {
    color: #985959;
    background: #fff3f3;
    border: 1px solid #ffdcdc;
}

.fy6-empty {
    padding: 60px 24px;
    color: #7085a4;
    background: #fff;
    border: 1px solid #e2ebf5;
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(27, 59, 115, .06);
    text-align: center;
    font-size: 18px;
    font-weight: 800;
}

@media (max-width: 1260px) {
    .fy6-header-inner {
        grid-template-columns: auto 1fr;
        gap: 24px;
        padding: 18px 0;
    }

    .fy6-menu {
        order: 3;
        grid-column: 1 / -1;
        justify-content: flex-start;
        padding-top: 4px;
    }

    .fy6-actions {
        justify-self: end;
    }

    .fy6-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fy6-card {
        grid-column: auto;
    }

    .fy6-grid > .fy6-card:last-child:nth-child(4n + 1),
    .fy6-grid > .fy6-card:last-child:nth-child(2n + 1) {
        grid-column: 1 / -1;
        width: calc(50% - 12px);
        justify-self: center;
    }
}

@media (max-width: 760px) {
    .fy6-header-inner {
        width: calc(100% - 24px);
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .fy6-brand {
        justify-content: center;
    }

    .fy6-menu {
        grid-column: auto;
        justify-content: center;
        gap: 13px 18px;
    }

    .fy6-menu a {
        font-size: 14px;
    }

    .fy6-actions {
        width: 100%;
        justify-self: stretch;
        justify-content: center;
        gap: 9px;
    }

    .fy6-contact,
    .fy6-login,
    .fy6-register {
        min-height: 46px;
        padding: 0 17px;
        font-size: 14px;
        border-radius: 13px;
    }

    .fy6-main {
        width: calc(100vw - 18px);
        padding-top: 38px;
    }

    .fy6-heading h1 {
        font-size: 35px;
    }

    .fy6-heading p {
        font-size: 15px;
    }

    .fy6-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .fy6-grid > .fy6-card:last-child:nth-child(4n + 1),
    .fy6-grid > .fy6-card:last-child:nth-child(2n + 1) {
        grid-column: auto;
        width: 100%;
    }

    .fy6-card-head,
    .fy6-card-body {
        padding-left: 23px;
        padding-right: 23px;
    }

    .fy6-card-head {
        min-height: 190px;
    }

    .fy6-card-head h2 {
        min-height: auto;
        font-size: 25px;
    }

    .fy6-price strong {
        font-size: 48px;
    }
}

/* FEIYU_PRODUCT_GROUP_SELECTOR_V6R1_BEGIN */
.fy6-group-selector {
    width: min(1480px, 100%);
    margin: -6px auto 34px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid #e1ebf6;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(26, 61, 119, .065);
}

.fy6-group-link {
    min-height: 44px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #315477 !important;
    background: #f3f8fe;
    border: 1px solid #e1ebf6;
    border-radius: 13px;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 800;
    text-decoration: none !important;
    transition:
        color .18s ease,
        background .18s ease,
        border-color .18s ease,
        transform .18s ease;
}

.fy6-group-link:hover {
    color: #0875e8 !important;
    background: #eaf5ff;
    border-color: #cbe5ff;
    transform: translateY(-1px);
}

.fy6-group-link.is-active {
    color: #fff !important;
    background: linear-gradient(135deg, #0875e8, #1da7f5);
    border-color: transparent;
    box-shadow: 0 9px 20px rgba(8, 117, 232, .2);
}

@media (max-width: 720px) {
    .fy6-group-selector {
        margin-bottom: 24px;
        padding: 8px;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .fy6-group-link {
        flex: 0 0 auto;
        min-height: 42px;
        padding: 0 16px;
        font-size: 14px;
    }
}
/* FEIYU_PRODUCT_GROUP_SELECTOR_V6R1_END */


/* FEIYU_PRODUCT_GROUP_SELECTOR_V6R2_BEGIN */
.fy6-group-selector {
    width: min(1280px, 100%);
    margin: -6px auto 34px;
    padding: 4px 2px 10px;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 14px;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scroll-behavior: smooth;
}

.fy6-group-selector::-webkit-scrollbar {
    height: 8px;
}

.fy6-group-selector::-webkit-scrollbar-thumb {
    background: rgba(23,132,238,.25);
    border-radius: 999px;
}

.fy6-group-selector::-webkit-scrollbar-track {
    background: rgba(23,132,238,.06);
    border-radius: 999px;
}

.fy6-group-link {
    flex: 0 0 240px;
    max-width: 240px;
    min-height: 72px;
    padding: 0 18px 0 48px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    color: #20476f !important;
    background: #ffffff;
    border: 1px solid #dbe8f5;
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(26,61,119,.07);
    font-size: 18px;
    line-height: 1;
    font-weight: 900;
    text-decoration: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease,
        color .18s ease;
}

.fy6-group-link:before {
    content: "";
    width: 14px;
    height: 14px;
    position: absolute;
    left: 20px;
    top: 50%;
    margin-top: -7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a7be8, #45c3ff);
    box-shadow: 0 0 0 6px rgba(10,123,232,.10);
}

.fy6-group-link:hover {
    color: #0b78e8 !important;
    border-color: #c8e1fb;
    box-shadow: 0 14px 32px rgba(26,61,119,.10);
    transform: translateY(-2px);
}

.fy6-group-link.is-active {
    color: #ffffff !important;
    background: linear-gradient(135deg, #0b71d8, #1ea8f5);
    border-color: transparent;
    box-shadow: 0 16px 34px rgba(11,113,216,.24);
}

.fy6-group-link.is-active:before {
    background: #ffffff;
    box-shadow: 0 0 0 6px rgba(255,255,255,.18);
}

@media (max-width: 720px) {
    .fy6-group-selector {
        width: 100%;
        margin-bottom: 24px;
        gap: 10px;
        padding-bottom: 8px;
    }

    .fy6-group-link {
        flex: 0 0 190px;
        max-width: 190px;
        min-height: 60px;
        padding: 0 14px 0 40px;
        font-size: 15px;
        border-radius: 15px;
    }

    .fy6-group-link:before {
        width: 12px;
        height: 12px;
        left: 16px;
        margin-top: -6px;
    }
}
/* FEIYU_PRODUCT_GROUP_SELECTOR_V6R2_END */
