/* Custom content */
.product__details-wrapper {
    margin-top: 0;
}

.product__details-container summary {
    align-items: center;
}

.product__details-container summary .icon-accordion {
    width: 24px;
    height: 24px;
}

.product__details-container summary .icon-accordion svg {
    width: 24px;
    height: 24px;
}

.product__details-container summary .accordion__title {
    line-height: 24px;
}

/* Product info */
.product__info-container>*+* {
    margin: 10px 0;
}

.product__info-container .product__info-item:nth-of-type(1) {
    margin-top: 0;
}

.product__info-container>*+.m-10 {
    margin: 10px 0;
}

.product__info-container>*+.m-12 {
    margin: 12px 0;
}

.product__info-container>*+.m-26 {
    margin: 26px 0;
}

.product__info-container .product__info-description {
    max-width: 100%;
    overflow-x: auto;
    font-family: Arial;
    font-size: 14px;
}

.product__info-container .product__info-description p {
    font-family: Arial;
    font-size: 14px;
}

.product-page-shipping-widget__heading {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

.product__info-description-expand-container--bottom {
    padding: 40px 0 0 12px;
}

.product__info-container .product-title {
    font-size: var(--title-font-size);
}

.product__info-container .first-title-product {
    font-size: 26px;
    /* text-transform: uppercase; */
    font-weight: 700 !important;
}

.product__info-container .last-title-product {
    font-family: Arial, sans-serif;
    font-weight: 500 !important;
    color: #6e6d6d;
}

@media (max-width: 959px) {
    .product__info-container .first-title-product {
        font-size: 22px;
    }

    .product .product__info-wrapper {
        margin-top: 22px;
    }

    .product__info-container>*+.m-10 {
        margin: 8px 0;
    }

    .product__info-container>*+.m-12 {
        margin: 10px 0;
    }

    .product__info-container>*+.m-26 {
        margin: 20px 0;
    }

    .product__info-container.mobile-text-align--left {
        text-align: left;
        --flex-items-align: flex-start;
    }

    .product__info-container.mobile-text-align--center {
        text-align: center;
        --flex-items-align: center;
    }

    .product__info-container.mobile-text-align--center .product-form__input.column .product-form__input--right {
        justify-content: center;
    }
}

@media screen and (min-width: 960px) {
    .product__dividing-line {
        display: block;
        height: var(--product-desktop-dividing-line-height, 1px);
    }

    .product__column-sticky {
        display: block;
        position: sticky;
        top: 20px;
        z-index: 2;
    }

    .product:not(.product--columns) .product__media-wrapper {
        padding-top: 40px;
    }

    /* product_image_pc_position */
    .product--left{
        margin: 0 auto;
    }
    .product--left .product__info-wrapper {
        padding-left: 60px;
        padding-top: 40px;
    }

    .product--left .product__media-wrapper {
        padding-right: 0px;
    }

    .product--right .product__info-wrapper {
        padding-right: 60px;
        padding-top: 40px;
    }

    .product--right .product__media-wrapper {
        padding-left: 0px;
    }

    /* product_image_size */
    .product--large .product__media-wrapper {
        max-width: 58%;
        width: 58%;
        margin-top: 0;
    }

    .product--large .product__info-wrapper {
        max-width: 42%;
        width: 42%;
        padding-top: 0;
    }

    .product--medium .product__media-wrapper,
    .product--medium .product__info-wrapper {
        max-width: 50%;
        width: 50%;
    }

    .product--small .product__media-wrapper {
        max-width: 34%;
        width: 34%;
    }

    .product--small .product__info-wrapper {
        max-width: 66%;
        width: 66%;
    }

    .product[mount="quick-add-modal"] {
        padding-right: 35px;
    }
}

@media screen and (max-width: 959px) {
    .product__dividing-line {
        margin-left: var(--product-dividing-line-style) !important;
        margin-right: var(--product-dividing-line-style) !important;
        height: var(--product-dividing-line-height);
    }
}

/* Product form */
.product-form {
    display: block;
}

.product-form .product-form__error-message-wrapper:not([hidden]) {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: rgb(var(--color-discount-tag-background));
}

.product-form .product-form__error-message-wrapper:not([hidden]) .icon-error {
    margin-right: 5px;
}

.product-form .product-form__buttons>* {
    margin-bottom: 10px;
}

.product-form .product-form__buttons .pay-button-buy-now {
    overflow: unset;
}

.product__info-item--quantity-input {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.product__info-item--quantity-input .volume-pricing-box {
    width: 100%;
    margin-top: 12px;
}

.product__info-item--quantity-input.column {
    flex-direction: column;
    align-items: var(--flex-items-align, flex-start);
}

.product__info-item--quantity-input.column .quantity-input-label {
    margin-bottom: 8px;
}

.product__info-item--quantity-input.column.full .quantity {
    width: 100%;
}

.product__info-item--quantity-input.row .quantity-input-label {
    margin-right: 8px;
}

.product__info-item--quantity-input.row.half {
    justify-content: var(--flex-items-align, flex-start);
}

.product__info-item--quantity-input .quantity {
    width: 156px;
    min-height: initial;
    height: 42px;
    flex-shrink: 0;
}

@media screen and (max-width: 959px) {
    .product__info-item--quantity-input .quantity {
        width: 120px;
        height: 40px;
    }
}

.product__info-item.text-underline {
    text-decoration: underline;
}

/* Form Elements */
.product-form__input {
    flex: 0 0 100%;
    padding: 0;
    margin: 0 0 26px 0;
    max-width: 100%;
    min-width: fit-content;
    border: none;
}

@media (max-width: 959px) {
    .product-form__input {
        margin: 0 0 20px 0;
    }
}

variant-radios .product-form__input {
    display: flex;
    justify-content: space-between;
    align-items: var(--flex-items-align, flex-start);
    flex-direction: column;
}

variant-radios .product-form__input.column {
    flex-direction: column;
}

variant-radios .product-form__input.column .product-form__input--right {
    justify-content: flex-start;
}

variant-radios .product-form__input .product-form__input--left {
    margin-right: 15px;
    flex-shrink: 0;
    max-width: 50%;
}

variant-radios .product-form__input.column .product-form__input--left {
    max-width: unset;
    margin-right: 0;
    width: 100%;
}

variant-radios .product-form__input .product-form__input--right {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    line-height: normal;
    gap: 8px;
}

variant-radios .product-form__input.medium .product-form__input--right {
    gap: 10px 12px;
}

variant-radios .product-form__input.large .product-form__input--right {
    gap: 12px 16px;
}

variant-radios,
variant-selects {
    display: block;
}

fieldset.product-form__input .form__label {
    margin-bottom: 10px;
}

/* variant-radios */
.product-form__input input[type="radio"] {
    clip: rect(0, 0, 0, 0);
    overflow: hidden;
    position: absolute;
    height: 1px;
    width: 1px;
}

/* color-swatch-radios */
.product-form__input input[type="radio"]+label.product-form--color-swatch {
    --swatch-border-radius: 0px;
    --swatch-size: 22px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    width: var(--swatch-size);
    height: var(--swatch-size);
    border: 1px solid rgb(var(--color-entry-line));
    background-image: var(--swatch-background-default-image);
    background-position: center;
    background-size: 20px;
    background-clip: content-box;
    border-radius: var(--swatch-border-radius);
    margin: 3px;
    border-radius: 30px;
}

.product-form__input input[type="radio"]+label.product-form--color-swatch .product-form--color-swatch-inner {
    background: var(--swatch-background-color);
    width: 100%;
    height: 100%;
    z-index: 1;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: calc(var(--swatch-border-radius) - 0.5px);
    border-radius: 30px;
}

.product-form__input input[type="radio"]+label.product-form--color-swatch:after {
    border-radius: var(--swatch-border-radius);
}

.product-form__input input[type="radio"]+label.product-form--color-swatch.color-swatch-circle {
    --swatch-border-radius: 50%;
}

.product-form__input input[type="radio"]+label.product-form--color-swatch.color-swatch-round_corner {
    --swatch-border-radius: 6px;
}

.product-form__input input[type="radio"]+label.product-form--color-swatch.color-swatch-round_corner:after {
    --swatch-border-radius: 8px;
}

.product-form__input input[type="radio"]+label.product-form--color-swatch.medium {
    --swatch-size: 32px;
}

.product-form__input input[type="radio"]+label.product-form--color-swatch.large {
    --swatch-size: 48px;
}

.product-form__input input[type="radio"]:not([disabled])+label.product-form--color-swatch:hover {
    border: none;
}

.product-form__input input[type="radio"]:not([disabled])+label.product-form--color-swatch:hover:after {
    content: "";
    position: absolute;
    width: calc(100% + 6px);
    height: calc(100% + 6px);
    top: -3px;
    left: -3px;
    border: 1px solid #000000;
    padding: 2px;
}

.product-form__input input[type="radio"]:checked+label.product-form--color-swatch {
    border: none;
}

.product-form__input input[type="radio"]:checked+label.product-form--color-swatch:after {
    content: "";
    position: absolute;
    width: calc(100% + 6px);
    height: calc(100% + 6px);
    top: -3px;
    left: -3px;
    border: 1px solid #000000;
    padding: 2px;
    border-radius: 30px;
}

.product-form__input input[type="radio"]:disabled+label.product-form--color-swatch {
    overflow: hidden;
    cursor: not-allowed;
}

.product-form__input input[type="radio"]:disabled+label.product-form--color-swatch:before {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 32px;
    border-bottom: 1px solid #000000;
    transform: rotate(-45deg);
    transform-origin: left;
    z-index: 2;
}

.product-form__input input[type="radio"]:disabled+label.product-form--color-swatch.medium:before {
    width: 45px;
}

.product-form__input input[type="radio"]:disabled+label.product-form--color-swatch.large:before {
    width: 68px;
}

.product-form__input input[type="radio"]:disabled+label.product-form--color-swatch.color-swatch-circle:before {
    left: -3px;
    top: 50%;
    transform-origin: center;
}

.product-form__input input[type="radio"]:disabled+label.product-form--color-swatch.color-swatch-circle.small:before {
    width: 28px;
}

.product-form__input input[type="radio"]:disabled+label.product-form--color-swatch.color-swatch-circle.medium:before {
    width: 38px;
}

.product-form__input input[type="radio"]:disabled+label.product-form--color-swatch.color-swatch-circle.large:before {
    width: 54px;
}

.product-form__input input[type="radio"]:disabled+label.product-form--color-swatch:hover:after {
    content: "";
}

.product-form__input input[type="radio"]:checked:disabled+label.product-form--color-swatch {
    overflow: visible;
}

.product-form__input input[type="radio"]:checked:disabled+label.product-form--color-swatch:after {
    padding: 2px;
    background-size: calc(100% - 2px);
}

.product-form__input input[type="radio"]+label:not(.product-form--color-swatch) {
    border: var(--sku-selector-border-thickness) solid rgba(var(--color-text), var(--sku-selector-border-opacity));
    background-color: rgb(var(--color-page-background));
    color: rgba(var(--color-text));
    border-radius: var(--sku-selector-border-radius);
    display: inline-block;
    text-align: center;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    padding: 8px 12px;
}

.product-form__input input[type="radio"]+label:not(.product-form--color-swatch)::before {
    content: "";
    position: absolute;
    left: 7.5px;
    top: 50%;
    width: calc(100% - 15px);
    border-bottom: 1px solid rgba(var(--color-text), 0.1);
    transform: rotate(-35deg);
    opacity: 0;
    border-radius: 20px;
}

.product-form__input input[type="radio"]+label:not(.product-form--color-swatch)::after {
    content: "";
    width: calc(100% + 2px + var(--sku-selector-border-thickness) * 2);
    height: calc(100% + 2px + var(--sku-selector-border-thickness) * 2);
    position: absolute;
    top: calc(var(--sku-selector-border-thickness) * -1 - 1px);
    left: calc(var(--sku-selector-border-thickness) * -1 - 1px);
    border: 1px solid transparent;
    border-radius: var(--sku-selector-border-radius-outset);
}

.product-form__input input[type="radio"]+label:not(.product-form--color-swatch):hover::after {
    border-color: rgba(var(--color-text), var(--sku-selector-border-opacity));
    border-radius: 15px;
}

.product-form__input input[type="radio"]+label:not(.product-form--color-swatch).small {
    padding: 0 8px;
}

.product-form__input input[type="radio"]+label:not(.product-form--color-swatch).large {
    padding: 12px 20px;
    border-radius: 15px;
}

.product-form__input input[type="radio"]:checked+label:not(.product-form--color-swatch) {
    background-color: rgba(var(--color-button-background));
    color: rgba(var(--color-button-text));
    border-color: rgba(var(--color-button-background));
}

.product-form__input input[type="radio"]:checked+label:not(.product-form--color-swatch):hover::after {
    border-color: transparent;
}

.product-form__input input[type="radio"]:disabled+label:not(.product-form--color-swatch) {
    color: rgba(var(--color-text), 0.1);
    background-color: transparent;
    overflow: hidden;
    cursor: not-allowed;
}

.product-form__input input[type="radio"]:disabled+label:not(.product-form--color-swatch)::before {
    opacity: 1;
}

.product-form__input input[type="radio"]:disabled+label:not(.product-form--color-swatch):hover::after {
    border-color: transparent;
}

.product-form__input input[type="radio"]:disabled:checked+label:not(.product-form--color-swatch) {
    border-color: rgba(var(--color-button-background));
}

/* variant-selects */
variant-selects .field::after,
variant-selects .field:hover::after,
variant-selects .field:focus::after,
variant-selects .field:focus-within::after {
    border-color: rgba(var(--color-entry-line));
}

variant-selects .variant-input-wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

variant-selects .variant-input-wrapper.column {
    flex-direction: column;
}

@media (max-width: 959px) {
    variant-selects .variant-input-wrapper.column {
        align-items: var(--flex-items-align, flex-start);
    }
}

variant-selects .variant-input-wrapper.column .form__label {
    margin-right: 0;
    margin-bottom: 8px;
    width: 100%;
    max-width: unset;
}

variant-selects .variant-input-wrapper .form__label {
    margin-right: 15px;
    flex-shrink: 0;
    max-width: 35%;
}

variant-selects .variant-input-wrapper .field {
    width: 156px;
    height: 40px;
    height: 42px;
    flex-shrink: 0;
}

@media screen and (max-width: 959px) {
    variant-selects .variant-input-wrapper .field {
        width: 120px;
        height: 40px;
    }
}

variant-selects .variant-input-wrapper .field {
    margin-bottom: 0;
}

variant-selects .variant-input-wrapper .field>select {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

variant-selects .variant-input-wrapper .field .field__input--classic {
    padding: 0 10px;
}

variant-selects .variant-input-wrapper .field.small {
    height: 24px;
}

variant-selects .variant-input-wrapper .field.small .field__input--classic {
    padding: 0 8px;
}

variant-selects .variant-input-wrapper .field.large {
    height: 48px;
}

variant-selects .variant-input-wrapper .field.large .field__input--classic {
    padding: 0 12px;
}

/* sell-info */
.product__sell-info {
    margin-bottom: 0;
}

.product__sell-info .product__sell-box {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.product__sell-info .product__sell-box:last-child {
    margin-bottom: 0;
}

.product__sell-info .product__sell-icon {
    min-width: 24px;
    color: rgb(var(--color-text));
    stroke: currentColor;
    line-height: 1;
}

.product__sell-info .product__sell-text {
    margin-left: 16px;
    color: rgb(var(--color-text));
}

.product__sell-info .product__sell-text a {
    text-decoration: underline;
}

.product__sell-info.product__sell-info-horizontal {
    display: grid;
}

.product__sell-info.product__sell-info-horizontal.onlyTwo {
    grid-template-columns: repeat(2, calc((100% - 20px) / 2));
}

.product__sell-info.product__sell-info-horizontal.overThree {
    grid-template-columns: repeat(3, calc((100% - 40px) / 3));
}

.product__sell-info.product__sell-info-horizontal {
    grid-column-gap: 20px;
}

.product__sell-info.product__sell-info-horizontal .product__sell-box {
    margin-bottom: 0;
    margin-top: 10px;
    display: block;
    text-align: center;
}

.product__sell-info.product__sell-info-horizontal .product__sell-box .product__sell-text {
    margin-left: 0;
    padding: 10px 14px 0 14px;
}

@media screen and (max-width: 959px) {
    .product__sell-info.product__sell-info-horizontal .product__sell-box .product__sell-text {
        padding: 10px 7px 0 7px;
    }
}

.product__sell-info.product__sell-info-horizontal .product__sell-box:nth-child(1),
.product__sell-info.product__sell-info-horizontal .product__sell-box:nth-child(2),
.product__sell-info.product__sell-info-horizontal .product__sell-box:nth-child(3) {
    margin-top: 0;
}

@keyframes popup-link-fade-in {
    0% {
        transform: var(--start-transform, translateY(30px));
    }

    100% {
        transform: var(--end-transform, translateY(0));
    }
}

.popup-link-modal summary {
    display: inline-block;
}

.popup-link-modal__close {
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border: none;
    transform: translate3d(0, 0, 0);
}

.popup-link-modal__close>svg {
    width: 12px;
    height: 12px;
}

.popup-link-modal__container {
    --modal-animation-name: popup-link-fade-in;
    max-width: 560px;
    max-height: 560px;
}

.popup-link-modal__content {
    width: 100%;
    height: 100%;
    overflow: auto;
    padding: 40px 20px 20px;
}

.popup-link-modal__button {
    display: inline-flex;
    align-items: center;
}

.popup-link-modal__button>svg {
    width: 24px;
    height: 24px;
    margin-inline-end: 10px;
}

@media screen and (max-width: 959px) {
    .popup-link-modal__container {
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
        height: 80%;
        margin-bottom: 0;
        --start-transform: translateY(100%);
        padding: 0;
    }

    .popup-link-modal__content {
        padding: 30px 10px 10px;
    }
}

.product-link__images {
    display: grid;
    gap: 20px;
}

.product-link__images.product-link__images--small {
    grid-template-columns: repeat(3, 1fr);
}

.product-link__images.product-link__images--middle {
    grid-template-columns: repeat(2, 1fr);
}

.product-link__images.product-link__images--large {
    grid-template-columns: 1fr;
}

.product-link__images .product-link__images-item {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-link__images .product-link__images-item img {
    background-color: rgba(var(--color-image-background));
    border: none;
    object-fit: cover;
    object-position: center;
    display: block;
    height: 100%;
    width: 100%;
}

.product-link__images--contain .product-link__images-item img {
    object-fit: contain;
}

.product-link__button.button-size__small .product-link__button-btn {
    padding-block-start: 10px;
    padding-block-end: 10px;
}

@media screen and (max-width: 959px) {
    .product-link__button.button-size__small .product-link__button-btn {
        padding-block-start: 9px;
        padding-block-end: 9px;
    }
}

.product-link__button.button-size__medium .product-link__button-btn {
    padding-block-start: 11px;
    padding-block-end: 11px;
}

.product-link__button.button-size__large .product-link__button-btn {
    padding-block-start: 13px;
    padding-block-end: 13px;
}

.product-link__button.button-size__huge .product-link__button-btn {
    padding-block-start: 15px;
    padding-block-end: 15px;
}

.product-link__button.button-width__full .product-link__button-btn {
    width: 100%;
}

.product__inventory .low-stock,
.product__inventory .in-stock,
.product__inventory .out-stock {
    display: inline-flex;
    align-items: flex-start;
}

.product__inventory .low-stock::before,
.product__inventory .in-stock::before,
.product__inventory .out-stock::before {
    --icon-size: 10px;
    content: "";
    display: block;
    width: var(--icon-size);
    height: var(--icon-size);
    border-radius: 50%;
    background-color: currentColor;
    margin: calc((1em * var(--body-line-height) - var(--icon-size)) / 2) 0;
    margin-right: 8px;
    flex-shrink: 0;
}

.product__inventory .low-stock::before {
    background-color: #fe9e0f;
}

.product__inventory .in-stock::before {
    background-color: #35c08e;
}

.product__inventory .out-stock {
    color: #f86140;
}

.product-photo-swipe {
    --pswp-bg: rgb(var(--color-page-background)) !important;
    --pswp-placeholder-bg: rgb(var(--color-page-background)) !important;
}

.product-photo-swipe .pswp-with-perma-preloader .pswp__icn {
    display: none !important;
}

.product-pswp__toolbar {
    align-items: center;
    bottom: 30px;
    display: flex;
    justify-content: center;
    left: 0;
    position: absolute;
    right: 0;
    transform: translateY(0);
    transition: transform 0.25s 0.6s;
}

.product-pswp__toolbar .product-pswp__button {
    background-color: rgba(var(--color-page-background));
    border: 1px solid;
    border-color: rgba(var(--color-entry-line));
    border-radius: 50%;
    cursor: pointer;
    line-height: 0;
    margin: 15px;
    min-width: 0;
    padding: 10px;
    position: relative;
}

.product-pswp__toolbar .product-pswp__button svg {
    stroke: rgba(var(--color-text));
    height: 13px;
    margin: 8px;
    pointer-events: none;
    width: 13px;
}

/* sever */

.product-page-new__services {
    padding: 10px;
    border: 1px solid rgba(4, 12, 17, .2);
    border-radius: 12px;
    margin-top: 20px;
}

.zip-widget-prologue {
    padding: 10px;
}

.zip-widget-prologue__header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 4px;
}

.zip-widget-prologue__header .shared-svg-icon {
    display: block;
    transition: all 200ms;
    color: #5E5F3E;
}
.zip-widget-prologue__header img{
    width: 28px;
    height: auto;
}
.zip-widget-prologue__header-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    color: #000;
}

.zip-widget-timing {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    flex-wrap: wrap;
}

.zip-widget-timing:first-child {
    margin-bottom: 8px;
}

.zip-widget-timing-text {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    color: #5e676e;
}

.zip-widget-timing-text--bold {
    font-weight: 700;
}

.zip-widget-timing {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    flex-wrap: wrap;
}

.zip-widget-timing-text {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    color: #5e676e;
}

.zip-widget-timing-text--link {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    position: relative;
    color: #000;
    text-transform: capitalize;
    cursor: pointer;
}

.zip-widget-timing-text--link::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #000;
}


/* de-popup弹窗 */
.modal-popup {
    display: none;
    /* Initially hide the modal */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

.modal-popup .modal-content {
    background-color: #fff;
    margin: 15% auto;
    /* 15% from the top and centered */
    padding: 20px 40px 40px;
    border: 1px solid #888;
    width: 80%;
    /* Could be more or less, depending on screen size */
    max-width: 480px;
    border-radius: 30px;
}

.modal-popup .popu-title,
.modal-popup .popu-text {
    text-align: center;
    color: #000;
}

.modal-popup .popu-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
    /* padding: 16px 20px; */
    text-align: center;
    margin-top: 0;
}

.modal-popup .popu-text {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    /* color: #000; */
    line-height: 20px;
    /* text-align: left; */
    margin-bottom: 20px;
}

.modal-content .free-time {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 28px;
}

.modal-content .free-time-line {
    width: 100%;
    height: 1px;
    background-color: #000;
    margin: 10px 0;
}

.modal-content .free-time .time-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    color: #000;
}

.modal-content .free-time .time-time {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    color: #000;
}

.modal-popup .de-time-close {
    color: #000;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.modal-popup .de-time-close:hover,
.modal-popup .de-time-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 959px) {
    .modal-popup .modal-content {
        margin: auto;
        position: absolute;
        bottom: 0;
        width: 100%;
        max-width: none;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }

    .modal-popup .modal-content {
        padding: 20px 20px 40px;
    }

    .modal-popup .popu-title,
    .modal-popup .popu-text {
        text-align: left;
    }
}

/* help */

.product-page-new__help {
    margin-top: 20px;
    padding: 10px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    box-shadow: 0px 0px 16px 0px rgba(30, 35, 39, .04), 0px 8px 16px 0px rgba(50, 50, 71, .08);
}

.product-page-new__help-image {
    height: 80px;
    border-radius: 6px;
    width: 80px;
}

.product-page-new__help-info {
    padding-left: 10px;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    width: calc(100% - 45px);
}

.product-page-new__help-title {
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 18px;
    padding-left: 5px;
}

.product-page-new__help-info .product-page-new__help-list {
    color: #5e676e;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    list-style: disc;
    padding-left: 25px;
    padding-top: 3px;
    box-sizing: border-box;
    padding-right: 9px;
}

.product-page-new__help-info .product-page-new__help-list li {
    margin-bottom: 8px;
}

.product-page-new__help-action-link {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.product-page-new__help-action-link span {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    line-height: 16px;
    cursor: pointer;
    text-transform: capitalize;
    color: #1793e5;
    border-bottom: 2px solid #1793e5;
    margin-left: 25px;
}

@media (min-width: 1024px) {
    .product-page-new__help {
        padding: 20px;
    }
}

@media (min-width: 959px) {
    .product-page-new__help {
        max-width: 704px;
        background-color: #fff;
        padding: 20px;
        margin: 20px auto 0;
        border-radius: 16px;
        box-shadow: 0 0 16px 0 rgba(30, 35, 39, .04), 0 8px 16px 0 rgba(50, 50, 71, .08);
    }

    .product-page-new__help-info .product-page-new__help-list {
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        padding-top: 7px;
        margin-top: 3px;
    }

    .product-page-new__help-info .product-page-new__help-list li {
        margin-bottom: 6px;
        line-height: 18px;
        font-size: 14px;
    }
}


@media (min-width: 390px) {
    .product-page-new__help {
        height: auto;
    }
}

@media (max-width: 350px) {
    .product-page-new__help {
        height: auto;
    }
}

/* 参数 */

.accordion__content .canshu_text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    ;
    border-bottom: 1px solid #00000038;
}

.accordion__content .canshu_text .canshutitle {
    font-size: 18px;
    font-weight: 500;
}

.accordion__content .canshu_text .canshutext {
    font-size: 18px;
}

/* 关联产品 */
.guanlianproduct {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 33px 0;
    row-gap: 20px;
    z-index: 19;
    position: relative;
}

.guanlianproduct .guanlianproduct_zichanp {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 130px;
}

.guanlianproduct .guanlianproduct_zichanp .imgpic {
    position: relative;
}

.guanlianproduct .guanlianproduct_zichanp .productguanliantitle {
    display: none;
    margin: 0 auto;
    border: 1px solid #dfdad3;
    background: #fff;
    padding: 2px 3px;
    font-size: 12px;
    width: 130px;
    bottom: -13px;
    text-align: center;
    position: absolute;
}

.guanlianproduct .guanlianproduct_zichanp:hover .productguanliantitle {
    display: block;
}
.guanlianproduct .guanlianproduct_zichanp:hover .guanlian_image_border,.guanlianproduct .active{
    box-shadow: #181818 0 0 6px;
}
.color-palette-value-bg {
    width: 104px !important;
    height: 104px !important;
}

@media (max-width: 959px) {
    .product-detail-padding-c {
        padding-left: 0;
        padding-right: 0;
    }

    .product .product-not-medial {
        /* padding-left: var(--page-padding); */
        padding: 0 var(--page-padding);
        /* padding-right: var(--page-padding); */
    }

    .guanlianproduct .guanlianproduct_zichanp {
        width: 25%;
    }

    .color-palette-value-bg {
        width: 90px !important;
        height: 90px !important;
    }
    

}
/* body::-webkit-scrollbar {
    display: none;
    /* Chrome Safari */
} */

@media (max-width: 360px) {
    .guanlianproduct .guanlianproduct_zichanp {
        width: 25%;
    }

    .color-palette-value-bg {
        width: 76px !important;
        height: 76px !important;
    }

}

/* 面包屑 */
.product-page-new__breadcrumbs {
    /* margin: 0 auto; */
    max-width: 1260px !important;
}

.product-page-new__breadcrumbs-inner .breadcrumbs {
    margin: 2px 0;
}

.product-page-new__breadcrumbs-inner {
    max-width: 768px;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0);
    /* padding: 0 10px !important; */
    max-width: 1260px !important;
}

.breadcrumbs__list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 30px;
}
.gobackbut_productdetail {
    font-size: 12px !important;
}

.gobackbut_productdetail svg {
    width: 10px !important;
    height: 10px !important;
}

.breadcrumbs__item {
    display: flex;
    align-items: center;
}

product-breadcrumb {
    display: flex;
    align-items: center;
}

.product-page-new__breadcrumbs-inner .breadcrumbs__item-label,
.breadcrumb__collection {
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
    line-height: 16px;
    color: #161a1d;
    margin: 0 13px;
}

.product-page-new__breadcrumbs-inner .breadcrumbs__current {
    color: rgba(4, 12, 17, .6) !important;
    font-weight: 400 !important;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
    line-height: 16px;
    margin-left: 10px;
}

.breadcrumb__divider {
    opacity: 1;
    display: flex;
    align-items: center;
}

.product-page-new__breadcrumbs-inner svg,
.breadcrumb__divider svg {
    width: 12px;
    height: 12px;
    /* height: 10px; */
    color: #383e42;
    stroke: #383e42;
}

@media (max-width: 959px) {
    .product-page-new__breadcrumbs {
        background: #000;
    }

    .product-page-new__breadcrumbs-inner .breadcrumbs__item-label,
    .breadcrumb__collection {
        color: #fff !important;
        font-weight: 700;
    }

    .product-page-new__breadcrumbs-inner svg,
    .breadcrumb__divider svg {
        color: #fff;
        stroke: #fff;
    }

    .product-page-new__breadcrumbs-inner .breadcrumbs {
        margin: 0;
    }

    .margin_top_auto {
        margin-top: auto;
    }
    
}

@media (max-width:959px) {


    .breadcrumb__collection {
        font-size: 16px;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: 500;
        line-height: 16px;
        color: #161a1d;
        margin: 0 13px;
    }

    .product-page-new__help-title {
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 18px;
        padding-left: 5px;
        font-family: Arial, Helvetica, sans-serif;
    }

    .product-page-new__help-info .product-page-new__help-list li {
        margin-bottom: 8px;
        font-size: 14px;
        font-family: Arial, Helvetica, sans-serif;
    }

    .product__details-container summary .accordion__title {
        line-height: 24px;
        font-size: 16px;
    }
}
.product-form__buttons.customize-button .button-text-custo span {
    text-transform: capitalize;
    font-family: Arial, Helvetica, sans-serif;
    margin-right: 10px;
}
@media (max-width:480px) {
    .product__info-container .first-title-product {
        font-size: 18px;
        font-family: Arial, Helvetica, sans-serif;
    }

    .product-form__buttons.customize-button .button-text-custo span {
        font-size: 16px;
        text-transform: capitalize;
        font-family: Arial, Helvetica, sans-serif;
    }
}
/* gift box */
.git_product_lihe {
    padding: 1.1428571429em;
    margin-bottom: 1em;
    display: flex;
}

#gift_box:hover,
#gift_box:checked {
    border-color: #5E5F3E !important;
}

.input-checkbox:checked {
    border-width: 9px;
}

.input-checkbox:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: scale(0.2);
    transform: scale(0.2);
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    width: 10px;
    height: 8px;
    margin-left: -5px;
    margin-top: -4px;
    background-image: url(//cdn.shopify.com/shopifycloud/shopify/assets/checkout_2021-01-25/checkbox-tick-8f61c04….png);
    background-image: url(//cdn.shopify.com/shopifycloud/shopify/assets/checkout_2021-01-25/checkbox-tick-66a9a39….svg), none;
}

.input-checkbox:after {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
    opacity: 1;
}

.git_product_lihe label {
    cursor: pointer;
    font-size: 16px;
}

#insurance_desc_tooltip,
#gift_desc_img {
    height: 16px;
    /* width: 20px; */
    display: inline-block;
    margin-left: 3px;
    position: relative;
}

.git_product_lihe .wenhao-icon {
    color: #1c1b1b;
    display: inline-block;
    height: 14px;
    font-size: 16px;
    text-align: center;
    text-decoration: underline;
    line-height: 14px;
    cursor: pointer;
}

#gift_desc_img .gift_image_picture {
    color: #000;
    width: 140px;
    font-size: 14px;
    color: #fff;
    text-align: left;
    text-decoration: none;
    text-align: left;
    word-break: break-word;
    position: absolute;
    background: #16a300;
    top: 22px;
    opacity: 0;
    left: 27%;
    z-index: -3;
}

.gift_image_picture img {
    width: 100%;
    height: auto;
}

.color_background_text {
    color: #fff;
    padding: 2px;
    /* position: absolute; */
    top: 22px;
    text-align: center;
    display: block;
    background-color: rgb(22, 163, 0);
}

#gift-icon:hover+.gift_image_picture,
#insurance-icon:hover+.gift_image_picture {
    opacity: 1;
    z-index: 3;
}


@media (max-width: 959px) {

.git_product_lihe {
        font-size: 12px;
    }

    .git_product_lihe label {
        font-size: 12px;
    }

    #insurance_desc_tooltip,
    #gift_desc_img {
        font-size: 12px;
    }
    .git_product_lihe .wenhao-icon{
        font-size: 12px;
    }
}

@media (min-width: 959px) {

    [data-pay-button-layout="column"],[data-pay-button-layout="buyNowRow"]{
        flex-wrap: wrap !important;
    }
       #product-form-main-product-info-submit .pay-button-Paypal,#product-form-main-product-info-submit .pay-button-ApplePay{
            width: 49% !important;
       }
       #product-form-main-product-info-submit .pay-button-ApplePay{
        margin-left:12px !important
       }
}

.color-palette-plugin-right-content-justify .active+div{
    left: unset !important;
}
/* The ipad end responds to the mobile end in vertical screen */
/* @custom-media --tablet (max-width: 959px); */
/* @custom-media --gt-mobile (min-width: 751px); */
/* detectingScreen need to consider the configuration of the tablet */