html {
    background: #f5f5f5;
}

body {
    padding: 0;
    background: #f5f5f5;
}

.eshop-template-box {
    width: 100%;
    text-align: left;
    background-color: #fff;
    min-height: 100vh;
    padding-bottom: 70px;
}

.eshop-template-box .content {
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.eshop-template-box .content * {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
}

.eshop-template-box .content table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed;
    word-break: break-all;
}

.eshop-template-box .content [style*="width"] {
    max-width: 100% !important;
}

.eshop-template-box .content img {
    display: block;
    width: 100% !important;
    height: auto !important;
}

.eshop-template-box .content p {
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.eshop-line-btn {
    position: fixed;
    right: 20px;
    bottom: 120px;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #06c755;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    z-index: 9999;
}

.eshop-theme-template-1 .eshop-top-btn {
    position: fixed;
    right: 20px;
    bottom: 190px;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 999px;
    background: #333;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    z-index: 9999;
}

.eshop-line-btn svg {
    width: 32px;
    height: 32px;
    display: block;
}

.fix-bottom-box {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: stretch;
    min-height: 60px;
    line-height: 60px;
    color: #fff;
    z-index: 9998;
}

.fix-bottom-box.is-hidden {
    display: none;
}

.fix-bottom-box .query-btn {
    cursor: pointer;
    width: 160px;
    min-width: 112px;
    background: #ff9902;
    text-align: center;
    font-size: 18px;
    line-height: 60px;
    border-radius: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fix-bottom-box .buy-btn {
    cursor: pointer;
    flex: 1 1 0%;
    background: #cf2a4f;
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    line-height: 60px;
    border-radius: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 360px) {
    .fix-bottom-box {
        min-height: 48px;
    }
    .fix-bottom-box .query-btn,
    .fix-bottom-box .buy-btn {
        font-size: 16px;
        line-height: 48px;
    }
    .fix-bottom-box .query-btn {
        flex-basis: 40%;
        min-width: 100px;
    }
}

.eshop-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #fff;
}

.eshop-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    z-index: 2;
}

.eshop-carousel-arrow.is-prev {
    left: 10px;
}

.eshop-carousel-arrow.is-next {
    right: 10px;
}

.eshop-carousel-arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translate(-50%, -50%) rotate(45deg);
}

.eshop-carousel-arrow.is-prev::before {
    transform: translate(-50%, -50%) rotate(-135deg);
}

.eshop-carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.25s ease;
    will-change: transform;
}

.eshop-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
}

.eshop-carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.eshop-carousel-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.eshop-carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.eshop-carousel-dot.is-active {
    background: rgba(207, 42, 79, 0.95);
    border-color: rgba(207, 42, 79, 0.95);
}

/* 轮播图容器高度自适应 */
.eshop-carousel {
    overflow: hidden;
}

.eshop-carousel-slide {
    overflow: hidden;
}

.eshop-t1-pricebar {
    color: #e40031;
    font-size: 26px;
    font-weight: 700;
    line-height: 65px;
    padding-left: 20px;
    border-bottom: 1px solid #eee;
    background: #b2aeae;
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.eshop-t1-old-price {
    margin-left: 5px;
    font-size: 17px;
    color: #666;
    text-decoration: line-through;
    margin-top: 9px;
}

.eshop-t1-titlebar {
    padding: 2% 3%;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    background: #b2aeae;
    display: flex;
    align-items: center;
    gap: 8px;
}

.eshop-t1-hot {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background: #cf2a4f;
    color: #fff;
    font-size: 12px;
    line-height: 1.6;
    white-space: nowrap;
}

.eshop-t1-freebar {
    display: flex;
    justify-content: space-around;
    border-bottom: 1px solid #e5e5e5;
    padding: 15px 0;
    overflow: hidden;
    border-top: 1px solid #e5e5e5;
    flex-wrap: wrap;
    gap: 10px;
}

.eshop-t1-freeitem {
    font-size: 14px;
    color: #333;
}

.eshop-t1-freeitem i {
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background: #fff;
    color: #cf2a4f;
    font-weight: 700;
    border: 1px solid #cf2a4f;
    display: inline-block;
    border-radius: 50%;
    margin-right: 3px;
    font-style: normal;
}

.logistics_box {
    background-color: #fff;
    border-bottom: 1px solid #ccc;
}

.logistics_box .prom-item {
    line-height: 24px;
    font-size: 14px;
    padding: 15px 10px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.logistics_box .prom-item .prom-l {
    color: #121212;
    font-weight: 700;
    white-space: nowrap;
}

.logistics_box .prom-item .p-item-box {
    flex: 1;
    min-height: 24px;
    overflow: hidden;
    margin: 0 12px;
    color: #666;
    padding-bottom: 5px;
}

.logistics_box .prom-ser {
    color: #999;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 8px 10px;
    gap: 10px;
}

.logistics_box .prom-ser li {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 68px;
}

.logistics_box .prom-ser img {
    width: 35px;
    height: 36px;
}

.logistics_box .prom-ser .eshop-t1-stepicon {
    width: 35px;
    height: 36px;
    border-radius: 10px;
    background: #f2f2f2;
    border: 1px solid #e0e0e0;
}

.logistics_box .prom-ser p {
    margin: 0;
    font-size: 14px;
    padding: 10px 0 15px 0;
}

.logistics_box .prom-ser span {
    width: 34px;
    height: 1px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.bw-title {
    background: #cf2a4f;
    height: 40px;
    line-height: 40px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding-left: 15px;
}

.wfwrap {
    overflow: hidden;
    padding: 10px;
    height: auto;
}

.wfwrap .wfform-box {
    clear: both;
    width: 100%;
}

.wfwrap .wfproimg {
    width: 100%;
    height: auto;
}

.wfwrap .wfform-label {
    float: left;
    display: block;
    padding-right: 15px;
    height: 34px;
    line-height: 34px;
    font-weight: 700;
    font-size: 13px;
}

.wfwrap .wfform-label em {
    color: #ff4d4f;
    font-style: normal;
}

.package-item {
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
    border: 1px solid #d9d9d9;
    background: #fff;
    color: #111;
    line-height: 1.45;
    max-width: 100%;
    font-weight: 500;
    display: inline-block;
}

#eshop-packages .eshop-pkg-item {
    width: auto;
    flex: 0 0 auto;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    margin: 0 5px 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.eshop-pkg-item .package-image {
    width: 50px !important;
    height: 50px !important;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    display: inline-block !important;
}

.eshop-pkg-item.is-active {
    background-color: #d92c58;
    border-color: #d92c58;
    color: #fff;
}

.eshop-theme-template-1 .eshop-t1-package-title .wfform-label,
.eshop-theme-template-1 .eshop-t1-package-price .wfform-label {
    float: none;
    display: block;
    height: auto;
    line-height: 1.2;
    padding-right: 0;
    margin: 0;
    color: #000;
    font-size: 20px;
    font-weight: 700;
}

.eshop-theme-template-1 .eshop-t1-package-title {
    margin-top: 8px;
    margin-bottom: 10px;
}

.eshop-theme-template-1 .eshop-t1-package-price {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 12px;
}

.eshop-theme-template-1 .eshop-t1-package-price-value {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    color: #ff5a00;
    font-size: 34px;
    line-height: 1;
    font-weight: 700;
}

.eshop-theme-template-1 .eshop-t1-package-money {
    font-size: 26px;
}

.eshop-theme-template-1 .eshop-t1-package-box {
    margin-bottom: 8px;
}

.eshop-theme-template-1 #eshop-packages {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.eshop-theme-template-1 #eshop-packages .eshop-pkg-item:last-child {
    margin-bottom: 0;
}

.eshop-theme-template-1 .eshop-t1-qty-box {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 18px 0 12px;
}

.eshop-theme-template-1 .eshop-t1-qty-label {
    margin: 0;
    color: #222;
    font-size: 18px;
    font-weight: 500;
}

.eshop-theme-template-1 .eshop-t1-qty-control {
    display: inline-flex;
    align-items: center;
    width: 330px;
    max-width: 100%;
    height: 50px;
    background: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    overflow: hidden;
}

.eshop-theme-template-1 .eshop-qty-btn {
    width: 58px;
    height: 48px;
    border: 0;
    background: #fff;
    color: #666;
    font-size: 24px;
    line-height: 48px;
    text-align: center;
    cursor: pointer;
}

.eshop-theme-template-1 #eshop-qty-minus {
    border-right: 1px solid #e3e3e3;
}

.eshop-theme-template-1 #eshop-qty-plus {
    border-left: 1px solid #e3e3e3;
}

.eshop-theme-template-1 .eshop-t1-qty-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 48px;
    border: 0;
    outline: none;
    background: #fff;
    color: #222;
    font-size: 18px;
    text-align: center;
    box-shadow: none;
}

.eshop-theme-template-1 .eshop-t1-total {
    margin: 0 0 18px;
}

.eshop-pkg-detail {
    margin: 10px 0 16px;
}

.eshop-divider {
    height: 1px;
    background: #efeff5;
    margin: 12px 0;
}

.eshop-pay-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 6px 0 10px;
}

.eshop-theme-template-1 #eshop-pay-box .wfform-label {
    float: none;
    display: block;
    width: 100%;
    height: auto;
    line-height: 1.4;
    padding-right: 0;
    margin-bottom: 8px;
}

.eshop-theme-template-1 .eshop-pay-options {
    display: flex;
    gap: 8px;
}

.eshop-theme-template-1 .eshop-pay-item {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
}

.eshop-pay-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #333;
}

.eshop-theme-template-1 .eshop-pay-item {
    position: relative;
    padding: 8px 12px;
    border: 2px solid #ccc;
    background: #fff;
    border-radius: 0.4rem;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.2s linear 0s;
}

.eshop-theme-template-1 .eshop-pay-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.eshop-theme-template-1 .eshop-pay-icon {
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-left: 0;
    margin-right: 0;
    background: url('/assets/img/payment.png') no-repeat;
    background-size: 171.875px 365.75px;
    flex-shrink: 0;
}

.eshop-theme-template-1 .eshop-pay-icon-cashOnDelivery {
    background-position: 1.375px -4.8125px;
}

.eshop-theme-template-1 .eshop-pay-icon-711 {
    background-position: 1.375px -240.625px;
}

.eshop-theme-template-1 .eshop-pay-icon-family {
    background-position: 1.375px -275px;
}

.eshop-theme-template-1 .eshop-pay-item input[type="radio"]:checked + .eshop-pay-icon-cashOnDelivery {
    background-position: -137.5px -4.8125px;
}

.eshop-theme-template-1 .eshop-pay-item input[type="radio"]:checked + .eshop-pay-icon-711 {
    background-position: -137.5px -240.625px;
}

.eshop-theme-template-1 .eshop-pay-item input[type="radio"]:checked + .eshop-pay-icon-family {
    background-position: -137.5px -275px;
}

.eshop-theme-template-1 .eshop-pay-item.is-active {
    color: #fff;
    background: #cf2a4f;
    border-color: #cf2a4f;
}

.eshop-theme-template-1 .eshop-pay-item.is-active .eshop-pay-text {
    color: #fff;
}

.eshop-form-wrap .form-group {
    margin-bottom: 10px;
}

.eshop-form-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: center;
    gap: 8px;
}

.eshop-form-label {
    width: 72px;
    margin: 0;
    font-size: 19.36px;
    color: #333;
    font-weight: 400;
    line-height: 1.4;
}

.eshop-form-label em {
    color: #ff4d4f;
    font-style: normal;
}

.eshop-form-item .form-control {
    flex: 1 1 auto;
    font-size: 16.94px;
}

.eshop-form-item .form-control::-webkit-input-placeholder,
.eshop-form-item .form-control::-moz-placeholder,
.eshop-form-item .form-control:-ms-input-placeholder {
    font-size: 15.4px;
}

.eshop-form-item textarea.form-control {
    min-height: 24px;
    height: auto;
    overflow-y: hidden;
    word-wrap: break-word;
    word-break: break-all;
    resize: none;
    line-height: 1.5;
    box-sizing: border-box;
}

.eshop-form-item input.form-control {
    word-wrap: break-word;
    word-break: break-all;
}

.eshop-form-item input.form-control.eshop-input-error {
    border-color: #cf2a4f;
    background-color: #fff5f5;
}

.eshop-phone-error {
    color: #cf2a4f;
    font-size: 16.94px;
    margin-top: 4px;
    grid-column: 2;
}

.eshop-store-search-wrap {
    position: relative;
    flex: 1 1 auto;
}

.eshop-store-area-row {
    flex: 1 1 auto;
    display: flex;
    gap: 8px;
    min-width: 0;
    width: 100%;
}

.eshop-store-area-row .form-control {
    flex: 1 1 0;
    min-width: 0;
}

.eshop-store-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 240px;
    overflow: auto;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    z-index: 30;
}

.eshop-store-item {
    padding: 8px 10px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

.eshop-store-item:hover {
    background: #fff2f4;
}

.eshop-store-name {
    font-size: 13px;
    color: #222;
    font-weight: 600;
}

.eshop-store-address {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    margin-top: 2px;
}

.eshop-store-empty {
    padding: 10px;
    color: #999;
    font-size: 12px;
}

.eshop-detail-table-wrap {
    width: 100%;
    text-align: right;
    margin: 6px 0 10px;
}

.eshop-theme-template-1 .eshop-detail-table-wrap .rows-head {
    display: block;
    margin: 12px;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    text-align: left;
}

.eshop-order-package-form {
    width: 100%;
    text-align: right;
    margin: 6px 0 10px;
}

.eshop-detail-summary {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    color: red;
    line-height: 25px;
    padding-top: 4px;
}

.eshop-detail-table {
    width: 100%;
    text-align: center;
    border: 1px solid rgb(204, 204, 204);
    border-collapse: collapse;
}

.eshop-detail-table th {
    background: rgb(207, 42, 79);
    border-right: 1px solid rgb(204, 204, 204);
    border-top: 1px solid rgb(204, 204, 204);
    border-bottom: 1px solid rgb(204, 204, 204);
    color: #fff;
    height: 42px;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    padding: 0 4px;
}

.eshop-detail-table td {
    border-right: 1px solid rgb(204, 204, 204);
    border-bottom: 1px solid rgb(204, 204, 204);
    text-align: center;
    padding: 7px 4px;
    font-size: 13px;
    color: #333;
}

.eshop-detail-table td img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    display: inline-block;
}

.eshop-detail-table tbody tr td:last-child,
.eshop-detail-table thead tr th:last-child {
    border-right: 0;
}

.eshop-detail-summary {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    color: red;
    line-height: 25px;
    padding-top: 4px;
}

.eshop-attr-group {
    margin: 8px 0 12px;
}

.eshop-attr-title {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin: 10px 0 12px;
}

.eshop-attr-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 14px;
}

.eshop-attr-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    padding: 3px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
    border: 1px solid #d9d9d9;
    background: #fff;
    color: #666;
    font-size: 18px;
    max-width: 95%;
}

.eshop-attr-items .eshop-attr-option {
    width: auto;
    max-width: none;
    box-sizing: border-box;
}

.eshop-attr-option.is-active {
    background: #ff004e;
    border-color: #ff004e;
    color: #fff;
}

.eshop-attr-option img {
    width: 128px;
    height: auto;
    display: block;
}

.eshop-attr-option span {
    margin: 5px;
    display: block;
    text-align: center;
    line-height: 1.3;
    width: 100%;
}

.eshop-theme-template-1 .eshop-attr-group.is-image-group {
    margin-top: 12px;
}

.eshop-theme-template-1 .eshop-attr-group.is-image-group .eshop-attr-items {
    gap: 14px;
}

.eshop-theme-template-1 .eshop-attr-group.is-image-group .eshop-attr-option {
    width: 196px;
    min-height: 258px;
    padding: 0;
    justify-content: flex-start;
    gap: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    color: #666;
}

.eshop-theme-template-1 .eshop-attr-group.is-image-group .eshop-attr-option img {
    width: 100%;
    height: 194px;
    object-fit: contain;
    padding: 16px 14px 10px;
    background: #fff;
}

.eshop-theme-template-1 .eshop-attr-group.is-image-group .eshop-attr-option span {
    padding: 16px 12px 18px;
    font-size: 22px;
    font-weight: 500;
    color: #666;
    background: #fff;
}

.eshop-theme-template-1 .eshop-attr-group.is-image-group .eshop-attr-option.is-active {
    background: #fff;
    border-color: #ff0a5b;
}

.eshop-theme-template-1 .eshop-attr-group.is-image-group .eshop-attr-option.is-active span {
    color: #fff;
    background: #ff0a5b;
}

.eshop-theme-template-1 .eshop-attr-group.is-text-group .eshop-attr-items {
    gap: 12px 14px;
}

.eshop-theme-template-1 .eshop-attr-group.is-text-group .eshop-attr-option {
    min-width: 270px;
    min-height: 58px;
    padding: 0 26px;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    color: #666;
    background: #fff;
    white-space: nowrap;
}

.eshop-theme-template-1 .eshop-attr-group.is-text-group .eshop-attr-option span {
    font-size: 22px;
    font-weight: 500;
    text-align: left;
    color: inherit;
}

.eshop-theme-template-1 .eshop-attr-group.is-text-group .eshop-attr-option.is-active {
    background: #ff0a5b;
    border-color: #ff0a5b;
    color: #fff;
}

.eshop-t1-total {
    width: 100%;
    font-size: 16px;
    color: red;
    text-align: right;
    margin: 10px 0;
}

.eshop-t1-total strong {
    font-size: 22px;
    font-weight: 700;
}

.eshop-t1-submit {
    width: 100%;
    padding: 8px 0;
    border: 0;
    border-radius: 0;
    background: rgb(207, 42, 79);
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
}

.eshop-t1-submit[disabled] {
    opacity: 0.7;
}

