/* Professional cleaning product detail — Figma text-page frame 1075:854. */
.cleaning-product-detail {
    padding: 0;
    color: var(--color-primary);
}

.cleaning-product-detail__content {
    max-width: 1296px;
    margin-top: 25px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
}

.cleaning-product-detail__intro--with-gallery {
    margin-top: 54px;
}

.cleaning-product-detail__intro--with-gallery .cleaning-product-detail__content {
    margin-top: 0;
}

.cleaning-product-detail__intro--with-gallery::after {
    display: table;
    clear: both;
    content: '';
}

.cleaning-product-gallery {
    position: relative;
    width: 298px;
    height: 328px;
    float: left;
    margin: 0 58px 24px 43px;
    isolation: isolate;
}

.cleaning-product-gallery .safe-gallery__stage {
    position: relative;
    width: 298px;
    height: 328px;
    isolation: isolate;
}

.cleaning-product-gallery .safe-gallery__plane {
    position: absolute;
    top: 18px;
    right: 0;
    bottom: 18px;
    left: 11px;
    z-index: 0;
    border: 1px solid rgba(41, 115, 124, .16);
    border-radius: 5px;
    background: linear-gradient(135deg, rgba(41, 115, 124, .08), rgba(255, 255, 255, .94) 58%, rgba(125, 200, 4, .09));
    box-shadow: 12px 13px 0 rgba(41, 115, 124, .05);
}

.cleaning-product-gallery .safe-gallery__accent {
    position: absolute;
    right: 12px;
    bottom: 19px;
    left: 28px;
    z-index: 1;
    height: 2px;
    background: linear-gradient(90deg, #29737c 0 72%, #7dc804 72%);
    opacity: .85;
    transform: scaleX(.38);
    transform-origin: left;
}

.cleaning-product-gallery .safe-gallery__main {
    position: relative;
    z-index: 2;
    display: block;
    width: 298px;
    height: 328px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    touch-action: pan-y;
    overflow: hidden;
    border-radius: 5px;
}

.cleaning-product-gallery .safe-gallery__zoom-cue {
    position: absolute;
    right: 11px;
    bottom: 11px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border: 1px solid rgba(41, 115, 124, .38);
    border-radius: 50%;
    background: rgba(255, 255, 255, .88);
    color: var(--color-primary);
    opacity: .8;
    transition: opacity 180ms ease, transform 180ms ease;
}

.cleaning-product-gallery .safe-gallery__zoom-cue svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.2;
}

.cleaning-product-gallery .safe-gallery__main:hover .safe-gallery__zoom-cue {
    opacity: 1;
    transform: scale(1.06);
}

.cleaning-product-gallery .safe-gallery__main img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 9px 19.1px rgba(0, 0, 0, .1));
    transition: opacity 150ms ease, transform 420ms cubic-bezier(.2, .75, .2, 1), clip-path 420ms cubic-bezier(.2, .75, .2, 1);
}

.cleaning-product-gallery .safe-gallery__filmstrip {
    position: absolute;
    top: 18px;
    left: -43px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    width: 40px;
}

.cleaning-product-gallery .safe-gallery__counter {
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .04em;
    white-space: nowrap;
}

.cleaning-product-gallery .safe-product-thumbs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.cleaning-product-gallery .safe-product-thumb {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    width: 40px;
    height: 48px;
    padding: 3px;
    border: 1px solid rgba(41, 115, 124, .28);
    border-radius: 4px;
    background: rgba(255, 255, 255, .92);
    cursor: pointer;
    transition: border-color 180ms ease, transform 180ms ease;
}

.cleaning-product-gallery .safe-product-thumb::before {
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: -5px;
    width: 2px;
    background: var(--color-accent);
    content: '';
    opacity: 0;
    transform: scaleY(.35);
    transition: opacity 180ms ease, transform 180ms ease;
}

.cleaning-product-gallery .safe-product-thumb:hover {
    border-color: var(--color-primary);
    transform: translateX(2px);
}

.cleaning-product-gallery .safe-product-thumb[aria-current='true'] {
    border-color: var(--color-primary);
}

.cleaning-product-gallery .safe-product-thumb[aria-current='true']::before {
    opacity: 1;
    transform: scaleY(1);
}

.cleaning-product-gallery .safe-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cleaning-product-gallery .safe-product-thumb:focus-visible,
.cleaning-product-gallery:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

.cleaning-product-gallery.is-gallery-transitioning .safe-gallery__accent {
    animation: cleaning-gallery-accent 260ms ease-out both;
}

.cleaning-product-gallery .safe-gallery__main.is-gallery-outgoing img {
    opacity: 0;
    transform: translateX(-15px) scale(.99);
    clip-path: inset(0 0 0 100%);
}

.cleaning-product-gallery .safe-gallery__main.is-gallery-loading img {
    opacity: 0;
    transform: scale(.99);
    transition: none;
}

.cleaning-product-gallery[data-gallery-direction='previous'] .safe-gallery__main.is-gallery-outgoing img {
    transform: translateX(15px) scale(.99);
    clip-path: inset(0 100% 0 0);
}

.cleaning-product-gallery .safe-gallery__main.is-gallery-incoming img {
    opacity: 0;
    transform: translateX(18px) scale(.99);
    clip-path: inset(0 100% 0 0);
}

.cleaning-product-gallery[data-gallery-direction='previous'] .safe-gallery__main.is-gallery-incoming img {
    transform: translateX(-18px) scale(.99);
    clip-path: inset(0 0 0 100%);
}

@keyframes cleaning-gallery-accent {
    0% {
        opacity: 0;
        transform: scaleX(.12);
    }

    35% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scaleX(1);
    }
}

.cleaning-product-detail__content > * {
    margin: 0 0 24px;
}

.cleaning-product-detail__content h2 {
    margin-top: 52px;
    margin-bottom: 20px;
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 500;
    line-height: 1.25;
}

.cleaning-product-detail__content h3 {
    margin-top: 32px;
    margin-bottom: 14px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
}

.cleaning-product-detail__content p,
.cleaning-product-detail__content li {
    color: var(--color-primary);
}

.cleaning-product-detail__content ul,
.cleaning-product-detail__content ol {
    padding-left: 1.25em;
}

.cleaning-product-detail__content li + li {
    margin-top: 10px;
}

.cleaning-product-detail__content blockquote {
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 40px;
    border: 0;
    border-radius: 5px;
    background: var(--color-primary);
    color: #fff;
}

.cleaning-product-detail__content blockquote > * {
    color: inherit;
}

.cleaning-product-detail__content blockquote > *:last-child {
    margin-bottom: 0;
}

.cleaning-product-detail__content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 32px;
    margin-bottom: 40px;
    overflow: hidden;
    border: 1px solid rgba(41, 115, 124, .25);
    border-radius: 5px;
    font-size: 16px;
    line-height: 1.25;
}

.cleaning-product-detail__content th,
.cleaning-product-detail__content td {
    padding: 14px 18px;
    border: 1px solid rgba(41, 115, 124, .2);
    text-align: left;
    vertical-align: top;
}

.cleaning-product-detail__content th {
    font-weight: 700;
}

.cleaning-product-detail__content img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin-top: 32px;
    margin-bottom: 40px;
    border-radius: 5px;
}

.cleaning-product-detail-main .contact-section {
    margin-top: 75px;
}

@media (min-width: 1360px) {
    .cleaning-product-detail > .container {
        width: 1296px;
    }
}

@media (min-width: 768px) and (max-width: 1359px) {
    .cleaning-product-detail__content {
        font-size: 16px;
        line-height: 1.3;
    }

    .cleaning-product-detail__content h2 {
        margin-top: 44px;
        font-size: 36px;
    }

    .cleaning-product-gallery {
        margin-right: 36px;
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .cleaning-product-detail__intro--with-gallery {
        display: block;
        margin-top: 36px;
    }

    .cleaning-product-gallery {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: min(100%, 320px);
        height: auto;
        float: none;
        margin: 0 auto 28px;
    }

    .cleaning-product-gallery .safe-gallery__stage,
    .cleaning-product-gallery .safe-gallery__main {
        width: 100%;
        height: clamp(278px, 82vw, 328px);
    }

    .cleaning-product-gallery .safe-gallery__filmstrip {
        position: static;
        order: 2;
        flex-direction: row;
        gap: 12px;
        width: auto;
        margin-top: 13px;
    }

    .cleaning-product-gallery .safe-product-thumbs {
        flex-direction: row;
        gap: 10px;
    }

    .cleaning-product-gallery .safe-product-thumb {
        flex-basis: 48px;
        width: 42px;
        height: 48px;
    }

    .cleaning-product-gallery .safe-product-thumb::before {
        top: auto;
        right: 8px;
        bottom: -5px;
        left: 8px;
        width: auto;
        height: 2px;
        transform: scaleX(.35);
    }

    .cleaning-product-gallery .safe-product-thumb[aria-current='true']::before {
        transform: scaleX(1);
    }

    .cleaning-product-gallery .safe-gallery__plane {
        top: 14px;
        bottom: 14px;
        left: 8px;
    }

    .cleaning-product-gallery .safe-gallery__accent {
        right: 14px;
        bottom: 15px;
        left: 22px;
    }

    .cleaning-product-detail__content {
        margin-top: 28px;
        font-size: 16px;
        line-height: 1.45;
    }

    .cleaning-product-detail__content > * {
        margin-bottom: 20px;
    }

    .cleaning-product-detail__content h2 {
        margin-top: 36px;
        margin-bottom: 20px;
        font-size: 30px;
        line-height: 1.2;
    }

    .cleaning-product-detail__content h3 {
        margin-top: 24px;
        margin-bottom: 14px;
        font-size: 18px;
        line-height: 1.2;
    }

    .cleaning-product-detail__content blockquote {
        margin-top: 28px;
        margin-bottom: 28px;
        padding: 24px 20px;
    }

    .cleaning-product-detail__content table {
        display: block;
        overflow-x: auto;
        font-size: 14px;
    }

    .cleaning-product-detail__content th,
    .cleaning-product-detail__content td {
        min-width: 150px;
        padding: 12px;
    }

    .cleaning-product-detail-main .contact-section {
        margin-top: 48px;
    }
}

/* Product documents — follows the document-card pattern used on SAFE / AGRO. */
.cleaning-product-documents {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 61px;
}

.cleaning-product-document {
    position: relative;
    min-height: 224px;
    padding: 24px 20px;
    border: 1px solid rgba(41, 115, 124, .4);
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 0 19px rgba(0, 0, 0, .1);
}

.cleaning-product-document__icon {
    display: block;
    width: 42px;
    height: 42px;
}

.cleaning-product-document h2 {
    margin: 15px 0 16px;
    color: var(--color-primary);
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

.cleaning-product-document .button {
    position: absolute;
    right: 20px;
    bottom: 25px;
    left: 20px;
    width: auto;
    min-height: 43px;
    border: 2px solid var(--color-primary);
    background: #fff;
    color: var(--color-primary);
}

@media (min-width: 768px) and (max-width: 1359px) {
    .cleaning-product-documents {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 52px;
    }

    .cleaning-product-document {
        min-height: 230px;
    }
}

@media (max-width: 767px) {
    .cleaning-product-documents {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 42px;
    }

    .cleaning-product-document {
        min-height: 214px;
        padding: 20px;
    }

    .cleaning-product-document h2 {
        margin-block: 13px 16px;
    }

    .cleaning-product-document .button {
        right: 20px;
        bottom: 20px;
        left: 20px;
        min-height: 44px;
    }
}
