@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

:root {
    --body-fonts: 'Poppins',Arial;
    --header-btn-color: #000;
    --searchIpt-border-style: 1px solid #000;
    --nav-bgcolor: #fff;
    --box-border-style: 2px solid #444;
    --goods-list-item-border-color: #fff;
    --goods-list-item-border-hover: #fff;
    --goods-styles-border-color: #444;
    --title-color: #000;
    --add-to-cart-color: #000;
    --add-to-cart-bgcolor: #eee;
    --buy-now-color: #fff;
    --buy-now-bgcolor: #fda036;
    --checkout-bgcolor: #f63;
    --pager-total-info-b-color: #f63;
    --pager-btn-color: #666;
    --pager-btn-bgcolor: #f2f2f2;
    --pager-btn-selected-color: #fff;
    --pager-btn-selected-bgcolor: #000;
}

blockquote, body, button, dd, div, dl, dt, form, h1, h2, h3, h4, h5, h6, input, li, ol, p, pre, td, textarea, th, ul, li, label, b, article, span {
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

img {
    display: inline-block;
    vertical-align: middle;
    border: none;
}

li {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

    table th, table td {
        border: 1px solid #999;
        padding: 5px 8px;
    }

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}

h4, h5, h6 {
    font-size: 100%;
}

a {
    color: #444444;
    text-decoration: none;
}

    a:hover {
        color: #000;
    }

    a:active, a:hover {
        outline: 0;
    }

.row {
    display: flex;
    flex-direction: row;
}

.mx-auto .row {
    display: block;
}

article {
    padding: 20px 0;
    font-size: 18px;
}

    article p {
        margin: 15px 0;
    }

    article table {
        margin: 10px 0;
    }

    article img {
        max-width: 100%;
    }

body {
    font-family: var(--body-fonts);
    font-size: 14px;
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

    .container .container {
        margin: 0;
    }

/* header */
.header-top {
    display: none;
    height: 35px;
    line-height: 35px;
    border-bottom: 1px solid #eee;
    text-align: center;
    font-weight: bold;
}

.header-body .container {
    position: relative;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: end;
    overflow-x: hidden;
}

.header-body #btn-header-menu,
.header-body .logo,
.header-body .search-bar,
.header-body .login-bar,
.header-body .cart-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    z-index: 2;
}

.header-body .search-bar {
    right: 160px;
}

.header-body .login-bar {
    right: 80px;
}

.header-body #btn-header-menu {
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: -15px;
    height: 60px;
    padding: 0 15px;
    color: var(--header-btn-color);
    font-size: 1.25em;
}

.header-body .logo {
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 1;
}

    .header-body .logo a {
        height: 100%;
        display: flex;
        align-items: center;
    }

        .header-body .logo a img {
            max-height: 70px;
        }

.header-body .searchIpt {
    position: absolute;
    right: -300%;
    width: 200px;
    height: 35px;
    line-height: 35px;
    margin-right: 150px;
    padding-left: 10px;
    padding-right: 50px;
    border: var(--searchIpt-border-style);
    border-radius: 4px;
    font-family: var(--body-fonts);
    transition: all 0.3s ease;
    z-index: 2;
}

.header-body .search-bar button {
    border: 0;
    background-color: transparent;
    cursor: pointer;
    color: var(--header-btn-color);
}

.header-body .login-bar .btn-login,
.header-body .cart-bar a {
    font-size: 1.5em;
    color: var(--header-btn-color);
}

.header-body .login-bar .btn-hiuser {
    margin: 0 -38px;
    width: 90px;
    line-height: 30px;
    color: var(--header-btn-color);
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    border: 1px solid var(--header-btn-color);
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.header-body .login-bar + div.login-bar {
    display: none;
}

#slogan-text .title {
    display: block;
    margin: 20px auto 0 auto;
    max-width: 1200px;
    line-height: 50px;
    color: #fff;
    font-size: 16px;
    background-color: #3e3b3b;
    text-align: center;
}

/* main */
.breadcrumb {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    text-align: center;
}

    .breadcrumb li {
        display: inline;
    }

        .breadcrumb li::after {
            content: "";
            display: inline-block;
            margin: 0 10px;
            position: relative;
            top: -2px;
            width: 4px;
            height: 4px;
            border-left: 1px solid #000;
            border-top: 1px solid #000;
            transform: rotate(135deg);
        }

        .breadcrumb li:last-child::after {
            display: none;
        }

        .breadcrumb li i.fa-home {
            display: none;
            margin-right: 5px;
        }

        .breadcrumb li a:hover {
            text-decoration: underline;
        }

.swiper-box {
    margin-top: 20px;
}

    .swiper-box a:hover {
        color: #fff;
    }

/* footer */
footer {
    margin-top: 50px;
    padding-bottom: 50px;
    text-align: center;
    background-color: #f5f5f5;
}

    footer > nav > .container {
        padding: 30px 0;
    }

    footer > nav ul li {
        display: inline-block;
    }

        footer > nav ul li::after {
            content: "/";
            color: #CCC;
            font-size: 12px;
            margin: 0 20px;
        }

        footer > nav ul li:last-child::after {
            display: none;
        }

        footer > nav ul li a:hover {
            text-decoration: underline;
        }

    footer > .footer-logo {
        margin: 15px;
    }

        footer > .footer-logo > a > img {
            max-height: 50px;
        }

    footer > .address {
        padding: 0 15px;
        font-size: 14px;
        color: #999;
    }

/* user center */
.user-menu {
    margin: 15px auto;
    padding-bottom: 15px;
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #eee;
}

    .user-menu a {
        display: flex;
        align-items: center;
        padding: 8px 15px;
        height: 30px;
        line-height: 1.2;
        text-align: center;
        background-color: #f2f2f2;
        border-radius: 8px;
    }

        .user-menu a.selected {
            color: #fff;
            background-color: #444;
        }

        .user-menu a:last-child {
            color: #fff;
            background-color: #f96;
        }

.info-description {
    padding: 15px 0;
    line-height: 2;
}

    .info-description a {
        color: blue;
        text-decoration: underline;
    }

.order-item {
    position: relative;
    margin-bottom: 20px;
    padding: 10px 20px;
    border: var(--box-border-style);
    border-radius: 8px;
    background-color: #fff;
}

    .order-item dt, .order-item dd {
        padding: 10px 0;
        display: flex;
        gap: 10px;
    }

    .order-item dt {
        padding-bottom: 15px;
        margin-bottom: 15px;
        font-size: 16px;
        font-weight: bold;
        border-bottom: 1px solid #444;
    }

        .order-item dt .order-no {
            color: red;
        }

    .order-item dd label {
        font-weight: bold;
    }

        .order-item dt label::after,
        .order-item dd label::after {
            content: " :";
        }

    .order-item dd .order-detail {
        position: absolute;
        right: 15px;
        bottom: 15px;
    }

        .order-item dd .order-detail::after {
            display: none;
        }

        .order-item dd .order-detail a {
            display: block;
            padding: 0 15px;
            height: 40px;
            line-height: 40px;
            color: #fff;
            background-color: #444;
            border-radius: 8px;
            cursor: pointer;
        }

h3.order-no {
    margin: 20px 0;
    font-size: 16px;
    font-weight: bold;
}

    h3.order-no span {
        margin-left: 10px;
        color: red;
    }

.order-items > div {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px;
    border: var(--box-border-style);
    border-radius: 8px;
}

    .order-items > div > img {
        width: 80px;
        border-radius: 8px;
    }

    .order-items > div h1 {
        font-size: 16px;
        font-weight: bold;
    }

    .order-items > div .style-size,
    .order-items > div .price {
        margin-top: 10px;
    }

        .order-items > div .price b {
            margin: 0 10px;
        }

.shipping-info {
    margin-bottom: 20px;
    padding: 20px;
    border: var(--box-border-style);
    border-radius: 8px;
}

    .shipping-info dt {
        margin-bottom: 20px;
        font-size: 20px;
        font-weight: bold;
        text-align: center;
    }

    .shipping-info dd {
        padding: 5px 0;
    }

        .shipping-info dd label {
            display: inline-block;
            margin-right: 10px;
            min-width: 100px;
            font-weight: bold;
        }

    .shipping-info dd {
        padding: 5px 0;
    }

        .shipping-info dd label {
            margin-right: 10px;
            font-weight: bold;
        }

            .shipping-info dd label::after {
                content: " :";
            }

/* go top */
.go-top {
    position: fixed;
    right: 15px;
    bottom: -100px;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #eee;
    transition: all 0.3s ease;
    z-index: 9999;
    cursor: pointer;
}

    .go-top:hover {
        background-color: #ddd;
    }

    .go-top::before {
        content: "";
        position: relative;
        top: 3px;
        width: 12px;
        height: 12px;
        border-left: var(--box-border-style);
        border-top: var(--box-border-style);
        transform: rotate(45deg);
    }

/* pager */
.pager {
    text-align: center;
}

    .pager > a {
        display: inline-block;
        margin: 5px;
        padding: 0 13px;
        height: 30px;
        line-height: 30px;
        color: var(--pager-btn-color);
        font-size: 14px;
        text-decoration: none;
        vertical-align: middle;
        background-color: var(--pager-btn-bgcolor);
        border-radius: 3px;
    }

        .pager > a.total-info {
            display: block;
            margin: 20px 0;
            background-color: inherit;
        }

            .pager > a.total-info > b {
                margin: 0 5px;
                color: var(--pager-total-info-b-color);
                font-size: 16px;
            }

        .pager > a.selected,
        .pager > a:not(.total-info):hover,
        .pager > a:last-child {
            color: var(--pager-btn-selected-color);
            border-color: var(--pager-btn-selected-bgcolor);
            background-color: var(--pager-btn-selected-bgcolor);
        }

        .pager > a:last-child {
            cursor: pointer;
        }

    .pager > input, .pager > select {
        margin: 0 5px;
        padding: 0 5px;
        width: 30px;
        height: 28px;
        border: 1px solid #444;
        border-radius: 3px;
        text-align: center;
    }

    .pager > select {
        width: 50px;
        height: 30px;
    }

/* goods-list */
.goods-list > .header {
    padding: 40px 0;
    color: var(--title-color);
    font-size: 40px;
    font-weight: bold;
    text-align: center;
}

.goods-list > .body {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

    .goods-list > .body > div {
        position: relative;
        padding: 3px 3px 20px 3px;
        border: 3px solid var(--goods-list-item-border-color);
        background-color: #fff;
        border-radius: 5px;
        overflow: hidden;
        transition: all 0.3s;
    }

        .goods-list > .body > div:hover {
            border: 3px solid var(--goods-list-item-border-hover);
        }

        .goods-list > .body > div > a {
            display: block;
            text-align: center;
        }

            .goods-list > .body > div > a > img {
                max-width: 100%;
                max-height: 276px;
                transition: all 0.3s;
            }

        .goods-list > .body > div:hover > a > img {
            transform: scale(1.1);
        }

        .goods-list > .body > div > h1 {
            margin: 20px 0;
            line-height: 1.2em;
            max-height: 2.4em;
            font-size: 16px;
            font-weight: bold;
            overflow: hidden;
        }

            .goods-list > .body > div > h1 > a:hover {
                text-decoration: underline;
            }

        .goods-list > .body > div > .price-market > label,
        .goods-list > .body > div > .price-selling > label {
            display: none;
        }

        .goods-list > .body > div > .price-market > span {
            color: #999;
            text-decoration: line-through;
        }

        .goods-list > .body > div > .price-selling > span {
            font-size: 16px;
        }

        .goods-list > .body > div > .digit {
            display: none;
            margin-top: 10px;
            font-size: 14px;
        }

            .goods-list > .body > div > .digit > label {
                margin: 0 5px;
                color: #999;
            }

.goods-list > .footer {
    margin-top: 30px;
    text-align: center;
}

/* goods-detail */
.panel-goods-style {
    margin: 30px 0 30px 0;
    width: 50%;
}

    .panel-goods-style .pic-viewer img {
        max-width: 100%;
    }

    .panel-goods-style .style-pics {
        margin-top: 10px;
    }

        .panel-goods-style .style-pics input[type="radio"] {
            display: none;
        }

            .panel-goods-style .style-pics input[type="radio"][name="style-pics"] + div {
                display: none;
            }

            .panel-goods-style .style-pics input[type="radio"][name="style-pics"]:checked + div {
                display: block;
            }

        .panel-goods-style .style-pics img,
        .panel-goods-details .goods-styles img {
            display: inline-block;
            margin: 10px 10px 0 0;
            padding: 2px;
            width: 60px;
            height: 60px;
            border: 2px solid #FFFFFF;
            border-radius: 8px;
            cursor: pointer;
        }

            .panel-goods-style .style-pics img.selected,
            .panel-goods-style .style-pics img:hover,
            .panel-goods-details .goods-styles img.selected,
            .panel-goods-details .goods-styles img:hover {
                border-color: var(--goods-styles-border-color);
            }

.panel-goods-details {
    margin: 30px 0 30px 30px;
    width: 50%;
}

    .panel-goods-details h1 {
        margin-bottom: 20px;
    }

    .panel-goods-details .price-selling {
        font-size: 22px;
    }

    .panel-goods-details .price-market {
        margin-left: 10px;
        color: #999;
        font-size: 16px;
        text-decoration: line-through;
    }

    .panel-goods-details .digit {
        margin-bottom: 20px;
        padding: 20px 0;
        border-bottom: 1px solid #eee;
    }

        .panel-goods-details .digit label {
            display: inline-block;
            margin-right: 10px;
            padding: 3px 10px;
            background-color: #eee;
            border-radius: 20px;
        }

            .panel-goods-details .digit label span {
                margin-left: 5px;
            }

    .panel-goods-details .goods-styles {
        margin-bottom: 20px;
    }

    .panel-goods-details select[name="goodsSize"] {
        display: block;
        margin: 10px 0 20px 0;
        padding: 5px;
        width: auto;
        height: 44px;
        font-size: 16px;
        border: var(--box-border-style);
    }

    .panel-goods-details input[type="number"] {
        display: block;
        margin-top: 10px;
        padding: 5px;
        width: 100px;
        height: 30px;
        font-size: 18px;
        text-align: center;
        border: var(--box-border-style);
    }

    .panel-goods-details .panel-cart-buttons {
        margin-top: 50px;
        display: grid;
        gap: 15px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

        .panel-goods-details .panel-cart-buttons .btn {
            height: 50px;
            padding: 0 20px;
            font-size: 18px;
            border: 0;
            border-radius: 4px;
            cursor: pointer;
        }

            .panel-goods-details .panel-cart-buttons .btn i {
                margin-right: 10px;
            }

        .panel-goods-details .panel-cart-buttons .btn-add-to-cart {
            color: var(--add-to-cart-color);
            background-color: var(--add-to-cart-bgcolor);
        }

        .panel-goods-details .panel-cart-buttons .btn-buy-now {
            color: var(--buy-now-color);
            background-color: var(--buy-now-bgcolor);
        }

/* cart step1 */
.cart-header {
    padding: 20px 0;
    color: var(--title-color);
    font-size: 30px;
    font-weight: bold;
    text-align: center;
}

.panel-cart .header {
    font-weight: bold;
}

.panel-cart .header,
.panel-cart .cart-item {
    padding: 20px 10px;
}

    .panel-cart .header::after,
    .panel-cart .cart-item::after {
        content: "";
        display: block;
        clear: both;
    }

.panel-cart .cart-item {
    margin-bottom: 20px;
    border: var(--box-border-style);
    border-radius: 8px;
    background-color: #fff;
}

.panel-cart .opt {
    float: left;
    width: 35px;
    padding-left: 15px;
    display: block;
    font-size: 22px;
    cursor: pointer;
}

.panel-cart .pic {
    float: left;
    width: 100px;
}

    .panel-cart .pic img {
        width: 80px;
        border-radius: 8px;
    }

.panel-cart .title {
    float: left;
    width: calc(55% - 150px);
}

    .panel-cart .title h1 {
        font-size: 18px;
    }

    .panel-cart .title span {
        display: block;
        color: #888;
        font-size: 14px;
    }

.panel-cart .header .title {
    margin-left: 150px;
}

.panel-cart .price,
.panel-cart .quantity,
.panel-cart .subtotal {
    float: left;
    width: 15%;
    text-align: center;
}

    .panel-cart .quantity > div {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .panel-cart .quantity input[type="number"] {
        margin-right: 10px;
        padding: 5px;
        width: 40px;
        height: 20px;
        font-size: 16px;
        text-align: center;
        border: var(--box-border-style);
    }

    .panel-cart .quantity .btn-save {
        font-size: 22px;
        cursor: pointer;
    }

.panel-cart .cart-item label {
    display: none;
}

.panel-cart .cart-item .price,
.panel-cart .cart-item .subtotal {
    font-size: 16px;
}

.panel-total .header {
    padding: 20px 0;
    color: var(--title-color);
    font-size: 30px;
    font-weight: bold;
    text-align: center;
}

.panel-total .body {
    font-size: 18px;
    line-height: 200%;
    text-align: right;
}

    .panel-total .body label + div {
        display: inline-block;
        min-width: 150px;
    }

    .panel-total .body .opt {
        margin-top: 40px;
    }

        .panel-total .body .opt .btn-checkout {
            display: inline-block;
            height: 50px;
            line-height: 50px;
            padding: 0 30px;
            font-size: 18px;
            color: #fff;
            border: 0;
            border-radius: 4px;
            background-color: var(--checkout-bgcolor);
            cursor: pointer;
        }

/* cart step2 */
.panel-shipping .header,
.panel-order .header {
    padding: 20px 0;
    color: var(--title-color);
    font-size: 30px;
    font-weight: bold;
    text-align: center;
}

.form-item {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

    .form-item > div {
        margin: 10px 0;
    }

    .form-item select,
    .form-item input[type='text'],
    .form-item input[type='password'],
    .form-item input[type='email'] {
        display: block;
        margin: 5px 0;
        padding: 0 10px;
        width: calc(100% - 24px);
        height: 40px;
        border: 2px solid #000;
        border-radius: 8px;
        background-color: #fff;
        font-size: 16px;
        color: #444;
    }

    .form-item select {
        width: 100%;
        height: 44px;
    }

    .form-item label b {
        margin-left: 5px;
        color: red;
    }

    .form-item .error {
        display: inline-block;
        padding: 3px 5px;
        color: #fff;
        font-size: 12px;
        background-color: red;
        border-radius: 5px;
    }

        .form-item .error::before {
            content: "X ";
            font-weight: bold;
            font-family: Verdana;
        }

.panel-bill .header {
    margin: 30px 0;
    font-size: 18px;
    font-weight: bold;
}

    .panel-bill .header label {
        cursor: pointer;
    }

        .panel-bill .header label span {
            margin-left: 10px;
        }

#panel-bill .form-item {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

    #panel-bill .form-item:first-child {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

#BillCardNumber {
    background: url(/images/logo_card.png) no-repeat right center;
    background-size: 100px;
}

.panel-order > .body > div {
    display: flex;
    gap: 15px;
    padding: 10px 0;
}

    .panel-order > .body > div > div {
        flex-grow: 1;
        text-align: left;
    }

        .panel-order > .body > div > div:last-child {
            text-align: right;
        }

        .panel-order > .body > div > div > h1,
        .panel-order > .body > div > label {
            font-size: 16px;
            font-weight: bold;
        }

            .panel-order > .body > div > div > h1 > a::before {
                content: "";
                position: relative;
                top: -3px;
                display: inline-block;
                margin: 0 10px 0 2px;
                width: 10px;
                height: 5px;
                border-left: 2px solid #444;
                border-bottom: 2px solid #444;
                transform: rotate(315deg);
            }

            .panel-order > .body > div > div > h1 > span {
                margin-left: 20px;
                font-weight: normal;
            }

.panel-order > .body > .panel-shipping-mode > div:last-child,
.panel-order > .body > .panel-payment-mode > div:last-child {
    text-align: left;
}

.panel-shipping-mode li,
.panel-payment-mode li {
    margin-bottom: 10px;
}

    .panel-shipping-mode li label span,
    .panel-payment-mode li label span {
        display: inline-block;
        margin: 0 5px;
        min-width: 50px;
    }

.panel-shipping-mode img,
.panel-payment-mode img {
    display: inline-block;
    max-height: 30px;
}

.panel-order .footer .opt {
    margin: 30px 0;
    text-align: center;
}

    .panel-order .footer .opt .btn-checkout {
        display: inline-block;
        height: 50px;
        line-height: 50px;
        padding: 0 30px;
        font-size: 18px;
        color: #fff;
        border: 0;
        border-radius: 4px;
        background-color: var(--checkout-bgcolor);
        cursor: pointer;
    }

.panel-order #total-amount {
    font-size: 16px;
    font-weight: bold;
}

/* sign in */
.panel-sign {
    display: block;
    margin: 40px auto 20px auto;
    padding: 20px;
    width: 360px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    text-align: center;
}

    .panel-sign .welcome {
        font-size: 18px;
        font-weight: bold;
    }

    .panel-sign .icon {
        margin: 10px 0;
        font-size: 40px;
        line-height: 1;
    }

    .panel-sign .header {
        font-size: 16px;
    }

    .panel-sign .desc {
        margin: 5px 0;
        font-size: 14px;
        color: #666;
    }

    .panel-sign label {
        display: block;
        margin: 5px 0;
        text-align: left;
        font-size: 16px;
        font-weight: bold;
    }

        .panel-sign label b {
            margin-left: 5px;
            color: red;
        }

    .panel-sign input,
    .panel-sign .btn-sign-in,
    .panel-sign .btn-sign-up {
        display: block;
        margin-bottom: 10px;
        padding: 0 10px;
        width: calc(100% - 24px);
        height: 40px;
        font-size: 16px;
        border: 1px solid #000;
        border-radius: 8px;
        background-color: #fff;
    }

    .panel-sign .btn-sign-in,
    .panel-sign .btn-sign-up {
        margin: 20px 0;
        width: 100%;
        height: 44px;
        color: #fff;
        background-color: #000;
        cursor: pointer;
    }

        .panel-sign .btn-sign-in:hover,
        .panel-sign .btn-sign-up:hover {
            opacity: .7;
        }

        .panel-sign .btn-sign-in i,
        .panel-sign .btn-sign-up i {
            margin-right: 10px;
        }

    .panel-sign .info-bottom a {
        color: blue;
        text-decoration: underline;
    }

/* fix width */
@media screen and ( max-width: 1200px ) {
    .container {
        margin-left: 15px;
        margin-right: 15px;
    }

    #slogan-text .title {
        margin: 0;
        padding: 15px;
        max-width: auto;
        line-height: 1;
        font-size: 14px;
    }

    .swiper-box {
        margin: 0 -15px;
    }

    .goods-list > .body > div > a > img {
        max-height: calc(25vw - 37px);
    }
}

@media screen and ( min-width: 1024px ) {
    header nav {
        background-color: var(--nav-bgcolor);
        white-space: nowrap;
        border-bottom: 1px solid #eee;
    }

        header nav ul > li {
            position: relative;
            display: inline-block;
            vertical-align: middle;
            line-height: 60px;
            z-index: 99;
        }

        header nav > .container > ul > li > i {
            position: absolute;
            right: 2px;
            top: 50%;
            margin-top: -5px;
            width: 5px;
            height: 5px;
            border-left: 1px solid #444;
            border-top: 1px solid #444;
            transform: rotate(225deg);
        }

        header nav ul > li > a {
            display: block;
            padding: 0 15px;
            color: #fff;
            cursor: pointer;
        }

        header nav ul > li > ul {
            display: none;
            position: absolute;
            left: 0;
            top: 61px;
            min-width: 100%;
            line-height: 36px;
            padding: 15px;
            box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.06);
            background-color: #fff;
            z-index: 100;
            border-radius: 2px;
        }

    header > nav > .container > ul > li > a > span {
        position: relative;
        color: #444;
        font-size: 16px;
        font-weight: bold;
    }

        header > nav > .container > ul > li > a > span::after {
            content: "";
            position: absolute;
            left: auto;
            right: 0;
            bottom: 0;
            height: 2px;
            width: 0;
            -webkit-transition: width .6s cubic-bezier(.25,.8,.25,1) 0s;
            transition: width .6s cubic-bezier(.25,.8,.25,1) 0s;
            background-color: #444;
        }

    header nav ul > li > ul li {
        display: block;
        line-height: 45px;
        white-space: nowrap;
    }

        header nav ul > li > ul li a {
            color: #444;
        }

            header nav ul > li > ul li:hover > a,
            header nav ul > li > ul li a:hover {
                background-color: #F2F2F2;
            }

    header nav ul > li:hover > ul {
        display: block;
    }

    header nav ul > li:hover > a > span::after {
        width: 100%;
        left: 0;
        right: auto;
    }

    header nav ul > li > ul > li:hover > ul {
        display: block;
        top: -6px;
        left: calc(100%);
    }
}

@media screen and ( max-width: 1024px ) {
    body {
        padding-top: 61px;
    }

    /* header */
    .header-top {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        color: #fff;
        background-color: #444;
        z-index: 1;
    }

    .header-body {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        border-bottom: 1px solid #eee;
        background-color: #fff;
        z-index: 1;
    }

        .header-body .container {
            min-height: 60px;
        }

        .header-body #btn-header-menu {
            display: flex;
        }

        .header-body .logo a {
            height: 60px;
        }

            .header-body .logo a img {
                max-height: 40px;
            }

        .header-body .searchIpt {
            width: calc(100% - 250px);
        }

        .header-body .search-bar button {
            margin: 0;
        }

    .breadcrumb {
        padding: 10px 0;
    }

    header nav {
        position: fixed;
        white-space: inherit;
        left: -100%;
        top: 0;
        bottom: 0;
        width: 80%;
        background-color: #fff;
        z-index: 10000;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-transition: all .3s;
    }

        header nav .container {
            margin: 0;
        }

        header nav > div > ul li {
            position: relative;
        }

            header nav > div > ul li a {
                display: block;
                padding: 15px;
            }

        header nav > div > ul > li > a {
            padding-right: 50px;
            border-bottom: 1px solid #f2f2f2;
        }

        header nav > div > ul ul {
            padding-left: 20px;
            background-color: #fff;
        }

    header > nav > div > ul > li > ul {
        display: none;
        border-bottom: 1px solid #f2f2f2;
    }

    header > nav > div > ul > li > i {
        position: absolute;
        right: 0;
        top: 0;
        font-family: "Font Awesome 6 Free";
        font-size: 22px;
        font-style: normal;
        display: block;
        padding: 0 15px;
        line-height: 50px;
        transform: rotate(0deg);
        transition: all 0.3s ease;
        cursor: pointer;
    }

        header > nav > div > ul > li > i::after {
            content: "\2b";
        }

    /* footer */
    footer {
        padding-bottom: 100px;
        margin: 15px 0 0 0;
        text-align: left;
    }

        footer > nav ul li {
            display: block;
            padding: 10px 0;
        }

            footer > nav ul li::before {
                content: "";
                position: relative;
                top: -2px;
                display: inline-block;
                margin: 0 10px;
                width: 6px;
                height: 6px;
                background-color: #444;
                border-radius: 50%;
            }

            footer > nav ul li::after {
                display: none;
            }

    /* goods list */
    .goods-list > .header {
        padding: 30px 0;
        font-size: 22px;
    }

    /* goods detail */
    .row {
        flex-direction: column;
    }

    .panel-goods-details h1 {
        font-size: 20px;
    }

    .panel-goods-style,
    .panel-goods-details {
        margin: 15px 0;
        width: 100%;
    }

        .panel-goods-details .panel-cart-buttons .btn {
            font-size: 16px;
        }

    /* cart step1 */
    .cart-header,
    .panel-total .header {
        padding: 30px 0;
        font-size: 22px;
    }

    .panel-cart .cart-item {
        padding: 10px;
    }

    .panel-cart .opt {
        float: right;
        position: relative;
        right: -15px;
        top: -5px;
    }

    .panel-cart .pic {
        width: 90px;
    }

    .panel-cart .title {
        width: calc(100% - 140px);
    }

        .panel-cart .title h1 {
            font-size: 16px;
        }

    .panel-cart .cart-item label {
        display: block;
        font-size: 14px;
    }

    .panel-cart .cart-item .title label,
    .panel-cart .header {
        display: none;
    }

    .panel-cart .price, .panel-cart .quantity, .panel-cart .subtotal {
        margin: 10px 0 0 90px;
        width: calc(100% - 95px);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .panel-total .body .opt .btn-checkout {
        padding: 0;
        width: 100%;
        text-align: center;
        font-size: 16px;
    }

    /*  cart step2 */
    .panel-shipping .header,
    .panel-order .header {
        font-size: 22px;
    }

    .panel-order > .body > div > div:last-child {
        min-width: 80px;
    }

    .panel-order .footer .opt .btn-checkout {
        width: 100%;
        text-align: center;
        font-size: 16px;
    }

    /* sign in */
    .panel-sign {
        margin-top: 20px;
    }
}

@media screen and ( max-width: 900px ) {
    .goods-list > .body {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

        .goods-list > .body > div > a > img {
            max-height: calc(33.3vw - 37px);
        }
}

@media screen and ( max-width: 600px ) {
    article {
        font-size: 16px;
    }

    .header-body .logo {
        left: 50px;
        justify-content: flex-start;
    }

    /* user center */
    .order-item {
        padding: 5px 10px;
        border: var(--box-border-style);
        border-radius: 8px;
    }

        .order-item dt, .order-item dd {
            padding: 5px 0;
        }

        .order-item dt {
            display: block;
            margin-bottom: 5px;
            padding-bottom: 10px;
        }

            .order-item dt label {
                margin-right: 10px;
            }

            .order-item dt .order-no {
                display: inline-block;
                width: calc(100% - 100px);
            }

        .order-item dd:last-child {
            padding-top: 20px;
        }

        .order-item dd .order-detail {
            right: 10px;
            bottom: 10px;
        }

    .order-items > div {
        gap: 10px;
        padding: 10px;
    }

        .order-items > div .style-size,
        .order-items > div .price {
            margin-top: 5px;
        }

    .shipping-info {
        padding: 10px;
    }

        .shipping-info dt {
            margin-bottom: 10px;
        }

        .shipping-info dd {
            padding: 3px 0;
        }

    /* goods list */
    .goods-list > .body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

        .goods-list > .body > div:hover {
            border-color: transparent;
        }

        .goods-list > .body > div > a > img {
            max-height: calc(50vw - 37px);
        }

    .panel-goods-details select[name="goodsSize"] {
        width: 100%;
    }

    /* cart step2 */
    .form-item {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 0;
    }

    /* fixed bottom */
    .panel-goods-details .panel-cart-buttons,
    .panel-total .body .opt,
    .panel-order .footer .opt {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0;
        padding: 15px;
        background-color: #fff;
        z-index: 1;
    }

    .go-top {
        margin-bottom: 30px;
    }
}

@media screen and ( max-width: 450px ) {
    .header-body .logo {
        display: none;
    }

    .panel-goods-details .digit {
        font-size: 12px;
    }

    .panel-sign {
        width: auto;
        padding: 0;
        box-shadow: none;
    }
}

.loading {
    background-image: url(/images/loading.gif);
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.5;
}
