:root {
    --primary-color: #A10101;
    --primary-dark: #8A0000;
    --primary-light: #F5D8D8;
    --accent-color: #F5F5F5;
    --text-color: #333333;
    --text-dark: #333333;
    --text-light: #666666;
    --active-bg: #FFF5F5;
    --active-border: #A10101;
    --secondary-color: #FF8C00;
    --bg-color: #f7f7f7;
    --card-bg: #FFFFFF;
    --border-color: #E0E0E0;
    --success-color: #67C23A;
    --success-light: #E1F3D8;
    --warning-color: #E6A23C;
    --danger-color: #F56C6C;
    --info-color: #909399;
    --info-light: #ECF5FF;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --best-color: #FF9800;
    --best-dark: #FF6D00;
    --best-light: #FFF3E0;
    --best-gradient: linear-gradient(135deg, #FF9800, #FFB74D, #FFD180);
    --crown-gold: #FFD700;
    --crown-dark: #FFA000;
    --crown-gradient: linear-gradient(135deg, #FFD700, #FFECB3, #FFF9C4);
    --newyear-red: #D62828;
    --newyear-gold: #FFD700;
    --newyear-dark-red: #8B0000;
}

.swiper {
    width: 100%;
    height: 56%;
}

img {
    display: block;
}

.swiper-wrapper img {
    width: 100%;
}

.layui-panel {
    max-width: 640px !important;
}

.page-title {
    position: sticky;

    max-width: 640px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 0px;
    border-bottom: 1px solid #eee;
    text-align: center;
    top: 0;
    background: white;
    z-index: 999;
}

.page-title-fixed {
    position: fixed;
    max-width: 640px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 0px;
    border-bottom: 1px solid #eee;
    text-align: center;
    top: 0;
    background: white;
    z-index: 999;
}

.sold-line {
    padding-right: 5px;
    width: 80%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 12px;
}

.table_details {
    padding: 0px;
    padding-bottom: 10px;
}

.table_details {
    height: auto;
    margin: 0 auto;
    background: #e7e7e7;
    padding-bottom: 5px;
    padding-top: 5px
}

.data-table {
    margin: 1.5%;
    font-size: 0.875rem;
    color: #666;
}

.data-table tr {
    height: 27px
}

.data-table th {
    border: 1px solid #ccc;
    font-weight: 100;
    padding: 5px
}

.data-table th {
    background: none repeat scroll 0 0 #f4f4f4;
    text-transform: uppercase;
    font-family: Arial;
    white-space: nowrap
}

.data-table td {
    padding: 10px;
    background: #fff;
    border: 1px solid #ccc
}

.table_details p {
    margin-bottom: 0
}

.data-table img {
    width: 100%
}

.page-top-btn {
    display: flex;
    text-align: center;
    justify-content: center;
    line-height: 2.875rem;
    width: calc(100% - 20px);
    margin: 10px;
    background: var(--primary-color);
    color: #fff;
    font-size: 1rem;
    border-radius: 5px;
    margin-bottom: 40px;
    border: solid var(--primary-color);
    border-width: 1px 1px 5px;
    border-radius: 3px;
    text-transform: uppercase;
    transition: transform 200ms, border 200ms;
    align-items: center;
    justify-content: center;
}

.page-top-btn:active {
    transform: translateY(2px) translateX(2px);
    border-width: 0px 0px 0px;
}

.page-last-btn {
    float: right;
    position: relative;
    line-height: 2.375rem !important;
    width: 25%;
    height: 40px;
    font-size: 0.875rem !important;
    margin-top: 7px;
    margin-right: 10px;
    margin-left: 10px;
    text-align: center;
    background: #f8f9fa;
    border: solid #dcdcdc;
    border-width: 1px 1px 5px;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    color: #555;
    gap: 10px;
    overflow: hidden;
    outline: none;
    text-transform: uppercase;
    transition: transform 200ms, border 200ms;
    display: flex;
}

.page-last-btn:active {
    transform: translateY(1px) translateX(2px);
    border-width: 0px 0px 0px;
}

.page-next-btn {
    float: right;
    position: relative;
    width: 25%;
    height: 40px;
    line-height: 2.375rem !important;
    font-size: 0.875rem !important;
    margin-top: 7px;
    margin-right: 10px;
    margin-left: 0px !important;
    text-align: center;
    background-color: var(--primary-color);
    border: solid var(--primary-color);
    border-width: 1px 1px 5px;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    color: #ffff;
    gap: 10px;
    overflow: hidden;
    outline: none;
    text-transform: uppercase;
    transition: transform 200ms, border 200ms;
    display: flex;
}

.page-next-btn:active {
    transform: translateY(1px) translateX(2px);
    border-width: 0px 0px 0px;
}

.page-next-btn::before {
    animation: next-shine 1.0s ease-out infinite;
}

.page-next-btn::before {
    content: "";
    position: absolute;
    width: 50px;
    height: 100%;
    background-image: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0) 70%);
    top: 0;
    left: -100px;
    opacity: 0.6;
}

@keyframes next-shine {
    0% {
        left: -20px;
    }

    60% {
        left: 100%;
    }

    to {
        left: 100%;
    }
}

.page-check-btn {
    float: right;
    position: relative;
    width: 50%;
    height: 40px;
    line-height: 2.375rem !important;
    font-size: 0.875rem !important;
    margin-top: 7px;
    margin-right: 10px;
    margin-left: 10px;
    text-align: center;
    background-color: var(--primary-color);
    border: solid var(--primary-color);
    border-width: 1px 1px 5px;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    color: #ffff;
    gap: 10px;
    overflow: hidden;
    outline: none;
    text-transform: uppercase;
    transition: transform 200ms, border 200ms;
    display: flex;
}

.page-check-btn:active {
    transform: translateY(1px) translateX(2px);
    border-width: 0px 0px 0px;
}

.page-check-btn::before {
    animation: shine-check 1.0s ease-out infinite;
}

.page-check-btn::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0) 70%);
    top: 0;
    left: -100px;
    opacity: 0.6;
}

@keyframes shine-check {
    0% {
        left: -50px;
    }

    60% {
        left: 100%;
    }

    to {
        left: 100%;
    }
}

.page-customer-btn {
    float: right;
    position: relative;
    width: 35%;
    height: 40px;
    line-height: 2.375rem !important;
    font-size: 0.875rem !important;
    margin-top: 7px;
    margin-left: 10px;
    margin-right: 10px;
    text-align: center;
    background: var(--primary-color);
    border: solid var(--primary-color);
    border-width: 1px 1px 5px;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    color: #fff;
    gap: 10px;
    overflow: hidden;
    outline: none;
    text-transform: uppercase;
    transition: transform 200ms, border 200ms;
    display: flex;
}

.page-customer-btn:active {
    transform: translateY(1px) translateX(2px);
    border-width: 0px 0px 0px;
}

.page-customer-btn::before {
    animation: cst-shine 1.0s ease-out infinite;
}

.page-customer-btn::before {
    content: "";
    position: absolute;
    width: 50px;
    height: 100%;
    background-image: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0) 70%);
    top: 0;
    left: -100px;
    opacity: 0.6;
}

@keyframes cst-shine {
    0% {
        left: -50px;
    }

    60% {
        left: 100%;
    }

    to {
        left: 100%;
    }
}

.page-comment-btn {
    float: center;
    position: relative;
    width: 95%;
    height: 40px;
    line-height: 2.375rem !important;
    font-size: 0.875rem !important;
    margin-top: 7px;
    margin-left: 10px;
    margin-right: 10px;
    text-align: center;
    background: var(--primary-color);
    border: solid var(--primary-color);
    border-width: 1px 1px 5px;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    color: #fff;
    gap: 10px;
    overflow: hidden;
    outline: none;
    text-transform: uppercase;
    transition: transform 200ms, border 200ms;
    display: flex;
}

.page-ordercheck-btn {
    float: center;
    position: relative;
    width: 100%;
    height: 40px;
    line-height: 2.375rem !important;
    font-size: 0.875rem !important;
    margin-top: 7px;

    margin-right: 10px;
    text-align: center;
    background: var(--primary-color);
    border: solid var(--primary-color);
    border-width: 1px 1px 5px;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    color: #fff;
    gap: 10px;
    overflow: hidden;
    outline: none;
    text-transform: uppercase;
    transition: transform 200ms, border 200ms;
    display: flex;
}

.page-ordercheck-btn:active {
    transform: translateY(1px) translateX(2px);
    border-width: 0px 0px 0px;
}

.page-ordercheck-btn::before {
    animation: comment-shine 1.0s ease-out infinite;
}

.page-ordercheck-btn::before {
    content: "";
    position: absolute;
    width: 50px;
    height: 100%;
    background-image: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0) 70%);
    top: 0;
    left: -100px;
    opacity: 0.6;
}

@keyframes ordercheck-shine {
    0% {
        left: -50px;
    }

    60% {
        left: 100%;
    }

    to {
        left: 100%;
    }
}

.page-comment-btn:active {
    transform: translateY(1px) translateX(2px);
    border-width: 0px 0px 0px;
}

.page-comment-btn::before {
    animation: comment-shine 1.0s ease-out infinite;
}

.page-comment-btn::before {
    content: "";
    position: absolute;
    width: 50px;
    height: 100%;
    background-image: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0) 70%);
    top: 0;
    left: -100px;
    opacity: 0.6;
}

@keyframes comment-shine {
    0% {
        left: -50px;
    }

    60% {
        left: 100%;
    }

    to {
        left: 100%;
    }
}

.price-title {
    line-height: 1.25rem;
    font-size: 1rem;
    font-weight: 400;
}

.page-confirm-price {
    color: red;
    font-size: 1.25rem;
    line-height: 1.25rem;
    font-weight: 900;
}

.message-order-btn {
    margin-top: 10px;
    height: 40px;
    text-align: center;
    justify-content: center;
    line-height: 2.5rem;
    width: 100%;

    background: var(--primary-color);
    color: #fff;
    font-size: 1rem;
    border-radius: 5px;
    text-transform: uppercase;
    transition: transform 200ms, border 200ms;
    border: solid var(--primary-color);
    border-width: 1px 1px 5px;
    align-items: center;
}

.message-order-btn:active {
    transform: translateY(1px) translateX(2px);
    border-width: 0px 0px 0px;
}

.bottom-bar {
    position: fixed;
    bottom: 0px;
    z-index: 1000;
    margin: 0 auto;
    width: 100%;
    max-width: 640px;
    height: 55px;
    background-color: #FFFFFF;
    box-shadow: 1px -3px 4px rgb(0 0 0 / 8%);
    vertical-align: center;
}

.message-bar {
    position: relative;
    bottom: 0px;
    margin: 0 auto;
    width: 100%;
    max-width: 640px;
    height: 55px;
    background-color: #FFFFFF;
    box-shadow: 1px -3px 4px rgb(0 0 0 / 8%);
    vertical-align: center;
}

.page-float-btn {
    display: flex;
    justify-content: center;
    line-height: 2.875rem;
    width: 100%;
    background: #409eff;
    color: #fff;
    font-size: 1rem;
    position: fixed;
    bottom: 0;
    max-width: 640px;
}

.send-type2 {
    display: none;
}

.layui-form-checked,
.layui-form-checked:hover {
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

.layui-form-checked>i {
    color: var(--primary-color) !important;
    color: #fff !important;
}

.layui-form-checked[lay-skin=primary]>i {
    border-color: var(--primary-color) !important;
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

.combo-img {
    width: 100%;
    padding: 50% 0;
    position: relative;
    top: 0;
}

.combo-img img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    border-radius: 2px;
}

.combo-img div {
    font-size: 0.75rem;
    line-height: 1.3125rem;
    color: #666;
}

.combo-title-img {
    width: 20%;
    height: 20%;
    padding: 10% 0;
    position: relative;
    top: 0;
}

.combo-title-img img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    border-radius: 2px;
}

.combo-disabled {
    background: rgb(231, 229, 229) !important;
    border-color: #ddd !important;
    color: rgb(177, 175, 175);
}

.count-btn {
    width: 36px;
    height: 36px;
    line-height: 2.25rem;
    background: #eee;
    color: #222;
    text-align: center;
    font-size: 1rem;
}

.count-box {
    border: 1px solid #ccc;
    width: 152px;
}

.count-box input {
    width: 80px;
    height: 36px;
    text-align: center;
    border: none;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

.order-info-input input {
    width: 100%;
    padding: 10px 5px;
    line-height: 1.25rem;
    border: 1px solid #cccccc;
    border-radius: 4px;
    color: #333;
    box-sizing: border-box;
    font-weight: bold;

}

.border-error input {
    width: 100%;
    padding: 10px 5px;
    line-height: 1.25rem;
    border: 1px solid red !important;
    border-radius: 4px;
    color: #333;
    box-sizing: border-box;
    font-weight: bold;

}

.select2-selection--single {
    height: 42px !important;
    line-height: 1.25rem !important;
    font-size: 0.875rem !important;
}

.select2-selection__rendered {
    color: var(--primary-color) !important;
    line-height: 2.625rem !important;
    font-size: 0.875rem !important;
}

.select2-results__options {
    max-height: 400px !important;
}

.select2-container--open .select2-dropdown {
    left: 0;
    z-index: 93000;
}

.select2-dropdown.increasezindex {
    z-index: 93000;
}

.order-info-input select {
    border-radius: 20px;
}

.shop-select-page {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    height: 95%
}

.shop-select-page .layui-layer-title {
    font-size: 1rem;
    line-height: 3.125rem;
}

.order-info-title {
    line-height: 2.25rem;
    font-size: 1rem;
    font-weight: 900;
}

.send-type-box {
    line-height: 2.5rem;
    font-size: 1rem;
    border-radius: 5px;
}

.send-type-box>div {
    text-align: center;
    width: 50%;
    background: #fff;
}

.send-type-box>div:first-child {
    border-right: 1px solid #ccc;
}

.pay-type-box {
    line-height: 2.5rem;
    font-size: 1rem;
    border-radius: 5px;
}

.pay-type-box>div {
    text-align: center;
    width: 50%;
    background: #fff;
}

.pay-type-box>div:first-child {
    border-right: 1px solid #ccc;
}

.send-type {
    border: 1px solid #ddd;
    color: black;
    border-radius: 2px;
    margin-right: 10px;
}

.send-type-active {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

.send-type-disabled {
    background: rgb(231, 229, 229) !important;
    border-color: #ddd !important;
    color: rgb(177, 175, 175) !important;
}

.pay-type {
    border: 1px solid #ddd;
    color: black;
    border-radius: 2px;
    margin-right: 10px;
}

.pay-discount {
    position: absolute;
    margin-left: 2px;
    margin-top: 10px;
}

.pay-type-active {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}


.order-info-input select {
    width: 100%;
    padding: 10px 5px;
    line-height: 1.25rem;
    height: 42px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    color: var(--primary-color);
    box-sizing: border-box;
    font-weight: bold;

}

.order-info-email input {
    width: 58%;
    padding: 10px 5px;
    line-height: 1.25rem;
    border: 1px solid #cccccc;
    border-radius: 4px;
    color: #333;
    box-sizing: border-box;
    font-weight: bold;

}

.order-info-getcode input {
    width: 35%;
    padding: 10px 5px;
    line-height: 1.25rem;
    border: 1px solid #cccccc;
    border-radius: 4px;
    color: #333;
    box-sizing: border-box;
    font-weight: bold;

}

.order-info-name input {
    width: 77%;
    padding: 10px 5px;
    line-height: 1.25rem;
    border: 1px solid #cccccc;
    border-radius: 4px;
    color: #333;
    box-sizing: border-box;
    font-weight: bold;
    margin-right: 5px;

}

.region-info-input input,
.region-info-input select {
    width: 100%;
    padding: 10px 5px;
    line-height: 1.25rem;
    border: 1px solid #cccccc;
    border-radius: 4px;
    color: var(--primary-color);
    box-sizing: border-box;
    font-weight: bold;

}

.county::placeholder {
    color: var(--primary-color);
}

.district::placeholder {
    color: var(--primary-color);
}

.shop-selection input::placeholder {
    color: var(--primary-color);
}

.ovfHiden {
    overflow: hidden;
}

.order-info-name select {
    width: 20%;
    padding: 10px 5px;
    line-height: 1.25rem;
    height: 42px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    color: var(--primary-color);
    box-sizing: border-box;
    font-weight: bold;
}

.getcode-btn-disabled {

    justify-content: center;
    line-height: 1.875rem;
    width: calc(100% - 200px);
    margin: 10px;
    background: var(--primary-color);
    color: #fff;
    font-size: 1rem;
    border-radius: 5px;
    padding: 10px 5px;
    background: rgb(231, 229, 229);
    border-color: #ddd !important;
    color: rgb(177, 175, 175);

}

.getcode-btn-active {

    justify-content: center;
    line-height: 1.875rem;
    width: calc(100% - 200px);
    margin: 10px;
    background: var(--primary-color);
    color: #fff;
    font-size: 1rem;
    border-radius: 5px;
    padding: 10px 5px;
}

.order-info-email select {
    width: 40%;
    padding: 10px 5px;
    line-height: 1.25rem;
    height: 42px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    color: var(--primary-color);
    box-sizing: border-box;
    font-weight: bold;

}

.order-info-input textarea {
    width: 100%;
    padding: 10px 5px;
    line-height: 1.25rem;
    border: 1px solid #cccccc;
    border-radius: 4px;
    color: #333;
    box-sizing: border-box;
}

.order-page {
    width: 100%;
    height: 100%;
    max-width: 640px;
    top: 0;
    background-color: #fafafa;
    display: none;
    margin: 0 auto;
}

.comment-page {
    width: 100%;
    height: 100%;
    max-width: 640px;
    top: 0;
    background-color: #fafafa;
    display: none;
    margin: 0 auto;
}

.combo-page {
    width: 100%;
    height: 100%;
    max-width: 640px;
    top: 0;
    background-color: #f7f7f7;
    display: block;
    margin: 0 auto;
}

.combo-page-fixed {
    width: 100%;
    height: 100%;
    max-width: 640px;
    top: 0;
    background-color: #f7f7f7;
    display: none;
    margin: 0 auto;
}

.customer-page {
    width: 100%;
    height: 100%;
    max-width: 640px;
    top: 0;
    background-color: #fafafa;
    display: none;
    margin: 0 auto;
}

.name-page {
    width: 100%;
    height: 100%;
    max-width: 640px;
    top: 0;
    background-color: #fafafa;
    display: none;
    margin: 0 auto;
}

.bank-page {
    width: 100%;
    height: 100%;
    max-width: 640px;
    top: 0;
    background-color: #fafafa;
    display: none;
    margin: 0 auto;
}

.mask {
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: 640px;
    top: 0;
    margin: 0 auto;
    display: none;
    background-color: #777;
    z-index: 999;
    filter: alpha(opacity=60);
    opacity: 0.5;
    -moz-opacity: 0.5;
}

.message-box {
    width: 100%;
    height: 100%;
    max-width: 640px;
    top: 0;
    background: #fff;
    display: none;
}

.failed-box {
    width: 100%;
    height: 100%;
    max-width: 640px;
    top: 0;
    background: #fff;
    display: none;
    overflow: hidden;
}

.order-info-box {
    padding: 10px;
}

.order-info-box li {
    padding: 10px 0;
    color: #666;
}

.order-info-box li>div:last-child {
    width: 60%;
    line-height: 1.3125rem;
    font-size: 0.875rem;
    color: #222;
    text-align: right;
}

.detail img {
    width: 100%;
}

.notesbox {
    padding: 0 3% 30px 3%;
    color: #fff;
}

.note_text {
    text-indent: 1em;
}

footer {
    display: -webkit-flex;
    display: flex;
    background: #fff;
    line-height: 3.125rem;
    text-align: center;
    font-size: 1rem;
    bottom: 0;
    width: 100%;
    max-width: 640px;
}

.inquiry {
    width: 60%;
    border-left: 1px dashed var(--primary-color);
}

.quickbuy {
    flex: 1;
    background: var(--primary-color);
    color: #fff;
    width: 20%;
}

.top {
    width: 20%;
}

.main-price span {
    font-weight: bold;
}

.justify-content-between {
    justify-content: space-between;
}

.s-goods-price {
    font-size: 1.125rem;
}

.top-big-btn-box {
    width: 100%;
    height: 50px;

    line-height: 3.125rem;
    font-size: 1.125rem;
    text-align: center;

}

.top-big-btn-red {
    height: 100%;
    background: #409eff;
    border-radius: 50px;
    text-align: center;
}

.fu-flag {
    padding: .05333rem .10667rem;
    background: red;
    color: #fff;
    line-height: .48rem;
    margin-left: .05333rem;
    border-radius: .08rem;
    font-size: .4rem;
}

.fu-flag-ak {
    padding: .05333rem .10667rem;
    background: red;
    color: #fff;
    line-height: .48rem;
    margin-left: 1.05333rem;
    border-radius: .08rem;

}

.fu-flag-bk {
    padding: .05333rem .10667rem;
    background: rgb(0, 0, 0);
    color: #fff;
    line-height: .48rem;
    margin-left: 1.05333rem;
    border-radius: .08rem;
}

.content-active {
    padding-bottom: 3px;
    border-bottom: 3px solid #409eff;
}

.issue-title {
    font-size: 1.125rem;
    line-height: 1.125rem;
    padding: 15px 10px 0px 10px;
}

.issue-title+div {
    padding: 0 10px;
    transition-duration: 0.5s;
    color: #666;
}

.issue-list-box {
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 10px;
}

.issue-arrow-active {
    transform: rotate(180deg);
    transition-duration: 0.5s;
}

.issue-content {
    height: 0;
}

a {
    background: 0 0;
    text-decoration: none;

}

.mui-bar {
    position: fixed;
    bottom: 0px;
    margin: 0 auto;
    width: 100%;
    max-width: 640px;
    height: 60px;
    background-color: #FFFFFF;
    text-align: center;
    vertical-align: middle;
    margin: 0 auto;
    max-width: 640px;
    padding-bottom: 1px;
    box-shadow: 1px -3px 4px rgb(0 0 0 / 8%);
    -webkit-overflow-scrolling: touch;
    transform: none;
    overflow: hidden;
    z-index: 1000;
}

.top-buy {
    margin-right: 10px;
    margin-top: 6px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    height: 28px;
    font-size: 1rem;
    color: #333;
    text-align: center;
    float: right;
    line-height: 1rem !important;
}

.top-bar-btn {
    position: absolute;
    right: 10px;
    padding-left: 6px !important;
    padding-right: 6px !important;
    top: 6px !important;
    height: 28px;
    font-size: 1rem;
    color: #333;
    text-align: center;
    float: right;
    line-height: 1rem !important;
}

.mui-bar .service,
.query {
    width: 18%;
    margin-top: 7px;
    margin-left: 5px;
    margin-right: 5px;
    height: 45px;
    border: 1px solid #dedede;
    text-align: center;
    float: left;
    border-radius: 5px;
}

.mui-bar .order-check {
    width: 18%;
    margin-top: 7px;
    margin-left: 5px;
    height: 45px;
    border: 1px solid #dedede;
    text-align: center;
    float: left;
    border-radius: 5px;
}

.service img {
    max-width: 30px;
    text-align: center;
}

.order-check img {
    width: 30px;
    text-align: center;
    margin: 0 auto;
    padding: 0 auto;
}

.buy-fix {
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 50%;
    margin-bottom: 5px;
    padding: 0 5px;
    line-height: 1.1rem;
    box-shadow: 0 0 5px rgba(0, 0, 0, .2), 3px 3px 3px rgba(0, 0, 0, .3);
}

.purchase {
    float: left;
    position: relative;
    width: 100%;
    height: 45px;
    font-size: 1rem;
    margin-top: 7px;
    margin-right: 2%;
    margin-left: 2%;
    text-align: center;
    background-color: var(--primary-color);
    border: solid var(--primary-color);
    border-width: 1px 1px 5px;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    color: #ffff;
    gap: 10px;
    overflow: hidden;
    outline: none;
    transition: all 0.3s ease-in-out;
    display: flex;
    font-weight: 700;
}

.purchase::before {
    animation: shine 1.5s ease-out infinite;
}

.purchase::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0) 70%);
    top: 0;
    left: -100px;
    opacity: 0.6;
}

@keyframes shine {
    0% {
        left: -100px;
    }

    60% {
        left: 100%;
    }

    to {
        left: 100%;
    }
}

.purchase:active {
    transform: translateY(1px) translateX(2px);
    border-width: 0px 0px 0px;
}

.query img,
.service img {
    margin: 0 auto;
    padding: 0 auto;
}

@-moz-document url-prefix() {
    .mui-bar .purchase {
        width: 47%
    }
}

.chat-button {
    border: 1px solid #f3f2f2;
    border-radius: 50%;
    margin-right: 1px;
    background: #fff;
    margin-bottom: 2px;
    width: 100%;
    box-shadow: 0 0 5px rgba(0, 0, 0, .2), 3px 3px 3px rgba(0, 0, 0, .3);
}

.more-label {
    padding: 10px 10px;
    background: #fff;
    box-shadow: 0px 2px 2px #ebe9e9;
    margin-bottom: 10px;
    text-align: center;
}

.more-btn {
    width: 100% !important;
    height: 40px !important;
    color: var(--primary-color) !important;
    font-size: 1rem;
    line-height: 2.375rem !important;
    font-weight: 900;
    border-color: var(--primary-color) !important;
}

.line__svg {
    width: 200px !important;
    height: 40px !important;
    text-align: center;
    background: #7ec163;
    border-radius: 3px;
    border: solid #61a447;
    border-width: 1px 1px 5px;

    text-transform: uppercase;
    transition: transform 200ms, border 200ms;
}

.line__svg:active {
    transform: translateY(2px) translateX(2px);
    border-width: 0px 0px 0px;
}

.line__svg img {
    margin: 0 auto;
    width: 32px;

}

.wts__svg {
    width: 200px !important;
    height: 40px !important;
    text-align: center;
    background: #7ec163;
    border-radius: 3px;
    border: solid #61a447;
    border-width: 1px 1px 5px;

    text-transform: uppercase;
    transition: transform 200ms, border 200ms;
}

.wts__svg:active {
    transform: translateY(2px) translateX(2px);
    border-width: 0px 0px 0px;
}

.wts__svg img {
    margin: 0 auto;
    width: 32px;

}

.fb__svg {
    width: 200px !important;
    height: 40px !important;
    text-align: center;
    background: var(--primary-color);
    border: solid var(--primary-color);
    border-width: 1px 1px 5px;
    border-radius: 3px;
    text-transform: uppercase;
    transition: transform 200ms, border 200ms;
}

.fb__svg:active {
    transform: translateY(2px) translateX(2px);
    border-width: 0px 0px 0px;
}

.fb__svg img {
    margin: 0 auto;
    width: 32px;
}

.ql-video {
    max-width: 640px;
    width: 100%;
    height: 14rem;
}

.buybutton {
    width: 100%;
    height: 40px;
    font-size: 1rem;
    text-align: center;
    background-color: white;
    border: solid 1px var(--primary-color);
    border-radius: 5px;
    color: var(--primary-color);

}

.ql-video video {
    width: 100%;
}

.detail {
    min-height: 600px;
    border-top: 5px solid #eee;
    padding: 0px;
    -webkit-touch-callout: none;
    user-select: none;
}

.detail-title {
    padding: 10px;
    font-size: 1rem;
    text-align: center;
    border-bottom: 3px solid #eee;
}

.detail-content-main {
    height: auto;
    max-height: 1600px;
    overflow: hidden;
}

.detail-content-more {
    height: auto;
}

.hotcakes {
    border-top: 5px solid #eee;
    padding: 0px;
    -webkit-touch-callout: none;
    user-select: none;
}

.hotcakes-content {
    min-height: 9.5rem;
    max-height: 19rem;
    margin-right: 10px !important;
    max-width: 640px !important;

}

.hotcakes-slide li {
    display: inline-flex;
    width: 100%;
    min-width: 320px;
    max-width: 640px;
}

.hotcakes-box {
    padding: 5px;
    width: 25%;
}

.hotcakes-img {
    width: 100%;
    min-width: 5rem;
    max-height: 5.5rem;
    min-height: 5.5rem;
}

.hotcakes-title {
    max-width: 160px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #424141;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.hotcakes-price {
    color: red;
    font-size: 0.75rem;
}

.comment {
    border-top: 5px solid #eee;
    padding: 0px;
    -webkit-touch-callout: none;
    user-select: none;
}

.comment-label {
    background-color: #fafafa;
    padding: 10px;
    margin-bottom: 5px;
    border-color: #eee;
    min-height: 50px;
}

.comment-btn-label {
    padding: 10px 10px;
    background: #fff;
    box-shadow: 0px 2px 2px #ebe9e9;
    border-top: 1px solid #eee;
    text-align: center;
}

.comment-title {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2rem;
    vertical-align: center;
    align-items: center;
}

.comment-date {
    float: right;
    display: inline-flex;
    font-weight: 500;
    font-size: 0.75rem;
}

.comment-text {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5rem;
    color: #424141;
    vertical-align: center;
}

.comment-pic {
    height: 50px;
    padding: 5px;
    display: inline-flex;
    vertical-align: center;
}

.comment-pic img {

    width: 40px;
    height: 40px;
    padding: 2px;
    display: inline-flex;
    vertical-align: center;
}

.class-rate-demo-theme {
    margin-left: 5px;
    margin-top: -5px;
    line-height: 1.2rem;
}

.class-rate-demo-theme .layui-icon {
    font-size: 0.95rem !important;
    line-height: 1.2rem !important;
}

.laypage-content {
    margin: 10px;
    line-height: 1.75rem !important;
}

.laypage-content .layui-laypage {
    line-height: 1.75rem !important;
}

.laypage-content .layui-laypage a {
    line-height: 1.75rem !important;
}

.laypage-content .layui-laypage span {
    line-height: 1.75rem !important;
}

.fot {
    width: 100%;
    text-align: center;
    line-height: 1.2;
    padding-top: 2px;
    font-size: 0.75rem
}

.buy-icon {
    max-width: 30px;
    margin: 12px auto 0 20%;
    text-align: right;
    float: left;
    width: 50%;
    padding-top: 3px
}

.fot p {
    margin: 0 auto;
    color: #000;
    line-height: 0.8125rem;
    font-size: 0.8125rem;
    text-align: center;
    margin-top: 34px
}

.fot p img {
    width: 35px;
    height: auto;
    margin-right: 0;
    padding-top: 6px;
    margin-left: 3px
}

.spec-img {
    width: 70px;
    height: 70px;
    border-radius: 0.2rem;
    padding: 5px;
}

.prev-img {
    width: 20px;
    left: 55px;
    top: 5px;
    position: absolute;
    background-color: #555;
    opacity: 0.6;
    border-radius: 2px;
}

.pay_content {
    width: 100%;
    height: auto;
    background: #fefefe;
    margin-top: .8rem;
    margin-bottom: .53333rem;
}

.spec-box li {
    font-weight: 400px;
    font-size: 0.75rem;
}

.pay_image {
    width: 20%;
    height: auto;
    float: left;
    padding-top: 6%;
    margin-left: 3%;
}

.detail-context {
    position: relative;
    font-size: 0.75rem;

    padding: 10px 10px;
    height: 40px;
}

.guide-line {
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.guide-none {
    padding-top: 5px;
    padding-bottom: 5px;
}

.guide-text {
    font-weight: 700;
    font-size: 0.8125rem;
    color: #424141;
}

.warp-mask1 {
    position: absolute;
    height: auto;
    max-width: 640px;
    border: 1px solid green;
    bottom: 0px;
}

.scroll-badge {
    margin-left: .2rem;
    background-color: #5bbef6;
    color: #fff;
    padding: .1rem .2rem;
    border-radius: .2rem;
    font-size: .8rem;
    line-height: 1rem;
    font-weight: normal;
    float: right;
}

.t-sell-flag {
    float: right;
    color: #424141;
    margin-left: 2px;
    border-radius: 3px;
    padding: 5px;
    font-size: 0.75rem;
    line-height: 1rem;
}

.t-sell-2 {
    float: right;
    font-size: 0.875rem;
    line-height: 21px;
    padding-top: 5px;
    padding-right: 5px;
    font-weight: 700;
}

.detail-context .flag {
    float: left;
    background: var(--primary-color);
    color: #fff;
    line-height: 1.125rem;
    margin-left: 2px;
    border-radius: 3px;
    padding: 2px 4px
}

.detail-profile {
    background: #e7e7e7;
    padding-bottom: 5px;
    color: var(--primary-color);
    min-height: 30px;
    font-size: 0.875rem;
}

.detail-label {
    padding: 5px 5px;
    background: #fff;
    box-shadow: 0px 2px 2px #ebe9e9;
    margin-bottom: 10px;
}

.detail-bars {
    box-shadow: 0px 1px 1px #ebe9e9;
    list-style-type: none;
    background: none repeat scroll 0% 0% white;
    height: 40px;
    width: 100%;
    max-width: 640px;
    padding: 0px;
    list-style: none;
}

.fixed {
    position: fixed;
    z-index: 999;
    top: 0px;
}

.detail-bars li {
    font-size: 1.15rem !important;
    background: white;
    width: 33.33%;
    line-height: 2.4375rem;
    border-right: 1px solid #ddd;
    float: left;
    text-align: center;
    cursor: pointer
}

.detail-bars li:last-child {
    border-right: none
}

.footer {
    text-align: center;
    left: auto;
    margin: 0 auto;
    max-width: 640px;
    height: 50px;
    padding-bottom: 50px;
}

.scroll-li {
    padding: 0.5rem;
    list-style: none;
    display: list-item;
    vertical-align: middle;
}

.scroll-li-b {
    padding: 0.5rem;
    list-style: none;
    display: list-item;
    vertical-align: middle;
    background: #f4f4f4;
}

.scroll-spec {
    font-size: 0.8rem;
    font-weight: normal;
    margin: 0;
    line-height: 2rem;
    vertical-align: middle;
}

.scroll-content {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    line-height: 2rem;
    vertical-align: middle;
}

.scroll-time {
    float: right;
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 400
}


* {
    margin: 0px;
    padding: 0px;
    /*  去掉所有标签的marign和padding的值  */
}

ul {
    list-style: none;
    /*  去掉ul标签默认的点样式  */
}

a {
    color: #333;
    font-size: 0.75rem;
    text-decoration: none;
    /* 超链接样式 */
}

a:hover {
    color: #ff0000;
}

#main {
    max-width: 640px;



    margin: 0;
    text-align: left;
    /* 让新闻内容靠左 */
}

/*  头部样式 */
#title {
    height: 40px;
    overflow: hidden;
    /* 内容超出的部分要隐藏，免得撑高头部 */
    font-size: 0.875rem;
    line-height: 2.5rem;
    padding-left: 30px;
    background: #b3d8fe;



    border-radius: 2px 2px 0 0;
    color: #fff;

}

#box {
    height: 300px;
    max-width: 640px;
    padding: 0.5rem;
    overflow: hidden;
    /* 超出的内容部分要隐藏，免得撑高中间部分 */
}

.product-image-container {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.8s ease-out;
}

.product-image-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, rgba(161, 1, 1, 0.1) 100%);
}

.box-icon {
    font-size: 80px;
    color: var(--primary-color);
    margin-bottom: 15px;
    opacity: 0.9;
}

.hot-badge {
    position: absolute;
    bottom: 20px;
    left: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    padding-right: 25px;
    border-radius: 0 20px 20px 0;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 8px rgba(161, 1, 1, 0.3);
    z-index: 2;
    display: none;
    animation: pulse 2s infinite;
}

.sticky-bar {
    border-top: 1px solid var(--primary-color);
    ;
}

.product-detail-container {
    padding: 10px;
    padding-top: 4px;
    animation: slideUp 0.6s ease-out 0.3s both;
}

.product-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 15px;
}

.product-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.product-subtitle {
    font-weight: 400;
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 20px;
}

.price-context {
    margin: 12px 0;
    position: relative;
}

.dc-price {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    flex-wrap: wrap;
}

.n-price-1 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    align-self: flex-start;
    margin-top: 8px;
}

.s-price-1 {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.o-price-1 {
    font-size: 1.4rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-left: 10px;
    position: relative;
}

.discount-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.9rem;
    animation: bounce 1.5s infinite alternate;
}

.sales-count {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 15px 0 25px;
    padding: 12px 0;
    position: relative;
}

.sales-count::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FFF5F5;
    border-radius: 10px;
    z-index: -1;
    transition: var(--transition);
}

.sales-count:hover::before {
    transform: scale(1.02);
    box-shadow: var(--shadow-light);
}

.sales-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sales-text::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.flag-context {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 25px 0;
}

.flag-context .flag {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    display: inline-block;
    transition: var(--transition);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.flag-context .flag:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.flag-context .flag::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.flag-context .flag:hover::after {
    left: 100%;
}

.flag-context .flag:nth-child(1) {
    background-color: var(--primary-color);
}

.flag-context .flag:nth-child(2) {
    background-color: var(--warning-color);
}

.flag-context .flag:nth-child(3) {
    background-color: var(--danger-color);
}

.flag-context .flag:nth-child(4) {
    background-color: var(--success-color);
}

.buy-button-container {
    margin: 30px 0;
}

.buybutton {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 25px 30px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(161, 1, 1, 0.2);
}

.buybutton:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(161, 1, 1, 0.3);
}

.buybutton:active {
    transform: translateY(-2px);
}

.buybutton::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.buybutton:hover::before {
    left: 100%;
}

.buybutton::after {
    content: "🔥";
    position: absolute;
    right: 20px;
    animation: fire 1s infinite alternate;
}

@keyframes fire {
    0% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

.buybutton:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.helper-section {
    background-color: #F9F9F9;
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
    border-left: 5px solid var(--primary-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.helper-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.helper-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 30%, rgba(161, 1, 1, 0.03) 100%);
    z-index: 0;
}

.helper-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.helper-text {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.line-button {
    background-color: #06C755;
    color: white;
    border: none;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
}

.line-button:hover {
    background-color: #05A346;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(6, 199, 85, 0.3);
}

.line-button img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.line-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.line-button:hover::after {
    left: 100%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-5px);
    }
}

/* 响应式调整 */
@media (max-width: 480px) {
    .product-image-container {
        height: 50vh;
    }

    .s-price-1 {
        font-size: 2.5rem;
    }

    .o-price-1 {
        font-size: 1.2rem;
    }

    .product-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 360px) {
    .product-image-container {
        height: 45vh;
    }

    .product-detail-container {
        padding: 15px;
    }

    .s-price-1 {
        font-size: 2.2rem;
    }

    .flag-context .flag {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

.product-image-container,
.product-detail-container {
    opacity: 0;
    animation-fill-mode: forwards;
}

.product-detail-container {
    animation-delay: 0.2s;
}

.package-box {
    width: 100%;
    max-width: 500px;
    background: white;
    border-radius: 22px;
    box-shadow: var(--shadow);
    overflow: hidden;
    animation: fadeIn 0.6s ease-out;
    position: relative;
}

.float-clear::after {
    content: "";
    display: table;
    clear: both;
}

.combo-box {
    list-style: none;
    padding: 10px;
    padding-top: 0px;
}

.combo-box li {
    background-color: white;
    border: 2.5px solid var(--border-color);
    border-radius: 18px;
    padding: 8px 12px;
    margin: 10px 8px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
}

.combo-box li:not(.combo-active) {
    opacity: 0.9;
}

.combo-box li:not(.combo-active):hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
    border-color: #c0c0c0;
    opacity: 1;
}

.combo-box li.combo-active {
    border-color: var(--primary-color);
    border-width: 3px;
    background-color: var(--active-bg);
    box-shadow: 0 10px 30px rgba(161, 1, 1, 0.25);
    transform: translateY(-5px);
    animation: activeGlow 3s infinite;
}

.combo-box li.combo-active::before {
    content: "✓";
    position: absolute;
    top: -14px;
    right: -14px;
    width: 34px;
    height: 34px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 5px 12px rgba(161, 1, 1, 0.5);
    z-index: 3;
    transition: var(--transition);
}

.combo-box li[data-index="0"] {
    position: relative;
    transform: translateY(-3px);
    z-index: 1;
    animation: bestGlow 3s infinite;
}

.user-choice-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--best-gradient);
    color: white;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 900;
    border-radius: 25px;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.5);
    z-index: 2;
    animation: bestPulse 2.5s infinite;
    letter-spacing: 0.8px;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.best-value-tag {
    position: absolute;
    top: 6px;
    right: 80px;
    background: linear-gradient(135deg, #FF5722, #FF9800);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    animation: bounce 1.2s infinite alternate;
    box-shadow: 0 3px 8px rgba(255, 87, 34, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 2;
}

.combo-box li>div:first-child {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-color);
    line-height: 1.4;
    margin-bottom: 10px;
    padding-top: 5px;
    transition: var(--transition);
    position: relative;
}

.combo-active>div:first-child {
    color: var(--primary-dark);
    font-weight: 900;
}

.combo-box li[data-index="0"]>div:first-child {
    color: #E65100;
    font-weight: 900;
    padding-top: 10px;
}

.combo-box li[data-index="0"] .combo-title {
    color: #E65100;
    font-weight: 900;
    padding-top: 10px;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.combo-box li>.price-tag {
    font-weight: 900;
    color: var(--primary-color) !important;
    font-size: 1.45rem !important;
    margin-left: 12px;
    position: relative;
    z-index: 1;
}

.combo-active>.price-tag {
    color: var(--primary-dark) !important;
    text-shadow: 0 3px 5px rgba(161, 1, 1, 0.15);
}

.combo-box li[data-index="0"]>.price-tag {
    color: var(--best-dark) !important;
    font-size: 1.55rem !important;
    position: relative;
    font-weight: 1000;
}

.combo-box li[data-index="0"].combo-active>.price-tag {
    color: #D84315 !important;
}

.combo-box li::before {
    position: absolute;
    bottom: 20px;
    padding: 7px 16px;
    border: 1px solid rgba(161, 1, 1, 0.1);
}

.combo-box li .combo-qty {
    position: absolute;
    bottom: 8px;
    right: 20px;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding: 7px 16px;
    border-radius: 22px;
    font-size: 0.9rem;
    font-weight: 800;
    transition: var(--transition);
    z-index: 1;
    border: 1px solid rgba(161, 1, 1, 0.1);
}

.combo-active::before {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(161, 1, 1, 0.4);
}

@media (max-width: 500px) {
    .package-box {
        border-radius: 20px;
    }

    .combo-box li {
        padding: 20px 18px;
        margin: 12px 6px;
    }

    .combo-box li>div:first-child {
        font-size: 1.1rem !important;
    }

    .combo-box li .combo-title {
        font-size: 1.1rem !important;
    }

    .combo-box li>.price-tag {
        font-size: 1.3rem !important;
    }

    .combo-box li[data-index="0"]>.price-tag {
        font-size: 1.4rem !important;
    }

    .user-choice-badge {
        font-size: 0.8rem;
        padding: 8px 14px;
        right: 10px;
        top: 10px;
        width: 40%;
    }

    .best-value-tag {
        font-size: 0.7rem;
        top: 16px;
        right: 70px;
    }

    .combo-box li[data-index="0"]::before {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }

    .combo-box li.combo-active::before {
        width: 34px;
        height: 34px;
        font-size: 17px;
    }
}

@media (max-width: 400px) {

    .combo-box li .combo-title,
    .combo-box li>div:first-child {
        font-size: 1rem !important;
    }
}

@media (max-width: 380px) {

    .combo-box li .combo-title,
    .combo-box li>div:first-child {
        font-size: 0.9rem !important;
    }

    .combo-box li>.price-tag {
        font-size: 1.1rem !important;
    }

    .combo-box li[data-index="0"]>.price-tag {
        font-size: 1.35rem !important;
    }

    .user-choice-badge {
        font-size: 0.75rem;
        padding: 7px 12px;
        right: 8px;
        top: 8px;
    }

    .best-value-tag {
        font-size: 0.65rem;
        padding: 3px 8px;
    }

    .combo-box li[data-index="0"]::before {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

.package-title {
    padding: 16px 6px 12px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.package-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), #FF6B6B, var(--primary-color));
    animation: shimmer 4s infinite linear;
}

.package-title h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    font-weight: 1000;
    margin: 0;
    position: relative;
    display: inline-block;
    letter-spacing: 0.8px;
}

.package-title h3::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 5px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes activeGlow {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(161, 1, 1, 0.25);
    }

    50% {
        box-shadow: 0 10px 35px rgba(161, 1, 1, 0.35);
    }
}

@keyframes bestGlow {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(255, 152, 0, 0.3);
    }

    50% {
        box-shadow: 0 8px 30px rgba(255, 152, 0, 0.4);
    }
}

@keyframes bestPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(255, 107, 53, 0.5);
    }

    50% {
        transform: scale(1.04);
        box-shadow: 0 5px 20px rgba(255, 107, 53, 0.6);
    }
}

@keyframes crownFloat {

    0%,
    100% {
        transform: translateX(-50%) translateY(0) rotate(0deg);
    }

    33% {
        transform: translateX(-50%) translateY(-6px) rotate(8deg);
    }

    66% {
        transform: translateX(-50%) translateY(-4px) rotate(-8deg);
    }
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-4px);
    }
}

.best-bg {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 20px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    z-index: 0;
    animation: sparkle 5s infinite linear;
    border-radius: 50%;
}

@keyframes sparkle {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.spec-content {
    width: 100%;
    background-color: var(--bg-color) !important;
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    animation: fadeIn 0.6s ease-out;
}

#spec-box {
    padding: 0;
}

.product-options {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.product-option-item {
    background-color: var(--card-bg);
    padding: 10px 6px;
    transition: var(--transition);
    position: relative;
}

.product-option-item:first-child {
    border-radius: 20px 20px 0 0;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.product-option-item:last-child {
    border-radius: 0 0 20px 20px;
    padding-top: 25px;
}

.product-option-item:hover {
    background-color: #fafafa;
}

.product-option-item .title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 12px;
    position: relative;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.product-option-item .title::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 3px;
    margin-right: 6px;
}

.product-option-item .cont {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.item.choosebtn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border: 2px solid var(--border-color);
    border-radius: 14px;
    background-color: white;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    min-width: 50px;
    flex: 1;
}

.item.choosebtn:not(.active):hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
    border-color: #c0c0c0;
}

.item.choosebtn.active {
    border-color: var(--active-border);
    border-width: 3px;
    background-color: var(--active-bg);
    box-shadow: 0 6px 18px rgba(161, 1, 1, 0.15);
    transform: translateY(-3px);
    animation: activePulse 2.5s infinite;
}

.item.choosebtn.active::before {
    content: "✓";
    position: absolute;
    top: -10px;
    right: -10px;
    width: 28px;
    height: 28px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 3px 8px rgba(161, 1, 1, 0.3);
    z-index: 2;
}

.combo-img {
    width: 98%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
}

.combo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.item.choosebtn.active .combo-img {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.item.choosebtn.active .combo-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(161, 1, 1, 0.1), transparent);
    border-radius: 10px;
}

.item.choosebtn span {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
    transition: var(--transition);
}

.item.choosebtn.active span {
    color: var(--active-bg);
    font-weight: 800;
}

.spec-split-box {
    background-color: var(--bg-color) !important;
    padding: 22px 15px !important;
    color: var(--secondary-color) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

.spec-split-box::before {
    content: "↓";
    font-size: 1.5rem;
    margin-right: 10px;
    animation: bounce 1.5s infinite;
}

.spec-split-box::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    animation: shimmer 3s infinite linear;
}

@media (max-width: 500px) {
    .product-option-item:first-child {
        padding-bottom: 22px;
    }

    .product-option-item:last-child {
        padding-top: 22px;
    }

    .product-option-item .title {
        font-size: 1.1rem;
        margin-bottom: 4px;
    }

    .discount-badge {
        top: -12px;
    }
}

@media (max-width: 380px) {
    .product-option-item:first-child {
        padding-bottom: 20px;
    }

    .product-option-item:last-child {
        padding-top: 20px;
    }

    .item.choosebtn span {
        font-size: 0.9rem;
    }

    .item.choosebtn.active::before {
        width: 24px;
        height: 24px;
        font-size: 12px;
        top: -8px;
        right: -8px;
    }

    .mui-bar .order-check {
        margin-left: 2px;
    }

    .purchase {
        margin-left: 5px;
    }
}

.item.choosebtn:active {
    transform: scale(0.95);
}

.item.choosebtn.active:active {
    transform: scale(0.95) translateY(-3px);
}

.product-option-item {
    opacity: 0;
    animation: slideInUp 0.5s ease-out forwards;
}

.product-option-item:nth-child(1) {
    animation-delay: 0.1s;
}

.product-option-item:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-options::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(247, 247, 247, 0.4) 100%);
    border-radius: 20px;
    z-index: -1;
}

.product-option-item:first-child {
    position: relative;
}

.product-option-item:first-child::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.product-option-item .choosebtn.active {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

.notification-container {
    position: fixed;
    top: 82px;
    left: 0px;
    z-index: 1000;
    width: 350px;
    pointer-events: none;
}

.notification-popup {
    background: linear-gradient(135deg, #fff 0%, #fff9f9 100%);
    border-radius: 15px;
    padding: 10px;
    box-shadow: var(--shadow);
    border: 2px solid var(--newyear-red);
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: auto;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: none;
}

.notification-popup.active {
    display: block;
    animation: slideIn 0.5s forwards;
}

.notification-popup.hiding {
    animation: slideOut 0.5s forwards;
}

.notification-popup::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: shimmern 3s infinite;
    pointer-events: none;
    z-index: 0;
}

.popup-content {
    display: flex;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.popup-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--newyear-red), var(--newyear-dark-red));
    color: var(--newyear-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
    flex-shrink: 0;
    font-size: 1.3rem;
    font-weight: bold;
    border: 2px solid var(--newyear-gold);
}

.popup-text {
    flex: 1;
}

.popup-title {
    font-weight: 800;
    color: var(--newyear-dark-red);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.popup-detail {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
}

.popup-time {
    color: var(--newyear-red);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 8px;
    display: inline-block;
    padding: 3px 10px;
    background: rgba(214, 40, 40, 0.1);
    border-radius: 12px;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: var(--newyear-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.8;
    z-index: 2;
}

.popup-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.newyear-tag {
    position: absolute;
    top: 10px;
    right: 42px;
    background: linear-gradient(135deg, var(--newyear-red), #ff6b6b);
    color: var(--newyear-gold);
    font-size: 0.8rem;
    font-weight: 900;
    padding: 4px 12px;
    border-radius: 12px;
    animation: pulse 1.5s infinite;
    box-shadow: 0 3px 8px rgba(214, 40, 40, 0.3);
}

@keyframes slideIn {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    80% {
        transform: translateX(10px);
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes shimmern {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@media (max-width: 768px) {
    .notification-container {
        width: 300px;
        left: 4px;
    }

    #notificationContainer .popup-title {
        font-size: 1rem;
    }

    #notificationContainer .popup-detail {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .notification-container {
        width: calc(100% - 20px);
        max-width: 320px;
    }
}

.popup-counter {
    position: fixed;
    top: 42px;
    right: 0px;
    background: var(--newyear-red);
    color: white;
    padding: 8px 15px;
    border-radius: 20px 0px 0px 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
}

.counter-icon {
    font-size: 1.2rem;
    animation: pulse 1.5s infinite;
}

#popupCounter .number-box div {
    display: inline-block;
    ;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    z-index: 1000;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.horse-lantern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--newyear-red), var(--newyear-dark-red));
    border-radius: 50% 50% 40% 40%;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    z-index: 2;
}

.horse-lantern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 215, 0, 0.3) 50%, transparent 70%);
    animation: horseShine 3s infinite linear;
}

.horse-ear {
    position: absolute;
    top: -10px;
    width: 20px;
    height: 25px;
    background: linear-gradient(135deg, var(--newyear-red), var(--newyear-dark-red));
    border-radius: 50% 50% 0 0;
    z-index: 3;
}

.horse-ear.left {
    left: 15px;
    transform: rotate(-15deg);
}

.horse-ear.right {
    right: 15px;
    transform: rotate(15deg);
}

.horse-mane {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 15px;
    background: linear-gradient(to right, var(--newyear-gold), #FFA000, var(--newyear-gold));
    border-radius: 10px;
    z-index: 4;
}

.horse-eye {
    position: absolute;
    top: 30px;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    z-index: 4;
}

.horse-eye::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 6px;
    height: 6px;
    background: #333;
    border-radius: 50%;
}

.horse-eye.left {
    left: 20px;
}

.horse-eye.right {
    right: 20px;
}

.horse-nose {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 15px;
    background: #8B4513;
    border-radius: 50%;
    z-index: 4;
}

.horse-nose::after {
    content: "↑";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--newyear-gold);
    font-size: 16px;
    font-weight: 900;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.horse-bell {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 25px;
    background: linear-gradient(to bottom, var(--newyear-gold), #FFA000);
    border-radius: 10px;
    z-index: 3;
    box-shadow: 0 3px 8px rgba(255, 215, 0, 0.5);
}

.horse-bell::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--newyear-red);
    border-radius: 50%;
}

.horseshoe {
    position: absolute;
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, var(--newyear-gold), #FFA000);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.9;
    animation: float 6s infinite ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--newyear-red);
    font-weight: 900;
}

.horseshoe::after {
    content: "U";
    transform: rotate(180deg);
    display: block;
}

.horseshoe-1 {
    top: -15px;
    left: -10px;
    animation-delay: 0s;
}

.horseshoe-2 {
    bottom: -10px;
    right: -15px;
    animation-delay: 2s;
}

.horseshoe-3 {
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    animation-delay: 4s;
}

.horse-tail {
    position: absolute;
    bottom: -20px;
    right: -15px;
    width: 25px;
    height: 40px;
    background: linear-gradient(to bottom, var(--newyear-gold), #FFA000, var(--newyear-gold));
    border-radius: 12px;
    transform: rotate(15deg);
    z-index: 1;
    opacity: 0.8;
    animation: tailSwing 3s infinite ease-in-out;
}

.ribbon {
    position: absolute;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #FF6B6B, var(--newyear-red));
    border-radius: 50%;
    z-index: 0;
    opacity: 0.8;
    animation: float 8s infinite ease-in-out;
}

.ribbon::after {
    content: "馬";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 16px;
    font-weight: 900;
}

.ribbon-1 {
    top: -20px;
    right: -10px;
    animation-delay: 1s;
}

.ribbon-2 {
    bottom: 10px;
    left: -25px;
    animation-delay: 3s;
}

.firework {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--newyear-gold);
    border-radius: 50%;
    opacity: 0;
    z-index: 0;
}

.back-to-top:hover .horse-lantern {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(214, 40, 40, 0.5);
}

.back-to-top:hover .horse-nose::after {
    transform: translate(-50%, -60%);
}

.back-to-top:active .horse-lantern {
    transform: scale(0.95);
}

.horse-year-slogan {
    position: fixed;
    bottom: 130px;
    right: 30px;
    background: linear-gradient(135deg, var(--newyear-red), var(--newyear-dark-red));
    color: var(--newyear-gold);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: var(--shadow);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: var(--transition);
    white-space: nowrap;
    border: 2px solid var(--newyear-gold);
    display: flex;
    align-items: center;
    gap: 8px;
}

@keyframes horseShine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-10px) rotate(10deg);
    }

    66% {
        transform: translateY(5px) rotate(-5deg);
    }
}

@keyframes tailSwing {

    0%,
    100% {
        transform: rotate(15deg);
    }

    50% {
        transform: rotate(25deg);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes fireworks {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0);
    }
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 88px;
        right: 20px;
        width: 70px;
        height: 70px;
    }

    .horse-year-slogan {
        bottom: 188px;
        right: 0px;
    }

    .horse-nose::after {
        font-size: 14px;
    }

    .horse-bell {
        bottom: -20px;
        height: 20px;
    }

    .fixed-right-box {
        bottom: 243px;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 88px;
        right: 15px;
    }

    .horse-nose {
        bottom: 8px;
    }

    .horse-nose::after {
        font-size: 13px;
    }

    .horseshoe {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }

    .ribbon {
        width: 30px;
        height: 30px;
    }

    .ribbon::after {
        font-size: 14px;
    }
}

.tooltip {
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
    z-index: 1001;
}

.tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}

.back-to-top:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.horse-year-slogan.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.horse-year-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--newyear-red), var(--newyear-dark-red));
    color: var(--newyear-gold);
    padding: 10px;
    text-align: center;
    font-weight: 900;
    font-size: 1.1rem;
    z-index: 999;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border-bottom: 3px solid var(--newyear-gold);
}

.horse-year-banner span {
    display: inline-block;
    animation: bounce 2s infinite;
    margin: 0 5px;
}

.submit-bar.confirm-order {
    background: linear-gradient(135deg, var(--bg-color), #fafafa);
    padding: 15px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--primary-color);
    animation: slideUpb 0.5s ease-out;
}

.bar-tip {
    background: var(--success-light);
    color: var(--success-color);
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
    border-left: 4px solid var(--success-color);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: pulse 2s infinite;
    max-width: 220px;
}

.bar-tip::before {
    content: "✓";
    font-weight: 900;
    font-size: 1.1rem;
}

.price-content {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
    padding: 0 5px;
}

.price-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
}

.page-confirm-price.product-price-2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 1px 1px 3px rgba(161, 1, 1, 0.1);
    animation: priceGlow 3s infinite;
}

.page-confirm-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    color: white !important;
    border: none !important;
    padding: 18px 30px !important;
    font-size: 1.2rem !important;
    font-weight: 900 !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    min-width: 300px;
    height: 44px;
    box-shadow: 0 6px 15px rgba(161, 1, 1, 0.3) !important;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.page-confirm-btn:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(161, 1, 1, 0.4) !important;
}

.page-confirm-btn:active {
    transform: translateY(-2px) !important;
}

.page-confirm-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.page-confirm-btn:hover::before {
    left: 100%;
}

.page-confirm-btn::after {
    content: "🚀";
    font-size: 1.3rem;
}

.layui-panel.float-clear:first-of-type {
    background: linear-gradient(135deg, var(--primary-light), white);
    border-radius: 15px;
    margin: 20px 0 15px;
    padding: 15px;
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.layui-panel.float-clear:first-of-type::before {
    content: "🎯";
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 1.5rem;
}

.layui-panel.float-clear:first-of-type div {
    font-size: 1.2rem !important;
    font-weight: 900 !important;
    color: var(--primary-dark) !important;
    text-align: center !important;
    padding: 5px 10px !important;
}

.layui-panel.float-clear:last-of-type {
    background: var(--bg-color);
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--shadow);
    border: 2px solid var(--primary-light);
    position: relative;
    overflow: hidden;
    animation: fadeInb 0.6s ease-out 0.2s both;
}

.layui-panel.float-clear:last-of-type::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    animation: shimmer 3s infinite linear;
}

.sku-content {
    padding-bottom: 10px;
    border-bottom: 2px dashed var(--border-color);
    margin-bottom: 10px;
}

.sku-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: var(--card-bg);
    border-radius: 12px;
    transition: var(--transition);
}

.sku-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
}

.sku-img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--primary-light);
    flex-shrink: 0;
    position: relative;
}

.sku-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.sku-box:hover .sku-img img {
    transform: scale(1.05);
}

.sku-title {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-color);
    line-height: 1.4;
    margin-bottom: 5px;
}

.sku-body {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.sku-num {
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 800;
    min-width: 45px;
    text-align: center;
    box-shadow: 0 3px 8px rgba(161, 1, 1, 0.2);
    animation: bounceb 2s infinite;
}

.order-prices {
    background: linear-gradient(135deg, #fafafa, #f5f5f5);
    border-radius: 12px;
    padding: 10px !important;
    border: 1px solid var(--border-color);
}

.order-prices>div {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
    transition: var(--transition);
}

.order-prices>div:hover {
    background-color: rgba(255, 255, 255, 0.5);
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 8px;
}

.order-prices>div:last-of-type {
    border-bottom: none;
    padding-bottom: 5px;
}

.order-prices>div:nth-last-of-type(2) {
    border-bottom: 2px solid var(--primary-color);
}

.order-prices span:first-child {
    font-weight: 600;
    color: var(--text-color) !important;
}

.old-price {
    text-decoration: line-through !important;
    text-decoration-color: var(--primary-color) !important;
    color: var(--text-light) !important;
    font-size: 0.95rem !important;
}

.product-price {
    font-weight: 800 !important;
    color: var(--primary-color) !important;
    font-size: 1.1rem !important;
}

.shipFee {
    font-weight: 700 !important;
    color: var(--success-color) !important;
    font-size: 1rem !important;
}

.product-price-2 {
    font-size: 1.3rem !important;
    font-weight: 900 !important;
    color: var(--primary-color) !important;
    text-shadow: 1px 1px 3px rgba(161, 1, 1, 0.1);
}

.newyear-decoration {
    text-align: center;
    font-size: 1.5rem;
    margin: 20px 0 20px 0;
    animation: bounceb 3s infinite;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.15));
}

@keyframes slideUpb {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes fadeInb {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes priceGlow {

    0%,
    100% {
        text-shadow: 1px 1px 3px rgba(161, 1, 1, 0.1);
    }

    50% {
        text-shadow: 1px 1px 8px rgba(161, 1, 1, 0.3);
    }
}

@keyframes bounceb {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .submit-bar.confirm-order {
        padding: 12px;
    }

    .page-confirm-btn {
        font-size: 1.1rem !important;
        min-width: 200px;
    }

    .page-confirm-price.product-price-2 {
        font-size: 1.6rem;
    }

    .sku-img {
        width: 70px;
        height: 70px;
    }

    .sku-title {
        font-size: 1rem;
    }

    .layui-panel.float-clear:last-of-type {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .submit-bar.confirm-order {
        flex-direction: column;
    }

    .submit-bar.confirm-order>div {
        width: 100% !important;
    }

    .price-content {
        gap: 8px;
    }

    .sku-box {
        flex-wrap: wrap;
    }

    .sku-img {
        width: 60px;
        height: 60px;
    }

    .sku-num {
        position: absolute;
        top: 70px;
        right: 16px;
    }
}

@media (max-width: 450px) {
    .page-confirm-btn {
        min-width: 180px;
    }

    .bar-tip {
        padding: 10px 8px;
        font-size: 0.9rem;
    }
}

@media (max-width: 430px) {
    .page-confirm-btn {
        min-width: 175px;
    }

    .bar-tip {
        max-width: 180px;
    }
}

@media (max-width: 400px) {
    .page-confirm-btn {
        min-width: 160px;
    }

    .submit-bar.confirm-order {
        padding: 8px;
    }
}

@media (max-width: 380px) {
    .page-confirm-btn {
        min-width: 140px;
    }

    .discount-badge {
        top: -24px;
    }
}

@media (max-width: 360px) {
    .bar-tip {
        font-size: 0.85rem;
        max-width: 172px;
        padding: 8px 10px;
    }

    .page-confirm-btn {
        font-size: 1rem !important;
        min-width: 130px;
    }

    .discount-warp {
        font-size: 1.15rem;
    }

    .price-title {
        font-size: 1rem;
    }
}

@media (max-width: 340px) {
    .submit-bar.confirm-order {
        padding: 6px;
    }

    .bar-tip {
        padding: 8px 6px;
    }

    .send-type-box {
        font-size: 0.9rem;
    }
}

@media (max-width: 330px) {
    .page-confirm-btn {
        font-size: 0.8rem !important;
        min-width: 124px;
    }

    .bar-tip {
        padding: 8px 4px;
        font-size: 0.75rem;
    }
}

.security-notice {
    text-align: center;
    padding: 5px;
    background: linear-gradient(135deg, #E8F5E9, #F1F8E9);
    border-radius: 10px;
    margin: 5px 0;
    border: 1px solid #C8E6C9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #2E7D32;
    font-weight: 600;
}

.security-notice::before {
    content: "🔒";
    font-size: 1.2rem;
}

.order-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    overflow: hidden;
}

.order-success-modal.active {
    display: block;
    opacity: 1;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 1;
}

.modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    max-width: 800px;
    max-height: 90vh;
    z-index: 2;
    animation: modalAppear 0.6s ease-out;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .modal-container {
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .modal-overlay {
        background: rgba(0, 0, 0, 0.95);
    }
}

@media (min-width: 769px) {
    .modal-container {
        border-radius: 20px;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
        overflow: hidden;
    }

    .modal-overlay {
        background: rgba(0, 0, 0, 0.7);
    }
}

.modal-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #fff5f5 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.modal-scrollable {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.modal-header {
    padding: 20px 15px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--success-light), #F0F9EB);
    border-bottom: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.modal-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--success-color), #85CE61, var(--success-color));
    animation: shimmer 3s infinite linear;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--success-color), #5DAF34);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 3.5rem;
    box-shadow: 0 10px 25px rgba(103, 194, 58, 0.4);
    animation: bounce 2s infinite, rotate 1s ease-out;
    border: 5px solid white;
}

.success-title {
    font-size: 1.8rem;
    font-weight: 1000;
    color: var(--success-color);
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.success-message {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 600;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
    padding: 0 10px;
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 800;
    display: inline-block;
    animation: pulse 2s infinite;
}

.contact-section {
    background: linear-gradient(135deg, var(--info-light), #F0F9FF);
    border-radius: 18px;
    padding: 10px;
    margin: 10px 20px;
    border: 2px solid var(--info-color);
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: "💬";
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2rem;
    opacity: 0.8;
}

.contact-title {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--info-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-title::before {
    content: "📱";
    font-size: 1.5rem;
}

.contact-qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.qr-code {
    width: 180px;
    height: 180px;
    background: #f5f5f5;
    border-radius: 12px;
    border: 1px solid var(--info-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.qr-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.4;
}

.qr-placeholder img {
    width: 100%;
}

.contact-note {
    font-size: 0.95rem;
    color: var(--text-light);
    text-align: center;
    font-weight: 600;
    padding: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    border-left: 3px solid var(--info-color);
}

.order-section {
    background: var(--bg-color);
    border-radius: 18px;
    padding: 10px;
    margin: 0 15px 20px;
    box-shadow: var(--shadow);
    border: 2px solid var(--primary-light);
    position: relative;
}

.order-section::before {
    content: "📦";
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.8;
}

.order-title {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-title::before {
    content: "📝";
    font-size: 1.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.info-item {
    display: flex;
    padding: 10px;
    background: var(--card-bg);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-light);
}

.info-label {
    font-weight: 700;
    color: var(--text-color);
    min-width: 100px;
    font-size: 1rem;
}

.info-value {
    flex: 1;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    word-break: break-word;
}

.info-value.highlight {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.1rem;
}

.info-value.success {
    color: var(--success-color);
    font-weight: 800;
}

.product-info {
    grid-column: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: linear-gradient(135deg, var(--primary-light), #FFF5F5);
    border-radius: 15px;
    border: 2px solid var(--primary-color);
}

.product-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    flex-shrink: 0;
    box-shadow: var(--shadow-light);
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    flex: 1;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--text-color);
    margin-bottom: 4px;
    line-height: 1.3;
}

.product-package {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 800;
    background: rgba(161, 1, 1, 0.1);
    padding: 6px;
    border-radius: 20px;
    display: inline-block;
}

.modal-footer {
    padding: 15px 10px 20px;
    background: linear-gradient(135deg, #fafafa, #f5f5f5);
    border-top: 2px solid var(--border-color);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.modal-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    animation: shimmer 3s infinite linear;
}

.action-buttons {
    display: flex;
    gap: 15px;
}

.back-button {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 900;
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 15px rgba(161, 1, 1, 0.3);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.back-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(161, 1, 1, 0.4);
}

.back-button:active {
    transform: translateY(-2px);
}

.back-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.8s ease;
}

.back-button:hover::before {
    left: 100%;
}

.back-button::after {
    content: "←";
    font-size: 1.4rem;
    font-weight: 900;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    font-weight: 900;
}

.close-modal:hover {
    background: rgba(161, 1, 1, 0.2);
    color: var(--primary-color);
    transform: rotate(90deg);
}

@keyframes modalAppear {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }

    70% {
        transform: translate(-50%, -50%) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(-180deg) scale(0);
    }

    70% {
        transform: rotate(10deg) scale(1.1);
    }

    100% {
        transform: rotate(0) scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.modal-scrollable::-webkit-scrollbar {
    width: 8px;
}

.modal-scrollable::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-scrollable::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.modal-scrollable::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

@media (min-width: 768px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-info {
        grid-column: span 2;
    }

    .contact-qr-container {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .qr-code {
        width: 160px;
        height: 160px;
    }

    .modal-scrollable::-webkit-scrollbar {
        width: 10px;
    }
}

@media (max-width: 480px) {
    .success-icon {
        width: 85px;
        height: 85px;
        font-size: 3rem;
    }

    .order-title {
        margin-bottom: 10px;
    }

    .success-title {
        font-size: 1.5rem;
    }

    .success-message {
        font-size: 1rem;
    }

    .qr-code {
        width: 150px;
        height: 150px;
    }

    .info-item {
        gap: 8px;
    }

    .info-label {
        min-width: auto;
    }

    .back-button {
        padding: 18px;
        font-size: 1.1rem;
    }

    .close-modal {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
}

@media (max-width: 400px) {
    .product-package {
        font-size: 0.8rem;
    }

    .product-name {
        font-size: 1rem;
    }
}

.loading-spinner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

.loading-spinner.active {
    display: flex;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid var(--primary-light);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#chinese-new-year-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fff9f3 0%, #ffe9d9 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    text-align: center;
}

.lantern-decoration {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 80px;
    z-index: 1;
}

.lantern {
    width: 40px;
    height: 50px;
    position: relative;
    animation: lanternSwing 3s ease-in-out infinite;
}

.lantern.left {
    animation-delay: 0s;
}

.lantern.right {
    animation-delay: 1.5s;
}

.lantern::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 80%;
    background: var(--primary-color);
    border-radius: 50% 50% 40% 40%;
    box-shadow:
        0 5px 15px rgba(161, 1, 1, 0.4),
        inset 0 -5px 10px rgba(0, 0, 0, 0.2);
}

.lantern::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 15%;
    bottom: 0;
    background: linear-gradient(to bottom, #8a0000, var(--primary-color));
    border-radius: 0 0 8px 8px;
}

.loader-title {
    font-size: 3.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.1),
        4px 4px 0 rgba(161, 1, 1, 0.05);
    position: relative;
    padding-bottom: 15px;
}

.loader-title::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.loader-subtitle {
    font-size: 1.4rem;
    color: #d46b6b;
    margin-bottom: 3rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.loading-animation {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 2.5rem;
}

.loading-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed rgba(161, 1, 1, 0.2);
    animation: rotate 20s linear infinite;
}

.loading-circle::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(161, 1, 1, 0.1);
    transform: scale(1.1);
}

.loading-center {
    position: absolute;
    width: 140px;
    height: 140px;
    top: 30px;
    left: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow:
        inset 0 0 20px rgba(161, 1, 1, 0.1),
        0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.horse-icon {
    font-size: 4.5rem;
    color: var(--primary-color);
    animation: horsePulse 2s ease-in-out infinite;
}

.loading-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.loading-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(161, 1, 1, 0.8);
}

.loading-dot:nth-child(1) {
    animation: rotate 1.8s linear infinite;
}

.loading-dot:nth-child(2) {
    animation: rotate 1.8s linear infinite reverse;
    background: #ff6b6b;
    width: 12px;
    height: 12px;
    top: 15px;
    left: calc(50% + 15px);
}

.loading-dot:nth-child(3) {
    animation: rotate 1.8s linear infinite;
    background: #ff9d9d;
    width: 10px;
    height: 10px;
    top: 30px;
    left: calc(50% - 20px);
}

.loading-text {
    font-size: 1.6rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
}

.loading-text::after {
    content: "···";
    position: absolute;
    right: -30px;
    animation: dotsPulse 1.5s infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes horsePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes lanternSwing {

    0%,
    100% {
        transform: translateY(0) rotate(-3deg);
    }

    50% {
        transform: translateY(-10px) rotate(3deg);
    }
}

@keyframes dotsPulse {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }
}

@keyframes symbolFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@media (max-width: 768px) {
    .loader-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .loader-subtitle {
        font-size: 1.2rem;
    }

    .loading-animation {
        width: 180px;
        height: 180px;
    }

    .loading-center {
        width: 120px;
        height: 120px;
        top: 30px;
        left: 30px;
    }

    .horse-icon {
        font-size: 3.5rem;
    }

    .loading-text {
        font-size: 1.4rem;
    }

    .lantern-decoration {
        gap: 60px;
    }

    .lantern {
        width: 35px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .loader-title {
        font-size: 2rem;
    }

    .loading-animation {
        width: 160px;
        height: 160px;
    }

    .loading-center {
        width: 100px;
        height: 100px;
        top: 30px;
        left: 30px;
    }

    .horse-icon {
        font-size: 3rem;
    }
}

#app {
    padding-top: 60px;
}
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color), #34495e);
    z-index: 1000;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    max-width: 80%;
}

.fixed-header .back-button {
    background: var(--primary-color);
    border: 1px solid c;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex: unset;
    padding: 0px;
    gap: 0px;
}
.fixed-header .back-button::after {
    content: '';
}

.fixed-header .back-button:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

.fixed-header .back-icon {
    width: 20px;
    height: 20px;
    fill: white;
}