html {
    background: #ececec;
}

body[data-layout="topnav"] {
    background: #ececec;
    color: #151923;
    min-height: 100vh;
    padding-bottom: 64px;
}

.wrapper,
.content-page,
.content {
    background: transparent !important;
}

.content > .container,
.header-navbar .container,
.hyper-footer .container {
    max-width: 1290px;
}

.header-navbar {
    background: rgba(30, 30, 30, 0.42) !important;
    box-shadow: none;
    height: 68px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 20;
}

.header-flex {
    align-items: center;
    display: flex;
    gap: 1.5rem;
    height: 68px;
}

.topnav-logo {
    align-items: center;
    display: flex !important;
    gap: 0.75rem;
    min-width: 0;
    text-decoration: none;
}

.topnav-logo img {
    background: #ffffff;
    border-radius: 0;
    height: 64px !important;
    object-fit: contain;
    padding: 6px;
    width: 64px;
}

.topnav-logo .logo-title {
    color: #ffffff !important;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0;
    white-space: nowrap;
}

.header-menu {
    align-items: center;
    display: flex;
    gap: 1.25rem;
}

.header-menu a {
    align-items: center;
    color: #ffffff;
    display: inline-flex;
    font-size: 16px;
    font-weight: 700;
    gap: 0.28rem;
    text-decoration: none;
}

.header-menu a:hover {
    color: #ffe267;
}

.header-right {
    align-items: center;
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.header-right .btn {
    background: rgba(0, 0, 0, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 18px;
    color: #ffffff !important;
    font-weight: 700;
    padding: 0.34rem 0.72rem;
}

.fk-hero {
    align-items: center;
    background:
        linear-gradient(125deg, rgba(40, 255, 96, 0.88) 0%, rgba(0, 214, 222, 0.88) 28%, rgba(255, 86, 157, 0.84) 54%, rgba(255, 220, 62, 0.9) 78%, rgba(91, 114, 255, 0.86) 100%),
        url("/assets/common/images/banner.png") center bottom / cover no-repeat;
    color: #ffffff;
    display: flex;
    justify-content: center;
    margin-left: calc(50% - 50vw);
    min-height: 455px;
    overflow: hidden;
    padding: 118px 18px 74px;
    position: relative;
    width: 100vw;
}

.fk-hero::before {
    background:
        linear-gradient(126deg, transparent 0%, transparent 18%, rgba(255, 255, 255, 0.36) 19%, rgba(255, 255, 255, 0.08) 38%, transparent 39%, transparent 100%),
        linear-gradient(44deg, transparent 0%, transparent 48%, rgba(255, 255, 255, 0.46) 49%, rgba(255, 255, 255, 0.12) 65%, transparent 66%, transparent 100%);
    content: "";
    inset: -20%;
    position: absolute;
    transform: rotate(-2deg);
}

.fk-hero-inner {
    max-width: 860px;
    position: relative;
    text-align: center;
    width: 100%;
    z-index: 1;
}

.fk-hero h1 {
    color: #ffffff;
    font-size: 29px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.35;
    margin: 0 0 13px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
}

.fk-verify {
    background: #ffffff;
    border-radius: 50%;
    color: #0fd9d2;
    display: inline-flex;
    font-size: 18px;
    font-weight: 900;
    height: 26px;
    justify-content: center;
    line-height: 26px;
    margin-right: 4px;
    vertical-align: 2px;
    width: 26px;
}

.fk-stars {
    color: #ffd83f;
    font-size: 26px;
    text-shadow: 0 2px 4px rgba(130, 85, 0, 0.35);
    white-space: nowrap;
}

.fk-notice,
.fk-notice * {
    color: rgba(255, 255, 255, 0.94) !important;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 800px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.fk-search {
    margin: 24px auto 0;
    max-width: 810px;
}

.fk-search .form-control {
    background: rgba(255, 255, 255, 0.42) !important;
    border: 4px solid rgba(80, 69, 110, 0.16) !important;
    border-radius: 999px;
    box-shadow: none !important;
    color: #5c5270 !important;
    font-size: 18px;
    height: 54px;
    padding: 0 24px;
}

.fk-search .form-control::placeholder {
    color: rgba(89, 78, 110, 0.66);
}

.fk-search .uil-search {
    display: none;
}

.fk-hot-tags {
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    gap: 0.6rem;
    justify-content: center;
    margin-top: 15px;
}

.purchase-info-container {
    display: none;
}

.nav.nav-list {
    align-items: center;
    background: #eeeeef;
    border-bottom: 1px solid rgba(188, 193, 202, 0.45);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: center;
    margin: 0 calc(50% - 50vw) 16px;
    padding: 16px max(24px, calc((100vw - 1290px) / 2)) 14px;
    width: 100vw;
}

.nav.nav-list .tab-link {
    align-items: center;
    background: #f8f8f8;
    border: 1px solid #0b0f15;
    border-radius: 0;
    color: #050b14;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 15px;
    font-weight: 800;
    gap: 7px;
    justify-content: center;
    min-height: 40px;
    min-width: 126px;
    padding: 0 16px;
    text-decoration: none;
    transition: background-color 0.14s ease, box-shadow 0.14s ease, transform 0.14s ease;
}

.nav.nav-list .tab-link.active,
.nav.nav-list .tab-link:hover {
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    color: #000000;
    transform: translateY(-1px);
}

.nav.nav-list .tab-icon {
    align-items: center;
    color: #000000;
    display: inline-flex;
    flex: 0 0 auto;
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 19px;
    font-weight: 900;
    height: 20px;
    justify-content: center;
    line-height: 1;
    width: 20px;
}

.nav.nav-list .tab-title {
    display: inline-block;
    line-height: 1.15;
    white-space: nowrap;
}

.nav.nav-list .img-checkmark {
    display: none;
}

.tab-content {
    padding-bottom: 28px;
}

.hyper-wrapper {
    display: grid;
    gap: 19px 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-layout="topnav"] .hyper-wrapper .home-card.category {
    align-items: center;
    background: linear-gradient(180deg, #fbfcff 0%, #f8f9fb 100%);
    border: 1px solid #d6dbe4;
    border-radius: 7px;
    box-shadow: 2px 3px 8px rgba(13, 21, 36, 0.18);
    color: #172033;
    display: grid !important;
    grid-template-columns: 104px minmax(0, 1fr);
    min-height: 130px !important;
    overflow: hidden;
    padding: 12px 14px;
    position: relative;
    text-decoration: none;
    transition: box-shadow 0.14s ease, transform 0.14s ease;
}

body[data-layout="topnav"] .hyper-wrapper .home-card.category:hover {
    box-shadow: 0 0 0 1px rgba(255, 47, 145, 0.12), 0 6px 16px rgba(13, 21, 36, 0.22);
    transform: translateY(-2px);
}

body[data-layout="topnav"] .home-card .home-img {
    background: #ffffff;
    border: 1px solid #d8dde7;
    border-radius: 14px;
    box-shadow: 2px 2px 6px rgba(13, 21, 36, 0.2);
    display: block;
    height: 100px !important;
    object-fit: contain;
    width: 100px;
}

body[data-layout="topnav"] .home-card .flex {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    padding: 3px 0 1px 16px;
}

body[data-layout="topnav"] .home-card .name {
    color: #172033;
    display: -webkit-box;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.5;
    margin: 0;
    max-height: 42px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body[data-layout="topnav"] .home-card .mshu1 {
    color: #667085;
    display: -webkit-box;
    font-size: 12px;
    line-height: 1.5;
    margin-top: 6px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.fk-card-hot {
    color: #ff1e8a;
    font-weight: 900;
}

body[data-layout="topnav"] .home-card .price {
    align-items: flex-end;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 7px;
    justify-content: flex-start;
    margin-top: auto;
}

body[data-layout="topnav"] .home-card .price::before,
body[data-layout="topnav"] .home-card .price::after {
    display: none;
}

body[data-layout="topnav"] .home-card .zdong,
body[data-layout="topnav"] .home-card .kucun {
    border: 1px solid;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 5px 7px;
}

body[data-layout="topnav"] .home-card .zdong {
    border-color: #0bbfa8;
    color: #0bbfa8;
}

body[data-layout="topnav"] .home-card .kucun {
    border-color: #d322ff;
    color: #d322ff;
}

body[data-layout="topnav"] .home-card .price p {
    align-items: baseline;
    color: #ff2f91;
    display: inline-flex;
    gap: 1px;
    line-height: 1;
    margin: 0;
}

body[data-layout="topnav"] .home-card .price .currency {
    color: #ff2f91;
    font-size: 14px;
    font-weight: 800;
}

body[data-layout="topnav"] .home-card .price b {
    color: #ff2f91;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0;
}

body[data-layout="topnav"] .home-card .price small {
    display: none;
}

.fk-empty-search {
    background: rgba(255, 255, 255, 0.88);
    border: 1px dashed #b9c2d0;
    border-radius: 7px;
    color: #667085;
    display: none;
    font-weight: 700;
    margin: 12px 0 28px;
    padding: 22px;
    text-align: center;
}

body[data-layout="topnav"] .hyper-wrapper .home-card.category.is-hidden-by-search {
    display: none !important;
}

.ribbon-two-danger span {
    background: #ff2f5f !important;
}

.dropdown-menu {
    background: #ffffff;
    border-color: #d9dce4;
}

.dropdown-item {
    color: #172033;
}

.dropdown-item:hover {
    background: #f1f3f7;
    color: #000000;
}

.fk-review-section {
    background: #ffffff;
    border: 1px solid #e7ebf2;
    border-radius: 4px;
    box-shadow: 0 14px 36px rgba(26, 34, 52, 0.10);
    margin: 28px auto 46px;
    overflow: hidden;
    position: relative;
}

.fk-review-section::before {
    background-image: repeating-linear-gradient(
        -24deg,
        rgba(80, 130, 210, 0.055) 0,
        rgba(80, 130, 210, 0.055) 1px,
        transparent 1px,
        transparent 88px
    );
    content: "";
    inset: 0;
    opacity: 0.7;
    pointer-events: none;
    position: absolute;
}

.fk-review-section > * {
    position: relative;
    z-index: 1;
}

.fk-review-head {
    align-items: center;
    border-bottom: 1px solid #e9edf5;
    display: flex;
    justify-content: space-between;
    padding: 12px 22px;
}

.fk-review-label {
    align-items: center;
    color: #202734;
    display: inline-flex;
    font-size: 20px;
    font-weight: 800;
    gap: 8px;
}

.fk-review-label i {
    color: #2f7df6;
}

.fk-review-submit {
    background: #ffffff;
    border: 1px solid #2f7df6;
    border-radius: 18px;
    color: #2f7df6;
    font-size: 13px;
    font-weight: 800;
    padding: 0.42rem 0.9rem;
    text-decoration: none;
}

.fk-review-submit:hover {
    background: #2f7df6;
    color: #ffffff;
    text-decoration: none;
}

.fk-order-broadcast {
    align-items: center;
    background: rgba(251, 253, 255, 0.95);
    border: 1px solid #d6e6ff;
    border-radius: 28px;
    box-shadow: 0 6px 18px rgba(47, 125, 246, 0.10);
    display: flex;
    gap: 12px;
    margin: 0 16px 18px;
    padding: 10px 14px;
}

.fk-order-broadcast img {
    background: #ffffff;
    border-radius: 50%;
    flex: 0 0 42px;
    height: 42px;
    object-fit: cover;
    width: 42px;
}

.fk-order-broadcast strong {
    color: #1677ff;
    display: block;
    font-size: 13px;
    margin-bottom: 2px;
}

.fk-order-broadcast p {
    color: #222b37;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.fk-review-title {
    margin: 8px 0 20px;
    text-align: center;
}

.fk-review-title h2 {
    color: #2b2f36;
    font-size: 25px;
    font-weight: 500;
    letter-spacing: 0;
    margin: 0 0 8px;
}

.fk-review-title p {
    color: #777f8b;
    margin: 0;
}

.fk-review-list {
    border-top: 1px solid #edf0f5;
}

.fk-review-item {
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid #edf0f5;
    display: grid;
    gap: 14px;
    grid-template-columns: 56px 1fr;
    min-height: 116px;
    padding: 18px;
}

.fk-review-item img {
    background: #ffffff;
    border: 1px solid #eef1f6;
    border-radius: 50%;
    height: 56px;
    object-fit: cover;
    width: 56px;
}

.fk-review-item h3 {
    color: #333944;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 3px 0 5px;
}

.fk-rating {
    align-items: center;
    display: flex;
    gap: 9px;
    margin-bottom: 10px;
}

.fk-rating span {
    color: #ffb400;
    letter-spacing: 1px;
}

.fk-rating em {
    color: #666f7c;
    font-size: 13px;
    font-style: normal;
}

.fk-review-item p {
    color: #555e6b;
    line-height: 1.8;
    margin: 0;
}

.fk-review-foot {
    color: #77808c;
    padding: 22px 18px 30px;
    text-align: center;
}

.fk-review-foot strong {
    background: #fffaf0;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(255, 149, 0, 0.16);
    color: #ff9500;
    display: inline-block;
    margin-top: 10px;
    padding: 8px 18px;
}

.fk-runtime {
    background: rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(255, 200, 0, 0.25);
    color: #555555;
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    margin: 10px 0 0;
    padding: 6px 12px;
}

#run_time_text {
    color: #ff9800;
    font-weight: 800;
    text-shadow:
        0 0 2px rgba(255, 180, 0, 0.6),
        0 0 6px rgba(255, 180, 0, 0.4),
        0 0 10px rgba(255, 200, 0, 0.25);
}

.hg {
    display: inline-block;
    filter: drop-shadow(0 0 4px rgba(255, 152, 0, 0.25));
    margin-right: 6px;
    transform-origin: 50% 55%;
    animation: hourglassSmooth 3.5s ease-in-out infinite;
}

@keyframes hourglassSmooth {
    0% { transform: rotate(0deg) translateY(0); opacity: 0.95; }
    25% { transform: rotate(10deg) translateY(-2px); opacity: 1; }
    50% { transform: rotate(0deg) translateY(1px); opacity: 1; }
    75% { transform: rotate(-10deg) translateY(-1px); opacity: 1; }
    100% { transform: rotate(0deg) translateY(0); opacity: 0.95; }
}

@media (prefers-reduced-motion: reduce) {
    .hg {
        animation: none;
    }
}

.hyper-footer {
    background: transparent;
    color: #555c68;
    padding-bottom: 70px;
}

.fk-bottom-nav {
    align-items: center;
    background: #282828;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: 58px;
    left: 0;
    position: fixed;
    right: 0;
    z-index: 30;
}

.fk-bottom-nav a {
    align-items: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    font-size: 13px;
    font-weight: 700;
    gap: 2px;
    justify-content: center;
    text-decoration: none;
}

.fk-bottom-nav i {
    font-size: 23px;
    line-height: 1;
}

.fk-bottom-nav a:hover {
    color: #ffd83f;
}

.back-to-top {
    right: 8px;
}

@media (max-width: 991.98px) {
    .header-menu {
        display: none;
    }

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

    .nav.nav-list {
        gap: 9px;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .nav.nav-list .tab-link {
        font-size: 14px;
        min-width: auto;
        padding: 0 12px;
    }
}

@media (max-width: 767.98px) {
    body[data-layout="topnav"] {
        padding-bottom: 60px;
    }

    .header-navbar,
    .header-flex {
        height: 60px;
    }

    .header-flex {
        gap: 0.65rem;
    }

    .topnav-logo img {
        height: 52px !important;
        width: 52px;
    }

    .topnav-logo .logo-title {
        font-size: 18px;
    }

    .header-right .btn {
        font-size: 12px;
        padding: 0.28rem 0.48rem;
    }

    .fk-hero {
        min-height: 390px;
        padding: 98px 14px 54px;
    }

    .fk-hero h1 {
        font-size: 22px;
    }

    .fk-stars {
        display: block;
        font-size: 22px;
        margin-top: 4px;
    }

    .fk-notice,
    .fk-notice * {
        font-size: 13px;
    }

    .fk-search .form-control {
        font-size: 15px;
        height: 48px;
    }

    .hyper-wrapper {
        grid-template-columns: 1fr;
    }

    body[data-layout="topnav"] .hyper-wrapper .home-card.category {
        grid-template-columns: 88px minmax(0, 1fr);
        min-height: 118px !important;
        padding: 11px;
    }

    body[data-layout="topnav"] .home-card .home-img {
        height: 86px !important;
        width: 86px;
    }

    body[data-layout="topnav"] .home-card .flex {
        padding-left: 12px;
    }

    body[data-layout="topnav"] .home-card .name {
        font-size: 14px;
    }

    body[data-layout="topnav"] .home-card .mshu1 {
        margin-top: 5px;
    }

    body[data-layout="topnav"] .home-card .price b {
        font-size: 19px;
    }

    .fk-review-section {
        margin: 22px 0 36px;
    }

    .fk-review-head {
        align-items: flex-start;
        gap: 10px;
        padding: 12px 14px;
    }

    .fk-review-label {
        font-size: 18px;
    }

    .fk-order-broadcast {
        align-items: flex-start;
        border-radius: 18px;
        margin: 0 10px 16px;
    }

    .fk-review-title h2 {
        font-size: 23px;
    }

    .fk-review-item {
        grid-template-columns: 48px 1fr;
        padding: 15px 12px;
    }

    .fk-review-item img {
        height: 48px;
        width: 48px;
    }
}

.buy-grid {
    align-items: start;
}

.buy-shop .card,
.buy-product.card {
    border: 1px solid #d8dde7;
    border-radius: 7px;
    box-shadow: 0 8px 22px rgba(13, 21, 36, 0.12);
}

.pay-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    width: 100%;
}

.pay-type {
    align-items: center;
    background: #ffffff;
    border: 1px solid #cfd6e4;
    border-radius: 6px;
    color: #172033;
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    justify-content: center;
    min-height: 42px;
    padding: 0 12px;
    text-align: center;
    white-space: normal;
}

.pay-type:hover,
.pay-type:focus {
    background: #fff8fb;
    border-color: #ff7ab6;
    color: #ff2f91;
}

.pay-type.active {
    background: #fff5fa;
    border-color: #ff2f91;
    box-shadow: 0 0 0 2px rgba(255, 47, 145, 0.14);
    color: #ff2f91;
}

.pay-name {
    line-height: 1.25;
}

.pay-empty {
    color: #ff2f5f;
    font-size: 13px;
    font-weight: 700;
    margin-top: 8px;
    width: 100%;
}

#submit {
    background: #ff2f5f;
    border-color: #ff2f5f;
    border-radius: 6px;
    color: #ffffff;
    font-weight: 900;
    min-height: 44px;
    min-width: 190px;
}

#submit:disabled,
#submit.btn-disabled {
    background: #9aa3af;
    border-color: #9aa3af;
    color: #ffffff;
    cursor: not-allowed;
    opacity: 0.9;
}

@media (max-width: 767.98px) {
    .buy-grid {
        display: grid;
        gap: 14px;
        grid-template-columns: 1fr;
    }

    .buy-shop .card,
    .buy-product.card {
        border-radius: 6px;
        box-shadow: 0 5px 16px rgba(13, 21, 36, 0.10);
    }

    .buy-shop .sticky {
        position: static;
    }

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

    .pay-type {
        min-height: 44px;
        padding: 0 8px;
    }

    #submit {
        width: 100%;
    }
}
