/*----------------------------------------*/
/*  PRODUCT DETAIL                         */
/*  Figma: Product detailed (488-18153),   */
/*  mobile: Product detailed mob (492-20338)*/
/*----------------------------------------*/

/* Scoped to the product page: .btn-back, the quantity inputs and
   .product-entry are shared with the basket, events and the home page, and
   style.css / product-style.css (loaded later, and duplicating each other's
   product rules) must keep styling those. The extra `body.single-product`
   also outranks them here. */

body.single-product {
    --pd-line: rgba(32, 32, 32, .1);
    --pd-wide: 1234px;
}

body.single-product main,
body.single-product main * {
    font-family: var(--rd-ff);
}

body.single-product main {
    background-color: var(--rd-surface);
}

/* sections paint their own grey inline — one ground for the whole page */
body.single-product main .section,
body.single-product .configuration-test {
    background-color: var(--rd-surface) !important;
}

body.single-product .spacer-sm { height: 40px; }
body.single-product .spacer-md { height: 80px; }


/*--------------------*/
/* - SECTION HEADINGS */
/*--------------------*/
body.single-product .prd__config--info h3,
body.single-product .products-accordeon > .title,
body.single-product .products-accordeon > .tech-specs-wrapper > .title,
body.single-product .accessories-title,
body.single-product .related-slider ~ .title,
body.single-product .section .col-xxl-8 > .h2.title {
    margin: 0 0 60px;
    font-size: clamp(34px, 2.7vw, 52px);
    line-height: 1.16;
    font-weight: 300;
    letter-spacing: 0;
    color: var(--rd-txt-on-light);
    text-transform: none;
}

body.single-product .products-accordeon > .title,
body.single-product .products-accordeon > .tech-specs-wrapper > .title,
body.single-product .accessories-title {
    text-align: left;
}

body.single-product .accessories-title {
    padding: 0;
    border: 0;
}

/* "Product <b>Specifications</b>" — one word carries the weight */
body.single-product .products-accordeon > .title b,
body.single-product .products-accordeon > .tech-specs-wrapper > .title b {
    font-weight: 600;
}

body.single-product .section .col-xxl-8 > .h2.title {
    text-align: left;
}

/* shared wide column (configuration, specifications, sliders) */
body.single-product .section:not(.prd__detail--section) > .container:has(:is(.accessories-slider, .related-slider, .products-accordeon)) {
    max-width: calc(var(--pd-wide) + var(--rd-gutter) * 2);
    width: 100%;
    padding: 0 var(--rd-gutter);
}

body.single-product .section:not(.prd__detail--section) > .container:has(:is(.accessories-slider, .related-slider, .products-accordeon)) > .row {
    display: block;
    margin: 0;
}

body.single-product .section:not(.prd__detail--section) > .container:has(:is(.accessories-slider, .related-slider, .products-accordeon)) > .row > [class*="col-"] {
    width: 100%;
    max-width: none;
    padding: 0;
}


/*--------------------*/
/* - BACK             */
/*--------------------*/
body.single-product .prd__detail--section {
    padding-top: 34px;
}

/* the design pins Back to the page gutter, outside the product column */
body.single-product .prd__detail--section > .btn-back-container.container {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    margin: 0;
    padding: 0 var(--rd-gutter);
}

body.single-product .prd__detail--section .btn-back-container + .spacer-sm {
    height: 26px;
}

body.single-product .prd__detail--section .btn-back {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    width: auto;
    height: auto;
    background: none;
    border: 0;
}

body.single-product .prd__detail--section .btn-back i {
    position: static;
    display: block;
    width: 54px;
    height: 54px;
    background: url("../../img/redesign/icons/arrow-cta-dark.svg") no-repeat center / 20px 20px;
    border: 1px solid var(--pd-line);
    border-radius: var(--rd-radius);
    transform: rotate(180deg);
    transition: border-color var(--rd-transition), background-color var(--rd-transition);
}

body.single-product .prd__detail--section .btn-back i::before,
body.single-product .prd__detail--section .btn-back i::after {
    content: none;
}

body.single-product .prd__detail--section .btn-back b {
    position: static;
    transform: none;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
    color: var(--rd-txt-on-light);
    text-transform: uppercase;
}

@media (min-width: 1200px) {
    body.single-product .prd__detail--section .btn-back:hover i {
        background-color: var(--rd-white);
        border-color: var(--rd-border-on-light);
    }
}


/*--------------------*/
/* - MAIN LAYOUT      */
/*--------------------*/
/* 605px gallery + 110px gap + 830px info, centred at 1920 */
body.single-product .prd__detail--section > .container {
    max-width: calc(1545px + var(--rd-gutter) * 2);
    width: 100%;
    padding: 0 var(--rd-gutter);
}

body.single-product .prd__detail--section > .container > .row {
    display: block;
    margin: 0;
}

body.single-product .prd__detail--section > .container > .row > [class*="col-"] {
    width: 100%;
    max-width: none;
    padding: 0;
}

body.single-product .prd__detail--section > .container > .row > [class*="col-"] > .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: clamp(40px, 5.7vw, 110px);
    margin: 0;
}

body.single-product .prd__detail--section > .container > .row > [class*="col-"] > .row > [class*="col-"] {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
}

body.single-product .prd__detail--section > .container > .row > [class*="col-"] > .row > [class*="col-"]:first-child {
    flex: 0 1 605px;
    min-width: 0;
}

body.single-product .prd__detail--section > .container > .row > [class*="col-"] > .row > [class*="col-"]:last-child {
    flex: 1 1 830px;
    min-width: 0;
    padding-top: 36px;
}


/*--------------------*/
/* - GALLERY          */
/*--------------------*/
body.single-product .prd__detail--slider {
    width: 100%;
    min-width: 0;
    margin: 0;
}

body.single-product .prd__detail--slider .swiper-thumbs-top .swiper-controls {
    display: none;
}

body.single-product .prd__detail--img {
    position: relative;
    margin: 0;
    padding-top: 91.57%; /* 554 / 605 */
    background: var(--rd-white);
    border-radius: var(--rd-radius);
    overflow: hidden;
}

body.single-product .prd__detail--img img {
    top: 6%;
    left: 6%;
    width: 88%;
    height: 88%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    transform: none;
}

body.single-product .prd__detail--slider .swiper-thumbs-bottom {
    width: 100%;
    margin: 16px 0 0;
}

body.single-product .prd__detail--thumbs {
    padding-top: 100%;
    background: var(--rd-white);
    border: 1px solid transparent;
    border-radius: var(--rd-radius);
    outline: 0;
    cursor: pointer;
    transition: border-color var(--rd-transition);
}

body.single-product .prd__detail--thumbs img {
    max-width: 80%;
    max-height: 80%;
}

body.single-product .swiper-slide-thumb-active .prd__detail--thumbs {
    background: var(--rd-white);
    border-color: var(--rd-accent);
    outline: 0;
}

@media (min-width: 1200px) {
    body.single-product .prd__detail--thumbs:hover {
        border-color: var(--rd-border-on-light);
    }
}


/*--------------------*/
/* - PRODUCT INFO     */
/*--------------------*/
/* the design reads: name, codes, description, order controls, certifications */
body.single-product .prd__detail {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: auto;
}

/* the product template prints a stray <br> first in this column (flex
   order 0), which pushed the title ~40px below the design's position */
body.single-product .prd__detail > br {
    display: none;
}

body.single-product .prd__detail > * { margin: 0; }
body.single-product .prd__detail > .prd__detail--name { order: 1; }
body.single-product .prd__detail > .prd__detail--series { order: 2; }
body.single-product .prd__detail > .prd__detail--series-num { order: 3; }
body.single-product .prd__detail > .post_excerpt { order: 4; }
body.single-product .prd__detail > .prd__detail--controls { order: 5; }
/* the made-to-order notice sits right above Add to Basket */
body.single-product .prd__detail > .stock_status { order: 6; }
body.single-product .prd__detail > .prd__detail--btn-wrap { order: 7; }
body.single-product .prd__detail > .label__wrap { order: 8; }
body.single-product .prd__detail > .social-wrapper { order: 9; }

body.single-product .prd__detail--name {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(40px, 3.35vw, 64px);
    line-height: 1.05;
    font-weight: 300;
    letter-spacing: 0;
    color: var(--rd-txt-on-light);
    text-transform: none;
}

/* the series name — not drawn in the design, kept as a quiet line */
body.single-product .prd__detail--series {
    margin-top: 10px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 400;
    color: var(--rd-txt-on-light-muted);
}

/* product / stock codes */
body.single-product .prd__detail--series-num {
    margin-top: 30px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    letter-spacing: 0;
    color: #222529;
}

body.single-product .prd__detail--series-num b,
body.single-product .prd__detail--series-num strong {
    font-size: 14px;
    font-weight: 600;
}

/* "Product Code: … • Stock Code: …" — one row with an accent dot between
   the items on desktop, stacked on phones (design 488-18175) */
body.single-product .prd__detail--series-num .prd__codes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
}

body.single-product .prd__detail--series-num .prd__code {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

body.single-product .prd__detail--series-num .prd__code + .prd__code::before {
    content: '';
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    margin-right: 8px;
    border-radius: 50%;
    background-color: var(--rd-accent);
}

@media (max-width: 767px) {
    body.single-product .prd__detail--series-num .prd__codes {
        flex-direction: column;
        align-items: flex-start;
    }

    body.single-product .prd__detail--series-num .prd__code + .prd__code::before {
        content: none;
    }
}

body.single-product .prd__detail--series-num .btn-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--rd-txt-on-light);
}

body.single-product .prd__detail > .post_excerpt {
    max-width: 830px;
    margin-top: 40px;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 300;
    color: var(--rd-txt-on-light-muted);
}

body.single-product .prd__detail > .post_excerpt:empty {
    display: none;
}

/* the template opens the excerpt with a <br>, which added a blank line on
   top of the design's 40px gap */
body.single-product .prd__detail > .post_excerpt > br:first-child {
    display: none;
}

body.single-product .prd__detail > .stock_status:not(.d-none) {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.4;
    color: #D9534F;
}


/* - quantity + fixture type - */
body.single-product .prd__detail--controls {
    margin-top: 40px;
}

body.single-product .prd__detail--controls .in-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px;
    margin: 0;
}

body.single-product .prd__detail--controls .in-wrap {
    margin: 0;
}

body.single-product .prd__detail--controls .in-placeholder {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 300;
    letter-spacing: 0;
    color: var(--rd-txt-faded);
    color: var(--rd-txt-on-light-muted);
}

body.single-product .prd__detail--controls .in-input {
    height: 48px;
    padding: 0 16px;
    background: transparent;
    border: 1px solid var(--pd-line);
    border-radius: var(--rd-radius);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--rd-txt-on-light);
    transition: border-color var(--rd-transition);
}

body.single-product .prd__detail--controls .in-input:focus {
    border-color: var(--rd-accent);
    outline: 0;
}

body.single-product .prd__detail--controls .in-input[type=number],
body.single-product .prd__detail--controls .in-input.qi.change-input {
    width: 121px;
    min-width: 0;
    max-width: 121px;
    padding-right: 36px;
    -moz-appearance: textfield;
}

body.single-product .prd__detail--controls .in-input::-webkit-outer-spin-button,
body.single-product .prd__detail--controls .in-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

body.single-product .prd__detail--controls .in-input[type=text] {
    width: 228px;
    max-width: 100%;
}

/* the stepper's chevrons, sized like the design's unfold icon */
body.single-product .prd__detail--controls .in-btn-dec,
body.single-product .prd__detail--controls .in-btn-inc {
    right: 12px;
    width: 18px;
    height: 16px;
    border-radius: 4px;
}

body.single-product .prd__detail--controls .in-btn-dec { top: 7px; }
body.single-product .prd__detail--controls .in-btn-inc { bottom: 7px; }

body.single-product .prd__detail--controls .in-btn-dec::before,
body.single-product .prd__detail--controls .in-btn-inc::before {
    width: 6px;
    height: 6px;
    border-color: rgba(32, 32, 32, .35);
}

/* Touch screens: the chevrons stay 18x16, but each gets an invisible hit
   area — the top/bottom half of the field's right end (about 44x24). */
@media (max-width: 1199px) {
    body.single-product .prd__detail--controls .in-btn-dec::after,
    body.single-product .prd__detail--controls .in-btn-inc::after {
        content: '';
        position: absolute;
        left: -14px;
        right: -12px;
    }

    body.single-product .prd__detail--controls .in-btn-dec::after {
        top: -8px;
        bottom: -1px;
    }

    body.single-product .prd__detail--controls .in-btn-inc::after {
        top: -1px;
        bottom: -8px;
    }
}

@media (min-width: 1200px) {
    body.single-product .prd__detail--controls .in-btn-dec:hover,
    body.single-product .prd__detail--controls .in-btn-inc:hover {
        background-color: var(--rd-surface);
    }

    body.single-product .prd__detail--controls .in-btn-dec:hover::before,
    body.single-product .prd__detail--controls .in-btn-inc:hover::before {
        border-color: var(--rd-txt-on-light);
    }
}


/* - add to basket - */
body.single-product .prd__detail--btn-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

/* notice (not in the design) and button stay a tight pair: 16px each side */
body.single-product .prd__detail > .stock_status:not(.d-none) + .prd__detail--btn-wrap {
    margin-top: 16px;
}

body.single-product .prd__detail--btn-wrap .add-prod-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    min-width: 0;
    padding: 0 20px;
    background-color: var(--rd-accent);
    border: 1px solid var(--rd-accent);
    border-radius: var(--rd-radius);
    transition: background-color var(--rd-transition), border-color var(--rd-transition);
}

body.single-product .prd__detail--btn-wrap .add-prod-cart b {
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--rd-white);
    text-transform: none;
}

body.single-product .prd__detail--btn-wrap .add-prod-cart::before,
body.single-product .prd__detail--btn-wrap .add-prod-cart::after {
    content: none;
}

/* while the item is being added the label fades out (style.css) — show a
   white spinner in its place, then a check mark once it is in the basket
   (custom.js toggles .loading / .added) */
body.single-product .prd__detail--btn-wrap .add-prod-cart {
    position: relative;
}

body.single-product .prd__detail--btn-wrap .add-prod-cart.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: var(--rd-white);
    border-radius: 50%;
    /* style.css parks the WooCommerce glyph with translate(-50%,-50%); left
       in place, it was interpolated against the rotation every turn and the
       ring drifted towards the centre */
    transform: none;
    animation: fl-cart-spin .8s linear infinite;
}

body.single-product .prd__detail--btn-wrap .add-prod-cart.added::after {
    content: '';
    width: 6px;
    height: 11px;
    margin: -3px 2px 0 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    color: var(--rd-white);
    transform: rotate(45deg);
}

@keyframes fl-cart-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
body.single-product .prd__detail--btn-wrap .tooltip {
    margin: 0;
}

/* the design's "help outline" glyph (#202020 at 20%) in place of the
   legacy bordered "?" — the letter stays in the markup for screen readers */
body.single-product .prd__detail--btn-wrap .tooltip i {
    display: block;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 0;
    background: url("../../img/redesign/icons/help.svg") no-repeat center / contain;
    font-size: 0;
    line-height: 0;
    color: transparent;
    opacity: .2;
    transition: opacity var(--rd-transition);
}

@media (min-width: 1200px) {
    body.single-product .prd__detail--btn-wrap .tooltip:hover i {
        opacity: .6;
    }
}

body.single-product .prd__detail--btn-wrap .tooltip-info {
    padding: 10px 14px;
    background: var(--rd-dark);
    border: 0;
    border-radius: var(--rd-radius);
    font-size: 15px;
    line-height: 1.3;
    color: var(--rd-white);
}

@media (min-width: 1200px) {
    body.single-product .prd__detail--btn-wrap .add-prod-cart:hover {
        background-color: var(--rd-txt-on-light);
        border-color: var(--rd-txt-on-light);
    }

    body.single-product .prd__detail--btn-wrap .add-prod-cart:hover b {
        color: var(--rd-accent);
    }

    body.single-product .prd__detail--btn-wrap .add-prod-cart.added:hover::after {
        color: var(--rd-accent);
    }
}


/* - certifications - */
body.single-product .label__wrap {
    margin-top: 40px;
}

body.single-product .label__inner {
    gap: 8px;
    margin: 0;
}

/* the AJAX variation response prefixes the icons with a stray <br> */
body.single-product .label__inner > br {
    display: none;
}

body.single-product .label__item {
    width: 48px;
    height: 48px;
    margin: 0;
}

body.single-product .label__item img {
    max-width: 100%;
    max-height: 100%;
}


/* - share (not in the design; kept small and last) - */
body.single-product .prd__detail > .social-wrapper {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

body.single-product .prd__detail .social-icon-entry {
    width: 24px;
    height: 24px;
    margin: 0;
    opacity: .75;
    transition: opacity var(--rd-transition);
}

body.single-product .prd__detail .social-icon-entry:hover {
    opacity: 1;
}


/*--------------------*/
/* - CONFIGURATION    */
/*--------------------*/
/* Rebuilt on the design tokens from the css/product-configuration-test.css
   prototype, which this page no longer loads. */

body.single-product .configuration-test > .container {
    width: 100%;
    max-width: calc(var(--pd-wide) + var(--rd-gutter) * 2);
    padding: 0 var(--rd-gutter);
}

body.single-product .configuration-test .container > .row,
body.single-product .configuration-test .prd__config > .row {
    display: block;
    margin: 0;
}

body.single-product .configuration-test .col-xxl-9,
body.single-product .configuration-test .prd__config > .row > div {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

body.single-product .configuration-test .prd__config {
    padding: 0;
    background: transparent;
}

body.single-product .prd__config--info {
    margin: 0 0 60px;
    color: var(--rd-txt-on-light);
}

body.single-product .prd__config--info h3 {
    text-align: center;
}

body.single-product .prd__config--info h3 b,
body.single-product .prd__config--info h3 strong {
    font-weight: 600;
}

body.single-product .prd__config--info .text p {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.4;
    color: var(--rd-txt-on-light-muted);
}

body.single-product .prd__config--info .text a {
    color: var(--rd-txt-on-light);
    text-decoration: underline;
}

body.single-product .prd__specs {
    max-width: none;
    margin: 0;
    padding: 60px 20px 20px;
    background: var(--rd-white);
    border-radius: var(--rd-radius);
    display: flow-root;
}

body.single-product .prd__specs--title {
    margin: 0 0 40px;
    padding: 0;
    background: none;
    text-align: center;
}

body.single-product .prd__specs--sku {
    font-size: 32px;
    line-height: 1.2;
    color: var(--rd-txt-on-light);
    overflow-wrap: anywhere;
}

body.single-product .prd__specs--sku b {
    font-weight: 300;
}

body.single-product .prd__specs--sku i {
    font-style: normal;
    font-weight: 600;
    color: var(--rd-accent);
}

/* desktop: the prototype's column picker replaces the select boxes;
   below 992px the select boxes come back (see the end of the file) */
body.single-product .configuration-test .configuration-options {
    display: none;
}

@media (min-width: 992px) {
    body.single-product .configuration-test .prd__specs--select {
        display: none;
    }

    body.single-product .configuration-test .configuration-options {
        display: flex;
    }
}

body.single-product .configuration-test .configuration-options {
    gap: 16px;
    min-height: 0;
    padding: 0 20px 40px;
    border-bottom: 1px solid var(--pd-line);
    overflow-x: auto;
}

body.single-product .configuration-test .configuration-column {
    flex: 1 0 120px;
    min-width: 0;
    text-align: center;
}

body.single-product .configuration-test .configuration-label {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 300;
    color: var(--rd-txt-on-light-muted);
}

body.single-product .configuration-test .configuration-selected {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 8px 12px;
    background: var(--rd-white);
    border: 1px solid var(--pd-line);
    border-radius: var(--rd-radius);
    font-size: 16px;
    font-weight: 300;
    color: var(--rd-txt-on-light-muted);
    cursor: pointer;
    transition: border-color var(--rd-transition);
}

body.single-product .configuration-test .configuration-selected.has-value {
    font-size: 18px;
    font-weight: 500;
    color: var(--rd-txt-on-light);
    border-color: var(--rd-accent);
}

/* the leading option reads as the filled key choice */
body.single-product .configuration-test .configuration-column:first-child .configuration-selected.has-value {
    background: var(--rd-accent);
    color: var(--rd-white);
}

body.single-product .configuration-test .configuration-values {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

body.single-product .configuration-test .configuration-value {
    padding: 6px 2px;
    background: transparent;
    border: 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 300;
    color: var(--rd-txt-on-light);
    cursor: pointer;
    transition: color var(--rd-transition);
}

body.single-product .configuration-test .configuration-value[aria-pressed="true"] {
    display: none;
}

body.single-product .configuration-test .configuration-value:hover:not(:disabled) {
    color: var(--rd-accent);
}

body.single-product .configuration-test .configuration-value:disabled {
    opacity: .35;
    cursor: not-allowed;
}

body.single-product .configuration-test button:focus-visible {
    outline: 2px solid var(--rd-accent);
    outline-offset: 3px;
}

body.single-product .prd__specs > .download-pdf {
    display: flex;
    align-items: center;
    gap: 16px;
    float: right;
    width: auto;
    height: 54px;
    margin: 20px 0 0;
    padding: 0 20px;
    background: var(--rd-white);
    border: 1px solid var(--rd-accent);
    border-radius: var(--rd-radius);
    transition: background-color var(--rd-transition);
}

body.single-product .prd__specs > .download-pdf b {
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
    color: var(--rd-txt-on-light);
    text-transform: none;
}

body.single-product .prd__specs > .download-pdf::before {
    content: none;
}

body.single-product .prd__specs > .download-pdf::after {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background: url("../../img/redesign/icons/arrow-cta-accent.svg?v=5") no-repeat center / contain;
}

@media (min-width: 1200px) {
    body.single-product .configuration-test .configuration-selected:hover {
        border-color: var(--rd-accent);
    }

    body.single-product .prd__specs > .download-pdf:hover {
        background-color: var(--rd-accent);
    }

    body.single-product .prd__specs > .download-pdf:hover b {
        color: var(--rd-white);
    }

    body.single-product .prd__specs > .download-pdf:hover::after {
        background-image: url("../../img/redesign/icons/arrow-cta.svg");
    }
}

body.single-product .prd__config .caption {
    max-width: none;
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.3;
    color: var(--rd-txt-on-light-muted);
}


/*--------------------*/
/* - SPECIFICATIONS   */
/*--------------------*/

/* simple products: the title shares a row with "Download Specs" */
body.single-product .products-accordeon > .tech-specs-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 60px;
}

body.single-product .products-accordeon > .tech-specs-wrapper > .title {
    margin: 0;
}

body.single-product .products-accordeon > .tech-specs-wrapper > .btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    height: 54px;
    min-width: 0;
    padding: 0 20px;
    background: var(--rd-white);
    border: 1px solid var(--rd-accent);
    border-radius: var(--rd-radius);
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--rd-txt-on-light);
    text-transform: none;
}

body.single-product .products-accordeon > .tech-specs-wrapper > .btn::after {
    content: '';
    width: 20px;
    height: 20px;
    background: url("../../img/redesign/icons/arrow-cta-accent.svg?v=5") no-repeat center / contain;
    transform: rotate(90deg);
}

@media (min-width: 1200px) {
    body.single-product .products-accordeon > .tech-specs-wrapper > .btn:hover {
        background-color: var(--rd-accent);
        color: var(--rd-white);
    }

    body.single-product .products-accordeon > .tech-specs-wrapper > .btn:hover::after {
        background-image: url("../../img/redesign/icons/arrow-cta.svg");
    }
}


body.single-product .products-accordeon .variation_tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.single-product .products-accordeon .variation_tabs:empty {
    display: none;
}

body.single-product .products-accordeon .variation_tabs + .variation_tabs {
    margin-top: 10px;
}

body.single-product .products-accordeon-entry,
body.single-product .products-accordeon-entry:first-of-type {
    background: var(--rd-white);
    border: 0 !important;
    border-radius: var(--rd-radius);
}

body.single-product .products-accordeon-title,
body.single-product .products-accordeon-entry.active .products-accordeon-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 90px;
    padding: 18px 24px;
    background: none;
    font-size: clamp(18px, 1.15vw, 22px);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--rd-txt-on-light);
    text-transform: none;
}

body.single-product .products-accordeon-title b {
    font-weight: inherit;
}

/* the design's 54px arrow box, turning from down to up */
body.single-product .products-accordeon-title i.plus,
body.single-product .products-accordeon-entry.active .products-accordeon-title i.plus {
    position: relative;
    top: auto;
    right: auto;
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    margin-left: auto;
    background: url("../../img/redesign/icons/arrow-cta-dark.svg") no-repeat center / 20px 20px;
    border: 1px solid var(--pd-line);
    border-radius: var(--rd-radius);
    transform: rotate(90deg);
    transition: transform var(--rd-transition), border-color var(--rd-transition);
}

body.single-product .products-accordeon-title i.plus::before,
body.single-product .products-accordeon-title i.plus::after {
    content: none;
}

body.single-product .products-accordeon-entry.active .products-accordeon-title i.plus {
    background-image: url("../../img/redesign/icons/arrow-cta-accent.svg?v=5");
    border-color: var(--rd-accent);
    transform: rotate(-90deg);
}

body.single-product .products-accordeon-toggle {
    padding: 0 24px 24px;
}

/* specification rows: div lines (ACF data) and the older table template */
body.single-product .products-accordeon-toggle-inner > .text > table,
body.single-product .products-accordeon-toggle-inner > .text > table > tbody {
    display: block;
    width: 100%;
}

body.single-product .products-accordeon-toggle-line,
body.single-product .products-accordeon-toggle-inner > .text > table tr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 60px;
    padding: 12px 24px;
    background: none;
    border-radius: var(--rd-radius);
}

body.single-product .products-accordeon-toggle-line:nth-child(odd),
body.single-product .products-accordeon-toggle-inner > .text > table tr:nth-child(odd) {
    background-color: var(--rd-surface);
}

body.single-product .products-accordeon-toggle-line > div,
body.single-product .products-accordeon-toggle-inner > .text > table td {
    min-height: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 300;
    color: var(--rd-txt-on-light);
    text-align: left;
    border: 0;
}

body.single-product .products-accordeon-toggle-line .line-right,
body.single-product .products-accordeon-toggle-inner > .text > table td:last-child {
    width: auto;
    min-width: 0;
    flex-shrink: 1;
    font-weight: 600;
    text-align: right;
}

body.single-product .products-accordeon-toggle-line.w-img,
body.single-product .architecture_img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0;
    background: none;
}

/* downloads: file name left, button right */
body.single-product .products-accordeon-toggle-line.w-files {
    display: flex;
}

body.single-product .products-accordeon-toggle-line.w-files .line-right {
    width: auto;
    padding: 0;
}

body.single-product .products-accordeon-toggle-line .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 46px;
    min-width: 0;
    padding: 0 18px;
    background: var(--rd-white);
    border: 1px solid var(--rd-accent);
    border-radius: var(--rd-radius);
}

body.single-product .products-accordeon-toggle-line .btn b {
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
    color: var(--rd-txt-on-light);
    text-transform: none;
}

body.single-product .products-accordeon-toggle-line .btn::after {
    content: '';
    width: 18px;
    height: 18px;
    background: url("../../img/redesign/icons/arrow-cta-accent.svg?v=5") no-repeat center / contain;
    transform: rotate(90deg);
}

body.single-product .products-accordeon-toggle iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
    border-radius: var(--rd-radius);
}

@media (min-width: 1200px) {
    body.single-product .products-accordeon-title:hover {
        opacity: 1;
    }

    body.single-product .products-accordeon-entry:not(.active) .products-accordeon-title:hover i.plus {
        border-color: var(--rd-border-on-light);
    }

    body.single-product .products-accordeon-toggle-line .btn:hover {
        background-color: var(--rd-accent);
    }

    body.single-product .products-accordeon-toggle-line .btn:hover b {
        color: var(--rd-white);
    }

    body.single-product .products-accordeon-toggle-line .btn:hover::after {
        background-image: url("../../img/redesign/icons/arrow-cta.svg");
    }
}


/* - reviews (inside the accordion) - */
body.single-product .reviews-top .products-accordeon-toggle-line {
    background: none;
}

body.single-product .reviews-inner h3,
body.single-product .reviews-inner h5,
body.single-product .reviews-inner .h6 {
    font-size: 20px;
    font-weight: 500;
    color: var(--rd-txt-on-light);
    text-transform: none;
}

body.single-product .reviews-inner .rating-fill .text {
    font-size: 16px;
    color: var(--rd-txt-on-light-muted);
}

body.single-product .reviews-inner .fill-wrapper {
    background: var(--rd-surface);
    border-radius: 4px;
    overflow: hidden;
}

body.single-product .reviews-inner .fill-container {
    background: var(--rd-accent);
}

body.single-product .reviews-inner .btn {
    height: 46px;
    padding: 0 18px;
    background: var(--rd-accent);
    border: 1px solid var(--rd-accent);
    border-radius: var(--rd-radius);
}

body.single-product .reviews-inner .btn b {
    font-size: 16px;
    font-weight: 500;
    color: var(--rd-white);
    text-transform: none;
}


/*--------------------------*/
/* - ACCESSORIES / RELATED  */
/*--------------------------*/
/* Not in the product design; built like the home page's Latest Products and
   the category page's accessories: white tiles, arrows left, pills right. */
body.single-product .accessories-slider,
body.single-product .related-slider {
    margin: 0;
}

body.single-product .accessories-slider .swiper-slide,
body.single-product .related-slider .swiper-slide {
    height: auto;
}

body.single-product .product-entry.style-2 {
    height: 100%;
}

body.single-product .product-entry.style-2 .content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    height: 100%;
    min-height: 0;
    padding: 16px;
    background: var(--rd-white);
    border: 0;
    border-radius: var(--rd-radius);
}

body.single-product .product-entry.style-2 .preview {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 175 / 146;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
}

body.single-product .product-entry.style-2 .preview img {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    transform: none;
}

body.single-product .product-entry.style-2 .title-wrapper.type-1 {
    display: block;
    width: 100%;
    height: 44px;
    margin: 0;
    overflow: hidden;
}

body.single-product .product-entry.style-2 .title-wrapper.type-1 .title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 18px;
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--rd-txt-on-light);
    text-align: center;
    text-transform: none;
}

body.single-product .product-entry.style-2 .title-wrapper.type-1 .subtitle,
body.single-product .product-entry.style-2 .title-wrapper.type-2,
body.single-product .product-entry.style-2 .product-label-wrapper {
    display: none !important;
}

/* hover actions, as on the home page tiles */
body.single-product .product-entry.style-2 .animation {
    gap: 10px;
    border-radius: var(--rd-radius);
    background-color: rgba(32, 32, 32, .82);
}

body.single-product .product-entry.style-2 .animation > *:not(:first-child) {
    display: block;
}

/* "Configure" points at a #prodScroll target no template renders */
body.single-product .product-entry.style-2 .animation .product-entry-link:has(.prodScroll) {
    display: none !important;
}

body.single-product .product-entry.style-2 .animation .btn {
    min-width: 0;
    height: 42px;
    /* the link inside fills the whole button, so all of it is clickable */
    padding: 0;
    background-color: var(--rd-accent);
    border: 1px solid var(--rd-accent);
    border-radius: var(--rd-radius);
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
    color: var(--rd-white);
    text-transform: none;
}

body.single-product .product-entry.style-2 .animation .btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0 18px;
    white-space: nowrap;
    color: inherit;
}

/* - controls - */
body.single-product .accessories-slider .swiper-controls-wrapp,
body.single-product .related-slider .swiper-controls-wrapp {
    margin: 40px 0 0;
}

body.single-product .accessories-slider .swiper-controls,
body.single-product .related-slider .swiper-controls {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    margin: 0;
}

body.single-product .accessories-slider .swiper-controls > *:not(:last-child),
body.single-product .related-slider .swiper-controls > *:not(:last-child) {
    margin-right: 0;
}

body.single-product .accessories-slider .swiper-button-prev,
body.single-product .accessories-slider .swiper-button-next,
body.single-product .related-slider .swiper-button-prev,
body.single-product .related-slider .swiper-button-next {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 54px;
    height: 54px;
    margin: 0;
    border: 1px solid transparent;
    border-radius: var(--rd-radius);
    transition: background-color var(--rd-transition), border-color var(--rd-transition);
}

body.single-product .accessories-slider .swiper-button-prev,
body.single-product .related-slider .swiper-button-prev {
    order: 1;
    background-color: transparent;
    border-color: rgba(0, 0, 0, .06);
    transform: rotate(180deg);
}

body.single-product .accessories-slider .swiper-button-next,
body.single-product .related-slider .swiper-button-next {
    order: 2;
    background-color: var(--rd-white);
    transform: none;
}

body.single-product .accessories-slider .swiper-button-prev i,
body.single-product .accessories-slider .swiper-button-next i,
body.single-product .related-slider .swiper-button-prev i,
body.single-product .related-slider .swiper-button-next i {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    transform: none;
}

body.single-product .accessories-slider .swiper-button-prev i,
body.single-product .related-slider .swiper-button-prev i {
    background: url("../../img/redesign/icons/arrow-cta-dark.svg") no-repeat center / 20px 20px;
}

body.single-product .accessories-slider .swiper-button-next i,
body.single-product .related-slider .swiper-button-next i {
    background: url("../../img/redesign/icons/arrow-cta-accent.svg?v=5") no-repeat center / 20px 20px;
}

body.single-product .accessories-slider .swiper-button-prev i::before,
body.single-product .accessories-slider .swiper-button-next i::before,
body.single-product .accessories-slider .swiper-button-prev i::after,
body.single-product .accessories-slider .swiper-button-next i::after,
body.single-product .related-slider .swiper-button-prev i::before,
body.single-product .related-slider .swiper-button-next i::before,
body.single-product .related-slider .swiper-button-prev i::after,
body.single-product .related-slider .swiper-button-next i::after {
    content: none;
}

body.single-product .accessories-slider .swiper-button-disabled,
body.single-product .related-slider .swiper-button-disabled {
    opacity: .4;
    pointer-events: none;
}

body.single-product .accessories-slider .swiper-controls .swiper-pagination,
body.single-product .related-slider .swiper-controls .swiper-pagination {
    position: static;
    order: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    width: auto !important;
    margin: 0 0 0 auto;
    transform: none !important;
}

body.single-product .accessories-slider .swiper-pagination-bullet,
body.single-product .related-slider .swiper-pagination-bullet {
    width: 64px;
    height: 4px;
    margin: 0 !important;
    border: 0;
    border-radius: 12px;
    background: var(--rd-line-on-light);
    opacity: 1;
    transform: none !important;
    left: auto !important;
    transition: width var(--rd-transition), background-color var(--rd-transition);
}

body.single-product .accessories-slider .swiper-pagination-bullet-active,
body.single-product .related-slider .swiper-pagination-bullet-active {
    width: 120px;
    background: var(--rd-accent);
}

@media (min-width: 1200px) {
    body.single-product .accessories-slider .swiper-button-prev:hover,
    body.single-product .related-slider .swiper-button-prev:hover {
        border-color: var(--rd-border-on-light);
    }

    body.single-product .accessories-slider .swiper-button-next:hover,
    body.single-product .related-slider .swiper-button-next:hover {
        background-color: var(--rd-txt-on-light);
    }

    body.single-product .product-entry.style-2 .animation .btn:hover {
        background-color: var(--rd-white);
        border-color: var(--rd-white);
    }
}


/*--------------------*/
/* - TABLET (<1200px) */
/*--------------------*/
@media (max-width: 1199px) {
    body.single-product .prd__detail--section > .container > .row > [class*="col-"] > .row {
        gap: 40px;
    }

    body.single-product .prd__detail--section > .container > .row > [class*="col-"] > .row > [class*="col-"]:last-child {
        padding-top: 0;
    }


    body.single-product .prd__config--info h3,
    body.single-product .products-accordeon > .title,
    body.single-product .products-accordeon > .tech-specs-wrapper > .title,
    body.single-product .accessories-title,
    body.single-product .section .col-xxl-8 > .h2.title {
        margin-bottom: 40px;
    }
}


/*--------------------------------*/
/* - CONFIGURATION ON SMALL SCREENS */
/*--------------------------------*/
/* Below 992px the prototype hands back to the theme's select boxes; the mobile
   design draws them as a stack of 54px fields inside the white card. */
@media (max-width: 991px) {
    body.single-product .prd__specs--select {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    body.single-product .prd__specs--select .input-field-wrapp {
        margin: 0;
    }

    /* each field is its own layer, so a field's label never lands on the
       open list of the field above it */
    body.single-product .prd__specs--select .input-field-wrapp {
        position: relative;
        z-index: 1;
    }

    body.single-product .prd__specs--select .input-field-wrapp:has(.SumoSelect.open) {
        z-index: 2;
    }

    body.single-product .prd__specs--select .input-field-wrapp .input-placeholder,
    body.single-product .prd__specs--select .input-field-wrapp.value .input-placeholder,
    body.single-product .prd__specs--select .input-field-wrapp.focus .input-placeholder {
        position: absolute;
        top: 8px;
        left: 17px;
        z-index: 5;
        margin: 0;
        font-size: 14px;
        line-height: 1;
        color: var(--rd-txt-on-light-muted);
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: none;
    }

    body.single-product .prd__specs--select .SumoSelect {
        width: 100%;
    }

    body.single-product .prd__specs--select .SumoSelect > .CaptionCont {
        height: 54px;
        padding: 20px 44px 0 16px;
        display: flex;
        align-items: center;
        background: var(--rd-white);
        border: 1px solid var(--pd-line);
        border-radius: var(--rd-radius);
        font-size: 18px;
        font-weight: 500;
        color: var(--rd-txt-on-light);
    }

    body.single-product .prd__specs--select .SumoSelect > .CaptionCont > span {
        font-size: 18px;
        line-height: 1.2;
        font-weight: 500;
        color: inherit;
    }

    body.single-product .prd__specs--select .SumoSelect > .CaptionCont > span.placeholder {
        font-size: 14px;
        font-weight: 400;
        color: var(--rd-txt-on-light-muted);
    }

    /* line chevron instead of the theme's filled triangle */
    body.single-product .prd__specs--select .SumoSelect > .CaptionCont > label > i::before {
        width: 8px;
        height: 8px;
        border: solid var(--rd-txt-on-light);
        border-width: 0 1.5px 1.5px 0;
        transform: translate(-50%, -75%) rotate(45deg);
    }

    body.single-product .prd__specs--select .SumoSelect > .optWrapper {
        border: 1px solid var(--pd-line);
        border-radius: var(--rd-radius);
        box-shadow: 0 12px 32px rgba(32, 32, 32, .08);
    }

    /* keep "choose an option" in the list so a choice can be cleared */
    body.single-product .prd__specs--select .SumoSelect > .optWrapper > .options > li.opt:first-child {
        display: block;
    }

    body.single-product .prd__specs--select .SumoSelect > .optWrapper {
        margin-top: 4px;
        background: var(--rd-white);
        overflow: hidden;
    }

    body.single-product .prd__specs--select .SumoSelect > .optWrapper > .options li.opt,
    body.single-product .prd__specs--select .SumoSelect > .optWrapper > .options li.opt:hover,
    body.single-product .prd__specs--select .SumoSelect > .optWrapper > .options li.opt.sel {
        padding: 0;
        background: var(--rd-white);
    }

    body.single-product .prd__specs--select .SumoSelect > .optWrapper > .options li.opt label {
        display: block;
        padding: 12px 16px;
        font-size: 18px;
        line-height: 1.3;
        color: var(--rd-txt-on-light);
    }

    body.single-product .prd__specs--select .SumoSelect > .optWrapper > .options li.opt.selected {
        background: var(--rd-surface);
    }

    body.single-product .prd__specs--select .SumoSelect > .optWrapper > .options li.opt.selected label {
        font-weight: 500;
        color: var(--rd-accent);
    }

    body.single-product .prd__specs--select .SumoSelect > .optWrapper > .options li.opt.disabled label {
        opacity: .35;
    }

    body.single-product .prd__specs {
        padding: 20px;
    }

    body.single-product .prd__specs--title {
        margin-bottom: 24px;
    }

    body.single-product .prd__specs > .download-pdf {
        float: none;
        justify-content: center;
        width: 100%;
    }
}


/*--------------------*/
/* - PHONE (<768px)   */
/*--------------------*/
@media (max-width: 767px) {
    body.single-product .spacer-sm { height: 24px; }
    body.single-product .spacer-md { height: 48px; }

    body.single-product .prd__detail--section {
        padding-top: 12px;
    }

    body.single-product .prd__detail--section .btn-back-container + .spacer-sm {
        height: 12px;
    }

    body.single-product .prd__detail--section .btn-back i {
        width: 40px;
        height: 40px;
        background-size: 16px 16px;
    }

    body.single-product .prd__detail--section > .container > .row > [class*="col-"] > .row {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }

    body.single-product .prd__detail--section > .container > .row > [class*="col-"] > .row > [class*="col-"]:first-child,
    body.single-product .prd__detail--section > .container > .row > [class*="col-"] > .row > [class*="col-"]:last-child {
        flex: 0 0 auto;
    }

    body.single-product .prd__detail--img {
        padding-top: 91.67%; /* 330 / 360 */
    }

    body.single-product .prd__detail--slider .swiper-thumbs-bottom {
        margin-top: 10px;
    }

    body.single-product .prd__detail--name {
        font-size: 32px;
        line-height: 1.15;
    }

    body.single-product .prd__detail--series {
        font-size: 18px;
    }

    body.single-product .prd__detail--series-num {
        margin-top: 16px;
    }

    body.single-product .prd__detail > .post_excerpt {
        margin-top: 24px;
        font-size: 18px;
    }

    body.single-product .prd__detail--controls {
        margin-top: 24px;
    }

    body.single-product .prd__detail--controls .in-wrapper {
        flex-wrap: nowrap;
    }

    body.single-product .prd__detail--controls .in-wrap:last-child {
        flex: 1 1 auto;
        min-width: 0;
    }

    body.single-product .prd__detail--controls .in-input[type=text] {
        width: 100%;
    }

    body.single-product .prd__detail--btn-wrap {
        width: 100%;
        flex-wrap: nowrap;
    }

    body.single-product .prd__detail--btn-wrap .add-prod-cart {
        flex: 1 1 auto;
    }

    body.single-product .prd__detail--btn-wrap .tooltip,
    body.single-product .prd__detail--btn-wrap .tooltip.no-info {
        order: 0;
        width: auto;
        margin: 0;
    }

    body.single-product .label__wrap {
        margin-top: 24px;
    }

    body.single-product .label__inner {
        gap: 10px;
    }

    body.single-product .label__item {
        width: 36px;
        height: 36px;
    }


    body.single-product .prd__config--info {
        margin-bottom: 32px;
    }

    body.single-product .prd__config--info h3 {
        text-align: left;
    }

    body.single-product .prd__config--info .text p {
        font-size: 18px;
    }

    body.single-product .prd__specs--title {
        text-align: left;
    }

    body.single-product .prd__specs--sku {
        font-size: 22px;
    }

    body.single-product .prd__config--info h3,
    body.single-product .products-accordeon > .title,
    body.single-product .products-accordeon > .tech-specs-wrapper > .title,
    body.single-product .accessories-title,
    body.single-product .section .col-xxl-8 > .h2.title {
        margin-bottom: 16px;
        font-size: 24px;
        line-height: 1.2;
    }

    body.single-product .products-accordeon-title,
    body.single-product .products-accordeon-entry.active .products-accordeon-title {
        min-height: 72px;
        padding: 16px 20px;
        font-size: 18px;
        font-weight: 500;
    }

    body.single-product .products-accordeon-title i.plus,
    body.single-product .products-accordeon-entry.active .products-accordeon-title i.plus {
        width: 40px;
        height: 40px;
        background-size: 16px 16px;
    }

    body.single-product .products-accordeon-toggle {
        padding: 0 12px 12px;
    }

    body.single-product .products-accordeon-toggle-line,
    body.single-product .products-accordeon-toggle-inner > .text > table tr {
        min-height: 48px;
        padding: 10px 8px;
    }

    body.single-product .products-accordeon-toggle-line > div,
    body.single-product .products-accordeon-toggle-inner > .text > table td {
        font-size: 16px;
    }

    body.single-product .products-accordeon-toggle-line.w-files {
        flex-wrap: wrap;
    }

    body.single-product .product-entry.style-2 .content {
        gap: 12px;
        padding: 12px;
    }

    body.single-product .product-entry.style-2 .title-wrapper.type-1 {
        height: 38px;
    }

    body.single-product .product-entry.style-2 .title-wrapper.type-1 .title {
        font-size: 16px;
    }

    body.single-product .accessories-slider .swiper-controls-wrapp,
    body.single-product .related-slider .swiper-controls-wrapp {
        margin-top: 24px;
    }

    body.single-product .accessories-slider .swiper-button-prev,
    body.single-product .accessories-slider .swiper-button-next,
    body.single-product .related-slider .swiper-button-prev,
    body.single-product .related-slider .swiper-button-next {
        width: 46px;
        height: 46px;
    }

    /* arrows only, as on the home and category pages */
    body.single-product .accessories-slider .swiper-controls .swiper-pagination,
    body.single-product .related-slider .swiper-controls .swiper-pagination {
        display: none;
    }

    /* long copy folds behind "See more" (js/redesign/product-detail.js) */
    body.single-product .pd-clamp.is-clamped {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    body.single-product .pd-more {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: 12px;
        padding: 0;
        background: none;
        border: 0;
        font-size: 16px;
        font-weight: 500;
        color: var(--rd-txt-on-light);
        cursor: pointer;
    }

    body.single-product .pd-more::after {
        content: '';
        width: 16px;
        height: 16px;
        background: url("../../img/redesign/icons/arrow-cta-dark.svg") no-repeat center / contain;
        transform: rotate(90deg);
        transition: transform var(--rd-transition);
    }

    body.single-product .pd-more[aria-expanded="true"]::after {
        transform: rotate(-90deg);
    }
}

@media (min-width: 768px) {
    body.single-product .pd-more {
        display: none;
    }
}


/*--------------------*/
/* - SECTION RHYTHM   */
/*--------------------*/
/* One gap between every block, as in the design: 160px at 1920 (scales with
   the viewport and with the browser's font size — rem), 60px on phones.
   The two templates nest their sections differently (the simple product puts
   them inside .prd__detail--section) and sprinkle .spacer-* blocks, so the
   spacers go and each block section carries the gap on its top edge. */
body.single-product {
    --pd-gap: clamp(3.75rem, 8.3333vw, 10rem);
}

@media (max-width: 767px) {
    body.single-product {
        --pd-gap: 3.75rem;
    }
}

body.single-product main .spacer-sm:not(.btn-back-container + .spacer-sm),
body.single-product main .spacer-md,
body.single-product main .spacer-xs {
    display: none;
}

body.single-product main .section {
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

body.single-product main .section:not(.prd__detail--section):is(.configuration-test, .ajax-product-animation-bottom, :has(> .container .products-accordeon), :has(.accessories-slider), :has(.related-slider)) {
    padding-top: var(--pd-gap);
}

/* ... and the last one keeps the same distance to the footer */
body.single-product main {
    padding-bottom: var(--pd-gap);
}
