.product-detail-page {
    background: #ffffff;
    color: #1f2a16;
}

.product-detail-shell,
.product-info-band,
.product-attribute-band,
.product-review-band,
.product-related-band {
    width: min(1300px, calc(100% - 32px));
    margin: 0 auto;
}

.product-detail-shell {
    padding: clamp(30px, 4vw, 54px) 0 42px;
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    color: #66715b;
    font-size: 14px;
}

.product-breadcrumb a {
    color: #315411;
    text-decoration: none;
}

.product-breadcrumb strong {
    color: #1f2a16;
    font-weight: 600;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(460px, 0.88fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
}

.product-gallery-main {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 520px;
    overflow: hidden;
    border-radius: 8px;
    background: #f7f9ee;

}

.product-image-zoom-trigger {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 520px;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    display: grid;
    place-items: center;
    padding: 0;
}

.product-image-zoom-trigger img {
    width: 100%;
    height: 100%;
    max-height: 560px;
    object-fit: contain;
}

.product-image-zoom-trigger span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(49, 84, 17, 0.9);
    color: #fff8ba;
    font-size: 12px;
    font-weight: 800;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.product-gallery-main:hover .product-image-zoom-trigger span,
.product-image-zoom-trigger:focus-visible span {
    opacity: 1;
    transform: translateY(0);
}

.product-label-stack,
.product-discount {
    position: absolute;
    top: 18px;
    z-index: 2;
}

.product-label-stack {
    left: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: calc(100% - 132px);
}

.product-label,
.product-discount {
    border-radius: 999px;
    padding: 8px 13px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.product-label {
    background: var(--label-color);
}

.product-discount {
    right: 18px;
    background: #c6281d;
}

.product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.product-thumb {
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid #dfe6c4;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
}

.product-thumb.is-active {
    border-color: #315411;
    box-shadow: inset 0 0 0 1px #315411;
}

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

.product-summary {
    border: 1px solid #dfe6c4;
    border-radius: 8px;
    background: #ffffff;
    padding: clamp(24px, 3vw, 36px);
    box-shadow: 0 18px 44px rgba(49, 84, 17, 0.07);
}

.product-summary-top,
.product-submeta,
.product-purchase-row,
.product-stock-strip {
    display: flex;
    align-items: center;
}

.product-summary-top {
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.product-category-pill,
.product-status,
.product-price-block span,
.product-stock-strip strong {
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
}

.product-category-pill {
    background: #edf8c8;
    color: #315411;
}

.product-status.is-in {
    background: #ecfdf3;
    color: #027a48;
}

.product-status.is-out {
    background: #fef3f2;
    color: #b42318;
}

.product-summary h1 {
    margin: 0;
    color: #1d2116;
    font-size: clamp(30px, 3.6vw, 42px);
    font-weight: 800;
    line-height: 1.08;
}

.product-submeta {
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 14px;
    color: #66715b;
    font-size: 14px;
}

.product-short-description {
    margin: 20px 0 0;
    color: #4f5f45;
    font-size: 16px;
    line-height: 1.7;
}

.product-short-description p,
.product-description p {
    margin: 0 0 12px;
}

.product-short-description p:last-child,
.product-description p:last-child {
    margin-bottom: 0;
}

.product-price-block {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin: 26px 0;
    padding: 20px 0;
    border-top: 1px solid #e6eccd;
    border-bottom: 1px solid #e6eccd;
}

.product-price-block del {
    display: block;
    color: #8a927e;
    font-size: 15px;
}

.product-price-block strong {
    display: block;
    color: #c6281d;
    font-size: 34px;
    line-height: 1.1;
}

.product-price-block span {
    align-self: center;
    background: #fff2d5;
    color: #b45309;
}

.product-options {
    display: grid;
    gap: 18px;
}

.product-option-group {
    margin: 0;
    padding: 0;
    border: 0;
}

.product-option-group legend,
.product-variant-select-wrap span,
.product-quantity span {
    margin-bottom: 9px;
    color: #315411;
    font-size: 14px;
    font-weight: 800;
}

.product-option-group legend span {
    margin-left: 8px;
    color: #c6281d;
    font-size: 12px;
    font-weight: 700;
}

.product-option-values {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    border: 1px solid #d9dfc6;
    border-radius: 8px;
    padding: 9px 13px;
    background: #ffffff;
    cursor: pointer;
}

.product-option:has(input:checked) {
    border-color: #315411;
    background: #315411;
    color: #fff8ba;
}

.product-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.product-option img,
.product-color-swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
}

.product-option img {
    object-fit: cover;
}

.product-color-swatch,
.product-attribute-chips i {
    display: inline-block;
    border: 1px solid rgba(17, 24, 39, 0.2);
    background: var(--swatch);
}

.product-variant-select-wrap,
.product-quantity {
    display: grid;
}

.product-variant-select-wrap select,
.product-quantity input {
    min-height: 44px;
    border: 1px solid #d9dfc6;
    border-radius: 8px;
    padding: 0 12px;
}

.product-purchase-row {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 14px;
    align-items: end;
    margin-top: 26px;
}

.product-quantity {
    width: 100%;
}

.product-quantity-stepper {
    display: grid;
    grid-template-columns: 42px minmax(46px, 1fr) 42px;
    min-height: 52px;
    overflow: hidden;
    border: 1px solid #d9dfc6;
    border-radius: 8px;
    background: #ffffff;
}

.product-quantity-stepper button,
.product-quantity-stepper input {
    min-width: 0;
    border: 0;
    background: transparent;
    color: #1f2a16;
    font: inherit;
}

.product-quantity-stepper button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #315411;
    font-size: 18px;
}

.product-quantity-stepper button:hover,
.product-quantity-stepper button:focus-visible {
    background: #edf8c8;
    outline: none;
}

.product-quantity-stepper input {
    width: 100%;
    padding: 0;
    text-align: center;
    font-weight: 800;
    -moz-appearance: textfield;
}

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

.product-action-buttons {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr) 56px;
    gap: 12px;
    align-items: end;
}

.product-add-cart,
.product-buy-now,
.product-wishlist {
    min-height: 52px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.product-add-cart,
.product-buy-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    font-weight: 800;
    white-space: nowrap;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.product-add-cart {
    background: #315411;
    color: #fff8ba;
    box-shadow: 0 12px 24px rgba(49, 84, 17, 0.16);
}

.product-buy-now {
    background: #c6281d;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(198, 40, 29, 0.16);
}

.product-add-cart:hover,
.product-buy-now:hover,
.product-add-cart:focus-visible,
.product-buy-now:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.product-add-cart:hover,
.product-add-cart:focus-visible {
    background: #263f0e;
}

.product-buy-now:hover,
.product-buy-now:focus-visible {
    background: #a82118;
}

.product-add-cart:disabled,
.product-buy-now:disabled {
    background: #9ca3af;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.product-wishlist {
    width: 56px;
    border: 1px solid #d9dfc6;
    background: #ffffff;
    color: #315411;
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-wishlist:hover,
.product-wishlist:focus-visible {
    border-color: #315411;
    background: #f7fbe8;
    outline: none;
}

.product-review-box {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #e6eccd;
}

.product-review-box2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(190px, auto);
    gap: 18px;
    align-items: start;
}

.product-review-box h5 {
    color: #1d2116;
    font-weight: 800;
}

.product-rating {
    display: inline-flex;
    gap: 4px;
    border: 1px solid #f1d35b;
    border-radius: 999px;
    padding: 8px 12px;
    color: #eab308;
}

.social-share {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.social-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #d9dfc6;
    border-radius: 999px;
    color: #315411;
    text-decoration: none;
}

.social-share a:hover,
.social-share a:focus-visible {
    border-color: #315411;
    background: #edf8c8;
    outline: none;
}

.product-stock-strip {
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
    padding: 16px;
    border-radius: 8px;
    background: #fffbea;
}

.product-stock-strip span {
    display: block;
    color: #1f2a16;
    font-weight: 800;
}

.product-stock-strip small {
    color: #66715b;
}

.product-stock-strip strong {
    background: #edf8c8;
    color: #315411;
}

.product-info-band,
.product-attribute-band,
.product-review-band,
.product-related-band {
    padding: 28px 0;
}

.product-info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
}

.product-info-grid article,
.product-specs,
.product-attribute-table article,
.related-product {
    border: 1px solid #dfe6c4;
    border-radius: 8px;
    background: #ffffff;
}

.product-info-grid article,
.product-specs {
    padding: 26px;
}

.product-info-grid h2,
.product-section-head h2,
.product-attribute-table h3 {
    margin: 0;
    color: #1d2116;
    font-weight: 800;
}

.product-description {
    margin-top: 16px;
    color: #4f5f45;
    line-height: 1.8;
}

.product-specs dl {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 12px;
    margin: 18px 0 0;
}

.product-specs dt {
    color: #66715b;
    font-weight: 700;
}

.product-specs dd {
    min-width: 0;
    margin: 0;
    color: #1f2a16;
    overflow-wrap: anywhere;
}

.product-section-head {
    margin-bottom: 18px;
}

.product-section-head span {
    display: block;
    margin-bottom: 6px;
    color: #c6281d;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.product-attribute-table {
    display: grid;
    gap: 12px;
}

.product-attribute-table article {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
}

.product-attribute-table p {
    margin: 8px 0 0;
    color: #66715b;
    font-size: 14px;
}

.product-attribute-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-attribute-chips span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #d9dfc6;
    border-radius: 999px;
    padding: 8px 12px;
    background: #ffffff;
    font-weight: 700;
}

.product-attribute-chips i {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.product-review-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 30px;
    align-items: start;
}

.product-review-list {
    display: grid;
    gap: 14px;
}

.product-review-card,
.product-review-empty,
.product-review-form-panel {
    border: 1px solid #dfe6c4;
    border-radius: 8px;
    background: #ffffff;
}

.product-review-card,
.product-review-empty,
.product-review-form-panel {
    padding: 22px;
}

.product-review-card-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.product-review-card strong,
.product-review-empty strong,
.product-review-form-panel h2 {
    color: #1d2116;
    font-weight: 800;
}

.product-review-card-head span {
    display: block;
    margin-top: 4px;
    color: #66715b;
    font-size: 13px;
}

.product-review-title-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.product-review-title-line em {
    border-radius: 999px;
    padding: 4px 8px;
    background: #fff2d5;
    color: #b45309;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    text-transform: uppercase;
}

.product-review-stars {
    display: inline-flex;
    gap: 2px;
    color: #f59e0b;
    white-space: nowrap;
}

.product-review-card p,
.product-review-empty p,
.product-login-review p,
.product-review-reply p {
    margin: 14px 0 0;
    color: #4f5f45;
    line-height: 1.7;
}

.product-review-images {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.product-review-images img {
    width: 74px;
    height: 74px;
    border-radius: 8px;
    object-fit: cover;
}

.product-review-reply {
    margin-top: 16px;
    border-left: 3px solid #315411;
    padding: 12px 14px;
    background: #fffbea;
}

.product-review-reply p {
    margin-top: 6px;
}

.product-review-helpful {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    margin-top: 16px;
    border: 1px solid #d9dfc6;
    border-radius: 999px;
    background: #ffffff;
    color: #315411;
    padding: 0 13px;
    font-weight: 800;
    cursor: pointer;
}

.product-review-helpful strong {
    color: inherit;
}

.product-review-helpful.is-marked {
    border-color: #315411;
    background: #315411;
    color: #fff8ba;
}

.product-review-form-panel {
    position: sticky;
    top: 18px;
}

.product-review-form-panel h2 {
    margin: 0 0 18px;
}

.product-review-form {
    display: grid;
    gap: 15px;
}

.product-review-form label {
    display: grid;
    gap: 8px;
}

.product-review-form label span {
    color: #315411;
    font-size: 14px;
    font-weight: 800;
}

.product-review-form input,
.product-review-form select,
.product-review-form textarea {
    width: 100%;
    border: 1px solid #d9dfc6;
    border-radius: 8px;
    padding: 11px 12px;
    color: #1f2a16;
    font: inherit;
}

.product-review-form textarea {
    resize: vertical;
}

.product-review-form small {
    color: #66715b;
}

.product-review-form button,
.product-login-review a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    border: 0;
    border-radius: 8px;
    background: #315411;
    color: #fff8ba;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.product-form-alert {
    margin-bottom: 16px;
    border-radius: 8px;
    padding: 12px 14px;
    font-weight: 700;
}

.product-form-alert p {
    margin: 0;
}

.product-form-alert.is-success {
    background: #ecfdf3;
    color: #027a48;
}

.product-form-alert.is-error {
    display: grid;
    gap: 6px;
    background: #fef3f2;
    color: #b42318;
}

.product-login-review {
    border-radius: 8px;
    padding: 18px;
    background: #fffbea;
}

.product-login-review a {
    margin-top: 14px;
    width: 100%;
}

.product-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.related-product {
    display: grid;
    gap: 8px;
    padding: 12px;
    color: #1f2a16;
    text-decoration: none;
}

.related-product img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 6px;
    object-fit: cover;
    background: #f3f4f6;
}

.related-product span {
    color: #66715b;
    font-size: 13px;
}

.related-product strong {
    line-height: 1.35;
}

.related-product small {
    color: #c6281d;
    font-weight: 800;
}

.product-zoom-open {
    overflow: hidden;
}

.product-zoom-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: clamp(18px, 4vw, 54px);
    background: rgba(16, 24, 12, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.product-zoom-modal[hidden] {
    display: none;
}

.product-zoom-modal img {
    max-width: min(1040px, 94vw);
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    background: #fffef0;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.product-zoom-close {
    position: fixed;
    top: 22px;
    right: 22px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 248, 186, 0.32);
    border-radius: 999px;
    background: rgba(49, 84, 17, 0.9);
    color: #fff8ba;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

@media (max-width: 980px) {
    .product-detail-grid,
    .product-info-grid,
    .product-review-grid,
    .product-attribute-table article {
        grid-template-columns: 1fr;
    }

    .product-review-form-panel {
        position: static;
    }

    .product-gallery-main {
        min-height: 420px;
    }

    .product-image-zoom-trigger {
        min-height: 420px;
    }

    .product-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-purchase-row,
    .product-review-box2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .product-detail-shell,
    .product-info-band,
    .product-attribute-band,
    .product-review-band,
    .product-related-band {
        width: min(100% - 20px, 1180px);
    }

    .product-review-card-head {
        flex-direction: column;
    }

    .product-detail-grid {
        gap: 18px;
    }

    .product-gallery-main {
        min-height: 330px;
    }

    .product-image-zoom-trigger {
        min-height: 330px;
    }

    .product-summary {
        padding: 20px;
    }

    .product-price-block,
    .product-stock-strip {
        align-items: stretch;
        flex-direction: column;
    }

    .product-action-buttons {
        grid-template-columns: 1fr;
    }

    .product-wishlist {
        width: 100%;
    }

    .product-specs dl,
    .product-related-grid {
        grid-template-columns: 1fr;
    }
}
