.product-main__title {
    font-size: 2em;
    font-weight: 700;
    line-height: 1.56em;
    margin: 0;
}

.product-main__price-row {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-top: 0.5em;
}

.product-main__price {
    font-size: 1.5em;
    line-height: 1em;
    color: #02060b;
}

.product-main__original-price {
    font-size: 1.25em;
    line-height: 1em;
    text-decoration: line-through;
    color: #888;
}

.product-main__inventory {
    display: inline-flex;
    color: #fedb1e;
    height: 24px;
    padding: 0 6px;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
    background-color: #02060b;
    font-size: 14px;
    line-height: 1.4;
}

.product-main__price__vat {
    font-size: 0.875em;
    color: #888;
    margin-top: 1.43em;
    margin-bottom: -0.71em;
}

.product-main__divider {
    height: 1px;
    margin: 1.25em 0;
    background-color: rgb(217 217 217);
}

.product-main__desc {
    font-size: 1em;
    line-height: 1.5em;
}

.product-main__desc ol,
.product-main__desc ul {
    list-style: revert;
}

.product-main__desc ul:first-child {
    padding-left: 1.75em;
    margin-top: 0;
}

.product-main__desc li {
    margin-bottom: 1em;
}

.product-main__desc li:last-child {
    margin-bottom: 0;
}

.product-main__includes-wrap {
    padding-top: 0.625em;
}

.product-main__block-label {
    font-weight: 600;
    font-size: 1.25em;
    line-height: 2em;
    margin: 0;
    margin-bottom: 1.1em;
}

.product-main__modules__container+.product-main__modules__container {
    margin-top: 1.1em;
}

.product-main__includes {
    --col-num: 3;
    --gap: 0.5em;

    display: flex;
    gap: var(--gap);
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-main__include-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 0.125em solid #000;
    border-radius: 0.5em;
    overflow: hidden;
    width: calc((100% - (var(--col-num) - 1) * var(--gap)) / var(--col-num));
    padding-bottom: 1.125em;
}

.product-main__include-image {
    overflow: hidden;
    width: 7.5em;
    aspect-ratio: 120 / 120;
}

.product-main__include-image img {
    width: 100%;
    height: 100%;
}

.product-main__include-name {
    font-size: 0.875em;
    line-height: 1em;
}

.product-main__include-num {
    position: absolute;
    top: 0.25em;
    right: 0.75em;
    font-size: 1.25em;
    line-height: 1.6em;
    font-weight: 600;
}

.product-main__quantity {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-main__quantity .product-main__block-label {
    margin-bottom: 0;
}

.product-main__modules {
    display: flex;
    flex-direction: column;
    gap: 1.25em;
    padding: 0;
    margin: 0;
    border: 0;
}

.product-main__module-option {
    cursor: pointer;
}

.product-main__module-option-input {
    display: none;
    visibility: hidden;
}

.product-main__module-option-label {
    display: flex;
    align-items: center;
    border: 0.125em solid #d9d9d9;
    color: #676a6d;
    transition: all 0.3s;
    border-radius: 0.5em;
    user-select: none;
}

.product-main__module-option-icon {
    position: relative;
    color: transparent;
    border-radius: 0.125em;
    width: 1.1em;
    height: 1.1em;
    margin-left: 1.8em;
    border: 1px solid #d9d9d9;
    background-color: transparent;
    transition: all 0.3s;
}

.product-main__module-option-icon>svg {
    position: absolute;
    width: 0.65em;
    height: 0.6em;
    color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.product-main__module-option-input:hover+.product-main__module-option-label {
    border-color: #fedb1e;
}

.product-main__module-option-input:checked+.product-main__module-option-label {
    border-color: #02060b;
}

.product-main__module-option-input:checked+.product-main__module-option-label .product-main__module-option-icon {
    background-color: #02060b;
}

.product-main__module-option-image {
    display: block;
    width: 7.5em;
    height: 7.5em;
    object-fit: contain;
    object-position: center;
    margin-right: 0.75em;
}

.product-main__module-option-extra {
    display: flex;
    flex: 1 0 0;
    flex-direction: column;
    font-weight: 600;
    color: #02060b;
}

.product-main__module-option-title {
    font-size: 1.125em;
    line-height: 1.55em;
}

.product-main__module-option-price {
    font-size: 1em;
}

.product-main__buy-now-block {
    margin-top: 1.5em;
    border-top: 1px solid #EAEAEA;
    padding-top: 1.5rem;
}

.product-main__buy-now-block .product-main__vat {
    margin-top: 0;
    margin-bottom: 0.75em;
    font-size: 0.875em;
    line-height: 1.25em;
    color: #888;
}

.product-main__total-price {
    font-size: 2em;
    line-height: 1.625em;
    color: #02060b;
    font-weight: 600;
}

.product-main__buy-buttons {
    display: block;
    width: 100%;
    margin-top: 0.625em;
    margin-bottom: 1.25em;
}

.product-main__buy-buttons-container {
    display: flex;
    flex-direction: row;
    gap: 0.625em;
    margin-bottom: 1em;
}

.product-main__buy-buttons-container .buy-buttons-add-shop {
    flex: 1;
    font-size: 1.125em;
    padding: 0.875rem 0;
}

.product-main__buy-buttons-container .product-main__add-to-cart-button {
    border: 1px solid #000000;
    background-color: #ffffff !important;
}

.product-main__buy-buttons[data-error]::after {
    display: block;
    content: attr(data-error);
    color: red;
    font-size: 1em;
    margin-top: 0.625em;
}

.product-main__buy-buttons[data-loading="true"] .product-main__buy-button {
    color: transparent;
}

.product-main__buy-buttons[data-loading="true"] .loading-overlay__spinner {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1.25em;
    height: 1.25em;
    margin-left: -0.625em;
    margin-top: -0.625em;
    color: rgb(var(--color-button-text));
    display: flex;
    animation: button-loading linear 1.5s infinite;
}

.product-main__buy-button {
    --color-button-text: 0, 0, 0;

    border: 0;
    background-color: #ffd700;
    border-radius: 624.9375em;
    width: 100%;
    height: 2.25em;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    line-height: 1;
    font-weight: normal;
    transition: opacity 0.3s;
    cursor: pointer;
}

.product-main__buy-button:after {
    display: none;
}

.product-main__pay-hint {
    margin-top: 1.25em;
}

.product-main__pay-hint * {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
}

.product-main__pay-icon {
    width: 8.3125em;
    aspect-ratio: 266 / 49;
    margin-right: 0.625em;
}

.product-main__pay-hint p {
    font-size: 0.75em;
    line-height: 1em;
}

.installment-display-content {
    font-size: .875em;
    line-height: 2;
    margin-top: 0.5em;
}

.product-main__text {
    margin-top: 1.875em;
}

.product-main__custom-image {
    width: 100%;
    height: auto;
    display: block;
}

/* 手风琴样式 */
.product-main__accordion {
    margin-top: 1.25em;
}

.product-main__accordion-item {
    border-bottom: 1px solid var(--border-color, #e5e5e5);
    background-color: transparent;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.product-main__accordion-item:last-child {
    border-bottom: none;
}

.product-main__accordion-header {
    width: 100%;
    padding: 16px 0;
    background-color: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    color: var(--header-text-color, #000);
}





.product-main__accordion-header:focus {
    outline: none;
}

.product-main__accordion-title {
    flex: 1;
    font-weight: 600;
    line-height: 1.4;
}

.product-main__accordion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 20px;
    font-weight: 300;
    color: #666;
    position: relative;
}

.product-main__accordion-icon-plus,
.product-main__accordion-icon-minus {
    position: absolute;
    transition: opacity 0.2s cubic-bezier(0.4, 0.0, 0.2, 1),
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-main__accordion-icon-plus {
    opacity: 1;
    transform: rotate(0deg);
    transition: opacity 0.15s ease, transform 0.2s ease;
}

.product-main__accordion-icon-minus {
    opacity: 0;
    transform: rotate(90deg);
    position: absolute;
    transition: opacity 0.15s ease 0.05s, transform 0.2s ease 0.05s;
}

.product-main__accordion-item.active .product-main__accordion-icon-plus {
    opacity: 0;
    transform: rotate(-90deg);
}

.product-main__accordion-item.active .product-main__accordion-icon-minus {
    opacity: 1;
    transform: rotate(0deg);
}

.product-main__accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    -webkit-transition: grid-template-rows 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    -moz-transition: grid-template-rows 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    -ms-transition: grid-template-rows 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    -o-transition: grid-template-rows 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.product-main__accordion-item.active .product-main__accordion-content {
    grid-template-rows: 1fr;
}

.product-main__accordion-body {
    min-height: 0;
    padding: 0;
    transform: translateY(-4px);
    opacity: 0;
    transition: transform 0.25s cubic-bezier(0.4, 0.0, 0.2, 1) 0.1s, opacity 0.2s cubic-bezier(0.4, 0.0, 0.2, 1) 0.1s;
    -webkit-transition: transform 0.25s cubic-bezier(0.4, 0.0, 0.2, 1) 0.1s, opacity 0.2s cubic-bezier(0.4, 0.0, 0.2, 1) 0.1s;
    -moz-transition: transform 0.25s cubic-bezier(0.4, 0.0, 0.2, 1) 0.1s, opacity 0.2s cubic-bezier(0.4, 0.0, 0.2, 1) 0.1s;
    -ms-transition: transform 0.25s cubic-bezier(0.4, 0.0, 0.2, 1) 0.1s, opacity 0.2s cubic-bezier(0.4, 0.0, 0.2, 1) 0.1s;
    -o-transition: transform 0.25s cubic-bezier(0.4, 0.0, 0.2, 1) 0.1s, opacity 0.2s cubic-bezier(0.4, 0.0, 0.2, 1) 0.1s;
}

.product-main__accordion-item.active .product-main__accordion-body {
    transform: translateY(0);
    opacity: 1;
}

.product-main__accordion-image {
    margin-bottom: 16px;
}

.product-main__accordion-image img {
    width: 100%;
    height: auto;
}

.product-main__accordion-text {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

.product-main__accordion-text p {
    margin: 0 0 8px 0;
}

.product-main__accordion-text p:last-child {
    margin-bottom: 0;
}

.product-main__accordion-text ul,
.product-main__accordion-text ol {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.product-main__accordion-text li {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.product-main__accordion-text li:before {
    content: '';
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 为不同类型的列表项添加图标 */
.product-main__accordion-text li:nth-child(1):before {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z' fill='%23666'/%3E%3C/svg%3E");
}

.product-main__accordion-text li:nth-child(2):before {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2C13.1 2 14 2.9 14 4C14 5.1 13.1 6 12 6C10.9 6 10 5.1 10 4C10 2.9 10.9 2 12 2ZM21 9V7L15 1L9 7V9H7V11H9V15L15 23L21 15V11H23V9H21Z' fill='%23666'/%3E%3C/svg%3E");
}

.product-main__accordion-text li:nth-child(3):before {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 11H7v6h2v-6zm4 0h-2v6h2v-6zm4 0h-2v6h2v-6zm2-7h-3V2h-2v2H8V2H6v2H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H3V8h14v12z' fill='%23666'/%3E%3C/svg%3E");
}

.product-main__accordion-text li:nth-child(4):before {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 8h-3V4H3c-1.1 0-2 .9-2 2v11h2c0 1.66 1.34 3 3 3s3-1.34 3-3h6c0 1.66 1.34 3 3 3s3-1.34 3-3h2v-5l-3-4zM6 18.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm13.5-9l1.96 2.5H17V9.5h2.5zm-1.5 9c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z' fill='%23666'/%3E%3C/svg%3E");
}

/* 嵌套内容样式 */
/* 第一个手风琴项的子项列表样式 */
.product-main__accordion-sub-items {
    margin-top: 16px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0.3s,
        transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0.3s;
}

.product-main__accordion-item.active .product-main__accordion-sub-items {
    opacity: 1;
    transform: translateY(0);
}

.product-main__accordion-sub-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.product-main__accordion-sub-item:last-child {
    border-bottom: none;
}

.product-main__accordion-sub-icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.product-main__accordion-sub-title {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}

/* 第二个手风琴项的描述列表样式 */
.product-main__accordion-description-items {
    /* margin-top: 16px; */
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0.3s,
        transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0.3s;
}

.product-main__accordion-item.active .product-main__accordion-description-items {
    opacity: 1;
    transform: translateY(0);
}

.product-main__accordion-desc-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}

.product-main__accordion-desc-item:last-child {
    margin-bottom: 0;
}

.product-main__accordion-desc-bullet {
    font-size: 16px;
    color: #666;
    /* margin-top: 2px; */
}

.product-main__accordion-desc-title {
    font-size: 14px;
    /* line-height: 1.4; */
    color: #333;
}

/* 第一个手风琴项的信息列表样式 */
.product-main__accordion-info-list {
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease 0.15s, transform 0.25s ease 0.15s;
}

.product-main__accordion-item.active .product-main__accordion-info-list {
    opacity: 1;
    transform: translateY(0);
}

.product-main__accordion-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.product-main__accordion-info-item:last-child {
    border-bottom: none;
}

.product-main__accordion-info-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main__accordion-info-icon svg {
    width: 100%;
    height: 100%;
}

.product-main__accordion-info-title {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    font-weight: 400;
}



/* 第三个手风琴项的包含物品样式 - 使用原有includes样式 */
.product-main__accordion-item .product-main__includes-wrap {
    padding-top: 0;
    margin-top: 16px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0.3s, transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0.3s;
    -webkit-transition: opacity 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0.3s, ;
    -moz-transition: opacity 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0.3s, ;
    -ms-transition: opacity 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0.3s, ;
    -o-transition: opacity 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) 0.3s, ;
}

.product-main__accordion-item.active .product-main__includes-wrap {
    opacity: 1;
    transform: translateY(0);
}



/* 手风琴样式变体 */
/* 简洁样式 */
.product-main__accordion--minimal .product-main__accordion-item {
    border: none;
    border-bottom: 1px solid var(--border-color, #e0e0e0);
    border-radius: 0;
    margin-bottom: 0;
    background-color: transparent;
}

.product-main__accordion--minimal .product-main__accordion-item:last-child {
    border-bottom: none;
}

.product-main__accordion--minimal .product-main__accordion-header {
    background-color: transparent;
    padding: 12px 0;
}

.product-main__accordion--minimal .product-main__accordion-body {
    padding: 0 0 16px 0;
}

/* 卡片样式 */
.product-main__accordion--card .product-main__accordion-item {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: none;
    margin-bottom: 16px;
}

.product-main__accordion--card .product-main__accordion-header {
    background-color: var(--header-bg-color, #f8f8f8);
}

.product-main__accordion--card .product-main__accordion-body {
    background-color: var(--content-bg-color, #ffffff);
}

.product-main__buy-buttons-module {
    background-color: #f8f8f8;
    padding: 3rem 2rem;
    margin-top: 1.5rem;
    border-radius: 0.5em;
}

/* T-shirt 变体 chips（自适应多设备） */
.tshirt-variants {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 8px 0 16px;
}

.tshirt-variant-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid #d9e3ff;
    background-color: #eef2ff;
    color: #111827;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    user-select: none;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}

/* 隐藏原生 input，保留可访问性区域 */
.tshirt-variant-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.tshirt-variant-chip:hover {
    border-color: #02060b;
    background-color: #f5f7ff;
}

.tshirt-variant-chip:focus-within {
    outline: 2px solid #fedb1e;
    outline-offset: 2px;
}

.tshirt-variant-chip.is-active {
    background-color: #02060b;
    color: #fedb1e;
    border-color: #02060b;
    transform: translateY(-1px);
}

.tshirt-variant-chip.is-disabled {
    opacity: .6;
    cursor: not-allowed;
}

.tshirt-variant-chip .tshirt-variant-label {
    font-size: 0.95em;
}

@media screen and (max-width: 767px) {
    .product-main__title {
        font-size: 1.5em;
        line-height: 2.25em;
    }

    .product-main__price-row {
        margin-top: 0;
    }

    .product-main__price {
        font-size: 1.25em;
        line-height: 2em;
    }

    .product-main__divider {
        margin-top: 1em;
        margin-bottom: 1em;
    }

    .product-main__desc {
        font-size: 0.75em;
        line-height: 1.25em;
    }

    .product-main__includes-wrap .product-main__block-label {
        text-align: center;
    }

    .product-main__includes {
        --col-num: 2;
    }

    .product-main__include-image {
        width: 7.75em;
    }

    .product-main__quantity {
        padding-bottom: 0;
    }

    .product-main__modules__container .product-main__block-label {
        text-align: center;
    }

    .product-main__module-option-image {
        width: 6.25em;
        height: 6.25em;
    }

    .product-main__module-option-title {
        font-size: 0.875em;
        line-height: 1.25em;
    }

    .product-main__module-option-price {
        font-size: 0.875em;
        line-height: 1.25em;
    }

    .product-main__buy-now-block {
        margin-top: 1.25em;

    }

    .product-main__buy-button {
        font-size: 1.25em;
        line-height: 1;
    }

    .product-main__text {
        margin-top: 1.25em;
    }

    .product-main__pay-hint {
        margin-top: 1.75em;
    }

    .product-main__pay-hint p {
        font-size: .625em;
    }

    .installment-display-content {
        font-size: 0.625em;
    }

    /* 手风琴移动端样式 */

    .product-main__accordion-item .product-main__includes-wrap {
        margin-top: 0;
    }

    .product-main__accordion-header {
        font-size: 14px;
    }

    .product-main__accordion-description-items {
        margin-top: 0;
    }

    .product-main__accordion-body {}

    .product-main__accordion-text {
        font-size: 13px;
    }

    .product-main__accordion-icon {
        width: 20px;
        height: 20px;
    }

    /* 嵌套内容移动端样式 */
    .product-main__accordion-includes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-main__accordion-include-image {
        width: 60px;
        height: 60px;
    }

    .product-main__accordion-include-name {
        font-size: 11px;
    }

    .product-main__accordion-sub-title,
    .product-main__accordion-desc-title {
        font-size: 13px;
    }

    .product-main__accordion-sub-icon {
        font-size: 18px;
        width: 20px;
    }

    .product-main__buy-buttons-module {
        background-color: #f8f8f8;
        padding: 1.5rem 1rem;
        margin-top: 1.5rem;
    }

    .product-main__buy-buttons-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .product-main__buy-buttons-container .buy-buttons-add-shop {
        font-size: 1rem;
    }

    /* 移动端：变体 chips 尺寸优化 */
    .tshirt-variants {
        gap: 8px;
    }

    .tshirt-variant-chip {
        padding: 8px 12px;
        font-size: 0.9em;
        border-radius: 9px;
    }
}