/* 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;
}

.product__info-container .product__info-description ul {
    padding-left: 20px;
}

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

@media (max-width: 959px) {
    .product__info-description-expand-container--bottom {
        padding: 40px 0 0;
    }
}

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

@media (max-width: 959px) {
    .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 .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: 66%;
        width: 66%;
    }

    .product--large .product__info-wrapper {
        max-width: 34%;
        width: 34%;
    }

    .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__info-wrapper #ProductInfo-main-product-info>* {
        margin: 20px 0;
    }
}

/* 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-main-product-info-submit {
    border: 1px solid #ed6c18;
    color: #ed6c18;
}
.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);
}

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: 35%;
}

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;
    width: 100%;
}

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;
}

.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);
}

.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;
}

.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"]:disabled+label:not(.product-form--color-swatch).variant-image__wrapper .variant-image__image {
    opacity: 0.5;
}

.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: 20px 14px;
    width: 100%;
}

.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;
}

.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));
}

.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;
}

.product-form__input input[type="radio"]+label:not(.product-form--color-swatch).variant-image__wrapper {
    position: relative;
    min-width: 40px;
    height: 40px;
    padding: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.product-form__input input[type="radio"]+label:not(.product-form--color-swatch).variant-image__wrapper p {
    margin: 0;
    padding: 4px 0 4px 4px;
    font-size: 12px;
    color: #202020;
}

/* reset tool tip max width */
/* .product-form__input
  input[type="radio"]
  + label:not(.product-form--color-swatch).variant-image__wrapper
  tool-tip {
  max-width: min(80vw, 100px);
} */
.product-form__input input[type="radio"]+label:not(.product-form--color-swatch).variant-image__wrapper .variant-image__image {
    width: 40px;
    height: 100%;
    object-fit: contain;
}

.product-form__input input[type="radio"]+label:not(.product-form--color-swatch).variant-image__wrapper.small {
    width: 30px;
    height: 30px;
}

.product-form__input input[type="radio"]+label:not(.product-form--color-swatch).variant-image__wrapper.large {
    width: 52px;
    height: 52px;
}

.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)); */
    border-color: #000000;
}

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

.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;
}



.product-form__input--right label {
    display: flex;
    flex-direction: row;
    position: relative;

}

variant-radios .product-form__input .product-form__input--right label {
    text-align: left !important;
    display: flex !important;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;

}

.product-form__input--right label .variant-item-image {
    min-width: 72px;
    width: 72px;
    padding-right: 10px;
    box-sizing: content-box;
    order: 1;


}

.product-form__input--right label .variant-item-image img {
    width: 100%;
    height: 100%;
}

.product-form__input--right label .variant-item-prices-box {
    display: flex;
    flex-direction: row-reverse;
    width: calc(100% - 82px);
    align-items: center;
    flex-wrap: nowrap;
    justify-content: space-between;
    order: 2;
    margin: 0 auto;

}


.product-form__input--right label .variant-item-prices-box .variant-item-title {
    /* width: 70%; */
    font-family: Poppins;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

.product-form__input--right label .variant-item-prices-box .variant-item-prices {

    display: flex;
    flex-direction: column;
    /* width: 30%; */
    flex-wrap: nowrap;
    column-gap: 10px;
    align-items: center;
    padding-left: 10px;

}

.product-form__input--right label .variant-item-discount {
    position: absolute;
    top: -1px;
    right: -1px;
    background-color: #FF6C00;
    color: #fff;
    font-family: Poppins;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 24px;
    border-radius: 0 10px 0 10px;
    /* border-top-right-radius: 10px; */
    /* border-left: 8px solid transparent;
    clip-path: polygon(1% 0, 100% 0%, 100% 100%, 24% 100%);
    -webkit-clip-path: polygon(1% 0, 100% 0%, 100% 100%, 24% 100%); */
}

.product-form__input--right label .variant-free-gift {
    order: 3;
    width: 100%;
    margin-top: 24px;
    border-top: 1px solid #D7E9EE;
}

.product-form__input--right label .variant-free-gift>span {
    font-family: Poppins;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    text-align: left;
    color: #FB9D38;
    padding: 10px 0;
}

.product-form__input--right label .variant-free-gift .variant-free-gift-box {
    display: flex;
    gap: 14px;
    align-items: center;
}

.product-form__input--right label .variant-free-gift .variant-free-gift-box>img {
    width: 42px;
    height: 42px;
}

.product-form__input--right label .variant-free-gift .variant-free-gift-box .variant-free-gift-box-content {
    display: flex;
    flex-direction: column;
}

.product-form__input--right label .variant-free-gift .variant-free-gift-box .variant-free-gift-box-content span {
    display: block;
}

.product-form__input--right label .variant-free-gift .variant-free-gift-box .variant-free-gift-box-content .variant-free-gift-box-content-title {
    font-family: Poppins;
    font-size: 14px;
    font-weight: 500;
    line-height: 16.8px;
    text-align: left;
    color: #01161B;
}

.product-form__input--right label .variant-free-gift .variant-free-gift-box .variant-free-gift-box-content .variant-free-gift-box {
    padding-top: 8px;
}

.product-form__input--right label .variant-free-gift .variant-free-gift-box .variant-free-gift-box-content .variant-free-gift-box-content-prices {
    display: flex;
    padding-top: 10px;
}

.product-form__input--right label .variant-free-gift .variant-free-gift-box .variant-free-gift-box-content .free-price {
    font-weight: 500;
    padding-right: 10px;
    font-family: Poppins;
    font-size: 12px;
    line-height: 14.4px;
}

.product-form__input--right label .variant-free-gift .variant-free-gift-box .variant-free-gift-box-content .origin-price {
    font-style: italic;
    font-weight: 400;
    color: #666666;
    text-decoration: line-through;
    font-family: Poppins;
    font-size: 12px;
    line-height: 14.4px;
}

.product-form__input--right label .variant-item-prices span {
    align-self: flex-end;
}

.product-form__input--right label .variant-item-prices .non-crossed-out-price {
    font-family: Poppins;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    color: #01161B;

}

.product-form__input--right label .variant-item-prices .strike-through-price {
    font-family: Poppins;
    font-size: 12px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: line-through;
    color: #666666;


}

.product-form__input--right .variant-describe {
    max-height: 0;
    overflow: hidden;
    transition: all .6s ease;
    padding: 0 24px;
    background: #fdf1ec;
    margin-top: -14px;
    width: 100%;
    border-radius: 0 0 10px 10px;
}
.product-form__input--right .variant-describe.active {
    max-height: 200px;
    padding: 10px 24px;
}
variant-radios .product-form__input .product-form__input--right .variant-describe p {
    font-family: Poppins;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    padding: 0px;
    color: rgba(1, 22, 27, .8);
    transition: all .6s ease;
}
variant-radios .product-form__input .product-form__input--right .variant-describe.active>p {
    padding: 10px 0px;
    margin: 0px;
}




@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-icon>img {
    margin: 0 auto;
    max-width: 38px;
}

.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;
    margin-top: 40px;
}

.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(4, calc((100% - 30px) / 4));
}

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

.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: 8px 0 0;
    font-size: 12px;
    /* line-height: 1.2; */
}

@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.overThree {
        grid-template-columns: repeat(2, calc((100% - 20px) / 2));
        gap: 20px;
    }
}

.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;
}

/* 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 */

.product_info-event-information-bar,
product_info-activity-bar {
    background: #fff;
    border-radius: 10px;
}

.product_info-event-information-bar .event-information-bar-top,
.product_info-activity-bar .activity-bar-top {
    width: 100%;
    min-height: 100px;
    background-position: center;
    background-size: cover;
    border-radius: 10px 10px 0 0;
    padding: 16px 24px;

}

.product_info-event-information-bar .event-information-bar-top h6,
.product_info-activity-bar .activity-bar-top h6 {
    font-size: 18px;
}

.product_info-event-information-bar .event-information-bar-top .event-information-bar-top-content,
.product_info-activity-bar .activity-bar-top .activity-bar-top-content {
    font-family: Poppins;
    font-size: 14px;
    font-weight: 400;
    line-height: 16.8px;
    padding-top: 8px;
    max-width: 60%;

}

.product_info-event-information-bar .event-information-bar-content-bottom,
.product_info-activity-bar .activity-bar-content-bottom {
    padding: 16px 24px;
    font-family: Poppins;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    background: #f1f1f1;
    border-radius: 0 0 10px 10px;
}

.product_info-event-information-bar .event-information-bar-content-bottom strong,
.product_info-activity-bar .activity-bar-content-bottom strong {
    font-weight: 500;
}

.product_info-payment-shipping-icons {
    margin-top: 28px;
}

.product_info-payment-shipping-icons .payment-icon-box,
.shipping-icon-box {
    display: flex;
}

.product_info-payment-shipping-icons .payment-icon-box {
    padding-bottom: 20px;
    border-bottom: 1px solid #C2DEE6;
}

.product_info-payment-shipping-icons .shipping-icon-box {
    padding-top: 20px;
}

.product_info-payment-shipping-icons p {
    font-family: Poppins;
    font-size: 14px;
    font-weight: 500;
    line-height: 16.8px;
    text-align: left;
    color: #000;
    max-width: 27%;
}

.product_info-payment-shipping-icons ul {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 16px;
    list-style-type: none;
    margin: 0;
    max-width: calc(70% - 10px);
    align-content: start;

}

@media screen and (max-width: 960px) {

    .product_info-payment-shipping-icons .payment-icon-box,
    .shipping-icon-box {
        flex-direction: column;
    }

    .product_info-payment-shipping-icons p {
        max-width: 100%;
    }

    .product_info-payment-shipping-icons ul {
        padding: 20px 0 0;
        max-width: 100%;
    }

}

@media(min-width: 760px) {
    product-info .product__info-item.image_bottom {
        display: none;
    }
}

@media(max-width: 959px) {
    .product__media-wrapper .product-sell-info-box.image_bottom {
        display: none;
    }
}


/* 新加购按钮 */
.quick-add-show>product-form .product-form__buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.quick-add-show>product-form .quantity {
    --input-border-radius: 100px;
    width: 35%;
}

.quick-add-show>product-form #product-form-main-product-info-submit {
    width: calc(65% - 10px);
    margin-left: 10px;
}

.quick-add-show>product-form .shopline-payment-button-wrapper {
    width: 100%;
}

.quick-add-show .logistics-time-custom-text-box {
    padding: 35px 20px 20px;
    margin-top: -30px;
    display: flex;
    gap: 18px;
    align-items: center;
    max-width: 100%;
    /* background-color: #f2f8f7; */
    background-color: #f7f7f7;
    border-radius: 0 0 10px 10px;
    opacity: 0;
}

.quick-add-show:has(.shopline-payment-button-wrapper .btn) .logistics-time-custom-text-box {
    opacity: 1;
}

.quick-add-show .logistics-time-custom-text-box::before {
    content: url("data:image/svg+xml,%0A%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 6.2111C1 5.60998 1 5.30941 1.08582 5.02598C1.17163 4.74255 1.33835 4.49247 1.6718 3.9923L2.4792 2.7812C3.06049 1.90927 3.35113 1.4733 3.79332 1.23665C4.2355 1 4.75947 1 5.8074 1H16.1926C17.2405 1 17.7645 1 18.2067 1.23665C18.6489 1.4733 18.9395 1.90927 19.5208 2.7812L20.3282 3.9923C20.6616 4.49247 20.8284 4.74255 20.9142 5.02598C21 5.30941 21 5.60998 21 6.2111V17C21 18.8856 21 19.8284 20.4142 20.4142C19.8284 21 18.8856 21 17 21H5C3.11438 21 2.17157 21 1.58579 20.4142C1 19.8284 1 18.8856 1 17V6.2111Z' stroke='%23222222'/%3E%3Cpath d='M1 7.66675H21' stroke='%23222222' stroke-linecap='round'/%3E%3Cpath d='M7.66667 7.81675C7.66667 7.73391 7.73383 7.66675 7.81667 7.66675H14.1833C14.2662 7.66675 14.3333 7.73391 14.3333 7.81675V13.5386C14.3333 13.8884 13.9518 14.1045 13.6518 13.9245L11.1286 12.4106C11.0495 12.3631 10.9506 12.3631 10.8714 12.4106L8.3482 13.9245C8.04826 14.1045 7.66667 13.8884 7.66667 13.5386V7.81675Z' stroke='%23222222'/%3E%3C/svg%3E%0A");
    width: 22px;
    height: 22px;
}

.quick-add-show .logistics-time-custom-text-box p {
    font-size: 14px;
    line-height: 1.25;
    margin: 0px;
}

product-float-buy-buttons .product-form__buttons .quantity {
    display: none;
}

product-float-buy-buttons>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

product-float-buy-buttons .product-form__buttons {
    display: flex;
    flex-direction: row;
    column-gap: 16px;
}

product-float-buy-buttons #product-form-main-product-info-float-submit,
product-float-buy-buttons .shopline-payment-button-wrapper,
product-float-buy-buttons .shopline-payment-button-wrapper .pay-button-common-item {
    min-width: 166px;
    height: 36px !important;
    margin: 0 !important;
}

@media(min-width: 960px) {
    product-float-buy-buttons .product-float-title {
        font-size: 24px;
        line-height: 1.2;
    }
}

@media(max-width: 959px) {
    product-float-buy-buttons .product-float-title {
        display: none;
    }

    product-float-buy-buttons>div {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    product-float-buy-buttons .price .price__regular .price-item--regular {
        font-size: 20px;
    }
}