/* =========================================================
   SCREW ZONE PRODUCT DETAIL PAGE
   ========================================================= */

.sz-pdp {
    padding: 32px 0 76px;
    background:
        linear-gradient(
            180deg,
            rgba(var(--sz-primary-rgb, 255, 107, 0), 0.025),
            #ffffff 320px
        );
}

.sz-pdp-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    color: var(--sz-muted, #68707d);
    font-size: 0.68rem;
    font-weight: 700;
}

.sz-pdp-breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: color 180ms ease;
}

.sz-pdp-breadcrumb a:hover,
.sz-pdp-breadcrumb a:focus-visible {
    color: var(--sz-primary, #ff6b00);
}

.sz-pdp-breadcrumb i {
    font-size: 0.54rem;
}

.sz-pdp-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr);
    align-items: start;
    gap: 48px;
}

/* Gallery */

.sz-pdp-gallery {
    position: sticky;
    top: 106px;
}

.sz-pdp-gallery__main {
    position: relative;
    /* Product artwork is authored at 1500 x 1500. Keep the gallery square so the image fills it cleanly. */
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #ffffff;
    box-shadow: none !important;
    outline: none !important;
}

.sz-pdp-gallery__main > img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: block;
    margin: 0;
    padding: 0;
    object-fit: cover !important;
    object-position: center !important;
    border: 0 !important;
    outline: 0 !important;
    /* The product artwork is square, but the artwork itself can contain
       a small white safety margin. Tighten the visible canvas so the
       product does not look like it is sitting inside a second frame. */
    transform: scale(0.94);
    transform-origin: center;
    transition: transform 280ms ease;
}

/* Main product artwork is square (1500 x 1500), so it fills the gallery edge-to-edge. */
.sz-pdp-gallery__main > img[data-gallery-main-image] {
    aspect-ratio: 1 / 1;
}

.sz-pdp-gallery__main:hover > img {
    transform: scale(0.98);
}

.sz-pdp-gallery__badge {
    position: absolute;
    top: 18px;
    left: 18px;
    min-height: 29px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: var(--sz-primary, #ff6b00);
    color: #ffffff;
    font-size: 0.61rem;
    font-weight: 850;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.sz-pdp-gallery__zoom {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--sz-border, #e7e9ed);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--sz-heading, #17191d);
    box-shadow: 0 7px 20px rgba(18, 24, 40, 0.1);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.sz-pdp-gallery__thumbnails {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 13px;
}

.sz-pdp-gallery__thumbnail {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--sz-border, #e7e9ed);
    border-radius: 11px;
    background: #ffffff;
    cursor: pointer;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.sz-pdp-gallery__thumbnail:hover,
.sz-pdp-gallery__thumbnail:focus-visible,
.sz-pdp-gallery__thumbnail.is-active {
    border-color: var(--sz-primary, #ff6b00);
    box-shadow:
        0 0 0 3px
        rgba(var(--sz-primary-rgb, 255, 107, 0), 0.1);
    transform: translateY(-2px);
}

.sz-pdp-gallery__thumbnail img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

.sz-pdp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: grid;
    place-items: center;
    padding: 30px;
    background: rgba(10, 12, 16, 0.88);
    backdrop-filter: blur(8px);
}

.sz-pdp-lightbox[hidden] {
    display: none;
}

.sz-pdp-lightbox > img {
    max-width: min(940px, 92vw);
    max-height: 88vh;
    border-radius: 18px;
    background: #ffffff;
    object-fit: contain;
}

.sz-pdp-lightbox__close {
    position: fixed;
    top: 22px;
    right: 22px;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 1.1rem;
}

/* Summary */

.sz-pdp-summary {
    padding-top: 5px;
}

.sz-pdp-summary__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 13px;
    color: var(--sz-muted, #68707d);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.sz-pdp-summary__meta a {
    color: var(--sz-primary, #ff6b00);
    text-decoration: none;
}

.sz-pdp-title {
    margin: 0;
    color: var(--sz-heading, #17191d);
    font-size: clamp(2rem, 4vw, 3.05rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.045em;
}

.sz-pdp-rating-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 17px;
    color: var(--sz-muted, #68707d);
    font-size: 0.68rem;
    font-weight: 700;
}

.sz-pdp-rating {
    min-height: 29px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    border-radius: 999px;
    background: #fff6da;
    color: #9a6900;
    font-weight: 850;
}

.sz-pdp-rating--empty {
    background: var(--sz-primary-light, #fff2e8);
    color: var(--sz-primary, #ff6b00);
}

.sz-pdp-rating-row > a {
    color: var(--sz-primary, #ff6b00);
    text-decoration: none;
}

.sz-pdp-sku {
    margin-left: auto;
}

.sz-pdp-mode-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 24px;
    padding: 12px 14px;
    border: 1px solid rgba(var(--sz-primary-rgb, 255, 107, 0), 0.17);
    border-radius: 13px;
    background: var(--sz-primary-light, #fff2e8);
}

.sz-pdp-mode-banner span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sz-heading, #17191d);
    font-size: 0.69rem;
    font-weight: 850;
}

.sz-pdp-mode-banner i {
    color: var(--sz-primary, #ff6b00);
}

.sz-pdp-mode-banner a {
    color: var(--sz-primary, #ff6b00);
    font-size: 0.63rem;
    font-weight: 850;
    text-decoration: none;
}

.sz-pdp-price-panel {
    margin-top: 17px;
    padding: 20px;
    border: 1px solid var(--sz-border, #e7e9ed);
    border-radius: 17px;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(18, 24, 40, 0.055);
}

.sz-pdp-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
}

.sz-pdp-price {
    color: var(--sz-heading, #17191d);
    font-size: 2rem;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.045em;
}

.sz-pdp-price-row del {
    color: #969da8;
    font-size: 0.88rem;
    font-weight: 700;
}

.sz-pdp-discount {
    min-height: 25px;
    display: inline-flex;
    align-items: center;
    padding: 0 9px;
    border-radius: 999px;
    background: #eaf8ef;
    color: #197843;
    font-size: 0.61rem;
    font-weight: 850;
}

.sz-pdp-price-panel p {
    margin: 9px 0 0;
    color: var(--sz-muted, #68707d);
    font-size: 0.64rem;
    line-height: 1.6;
}

.sz-pdp-short-description {
    margin: 20px 0 0;
    color: var(--sz-muted, #68707d);
    font-size: 0.9rem;
    line-height: 1.75;
}

.sz-pdp-variant-field {
    margin-top: 20px;
}

.sz-pdp-variant-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--sz-heading, #17191d);
    font-size: 0.68rem;
    font-weight: 850;
}

.sz-pdp-variant-field select {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid var(--sz-border, #e7e9ed);
    border-radius: 11px;
    background: #ffffff;
    color: var(--sz-heading, #17191d);
    font-size: 0.72rem;
}

.sz-pdp-stock-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 19px;
}

.sz-pdp-stock,
.sz-pdp-moq,
.sz-pdp-stock-count {
    min-height: 31px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 10px;
    border-radius: 9px;
    font-size: 0.65rem;
    font-weight: 800;
}

.sz-pdp-stock.is-in-stock {
    background: #edf9f1;
    color: #197843;
}

.sz-pdp-stock.is-out-of-stock {
    background: #fff0f1;
    color: #c63c49;
}

.sz-pdp-moq {
    background: var(--sz-primary-light, #fff2e8);
    color: var(--sz-primary, #ff6b00);
}

.sz-pdp-stock-count {
    background: #f2f4f7;
    color: var(--sz-muted, #68707d);
}

.sz-pdp-purchase {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 48px;
    gap: 10px;
    margin-top: 20px;
}

.sz-pdp-quantity > span {
    display: block;
    margin-bottom: 7px;
    color: var(--sz-muted, #68707d);
    font-size: 0.57rem;
    font-weight: 800;
}

.sz-pdp-quantity__control {
    min-height: 48px;
    display: grid;
    grid-template-columns: 38px 54px 38px;
    overflow: hidden;
    border: 1px solid var(--sz-border, #e7e9ed);
    border-radius: 12px;
    background: #ffffff;
}

.sz-pdp-quantity__control button {
    border: 0;
    background: #f8f9fb;
    color: var(--sz-heading, #17191d);
}

.sz-pdp-quantity__control input {
    width: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: #ffffff;
    color: var(--sz-heading, #17191d);
    font-size: 0.74rem;
    font-weight: 850;
    text-align: center;
    appearance: textfield;
}

.sz-pdp-quantity__control input::-webkit-inner-spin-button,
.sz-pdp-quantity__control input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.sz-pdp-primary-action,
.sz-pdp-icon-action {
    min-height: 48px;
    align-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 850;
}

.sz-pdp-primary-action {
    border: 1px solid var(--sz-primary, #ff6b00);
    background: var(--sz-primary, #ff6b00);
    color: #ffffff;
    box-shadow:
        0 10px 24px
        rgba(var(--sz-primary-rgb, 255, 107, 0), 0.24);
}

.sz-pdp-primary-action:hover,
.sz-pdp-primary-action:focus-visible {
    background: var(--sz-primary-dark, #db5700);
}

.sz-pdp-primary-action:disabled {
    border-color: #d5d9df;
    background: #d5d9df;
    box-shadow: none;
}

.sz-pdp-icon-action {
    width: 48px;
    border: 1px solid var(--sz-border, #e7e9ed);
    background: #ffffff;
    color: var(--sz-heading, #17191d);
}

.sz-pdp-assurance-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 21px;
}

.sz-pdp-assurance-grid > div {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--sz-border, #e7e9ed);
    border-radius: 12px;
    background: #fafbfc;
}

.sz-pdp-assurance-grid i {
    flex: 0 0 auto;
    color: var(--sz-primary, #ff6b00);
}

.sz-pdp-assurance-grid span {
    min-width: 0;
    color: var(--sz-muted, #68707d);
    font-size: 0.56rem;
    line-height: 1.45;
}

.sz-pdp-assurance-grid strong {
    display: block;
    color: var(--sz-heading, #17191d);
    font-size: 0.6rem;
}

/* Information */

.sz-pdp-information {
    margin-top: 68px;
}

.sz-pdp-information__header,
.sz-pdp-related__heading,
.sz-pdp-reviews__heading,
.sz-pdp-specifications__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.sz-pdp-information__header > span,
.sz-pdp-related__heading span,
.sz-pdp-reviews__heading span,
.sz-pdp-specifications__heading span {
    display: block;
    margin-bottom: 7px;
    color: var(--sz-primary, #ff6b00);
    font-size: 0.6rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.sz-pdp-information__header h2,
.sz-pdp-related__heading h2 {
    margin: 0;
    color: var(--sz-heading, #17191d);
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 900;
    letter-spacing: -0.035em;
}

.sz-pdp-information__header h3,
.sz-pdp-reviews__heading h3,
.sz-pdp-specifications__heading h3 {
    margin: 0;
    color: var(--sz-heading, #17191d);
    font-size: 1.25rem;
    font-weight: 900;
}

.sz-pdp-description-card,
.sz-pdp-specifications,
.sz-pdp-reviews,
.sz-pdp-faqs {
    margin-top: 24px;
    padding: 26px;
    border: 1px solid var(--sz-border, #e7e9ed);
    border-radius: 19px;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(18, 24, 40, 0.05);
}

.sz-pdp-description-card h3 {
    margin: 0 0 14px;
    color: var(--sz-heading, #17191d);
    font-size: 1rem;
    font-weight: 900;
}

.sz-pdp-rich-text {
    color: var(--sz-muted, #68707d);
    font-size: 0.96rem;
    line-height: 1.8;
}

.sz-pdp-specifications__heading > i {
    color: var(--sz-primary, #ff6b00);
    font-size: 1.5rem;
}

.sz-pdp-specifications__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 22px 0 0;
    overflow: hidden;
    border: 1px solid var(--sz-border, #e7e9ed);
    border-radius: 14px;
}

.sz-pdp-specifications__grid > div {
    display: grid;
    grid-template-columns: minmax(120px, 0.8fr) minmax(0, 1.2fr);
    min-height: 48px;
    border-bottom: 1px solid var(--sz-border, #e7e9ed);
}

.sz-pdp-specifications__grid > div:nth-child(odd) {
    border-right: 1px solid var(--sz-border, #e7e9ed);
}

.sz-pdp-specifications__grid > div:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.sz-pdp-specifications dt,
.sz-pdp-specifications dd {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 11px 13px;
    font-size: 0.82rem;
    line-height: 1.55;
}

.sz-pdp-specifications dt {
    background: #f7f8fa;
    color: var(--sz-muted, #68707d);
    font-weight: 750;
}

.sz-pdp-specifications dd {
    color: var(--sz-heading, #17191d);
    font-weight: 800;
}

.sz-pdp-reviews__heading > strong {
    color: var(--sz-primary, #ff6b00);
    font-size: 1.25rem;
    font-weight: 950;
}

.sz-pdp-reviews__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.sz-pdp-review-card {
    padding: 18px;
    border: 1px solid var(--sz-border, #e7e9ed);
    border-radius: 14px;
    background: #fafbfc;
}

.sz-pdp-review-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sz-pdp-review-card__top > span {
    color: #f6a700;
    font-size: 0.68rem;
}

.sz-pdp-review-card time {
    color: var(--sz-muted, #68707d);
    font-size: 0.58rem;
    font-weight: 700;
}

.sz-pdp-review-card h4 {
    margin: 13px 0 0;
    color: var(--sz-heading, #17191d);
    font-size: 0.82rem;
    font-weight: 850;
}

.sz-pdp-review-card p {
    margin: 9px 0 0;
    color: var(--sz-muted, #68707d);
    font-size: 0.7rem;
    line-height: 1.65;
}

.sz-pdp-review-card > strong {
    display: block;
    margin-top: 13px;
    color: var(--sz-heading, #17191d);
    font-size: 0.62rem;
}

.sz-pdp-faqs .accordion {
    margin-top: 20px;
}

.sz-pdp-faqs .accordion-item {
    border-color: var(--sz-border, #e7e9ed);
}

.sz-pdp-faqs .accordion-button {
    color: var(--sz-heading, #17191d);
    font-size: 0.72rem;
    font-weight: 850;
    box-shadow: none;
}

.sz-pdp-faqs .accordion-button:not(.collapsed) {
    background: var(--sz-primary-light, #fff2e8);
    color: var(--sz-primary, #ff6b00);
}

.sz-pdp-faqs .accordion-body {
    color: var(--sz-muted, #68707d);
    font-size: 0.72rem;
    line-height: 1.72;
}


/* Phase 7: Product-to-Knowledge topical cluster */

.sz-pdp-knowledge {
    margin-top: 68px;
    padding-top: 52px;
    border-top: 1px solid var(--sz-border, #e7e9ed);
}

.sz-pdp-knowledge__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.sz-pdp-knowledge__card {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--sz-border, #e7e9ed);
    border-radius: 16px;
    background: #ffffff;
}

.sz-pdp-knowledge__card > span {
    display: block;
    margin-bottom: 8px;
    color: var(--sz-primary, #ff6b00);
    font-size: 0.58rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.sz-pdp-knowledge__card h3 {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.35;
}

.sz-pdp-knowledge__card h3 a {
    color: var(--sz-heading, #17191d);
    text-decoration: none;
}

.sz-pdp-knowledge__card p {
    margin: 10px 0 14px;
    color: var(--sz-muted, #68707d);
    font-size: 0.7rem;
    line-height: 1.65;
}

.sz-pdp-knowledge__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--sz-heading, #17191d);
    font-size: 0.65rem;
    font-weight: 850;
    text-decoration: none;
}

.sz-pdp-knowledge__card a:hover,
.sz-pdp-knowledge__card a:focus-visible {
    color: var(--sz-primary, #ff6b00);
}

/* Related */

.sz-pdp-related {
    margin-top: 68px;
    padding-top: 52px;
    border-top: 1px solid var(--sz-border, #e7e9ed);
}

.sz-pdp-related__heading {
    margin-bottom: 28px;
}

.sz-pdp-related__heading p {
    max-width: 650px;
    margin: 10px 0 0;
    color: var(--sz-muted, #68707d);
    font-size: 0.78rem;
    line-height: 1.65;
}

.sz-pdp-related__heading > a {
    flex: 0 0 auto;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid var(--sz-border, #e7e9ed);
    border-radius: 11px;
    background: #ffffff;
    color: var(--sz-heading, #17191d);
    font-size: 0.67rem;
    font-weight: 850;
    text-decoration: none;
}

/* Tight square product gallery: remove the remaining visual frame/gap. */
@media (max-width: 767.98px) {
    .sz-pdp-gallery__main > img[data-gallery-main-image] {
        transform: scale(1.12);
    }

    .sz-pdp-gallery__main:hover > img[data-gallery-main-image] {
        transform: scale(1.14);
    }
}

@media (max-width: 1199.98px) {
    .sz-pdp-main-grid {
        gap: 34px;
    }

    .sz-pdp-assurance-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .sz-pdp-main-grid {
        grid-template-columns: 1fr;
    }

    .sz-pdp-gallery {
        position: static;
    }

    .sz-pdp-summary {
        padding-top: 0;
    }
}

@media (max-width: 767.98px) {
    .sz-pdp-knowledge__grid {
        grid-template-columns: 1fr;
    }

    .sz-pdp {
        padding-top: 22px;
    }

    .sz-pdp-gallery__main > img {
        padding: 0;
    }

    .sz-pdp-gallery__thumbnails {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .sz-pdp-title {
        font-size: 1.85rem;
    }

    .sz-pdp-sku {
        width: 100%;
        margin-left: 0;
    }

    .sz-pdp-mode-banner,
    .sz-pdp-information__header,
    .sz-pdp-related__heading,
    .sz-pdp-reviews__heading,
    .sz-pdp-specifications__heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .sz-pdp-purchase {
        grid-template-columns: 1fr 48px;
    }

    .sz-pdp-quantity {
        grid-column: 1 / -1;
    }

    .sz-pdp-quantity__control {
        grid-template-columns: 46px 1fr 46px;
    }

    .sz-pdp-specifications__grid,
    .sz-pdp-reviews__grid {
        grid-template-columns: 1fr;
    }

    .sz-pdp-specifications__grid > div,
    .sz-pdp-specifications__grid > div:nth-child(odd) {
        border-right: 0;
        border-bottom: 1px solid var(--sz-border, #e7e9ed);
    }

    .sz-pdp-specifications__grid > div:last-child {
        border-bottom: 0;
    }

    .sz-pdp-specifications__grid > div:nth-last-child(2) {
        border-bottom: 1px solid var(--sz-border, #e7e9ed);
    }
}

@media (max-width: 575.98px) {
    .sz-pdp-gallery__thumbnails {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sz-pdp-price {
        font-size: 1.65rem;
    }

    .sz-pdp-purchase {
        grid-template-columns: 1fr;
    }

    .sz-pdp-icon-action {
        width: 100%;
    }

    .sz-pdp-description-card,
    .sz-pdp-specifications,
    .sz-pdp-reviews,
    .sz-pdp-faqs {
        padding: 19px;
    }

    .sz-pdp-specifications__grid > div {
        grid-template-columns: 1fr;
    }

    .sz-pdp-specifications dt {
        padding-bottom: 5px;
    }

    .sz-pdp-specifications dd {
        padding-top: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sz-pdp-gallery__main > img,
    .sz-pdp-gallery__thumbnail,
    .sz-pdp-breadcrumb a {
        transition: none !important;
    }
}


/* =========================================================
   PHASE 12 — MODERATED PRODUCT REVIEWS
   ========================================================= */

.sz-pdp-reviews--moderated {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(255, 107, 0, .07),
            transparent 31%
        ),
        #fff;
}

.sz-pdp-reviews--moderated::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(
        180deg,
        #ff9d57,
        var(--sz-primary, #ff6b00)
    );
}

.sz-pdp-reviews--moderated .sz-pdp-reviews__heading {
    align-items: center;
}

.sz-pdp-reviews--moderated .sz-pdp-reviews__heading > div:first-child > p {
    max-width: 580px;
    margin: 7px 0 0;
    color: var(--sz-muted, #68707d);
    font-size: .68rem;
    line-height: 1.55;
}

.sz-pdp-reviews__score {
    min-width: 155px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 107, 0, .14);
    border-radius: 13px;
    background: #fff9f4;
    text-align: right;
}

.sz-pdp-reviews__score > strong,
.sz-pdp-reviews__score > span,
.sz-pdp-reviews__score > small {
    display: block;
}

.sz-pdp-reviews__score > strong {
    color: var(--sz-heading, #17191d);
    font-size: 1.22rem;
    font-weight: 950;
}

.sz-pdp-reviews__score > span {
    margin-top: 4px;
    color: #f4a400;
    font-size: .65rem;
}

.sz-pdp-reviews__score > small {
    margin-top: 4px;
    color: var(--sz-muted, #68707d);
    font-size: .56rem;
    font-weight: 720;
}

.sz-pdp-reviews--moderated .sz-pdp-review-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 20px;
    border-color: rgba(45, 51, 60, .1);
    background:
        linear-gradient(145deg, #fff 0%, #fafbfc 100%);
    box-shadow: 0 11px 25px rgba(24, 29, 38, .045);
    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}

.sz-pdp-reviews--moderated .sz-pdp-review-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 107, 0, .2);
    box-shadow: 0 15px 31px rgba(24, 29, 38, .075);
}

.sz-pdp-reviews--moderated .sz-pdp-review-card.is-featured {
    border-color: rgba(246, 167, 0, .24);
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(255, 207, 83, .13),
            transparent 36%
        ),
        linear-gradient(145deg, #fffef9, #fff);
}

.sz-pdp-review-card__stars {
    display: inline-flex;
    gap: 2px;
    color: #f6a700;
    font-size: .69rem;
}

.sz-pdp-review-card__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px;
}

.sz-pdp-review-card__badges > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 7px;
    border-radius: 999px;
    font-size: .51rem;
    font-weight: 850;
    white-space: nowrap;
}

.sz-pdp-review-card__badges .is-verified {
    color: #166c43;
    background: #eaf8f1;
}

.sz-pdp-review-card__badges .is-featured {
    color: #8c6400;
    background: #fff4d8;
}

.sz-pdp-review-card__comment {
    flex: 1;
}

.sz-pdp-review-card__author {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 16px;
}

.sz-pdp-review-card__author > span {
    width: 34px;
    height: 34px;
    display: inline-flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--sz-primary, #ff6b00);
    background: #fff0e5;
}

.sz-pdp-review-card__author strong,
.sz-pdp-review-card__author time {
    display: block;
}

.sz-pdp-review-card__author strong {
    margin: 0;
    color: var(--sz-heading, #17191d);
    font-size: .64rem;
}

.sz-pdp-review-card__author time {
    margin-top: 3px;
    color: var(--sz-muted, #68707d);
    font-size: .54rem;
}

.sz-pdp-review-card__reply {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    margin-top: 15px;
    padding: 12px;
    border: 1px solid #dce9f5;
    border-radius: 11px;
    background: #f5f9fd;
}

.sz-pdp-review-card__reply > span {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #276ba8;
    background: #e5f0fa;
}

.sz-pdp-review-card__reply strong,
.sz-pdp-review-card__reply p,
.sz-pdp-review-card__reply time {
    display: block;
}

.sz-pdp-review-card__reply strong {
    color: #24577f;
    font-size: .62rem;
}

.sz-pdp-review-card__reply p {
    margin: 4px 0 0;
    color: #5e7181;
    font-size: .61rem;
    line-height: 1.55;
}

.sz-pdp-review-card__reply time {
    margin-top: 5px;
    color: #8798a6;
    font-size: .51rem;
}

.sz-pdp-review-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 15px;
    padding-top: 13px;
    border-top: 1px solid var(--sz-border, #e7e9ed);
}

.sz-pdp-review-card__actions button {
    min-height: 33px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 10px;
    border: 1px solid var(--sz-border, #e7e9ed);
    border-radius: 8px;
    color: var(--sz-muted, #68707d);
    background: #fff;
    font-size: .57rem;
    font-weight: 800;
    cursor: pointer;
    transition:
        border-color .18s ease,
        color .18s ease,
        background .18s ease;
}

.sz-pdp-review-card__actions button:hover,
.sz-pdp-review-card__actions button.is-active {
    border-color: rgba(255, 107, 0, .27);
    color: var(--sz-primary, #ff6b00);
    background: #fff7f1;
}

.sz-pdp-review-card__actions button:disabled {
    opacity: .65;
    cursor: wait;
}

.sz-pdp-review-report {
    margin-top: 11px;
    padding: 13px;
    border: 1px solid #eadfe0;
    border-radius: 11px;
    background: #fffafa;
}

.sz-pdp-review-report > div:first-child strong,
.sz-pdp-review-report > div:first-child small {
    display: block;
}

.sz-pdp-review-report > div:first-child strong {
    color: var(--sz-heading, #17191d);
    font-size: .65rem;
}

.sz-pdp-review-report > div:first-child small {
    margin-top: 3px;
    color: var(--sz-muted, #68707d);
    font-size: .55rem;
    line-height: 1.45;
}

.sz-pdp-review-report label {
    display: block;
    margin-top: 10px;
}

.sz-pdp-review-report label > span {
    display: block;
    margin-bottom: 5px;
    color: #4f5864;
    font-size: .57rem;
    font-weight: 800;
}

.sz-pdp-review-report select,
.sz-pdp-review-report textarea {
    width: 100%;
    padding: 0 9px;
    border: 1px solid #e0d5d6;
    border-radius: 8px;
    outline: 0;
    color: var(--sz-heading, #17191d);
    background: #fff;
    font-size: .61rem;
}

.sz-pdp-review-report select {
    min-height: 36px;
}

.sz-pdp-review-report textarea {
    min-height: 74px;
    padding-top: 8px;
    resize: vertical;
}

.sz-pdp-review-report select:focus,
.sz-pdp-review-report textarea:focus {
    border-color: #c67b81;
    box-shadow: 0 0 0 3px rgba(170, 74, 82, .07);
}

.sz-pdp-review-report__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.sz-pdp-review-report__actions button {
    min-height: 34px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    font-size: .58rem;
    font-weight: 850;
    cursor: pointer;
}

.sz-pdp-review-report__actions button[type="submit"] {
    color: #fff;
    background: #9a3c43;
}

.sz-pdp-review-report__actions button[type="button"] {
    color: var(--sz-muted, #68707d);
    background: #eceff2;
}

.sz-pdp-review-card__message {
    margin: 10px 0 0;
    padding: 8px 10px;
    border-radius: 8px;
    color: #176d45;
    background: #ecf9f2;
    font-size: .57rem;
    font-weight: 750;
    line-height: 1.45;
}

.sz-pdp-review-card__message.is-error {
    color: #a33a3f;
    background: #fff0f1;
}

@media (max-width: 760px) {
    .sz-pdp-reviews--moderated .sz-pdp-reviews__heading {
        align-items: stretch;
    }

    .sz-pdp-reviews__score {
        min-width: 0;
        text-align: left;
    }
}

/* Verified-purchase review invitation */
.sz-pdp-review-invite {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    margin-top: 24px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 107, 0, .2);
    border-radius: 19px;
    background:
        radial-gradient(circle at 92% 10%, rgba(255, 107, 0, .11), transparent 34%),
        linear-gradient(135deg, #fff9f4, #fff);
    box-shadow: 0 12px 32px rgba(18, 24, 40, .06);
}

.sz-pdp-review-invite__icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #f5a623;
    background: #fff0df;
    font-size: 1.35rem;
}

.sz-pdp-review-invite span {
    display: block;
    margin-bottom: 5px;
    color: var(--sz-primary, #ff6b00);
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sz-pdp-review-invite h3 {
    margin: 0 0 5px;
    color: var(--sz-heading, #17191d);
    font-size: 1rem;
    font-weight: 900;
}

.sz-pdp-review-invite p {
    margin: 0;
    color: var(--sz-muted, #68707d);
    font-size: .7rem;
    line-height: 1.6;
}

.sz-pdp-review-invite > a,
.sz-pdp-review-invite > strong {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border-radius: 11px;
    font-size: .66rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.sz-pdp-review-invite > a {
    color: #fff;
    background: linear-gradient(135deg, var(--sz-primary, #ff6b00), #d94f0b);
    box-shadow: 0 10px 22px rgba(255, 107, 0, .2);
    transition: transform .18s ease, box-shadow .18s ease;
}

.sz-pdp-review-invite > a:hover,
.sz-pdp-review-invite > a:focus-visible {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(255, 107, 0, .28);
}

.sz-pdp-review-invite > strong.is-published {
    color: #157347;
    background: #eaf8f0;
}

.sz-pdp-review-invite > strong.is-pending {
    color: #9a6700;
    background: #fff8db;
}

@media (max-width: 767.98px) {
    .sz-pdp-review-invite {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .sz-pdp-review-invite > a,
    .sz-pdp-review-invite > strong {
        grid-column: 1 / -1;
        width: 100%;
    }
}

/* Approved customer review photos/videos */
.sz-pdp-review-card__media {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    margin-top: 14px;
}

.sz-pdp-review-card__media > a {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid var(--sz-border, #e7e9ed);
    border-radius: 10px;
    background: #eef1f5;
}

.sz-pdp-review-card__media img,
.sz-pdp-review-card__media video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .2s ease;
}

.sz-pdp-review-card__media > a:hover img,
.sz-pdp-review-card__media > a:hover video {
    transform: scale(1.04);
}

.sz-pdp-review-card__media > a > span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(13, 27, 42, .28);
    font-size: 1.2rem;
}

@media (max-width: 575.98px) {
    .sz-pdp-review-card__media {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .sz-pdp-review-card__media img,
    .sz-pdp-review-card__media video {
        transition: none;
    }
}

/* Product detail image gap removal */
.sz-pdp-gallery__main > img,
.sz-pdp-gallery__main > img[data-gallery-main-image] {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
}

/* =========================================================
   PRODUCT DETAIL — ABOVE-FOLD DESKTOP LAYOUT
   Keep the primary product image, thumbnails and purchase
   controls visible together on normal desktop screens.
   ========================================================= */
@media (min-width: 992px) {
    .sz-pdp {
        padding-top: 18px;
        padding-bottom: 54px;
    }

    .sz-pdp-breadcrumb {
        margin-bottom: 14px;
    }

    .sz-pdp-main-grid {
        grid-template-columns: minmax(0, 0.98fr) minmax(420px, 1.02fr);
        gap: 34px;
    }

    .sz-pdp-gallery {
        top: 92px;
    }

    .sz-pdp-gallery__main {
        /* Do not force a large square that pushes the Add to Cart area below the fold. */
        height: min(500px, calc(100vh - 350px));
        min-height: 430px;
        aspect-ratio: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sz-pdp-gallery__main > img,
    .sz-pdp-gallery__main > img[data-gallery-main-image] {
        width: 100%;
        height: 100%;
        object-fit: contain !important;
        object-position: center !important;
        transform: none;
    }

    .sz-pdp-gallery__main:hover > img,
    .sz-pdp-gallery__main:hover > img[data-gallery-main-image] {
        transform: scale(1.015);
    }

    .sz-pdp-gallery__thumbnails {
        grid-template-columns: repeat(5, minmax(64px, 86px));
        gap: 8px;
        margin-top: 8px;
    }

    .sz-pdp-gallery__thumbnail {
        border-radius: 9px;
    }

    .sz-pdp-gallery__thumbnail img {
        border-radius: 8px;
    }

    .sz-pdp-summary {
        padding-top: 0;
    }

    .sz-pdp-summary__meta {
        margin-bottom: 8px;
    }

    .sz-pdp-title {
        font-size: clamp(1.75rem, 3vw, 2.55rem);
        line-height: 1.04;
    }

    .sz-pdp-rating-row {
        margin-top: 10px;
    }

    .sz-pdp-mode-banner {
        margin-top: 13px;
        padding: 9px 12px;
    }

    .sz-pdp-price-panel {
        margin-top: 11px;
        padding: 14px 16px;
    }

    .sz-pdp-price {
        font-size: 1.7rem;
    }

    .sz-pdp-price-panel p {
        margin-top: 6px;
        line-height: 1.45;
    }

    .sz-pdp-short-description {
        margin-top: 10px;
        font-size: 0.78rem;
        line-height: 1.5;
    }

    .sz-pdp-variant-field {
        margin-top: 11px;
    }

    .sz-pdp-stock-row {
        margin-top: 10px;
    }

    .sz-pdp-purchase {
        margin-top: 11px;
    }

    .sz-pdp-assurance-grid {
        margin-top: 11px;
    }

    .sz-pdp-assurance-grid > div {
        padding: 9px;
    }

    /* Description remains immediately before specifications, with less empty space. */
    .sz-pdp-information {
        margin-top: 34px;
    }

    .sz-pdp-description-card,
    .sz-pdp-specifications,
    .sz-pdp-reviews,
    .sz-pdp-faqs {
        margin-top: 14px;
    }
}

/* Quick quantity presets */
.sz-pdp-quick-quantity {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 9px;
}

.sz-pdp-quick-quantity > span {
    width: 100%;
    margin: 0;
    color: var(--sz-muted, #68707d);
    font-size: 0.56rem;
    font-weight: 800;
}

.sz-pdp-quick-quantity__button {
    min-width: 50px;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid var(--sz-border, #e7e9ed);
    border-radius: 9px;
    background: #ffffff;
    color: var(--sz-heading, #17191d);
    font-size: 0.62rem;
    font-weight: 850;
    line-height: 1;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.sz-pdp-quick-quantity__button:hover,
.sz-pdp-quick-quantity__button:focus-visible {
    border-color: var(--sz-primary, #ff6b00);
    background: var(--sz-primary-light, #fff2e8);
    color: var(--sz-primary, #ff6b00);
    transform: translateY(-1px);
    outline: none;
}

.sz-pdp-quick-quantity__button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 575.98px) {
    .sz-pdp-quick-quantity__button {
        flex: 1 1 0;
        min-width: 0;
    }
}

/* =========================================================
   FINAL MICRO-SPACING FIX — preserve compact above-fold layout
   Only tighten the gallery/quantity controls; do not change
   the desktop viewport sizing defined above.
   ========================================================= */
@media (min-width: 992px) {
    .sz-pdp-gallery__thumbnails {
        margin-top: 4px;
        gap: 6px;
    }

    .sz-pdp-gallery__thumbnail {
        max-width: 82px;
    }

    .sz-pdp-quantity {
        width: fit-content;
        min-width: 0;
    }

    .sz-pdp-quantity__control {
        width: 130px;
        min-width: 130px;
        grid-template-columns: 38px 54px 38px;
    }
}

@media (max-width: 991.98px) {
    .sz-pdp-quantity {
        width: fit-content;
        min-width: 0;
    }
}

/* ScrewZone launch coupon visibility */
.sz-pdp-launch-offer {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin-top: 12px;
    padding: 13px 14px;
    border: 1px solid #ffd2b0;
    border-radius: 14px;
    background: #fff6ee;
}

.sz-pdp-launch-offer.is-active {
    border-color: #ffb477;
    background: #fff1e5;
}

.sz-pdp-launch-offer__icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    background: var(--sz-primary, #ff6b00);
    color: #fff;
    font-size: 1rem;
}

.sz-pdp-launch-offer small,
.sz-pdp-launch-offer strong,
.sz-pdp-launch-offer p {
    display: block;
}

.sz-pdp-launch-offer small {
    color: #b65008;
    font-size: .58rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.sz-pdp-launch-offer strong {
    margin-top: 2px;
    color: var(--sz-heading, #17191d);
    font-size: .76rem;
    font-weight: 900;
}

.sz-pdp-launch-offer p {
    margin: 3px 0 0;
    color: var(--sz-muted, #68707d);
    font-size: .58rem;
    line-height: 1.45;
}

.sz-pdp-launch-offer > b {
    padding: 8px 10px;
    border: 1px dashed #ff9c51;
    border-radius: 10px;
    background: #fff;
    color: #c55300;
    font-size: .68rem;
    letter-spacing: .04em;
}

@media (max-width: 560px) {
    .sz-pdp-launch-offer {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .sz-pdp-launch-offer__icon {
        width: 38px;
        height: 38px;
    }

    .sz-pdp-launch-offer > b {
        grid-column: 1 / -1;
        text-align: center;
    }
}
