.product-list-page,
.product-detail-page {
    min-height: 927px;
    padding: 84px 0 72px;
    background: #f3f3f3;
}

.product-detail-page {
    min-height: 1511px;
}

.product-list-layout,
.product-detail-layout {
    display: grid;
    grid-template-columns: 240px 848px;
    column-gap: 40px;
    align-items: start;
    width: 1136px;
    margin: 0 auto;
}

.product-sidebar {
    position: sticky;
    top: 24px;
    z-index: 3;
    width: 240px;
    min-height: 600px;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
}

.product-sidebar__title {
    height: 67px;
    margin: 0;
    padding: 25px 24px 0;
    border-bottom: 1px solid #e6e6e6;
    color: #222;
    font-size: 18px;
    font-weight: 600;
    line-height: 25px;
}

.product-sidebar__list {
    padding: 18px 24px 28px;
}

.product-sidebar__group + .product-sidebar__group {
    margin-top: 24px;
}

.product-sidebar__category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 22px;
    padding: 0;
    border: 0;
    color: #222;
    background: transparent;
    font-size: 16px;
    line-height: 22px;
    text-align: left;
    cursor: pointer;
}

.product-sidebar__category span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-sidebar__category i {
    position: relative;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-left: 12px;
}

.product-sidebar__category i::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 4px;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid #666;
    border-bottom: 1.5px solid #666;
    transform: rotate(-45deg);
}

.product-sidebar__category.is-active {
    color: #10bf73;
}

.product-sidebar__category.is-active i::before {
    top: 3px;
    border-color: #10bf73;
    transform: rotate(45deg);
}

.product-sidebar__children {
    display: none;
    padding-top: 18px;
}

.product-sidebar__group.is-open .product-sidebar__children {
    display: block;
}

.product-sidebar__child {
    display: block;
    overflow: hidden;
    color: #666;
    font-size: 14px;
    line-height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-sidebar__child + .product-sidebar__child {
    margin-top: 20px;
}

.product-sidebar__child:hover,
.product-sidebar__child.is-active {
    color: #10bf73;
}

.product-list-main {
    width: 848px;
    padding-top: 7px;
}

.product-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
}

.product-list-head h2 {
    margin: 0;
    color: #222;
    font-size: 18px;
    font-weight: 600;
    line-height: 25px;
}

.product-search {
    display: flex;
    align-items: center;
    width: 272px;
    height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    background: #fff;
}

.product-search img {
    width: 16px;
    height: 16px;
    margin-right: 11px;
}

.product-search input[type="search"] {
    width: 210px;
    height: 40px;
    padding: 0;
    border: 0;
    outline: 0;
    color: #222;
    background: transparent;
    font-size: 14px;
    line-height: 20px;
}

.product-search input[type="search"]::placeholder {
    color: #999;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 264px);
    gap: 21px 28px;
    margin-top: 20px;
}

.product-card {
    display: block;
    width: 264px;
    height: 342px;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(25, 39, 34, .08);
}

.product-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 264px;
    height: 264px;
    overflow: hidden;
    border: 3px solid #25c995;
    border-radius: 8px;
    background: #fffdf2;
    color: #999;
    font-size: 14px;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card__body {
    padding: 16px 16px 0;
}

.product-card__body h3 {
    margin: 0;
    overflow: hidden;
    color: #222;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card__body p {
    display: -webkit-box;
    height: 18px;
    margin: 7px 0 0;
    overflow: hidden;
    color: #666;
    font-size: 12px;
    line-height: 18px;
    word-break: break-word;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.product-detail-main {
    width: 848px;
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    height: 20px;
    color: #666;
    font-size: 14px;
    line-height: 20px;
}

.product-breadcrumb a,
.product-breadcrumb strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-breadcrumb strong {
    color: #222;
    font-weight: 400;
}

.product-breadcrumb span {
    position: relative;
    width: 18px;
    height: 18px;
    margin: 1px 2px 0;
}

.product-breadcrumb span::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 5px;
    width: 6px;
    height: 6px;
    border-right: 1.4px solid #999;
    border-bottom: 1.4px solid #999;
    transform: rotate(-45deg);
}

.product-summary-card {
    display: grid;
    grid-template-columns: 296px 460px;
    column-gap: 24px;
    width: 848px;
    height: 420px;
    margin-top: 14px;
    padding: 20px;
    border-radius: 12px;
    background: #fff;
}

.product-gallery {
    width: 296px;
}

.product-gallery__stage {
    position: relative;
    width: 296px;
    height: 296px;
    overflow: hidden;
    border: 1px solid #d9d9d9;
    background: #fffdf2;
}

.product-gallery__stage > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transform: scale(1.018);
    transition: opacity .24s ease, transform .24s ease;
}

.product-gallery__stage > img.is-active {
    opacity: 1;
    transform: scale(1);
}

.product-gallery__arrow {
    position: absolute;
    top: 50%;
    display: block;
    width: 30px;
    height: 42px;
    padding: 0;
    border: 0;
    opacity: 0;
    background: rgba(17, 98, 188, .72);
    transform: translateY(-50%);
    pointer-events: none;
    cursor: pointer;
    transition: opacity .18s ease;
}

.product-gallery__stage:hover .product-gallery__arrow {
    opacity: 1;
    pointer-events: auto;
}

.product-gallery__arrow::before {
    content: "";
    position: absolute;
    top: 15px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
}

.product-gallery__arrow--prev {
    left: 0;
}

.product-gallery__arrow--prev::before {
    left: 11px;
    transform: rotate(-45deg);
}

.product-gallery__arrow--next {
    right: 0;
}

.product-gallery__arrow--next::before {
    right: 11px;
    transform: rotate(135deg);
}

.product-gallery__thumbs {
    display: flex;
    gap: 9px;
    margin-top: 12px;
}

.product-gallery__thumb {
    width: 52px;
    height: 52px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #d9d9d9;
    background: #fff;
    cursor: pointer;
}

.product-gallery__thumb.is-active {
    border-color: #1162bc;
    box-shadow: 0 0 0 1px #1162bc inset;
}

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-summary {
    width: 460px;
    padding-top: 5px;
}

.product-summary h1 {
    margin: 0;
    color: #222;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
}

.product-summary p {
    display: -webkit-box;
    height: 60px;
    margin: 8px 0 0;
    overflow: hidden;
    color: #666;
    font-size: 14px;
    line-height: 20px;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.product-price-box {
    width: 460px;
    height: 80px;
    margin-top: 13px;
    padding: 10px 20px;
    background: #f2f8fe;
}

.product-price-box div {
    display: flex;
    align-items: center;
    height: 28px;
}

.product-price-box span {
    color: #666;
    font-size: 14px;
    line-height: 20px;
}

.product-price-box strong {
    color: #1162bc;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
}

.product-price-box del {
    color: #666;
    font-size: 14px;
    line-height: 20px;
}

.product-option-row {
    display: flex;
    align-items: center;
    margin-top: 20px;
    color: #666;
    font-size: 14px;
    line-height: 20px;
}

.product-spec-chip {
    position: relative;
    min-width: 49px;
    height: 32px;
    margin-left: 12px;
    padding: 0 21px 0 10px;
    border: 1px solid #1162bc;
    color: #1162bc;
    background: #fff;
    font-size: 14px;
    line-height: 30px;
    cursor: pointer;
}

.product-spec-chip img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 16px;
    height: 16px;
}

.product-quantity {
    display: grid;
    grid-template-columns: 30px 49px 30px;
    width: 111px;
    height: 31px;
    margin-left: 13px;
    border: 1px solid #d9d9d9;
}

.product-quantity button,
.product-quantity input {
    width: 100%;
    height: 29px;
    padding: 0;
    border: 0;
    outline: 0;
    background: #fff;
    color: #222;
    font-size: 14px;
    text-align: center;
}

.product-quantity button {
    color: #999;
    cursor: pointer;
}

.product-quantity input {
    border-right: 1px solid #d9d9d9;
    border-left: 1px solid #d9d9d9;
    appearance: textfield;
    -moz-appearance: textfield;
}

.product-quantity input::-webkit-outer-spin-button,
.product-quantity input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.product-buy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 144px;
    height: 40px;
    margin-top: 24px;
    border: 1px solid #1162bc;
    border-radius: 4px;
    color: #1162bc;
    background: #f2f8fe;
    font-size: 16px;
    line-height: 20px;
    cursor: pointer;
}

.product-buy-button:hover {
    color: #fff;
    background: #1162bc;
}

.product-detail-card {
    width: 848px;
    min-height: 879px;
    margin-top: 16px;
    padding-bottom: 36px;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
}

.product-detail-tabs {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 67px;
    height: 60px;
    padding: 12px 0 0 40px;
    border-bottom: 1px solid #e6e6e6;
    background: #fff;
}

.product-detail-tabs button {
    position: relative;
    height: 48px;
    padding: 0;
    border: 0;
    color: #222;
    background: transparent;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    white-space: nowrap;
    cursor: pointer;
}

.product-detail-tabs button.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 3px;
    background: #10bf73;
}

.product-detail-section {
    padding: 0 28px;
    scroll-margin-top: 72px;
}

.product-copy-block {
    padding-top: 28px;
}

.product-copy-block h2,
.product-detail-section > h2 {
    margin: 0 0 14px;
    color: #222;
    font-size: 18px;
    font-weight: 600;
    line-height: 25px;
}

.product-copy,
.product-detail-section p {
    margin: 0;
    color: #222;
    font-size: 14px;
    line-height: 22px;
}

.product-composition-image {
    display: block;
    width: 715px;
    height: auto;
    margin: 14px auto 0;
    object-fit: contain;
}

.product-faq-item {
    margin-top: 12px;
    padding: 14px 16px;
    background: #f7f7f7;
}

.product-faq-item strong {
    display: block;
    color: #222;
    font-size: 14px;
    line-height: 20px;
}

.product-faq-item p {
    margin-top: 8px;
    color: #555;
}

.product-empty-line {
    color: #666;
}

.product-download-row {
    display: flex;
    align-items: center;
    width: 554px;
    height: 34px;
    margin-top: 12px;
    background: #f5f5f5;
}

.product-download-row span {
    overflow: hidden;
    margin-left: 14px;
    color: #222;
    font-size: 14px;
    line-height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-download-row a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 88px;
    height: 34px;
    margin-left: auto;
    color: #fff;
    background: #1162bc;
    font-size: 14px;
    line-height: 20px;
}

.product-download-row img {
    width: 16px;
    height: 16px;
}
