/* BOL - General */
section[data-cattype="51025"]{
    min-height: 72vh;
}

/* ========================================================================== */
/* 51025 detail product media: main image + draggable vertical gallery.       */
/* ========================================================================== */

[data-cattype="51025"] .detail-page .wrapper_productimg {
    margin-bottom: 24px;
}

[data-cattype="51025"] .product-media-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    height: clamp(280px, 42vw, 340px);
}

[data-cattype="51025"] .product-media-layout.has-gallery {
    grid-template-columns: minmax(0, 1fr) 76px;
}

[data-cattype="51025"] .product-main-media {
    min-width: 0;
    height: 100%;
    border: 1px solid #e1e4e8;
    background: #fff;
}

[data-cattype="51025"] .product-main-media .productimg,
[data-cattype="51025"] .product-main-media .productimg > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

[data-cattype="51025"] .product-main-media .productimg > a {
    padding: 16px;
}

[data-cattype="51025"] .product-main-media .productimg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

[data-cattype="51025"] .product-gallery-rail {
    display: none;
    grid-template-rows: 24px minmax(0, 1fr) 24px;
    gap: 6px;
    min-width: 0;
    height: 100%;
}

[data-cattype="51025"] .product-media-layout.has-gallery .product-gallery-rail {
    display: grid;
}

[data-cattype="51025"] .productimggallery {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    cursor: grab;
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    touch-action: pan-y;
    user-select: none;
}

[data-cattype="51025"] .productimggallery::-webkit-scrollbar {
    display: none;
}

[data-cattype="51025"] .productimggallery.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

[data-cattype="51025"] .detail-page .productimggallery ul.listImage {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

[data-cattype="51025"] .detail-page .productimggallery ul.listImage li,
[data-cattype="51025"] .detail-page .productimggallery ul.listImage li .wrapper_image {
    width: 100%;
    height: 66px;
    margin: 0;
}

[data-cattype="51025"] .detail-page .productimggallery ul.listImage li {
    flex: 0 0 66px;
    overflow: hidden;
    scroll-snap-align: start;
}

[data-cattype="51025"] .productimggallery .wrapper_image a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 4px;
    border: 1px solid #dfe2e6;
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

[data-cattype="51025"] .productimggallery .wrapper_image a:hover,
[data-cattype="51025"] .productimggallery .wrapper_image a:focus,
[data-cattype="51025"] .productimggallery .wrapper_image a.is-active {
    border-color: #f28c00;
    box-shadow: inset 0 0 0 1px #f28c00;
    outline: 0;
}

[data-cattype="51025"] .productimggallery .wrapper_image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

[data-cattype="51025"] .productimggallery .caption {
    display: none;
}

[data-cattype="51025"] .gallery-scroll-button {
    position: relative;
    display: block;
    width: 100%;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, background-color .2s ease;
}

[data-cattype="51025"] .product-gallery-rail.has-overflow .gallery-scroll-button {
    opacity: 1;
    pointer-events: auto;
}

[data-cattype="51025"] .gallery-scroll-button::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    content: "";
    border-top: 1.5px solid #174e8c;
    border-left: 1.5px solid #174e8c;
}

[data-cattype="51025"] .gallery-scroll-up::before {
    transform: translate(-50%, -30%) rotate(45deg);
}

[data-cattype="51025"] .gallery-scroll-down::before {
    transform: translate(-50%, -70%) rotate(225deg);
}

[data-cattype="51025"] .gallery-scroll-button:hover,
[data-cattype="51025"] .gallery-scroll-button:focus {
    background: #f5f7fa;
    outline: 0;
}

[data-cattype="51025"] .gallery-scroll-button:disabled {
    cursor: default;
    opacity: .25;
}

@media (max-width: 575px) {
    [data-cattype="51025"] .product-media-layout {
        gap: 8px;
        height: 280px;
    }

    [data-cattype="51025"] .product-media-layout.has-gallery {
        grid-template-columns: minmax(0, 1fr) 64px;
    }

    [data-cattype="51025"] .product-main-media .productimg > a {
        padding: 10px;
    }

    [data-cattype="51025"] .detail-page .productimggallery ul.listImage li,
    [data-cattype="51025"] .detail-page .productimggallery ul.listImage li .wrapper_image {
        height: 56px;
    }

    [data-cattype="51025"] .detail-page .productimggallery ul.listImage li {
        flex-basis: 56px;
    }
}

/* OSP 401-style related product carousel controls and media actions. */
[data-cattype="51025"] .osp-51025-related-carousel {
    position: relative;
    width: 100%;
}

[data-cattype="51025"] .osp-51025-related .osp-51025-related-grid {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 30px;
    padding: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

[data-cattype="51025"] .osp-51025-related .osp-51025-related-grid::-webkit-scrollbar {
    display: none;
}

[data-cattype="51025"] .osp-51025-related-grid .wrapper_item {
    flex: 0 0 calc((100% - 60px) / 3);
    width: calc((100% - 60px) / 3);
    scroll-snap-align: start;
}

[data-cattype="51025"] .osp-51025-related-media {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border: 1px solid #e7e7e7;
    background: #f3f3f1;
}

[data-cattype="51025"] .osp-51025-related-media > a {
    display: block;
    width: 100%;
    height: 100%;
    border: 0 !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

[data-cattype="51025"] .osp-51025-related-media > a::after {
    position: absolute;
    inset: 0;
    content: "";
    background: rgba(0, 0, 0, .10);
    opacity: 0;
    transition: opacity .25s ease;
}

[data-cattype="51025"] .osp-51025-related-media:hover > a::after,
[data-cattype="51025"] .osp-51025-related-media:focus-within > a::after {
    opacity: 1;
}

[data-cattype="51025"] .osp-51025-related-media img {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: contain;
}

[data-cattype="51025"] .osp-51025-related-media > .sales-tag,
[data-cattype="51025"] .osp-51025-related-media > .tag {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    z-index: 6;
    width: auto;
    max-width: calc(100% - 36px);
    margin: 0 !important;
    transform: none !important;
}

[data-cattype="51025"] .osp-51025-related-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;
    display: flex;
    gap: 9px;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, calc(-50% + 8px));
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}

[data-cattype="51025"] .osp-51025-related-media:hover .osp-51025-related-actions,
[data-cattype="51025"] .osp-51025-related-media:focus-within .osp-51025-related-actions {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
}

[data-cattype="51025"] .osp-51025-related-view,
[data-cattype="51025"] .osp-51025-related-cart,
[data-cattype="51025"] .osp-51025-related-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 50%;
    background: rgba(0, 0, 0, .38);
    color: #fff;
    box-shadow: none;
}

[data-cattype="51025"] .osp-51025-related-view,
[data-cattype="51025"] .osp-51025-related-cart {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
}

[data-cattype="51025"] .osp-51025-related-view:hover,
[data-cattype="51025"] .osp-51025-related-view:focus,
[data-cattype="51025"] .osp-51025-related-cart:hover,
[data-cattype="51025"] .osp-51025-related-cart:focus,
[data-cattype="51025"] .osp-51025-related-nav:hover,
[data-cattype="51025"] .osp-51025-related-nav:focus {
    border-color: #d3a83e;
    background: rgba(0, 0, 0, .66);
    color: #d3a83e;
    outline: 0;
}

[data-cattype="51025"] .osp-51025-related svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

[data-cattype="51025"] .osp-51025-related-grid .wrapper_item .group-quantity-control {
    display: none !important;
}

[data-cattype="51025"] .osp-51025-related-nav {
    position: absolute;
    top: 135px;
    z-index: 7;
    width: 38px;
    height: 38px;
    transform: translateY(-50%);
}

[data-cattype="51025"] .osp-51025-related-prev {
    left: -4px;
}

[data-cattype="51025"] .osp-51025-related-next {
    right: -4px;
}

[data-cattype="51025"] .osp-51025-related-nav:disabled {
    cursor: default;
    opacity: .3;
}

[data-cattype="51025"] .osp-51025-related.is-single-page .osp-51025-related-nav {
    display: none;
}

[data-cattype="51025"] .osp-51025-related-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 22px;
    color: #999;
    font-size: 11px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .08em;
}

[data-cattype="51025"] .osp-51025-related-current {
    color: #d3a83e;
}

@media (max-width: 991px) and (min-width: 576px) {
    [data-cattype="51025"] .osp-51025-related-grid .wrapper_item {
        flex-basis: calc((100% - 20px) / 2);
        width: calc((100% - 20px) / 2);
    }

    [data-cattype="51025"] .osp-51025-related .osp-51025-related-grid {
        gap: 20px;
    }
}

@media (hover: none), (max-width: 575px) {
    [data-cattype="51025"] .osp-51025-related-actions {
        top: auto;
        right: 13px;
        bottom: 13px;
        left: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    [data-cattype="51025"] .osp-51025-related-media:hover .osp-51025-related-actions,
    [data-cattype="51025"] .osp-51025-related-media:focus-within .osp-51025-related-actions {
        transform: none;
    }
}

@media (max-width: 575px) {
    [data-cattype="51025"] .osp-51025-related .osp-51025-related-grid {
        gap: 18px;
        padding: 0 24px 14px;
    }

    [data-cattype="51025"] .osp-51025-related-grid .wrapper_item {
        flex: 0 0 calc(100% - 48px);
        width: calc(100% - 48px);
    }

    [data-cattype="51025"] .osp-51025-related-nav {
        top: calc((100vw - 78px) / 2);
        width: 36px;
        height: 36px;
    }

    [data-cattype="51025"] .osp-51025-related-prev {
        left: 6px;
    }

    [data-cattype="51025"] .osp-51025-related-next {
        right: 6px;
    }
}

/* ========================================================================== */
/* Theme v30 product-detail composition inspired by the supplied reference.  */
/* ========================================================================== */

[data-cattype="51025"] .detail-page {
    align-items: flex-start;
    margin-top: 0;
    row-gap: 34px;
}

[data-cattype="51025"] .product-detail-info {
    color: #111;
}

[data-cattype="51025"] .product-detail-title {
    margin: 0 0 18px;
    color: #111;
    font-size: clamp(24px, 2.1vw, 31px);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -.025em;
    text-transform: none;
}

[data-cattype="51025"] .product-detail-price {
    margin-bottom: 28px;
}

[data-cattype="51025"] .product-detail-price .price {
    color: #8b8b8b;
    font-size: clamp(28px, 2.5vw, 36px);
    font-weight: 400;
    line-height: 1.2;
}

[data-cattype="51025"] .product-detail-options {
    margin-bottom: 8px;
}

[data-cattype="51025"] .product-detail-options ul.list-attribute,
[data-cattype="51025"] .product-detail-options ul.grid {
    display: block;
    margin: 0;
    padding: 0;
}

[data-cattype="51025"] .product-detail-options ul.list-attribute > li,
[data-cattype="51025"] .product-detail-options ul.grid > li {
    display: block;
    width: 100%;
    margin: 0 0 20px;
}

[data-cattype="51025"] .product-detail-options label,
[data-cattype="51025"] .product-detail-promo label {
    display: block;
    margin: 0 0 8px;
    color: #111;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

[data-cattype="51025"] .product-detail-options select,
[data-cattype="51025"] .product-detail-options input[type="text"],
[data-cattype="51025"] .product-detail-options textarea,
[data-cattype="51025"] .product-detail-promo input.form-control {
    width: 100%;
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid #d9dcdf;
    border-radius: 0;
    background: #fff;
    color: #333;
    box-shadow: none;
}

/* Keep native mobile select text vertically centred and prevent iOS clipping. */
[data-cattype="51025"] .product-detail-info .product-detail-options select {
    box-sizing: border-box;
    height: 44px;
    min-height: 44px;
    padding-top: 0;
    padding-right: 36px;
    padding-bottom: 0;
    padding-left: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: normal;
    -webkit-appearance: menulist;
    appearance: auto;
}

/* Colour variants: horizontal circular swatches with captions underneath. */
[data-cattype="51025"] .product-detail-options ul.radio-group-variant[class*="group-color" i],
[data-cattype="51025"] .product-detail-options ul.radio-group-variant[class*="group-colour" i] {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 0;
}

[data-cattype="51025"] .product-detail-options ul.radio-group-variant[class*="group-color" i] > li,
[data-cattype="51025"] .product-detail-options ul.radio-group-variant[class*="group-colour" i] > li {
    display: block;
    flex: 0 0 40px;
    width: 40px;
    margin: 0;
    text-align: center;
}

[data-cattype="51025"] .product-detail-options ul.radio-group-variant[class*="group-color" i] input.thumbnailRadio,
[data-cattype="51025"] .product-detail-options ul.radio-group-variant[class*="group-colour" i] input.thumbnailRadio {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

[data-cattype="51025"] .product-detail-options ul.radio-group-variant[class*="group-color" i] input.thumbnailRadio + label,
[data-cattype="51025"] .product-detail-options ul.radio-group-variant[class*="group-colour" i] input.thumbnailRadio + label {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    cursor: pointer;
}

[data-cattype="51025"] .product-detail-options ul.radio-group-variant[class*="group-color" i] label img,
[data-cattype="51025"] .product-detail-options ul.radio-group-variant[class*="group-colour" i] label img {
    display: block;
    width: 40px;
    height: 40px;
    margin: 0;
    border: 0;
    border-radius: 50%;
    object-fit: cover;
}

[data-cattype="51025"] .product-detail-options ul.radio-group-variant[class*="group-color" i] li span.caption,
[data-cattype="51025"] .product-detail-options ul.radio-group-variant[class*="group-colour" i] li span.caption {
    display: block;
    width: max-content;
    max-width: 64px;
    margin-top: 5px;
    color: #666;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.25;
    text-align: center;
}

[data-cattype="51025"] .product-detail-options ul.radio-group-variant[class*="group-color" i] input.thumbnailRadio:checked + label::after,
[data-cattype="51025"] .product-detail-options ul.radio-group-variant[class*="group-colour" i] input.thumbnailRadio:checked + label::after {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #fff;
    content: "\2713";
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

[data-cattype="51025"] .product-detail-options ul.radio-group-variant[class*="group-color" i] input.thumbnailRadio:focus-visible + label img,
[data-cattype="51025"] .product-detail-options ul.radio-group-variant[class*="group-colour" i] input.thumbnailRadio:focus-visible + label img {
    outline: 2px solid #d59a20;
    outline-offset: 3px;
}

[data-cattype="51025"] .product-detail-promo {
    margin-bottom: 20px;
}

[data-cattype="51025"] .product-cart-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 10px 0 24px;
}

[data-cattype="51025"] .product-quantity-label {
    flex: 0 0 auto;
    margin: 0;
    color: #111;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 44px;
}

[data-cattype="51025"] .product-cart-row .group-quantity-control {
    display: flex;
    align-items: stretch;
    flex: 0 0 120px;
    width: 120px;
    height: 44px;
    margin: 0 0 0 auto;
}

[data-cattype="51025"] .product-cart-row .group-quantity-control .input-group-btn {
    display: flex;
    align-items: stretch;
    width: 40px;
    height: 44px;
    margin: 0;
}

[data-cattype="51025"] .product-cart-row .group-quantity-control .btn,
[data-cattype="51025"] .product-cart-row .group-quantity-control input.input-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex: 0 0 40px;
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    margin: 0 !important;
    padding: 0;
    border: 1px solid #dfe1e4;
    border-radius: 0;
    background: #fff;
    color: #111;
    font-size: 14px;
    font-weight: 400;
    line-height: 42px;
    text-align: center;
    vertical-align: top;
    box-shadow: none;
}

[data-cattype="51025"] .product-cart-row .group-quantity-control input.input-number {
    display: block;
    border-right: 0;
    border-left: 0;
}

[data-cattype="51025"] .product-cart-row .group-quantity-control .btn:hover,
[data-cattype="51025"] .product-cart-row .group-quantity-control .btn:focus {
    border-color: #c8ccd0;
    background: #f5f5f5;
    color: #111;
    outline: 0;
}

[data-cattype="51025"] .product-cart-row .btnbuy_form {
    display: block;
    flex: 1 1 auto;
}

[data-cattype="51025"] .product-cart-row .btnbuy_form .btn-primary {
    width: 100%;
    height: 44px;
    margin: 0 !important;
    border: 1px solid #111;
    border-radius: 0;
    background: #111;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
}

[data-cattype="51025"] .product-enquiry-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 26px;
}

[data-cattype="51025"] .product-enquiry-row .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 9px 12px;
    border: 0;
    border-radius: 0;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
}

[data-cattype="51025"] .product-enquiry-row .btn-success {
    background: #24964d;
    color: #fff;
}

[data-cattype="51025"] .product-enquiry-row .btn-morph {
    background: #151515;
    color: #fff;
}

[data-cattype="51025"] .product-detail-sku {
    padding: 0 0 28px;
    border-bottom: 1px solid #e5e5e5;
}

[data-cattype="51025"] .product-detail-sku .poston {
    color: #777;
    font-style: normal;
}

[data-cattype="51025"] fieldset.social-media {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 22px 0 30px;
    padding: 0;
    border: 0;
}

[data-cattype="51025"] fieldset.social-media legend.title {
    float: none;
    width: auto;
    margin: 0 8px 0 0;
    color: #666;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}

[data-cattype="51025"] fieldset.social-media .stack {
    margin: 0;
}

[data-cattype="51025"] .product-description-section {
    margin: 0 0 42px;
    border-top: 1px solid #dfe2e5;
}

[data-cattype="51025"] .product-description-section h3 {
    display: table;
    margin: -1px 0 0;
    padding: 14px 16px;
    border: 1px solid #dfe2e5;
    border-bottom-color: #fff;
    border-radius: 5px 5px 0 0;
    background: #fff;
    color: #111;
    font-size: 15px;
    font-weight: 500;
}

[data-cattype="51025"] .product-description-copy {
    padding: 34px 20px 0;
    color: #222;
    font-size: 15px;
    line-height: 1.7;
}

@media (max-width: 767px) {
    [data-cattype="51025"] .detail-page {
        row-gap: 0;
    }

    [data-cattype="51025"] .detail-page .wrapper_productimg {
        margin-bottom: 34px;
    }

    [data-cattype="51025"] .product-media-layout,
    [data-cattype="51025"] .product-media-layout.has-gallery {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(300px, 360px) 68px;
        gap: 12px;
        height: auto;
    }

    [data-cattype="51025"] .product-media-layout:not(.has-gallery) {
        grid-template-rows: minmax(300px, 360px);
    }

    [data-cattype="51025"] .product-gallery-rail,
    [data-cattype="51025"] .product-gallery-rail.has-overflow {
        grid-template-rows: minmax(0, 1fr);
        grid-template-columns: 0 minmax(0, 1fr) 0;
        gap: 0;
        width: 100%;
        height: 68px;
    }

    [data-cattype="51025"] .product-gallery-rail.has-overflow {
        grid-template-columns: 24px minmax(0, 1fr) 24px;
        gap: 6px;
    }

    [data-cattype="51025"] .productimggallery {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
        touch-action: pan-x;
    }

    [data-cattype="51025"] .detail-page .productimggallery ul.listImage {
        flex-direction: row;
        width: max-content;
        height: 100%;
    }

    [data-cattype="51025"] .detail-page .productimggallery ul.listImage li,
    [data-cattype="51025"] .detail-page .productimggallery ul.listImage li .wrapper_image {
        width: 68px;
        height: 68px;
    }

    [data-cattype="51025"] .detail-page .productimggallery ul.listImage li {
        flex: 0 0 68px;
        scroll-snap-align: start;
    }

    [data-cattype="51025"] .gallery-scroll-button {
        width: 24px;
        height: 68px;
    }

    [data-cattype="51025"] .gallery-scroll-up::before {
        transform: translate(-30%, -50%) rotate(-45deg);
    }

    [data-cattype="51025"] .gallery-scroll-down::before {
        transform: translate(-70%, -50%) rotate(135deg);
    }

    [data-cattype="51025"] .product-detail-title {
        margin-bottom: 18px;
        font-size: 25px;
    }

    [data-cattype="51025"] .product-detail-price .price {
        font-size: 33px;
    }
}

@media (max-width: 420px) {
    [data-cattype="51025"] .product-media-layout,
    [data-cattype="51025"] .product-media-layout.has-gallery {
        grid-template-rows: minmax(300px, calc(100vw - 54px)) 68px;
    }

    [data-cattype="51025"] .product-enquiry-row {
        grid-template-columns: 1fr 1fr;
    }

    [data-cattype="51025"] .product-enquiry-row .btn {
        padding-right: 7px;
        padding-left: 7px;
        font-size: 10px;
    }

    [data-cattype="51025"] .product-description-copy {
        padding-right: 20px;
        padding-left: 20px;
    }
}

section[data-cattype="51025"],
section[data-cattype="51025"] form.form-inline{
    margin: 0;
    padding: 0;
    margin-bottom: 25px;
}

[data-cattype="51025"] h1.page-title {
  text-align: center;
  padding: 30px 9px;
  background: #fafafa;
  margin-top: 0;
}

[data-cattype="51025"] h1 {
    font-size: 1.85em;
    color: #0359D4;
    padding: 0px;
    margin: 15px 0 8px 0;
    text-transform: uppercase;
}

section[data-cattype="51025"] form.form-inline .btn{ margin-bottom: 0; }

[data-cattype="51025"] .price{
    color: #0359D7; 
}

section[data-cattype="51025"] form.form-inline input.form-control{
    width: 100%;
}

[data-cattype="51025"] .btn-primary {
    background-color: #337ab7;
}

[data-cattype="51025"] .sales-tag {
    position: absolute;
    display: inline-block;
    width: 60px;
    height: 60px;
    top: -10px;
    right: -15px;
    background: #ff0000;
    border-radius: 30px;
    text-align: center;
    padding: 15px 3px;
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    transform: rotate(45deg);
    border: 2px solid #eee;
    z-index: 10;
}

[data-cattype="51025"] .pad {
    padding: 0px 5px 0px 5px;
}

[data-cattype="51025"] .btn-inverse {
    color: #fff;
    background-color: #000;
    border-color: #000;
    height: 34px;
    line-height: 1;
}


/* EOL - General */



/* BOL - Listing Item */

section[data-cattype="51025"] .list-product{
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-around; */
    align-items: stretch;
    margin: 0;
    position: relative;
}
section[data-cattype="51025"] .list-product.loading{
    justify-content: center;
    align-items: center;
}
section[data-cattype="51025"] .loader { 
    width: 60px; 
    margin: 30px auto;
}

section[data-cattype="51025"] .loader-wheel {
  animation: spin 1s infinite linear;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-left: 4px solid #aaa;
  border-radius: 50%;
  height: 50px;
  margin-bottom: 10px;
  width: 50px;
}

section[data-cattype="51025"] .loader-text {
  color: #aaa;
  font-family: arial, sans-serif;
}

section[data-cattype="51025"] .loader-text:after {
  content: 'Loading';
  animation: load 2s linear infinite;
}

section[data-cattype="51025"] .wrapper_pagination {
    width: 100%;
}


@keyframes spin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg); }
}

@keyframes load {
  0% { content: 'Loading'; }
  33% { content: 'Loading.'; }
  67% { content: 'Loading..'; }
  100% { content: 'Loading...'; }
}


[data-cattype="51025"] .grid_item {
    width: 23%;
    /*width: 100%;*/
    margin: 0.8em ;
    border-radius: 10px;
    border: none;
    background: #fff;
    padding: 0;
    box-shadow: 0px 2px 3px #ddd;
    /*overflow: hidden;*/
    position: relative;
    text-align: left;
}

[data-cattype="51025"] .jumbotron {
    padding: 40px 60px 40px 60px;
    margin-bottom: 30px;
    color: inherit;
    background-color: #eee;
    border-radius: 10px;
}



[data-cattype="51025"] .item_content.grid_item {
    position: relative;
}
[data-cattype="51025"] .grid_item a.link-img{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    
    display: block;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
[data-cattype="51025"] .grid_item img.product_img_line{
    opacity: 0;
}

[data-cattype="51025"] .grid_item .group-quantity-control {
    max-width: none;
    width: auto;
    float: none;
    margin-right: 10px;
}
[data-cattype="51025"] .grid_item .group-quantity-control input[name="qty"]{
    max-width: 36px;
    height: 30px;
    padding: 3px 6px;
}

[data-cattype="51025"] .grid_item .title > a, .grid_item .title {
    font-size: 15px;
    line-height: 1.2;
    color: #000;
    display: block;
}

[data-cattype="51025"] .grid_item .ajax-add-to-cart .btn {
    margin-bottom: 3px;
}




[data-cattype="51025"] .form-group {
    display: inline-flex;
}

[data-cattype="51025"] .input-group {
    flex-wrap: inherit;
}
[data-cattype="51025"] .pagination{
    justify-content: center;
}


/* EOL - Listing Item */



/* BOL - Product Detail */


[data-cattype="51025"] .detail-page {
    margin-top: 15px;
}
[data-cattype="51025"] .detail-page .wrapper_productimg{
    position: relative;
}

[data-cattype="51025"] .detail-page .wrapper_productimg .tag{
    top: -9px;
    right: -0px;
}

[data-cattype="51025"] .detail-page h1.title {
    margin-top: 0px;
    color: #000;
    font-size: 26px;
}

[data-cattype="51025"] .normal_text p {
    margin: 5px 0 12px 0;
}


[data-cattype="51025"] ul.grid li {
    list-style: none;
    display: inline-block;
    vertical-align: top;
}

[data-cattype="51025"] .detail-page input.input-number {
	max-width: 45px;
	height: 36px;
}

[data-cattype="51025"] .grid.list-attribute > li > label {
    vertical-align: bottom;
    margin-right: 5px;
    display: block;
}


[data-cattype="51025"] fieldset.social-media {
    margin: 15px 0 30px 0;
    padding: 10px;
}

[data-cattype="51025"] .tab-pane {
    padding: 20px;
}

/* EOL - Product Detail */


/* BOL - Product attribute photo gallery at detail page 2022-02-13 */
[data-cattype="51025"] .detail-page .productimggallery ul.listImage li,
[data-cattype="51025"] .detail-page .productimggallery ul.listImage li .wrapper_image{
    width: 70px;
    height: 50px;
}
/* EOL - Product attribute photo gallery at detail page */



/* Typical laptop screen size*/
@media (max-width: 1400px) {

}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 980px) {

    [data-cattype="51025"] .form-group {
        display: flex;
        width: 247px;
        float: left;
    }

    [data-cattype="51025"] .grid_item {
        width: 228px;
    }

    [data-cattype="51025"] .item_content .btn{
        float: right;
        margin-right: 0;
    }

    [data-cattype="51025"] .item_content .group-quantity-control {
        margin-left: 0;
    }

}

/* Mobile screen size - landscape view */
@media (max-width: 767px) {

}

/* Mobile screen size */
@media (max-width: 480px) {


    /* BOL - General */

    section[data-cattype="51025"] form.form-inline .btn {
        margin: auto;
        display: block;
    }

    [data-cattype="51025"] h1 {
        text-align: center;
    }

    [data-cattype="51025"] .sales-tag {
        right: 15px;
    }


    /* EOL - General */


    /* BOL - Listing Item */

    section[data-cattype="51025"] .wrapper-result-input {
        width: 100%;
    }


    [data-cattype="51025"] .form-group {
        display: flex;
    }

    [data-cattype="51025"] .item_content .grid_item img.product_img_line {
        background-size: contain;
        background-color: #cccccc63;
    }


    [data-cattype="51025"] .grid_item {
        width: 47%;
        height: auto;
        padding: 0px 0px 10px 0px;
        margin: 0px 5px 20px 5px;
    }



    [data-cattype="51025"] .btn-primary {
        margin-top: 10px !important;
    }


    /* EOL - Listing Item */


    /* Detail Item */
  
    .wrapper_productimg .product_img_line {
        text-align: center;
        margin: auto;
        display: block;

    }

    ul.listImage li {
        margin: 0 8px 8px 0px;
        width: 160px;
        height: 150px;
        overflow: hidden;
    }

    .grid.listImage {
        margin-left: 10px;
    }

    [data-cattype="51025"] .btnwidth .input-group {
        display: block;
    }

    [data-cattype="51025"] .btnwidth .input-group .btn {
        margin:10px;
        height:50px !important;
    }


    [data-cattype="51025"] .btnwidth .btn, .btnwidth input {
        height: 50px !important;
        width: 100% !important;
    }


    [data-cattype="51025"] .btnext .btn {
        margin-top: 16px !important;
    }


    [data-cattype="51025"] .input-group .btn {
        height: auto !important;
    }


    /* End Detail Item */

}


/* ========================================================================== */
/* Theme v30 listing refinement — preserves the existing 51025 structure.     */
/* ========================================================================== */

section[data-cattype="51025"] {
    width: 100%;
    max-width: 760px;
    min-height: 72vh;
    margin: 0 auto 25px;
    background: #fff;
}

section[data-cattype="51025"] > .container {
    width: calc(100% - 32px);
    max-width: 760px;
    margin: 0 auto;
    padding: 0;
}

[data-cattype="51025"] h1.page-title {
    position: relative;
    display: table;
    margin: 0 auto 34px;
    padding: 48px 0 16px;
    background: transparent;
    color: #111;
    font-size: clamp(32px, 3vw, 42px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.02em;
    text-align: center;
    text-transform: none;
}

[data-cattype="51025"] h1.page-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 70px;
    height: 3px;
    background: #f28c00;
    transform: translateX(-50%);
}

section[data-cattype="51025"] form.form-inline {
    margin: 0 0 38px;
    padding: 0;
}

section[data-cattype="51025"] form.form-inline > .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 12px;
    align-items: center;
    margin: 0 !important;
}

section[data-cattype="51025"] form.form-inline > .row > div {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

section[data-cattype="51025"] form.form-inline > .row > div:first-child {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

[data-cattype="51025"] .form-group {
    display: block;
    width: 100%;
    margin: 0;
}

[data-cattype="51025"] .form-select,
[data-cattype="51025"] form.form-inline input.form-control {
    width: 100%;
    height: 44px;
    margin: 0;
    padding: 0 36px 0 13px;
    border: 1px solid #deded9;
    border-radius: 3px;
    background-color: #fff;
    color: #222;
    font-size: 14px;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

[data-cattype="51025"] form.form-inline input.form-control {
    padding-right: 38px;
}

[data-cattype="51025"] .form-select:focus,
[data-cattype="51025"] form.form-inline input.form-control:focus {
    border-color: rgba(17, 17, 17, .55);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(17, 17, 17, .05);
}

[data-cattype="51025"] .btnwidth .input-group {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    height: 44px;
    flex-wrap: nowrap;
}

[data-cattype="51025"] .btnwidth .input-group .btn-reset-search {
    position: absolute;
    top: 50%;
    right: 84px;
    z-index: 3;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #888;
    transform: translateY(-50%);
}

[data-cattype="51025"] .btnwidth .input-group .btn-inverse {
    min-width: 82px;
    height: 44px;
    margin: 0;
    padding: 0 18px;
    border: 1px solid #111;
    border-radius: 0 3px 3px 0;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 42px;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

[data-cattype="51025"] .btnwidth .input-group .btn-inverse:hover,
[data-cattype="51025"] .btnwidth .input-group .btn-inverse:focus {
    border-color: #d3a83e;
    background: #d3a83e;
    color: #111;
}

section[data-cattype="51025"] .list-product {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 18px;
    align-items: stretch;
    width: 100%;
    margin: 0;
}

section[data-cattype="51025"] .list-product > .loader,
section[data-cattype="51025"] .list-product > .wrapper_pagination,
section[data-cattype="51025"] .list-product > .clearBoth,
section[data-cattype="51025"] .list-product > br {
    grid-column: 1 / -1;
}

[data-cattype="51025"] .list-product .item_content.grid_item {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: left;
}

[data-cattype="51025"] .list-product .grid_item a.link-img {
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border: 1px solid #ecece8;
    border-radius: 2px;
    background-color: #f7f7f5;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: border-color .22s ease, transform .22s ease;
}

[data-cattype="51025"] .list-product .grid_item:hover a.link-img {
    border-color: #d6d6d0;
    transform: translateY(-2px);
}

[data-cattype="51025"] .list-product .grid_item img.product_img_line {
    display: block;
    width: 100%;
    height: 100% !important;
    margin: 0;
    opacity: 0;
}

[data-cattype="51025"] .list-product .grid_item form.add-to-cart {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 152px;
    margin: 0;
    padding: 15px 4px 0;
}

[data-cattype="51025"] .list-product .grid_item .title,
[data-cattype="51025"] .list-product .grid_item .title > a {
    display: block;
    min-height: 42px;
    margin: 0;
    color: #111;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.38;
    text-align: left;
    text-decoration: none;
}

[data-cattype="51025"] .list-product .grid_item .title > a:hover {
    color: #d08a00;
}

[data-cattype="51025"] .list-product .grid_item .price {
    margin: 8px 0 13px;
    color: #666;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
}

[data-cattype="51025"] .list-product .grid_item .promotecode {
    min-height: 0;
    margin: 0;
}

[data-cattype="51025"] .list-product .grid_item .group-quantity-control {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: none;
    margin: auto 0 0;
}

[data-cattype="51025"] .list-product .grid_item .group-quantity-control .btn-light,
[data-cattype="51025"] .list-product .grid_item .group-quantity-control input[name="qty"] {
    width: 32px;
    min-width: 32px;
    max-width: 32px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 1px solid #e1e1dd;
    border-radius: 0;
    background: #fff;
    color: #333;
    font-size: 12px;
    line-height: 32px;
    text-align: center;
    box-shadow: none;
}

[data-cattype="51025"] .list-product .grid_item .group-quantity-control input[name="qty"] {
    border-right: 0;
    border-left: 0;
}

[data-cattype="51025"] .list-product .grid_item .btnbuy_form {
    margin-left: auto;
}

[data-cattype="51025"] .list-product .grid_item .group-quantity-control .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 76px;
    height: 34px;
    min-height: 34px;
    margin: 0;
    padding: 0 13px;
    border: 1px solid #111;
    border-radius: 2px;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    box-shadow: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

[data-cattype="51025"] .list-product .grid_item .group-quantity-control .btn-primary:hover,
[data-cattype="51025"] .list-product .grid_item .group-quantity-control .btn-primary:focus {
    border-color: #d3a83e;
    background: #d3a83e;
    color: #111;
}

[data-cattype="51025"] .sales-tag {
    top: 10px;
    right: 10px;
    width: auto;
    min-width: 48px;
    height: 27px;
    padding: 0 9px;
    border: 0;
    border-radius: 2px;
    background: #f28c00;
    font-size: 10px;
    font-weight: 600;
    line-height: 27px;
    transform: none;
}

[data-cattype="51025"] .wrapper_pagination .pagination {
    gap: 5px;
    justify-content: center;
}

[data-cattype="51025"] .wrapper_pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #e2e2de;
    border-radius: 2px;
    background: #fff;
    color: #555;
    font-size: 13px;
}

[data-cattype="51025"] .wrapper_pagination .page-item.active .page-link,
[data-cattype="51025"] .wrapper_pagination .page-link:hover {
    border-color: #111;
    background: #111;
    color: #fff;
}

[data-cattype="51025"] a[id^="btnLoadMore"] {
    height: 40px;
    margin-top: 34px;
    padding: 0 22px;
    border: 1px solid #111;
    border-radius: 2px;
    background: transparent;
    color: #111;
    font-size: 13px;
    line-height: 38px;
}

[data-cattype="51025"] a[id^="btnLoadMore"]:hover {
    background: #111;
    color: #fff;
}

@media (max-width: 767px) {
    section[data-cattype="51025"] form.form-inline > .row {
        grid-template-columns: 1fr;
    }

    section[data-cattype="51025"] form.form-inline > .row > div:first-child {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    section[data-cattype="51025"] .list-product {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 14px;
    }
}

@media (max-width: 575px) {
    section[data-cattype="51025"] > .container {
        width: calc(100% - 24px);
    }

    [data-cattype="51025"] h1.page-title {
        margin-bottom: 26px;
        padding-top: 36px;
        font-size: 30px;
    }

    section[data-cattype="51025"] form.form-inline {
        margin-bottom: 30px;
    }

    section[data-cattype="51025"] form.form-inline > .row > div:first-child {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    [data-cattype="51025"] .btnwidth .input-group,
    [data-cattype="51025"] .btnwidth .input-group .btn {
        display: grid;
        height: 44px !important;
        margin: 0 !important;
    }

    [data-cattype="51025"] .btnwidth .input-group .btn-reset-search {
        position: absolute;
        display: block;
        right: 84px;
        width: 30px !important;
        height: 30px !important;
        margin: 0 !important;
    }

    [data-cattype="51025"] .btnwidth .btn,
    [data-cattype="51025"] .btnwidth input {
        width: auto !important;
        height: 44px !important;
    }

    section[data-cattype="51025"] .list-product {
        gap: 24px 10px;
    }

    [data-cattype="51025"] .list-product .grid_item form.add-to-cart {
        min-height: 136px;
        padding: 12px 2px 0;
    }

    [data-cattype="51025"] .list-product .grid_item .title,
    [data-cattype="51025"] .list-product .grid_item .title > a {
        min-height: 39px;
        font-size: 14px;
    }

    [data-cattype="51025"] .list-product .grid_item .price {
        font-size: 15px;
    }

    [data-cattype="51025"] .list-product .grid_item .group-quantity-control {
        justify-content: flex-end;
    }

    [data-cattype="51025"] .list-product .grid_item .btnbuy_form {
        margin-left: 0;
    }

    [data-cattype="51025"] .list-product .grid_item .group-quantity-control .btn-primary {
        min-width: 68px;
        padding: 0 10px;
    }
}

/* Restore the original 51025 page-title / breadcrumb presentation. */
[data-cattype="51025"] h1.page-title {
    position: static;
    display: block;
    margin: 0 0 8px;
    padding: 30px 9px;
    background: #fafafa;
    color: #0359d4;
    font-size: 1.85em;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: normal;
    text-align: center;
    text-transform: uppercase;
}

[data-cattype="51025"] h1.page-title::after {
    display: none;
}

/* Product detail heading and breadcrumb. */
[data-cattype="51025"] .osp-51025-detail-hero {
    margin: 0 0 28px;
    padding: 34px 20px 29px;
    background: #f5f7fa;
    text-align: center;
}

[data-cattype="51025"] .osp-51025-detail-hero h1.page-title {
    position: relative;
    display: table;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 12px 17px;
    background: transparent;
    color: #174e8c;
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.02em;
    text-align: center;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

[data-cattype="51025"] .osp-51025-detail-hero h1.page-title::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    display: block;
    width: 70px;
    height: 2px;
    content: "";
    background: #f28c00;
    transform: translateX(-50%);
}

[data-cattype="51025"] .osp-51025-detail-breadcrumb {
    margin-top: 17px;
}

[data-cattype="51025"] .osp-51025-detail-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 7px 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

[data-cattype="51025"] .osp-51025-detail-breadcrumb li {
    display: inline-flex;
    align-items: center;
    margin: 0;
    color: #707780;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .1em;
    text-transform: uppercase;
}

[data-cattype="51025"] .osp-51025-detail-breadcrumb li + li::before {
    margin: 0 12px;
    content: "/";
    color: #a0a6ad;
}

[data-cattype="51025"] .osp-51025-detail-breadcrumb a {
    position: relative;
    color: #174e8c;
    text-decoration: none;
    transition: color .25s ease;
}

[data-cattype="51025"] .osp-51025-detail-breadcrumb a::after {
    position: absolute;
    right: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    content: "";
    background: #f28c00;
    transition: width .25s ease;
}

[data-cattype="51025"] .osp-51025-detail-breadcrumb a:hover,
[data-cattype="51025"] .osp-51025-detail-breadcrumb a:focus {
    color: #d59a20;
}

[data-cattype="51025"] .osp-51025-detail-breadcrumb a:hover::after,
[data-cattype="51025"] .osp-51025-detail-breadcrumb a:focus::after {
    right: auto;
    left: 0;
    width: 100%;
}

@media (max-width: 575px) {
    [data-cattype="51025"] .osp-51025-detail-hero {
        margin-bottom: 22px;
        padding: 28px 15px 24px;
    }

    [data-cattype="51025"] .osp-51025-detail-hero h1.page-title {
        padding-right: 0;
        padding-bottom: 15px;
        padding-left: 0;
        font-size: clamp(23px, 7vw, 29px);
        line-height: 1.25;
    }

    [data-cattype="51025"] .osp-51025-detail-breadcrumb {
        margin-top: 15px;
    }

    [data-cattype="51025"] .osp-51025-detail-breadcrumb li {
        font-size: 9px;
        letter-spacing: .065em;
    }

    [data-cattype="51025"] .osp-51025-detail-breadcrumb li + li::before {
        margin: 0 7px;
    }
}

/* Minimal filter fields: only a bottom rule. */
[data-cattype="51025"] form.form-inline .form-group .form-select {
    height: 44px;
    padding: 0 32px 0 2px;
    border: 0;
    border-bottom: 1px solid #bdbdb7;
    border-radius: 0;
    background-color: transparent;
    color: #222;
    box-shadow: none;
}

[data-cattype="51025"] form.form-inline .form-group .form-select:hover,
[data-cattype="51025"] form.form-inline .form-group .form-select:focus {
    border-bottom-color: #111;
    outline: 0;
    box-shadow: none;
}

@media (max-width: 575px) {
    [data-cattype="51025"] h1.page-title {
        margin-bottom: 8px;
        padding: 30px 9px;
        font-size: 1.85em;
    }

    [data-cattype="51025"] .list-product .grid_item .group-quantity-control {
        justify-content: stretch;
        width: 100%;
    }

    [data-cattype="51025"] .list-product .grid_item .btnbuy_form {
        display: block;
        width: 100%;
        margin: 0;
    }

    [data-cattype="51025"] .list-product .grid_item .group-quantity-control .btn-primary {
        width: 100%;
        min-width: 0;
        height: 38px;
        min-height: 38px;
        padding: 0 12px;
    }
}

/* Small mobile: one compact horizontal product per row. */
[data-cattype="51025"] .osp-51025-mobile-poston {
    display: none;
}

[data-cattype="51025"] .osp-51025-mobile-view {
    display: none;
}

[data-cattype="51025"] .osp-51025-actions {
    margin-top: auto;
}

@media (max-width: 575px) {
    section[data-cattype="51025"] .list-product {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 0;
        align-items: start;
    }

    [data-cattype="51025"] .list-product .item_content.grid_item {
        display: grid;
        grid-template-columns: 144px minmax(0, 1fr);
        gap: 15px;
        align-items: stretch;
        align-self: start;
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        padding: 20px 0;
        border-bottom: 1px solid #ecece8;
    }

    [data-cattype="51025"] .list-product .grid_item a.link-img {
        align-self: start;
        width: 144px;
        height: 144px;
        aspect-ratio: 1 / 1;
    }

    [data-cattype="51025"] .list-product .grid_item form.add-to-cart {
        display: flex;
        flex: 0 0 auto;
        flex-direction: column;
        min-width: 0;
        min-height: 0;
        height: auto;
        justify-content: flex-start;
        margin: 0;
        padding: 1px 0 0;
    }

    [data-cattype="51025"] .list-product .grid_item .title,
    [data-cattype="51025"] .list-product .grid_item .title > a {
        min-height: 0;
        font-size: 15px;
        line-height: 1.35;
    }

    [data-cattype="51025"] .list-product .grid_item .price {
        margin: 7px 0 8px;
        color: #444;
        font-size: 18px;
        font-weight: 500;
    }

    [data-cattype="51025"] .osp-51025-mobile-poston {
        display: block;
        min-height: 16px;
        margin: 4px 0 0;
        color: #888;
        font-size: 11px;
        line-height: 1.35;
    }

    [data-cattype="51025"] .osp-51025-mobile-poston .poston {
        display: block;
        font-size: inherit;
    }

    [data-cattype="51025"] .osp-51025-mobile-poston b {
        color: #666;
        font-weight: 500;
    }

    [data-cattype="51025"] .list-product .grid_item .group-quantity-control {
        margin: 0;
    }

    [data-cattype="51025"] .list-product .grid_item .group-quantity-control .btn-primary {
        height: 36px;
        min-height: 36px;
        margin-top:0 !important;
    }

    [data-cattype="51025"] .list-product .grid_item.has-variants,
    [data-cattype="51025"] .list-product .grid_item.has-variants form.add-to-cart {
        height: auto !important;
        min-height: 0 !important;
    }

    [data-cattype="51025"] .list-product .grid_item .product-variant-note {
        display: block;
        margin: 4px 0 0;
        color: #aaa;
        font-size: 11px;
        line-height: 1.35;
    }

    [data-cattype="51025"] .osp-51025-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        margin-top: 7px;
    }

    [data-cattype="51025"] .osp-51025-actions.view-only {
        grid-template-columns: 1fr;
    }

    [data-cattype="51025"] .osp-51025-mobile-view {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 36px;
        padding: 0 10px;
        border: 1px solid #111;
        border-radius: 2px;
        background: #fff;
        color: #111;
        font-size: 12px;
        font-weight: 500;
        line-height: 1;
        text-decoration: none;
        transition: background-color .2s ease, color .2s ease;
    }

    [data-cattype="51025"] .osp-51025-mobile-view:hover,
    [data-cattype="51025"] .osp-51025-mobile-view:focus {
        background: #111;
        color: #fff;
        outline: 0;
    }

    [data-cattype="51025"] .list-product .grid_item .sales-tag,
    [data-cattype="51025"] .list-product .grid_item .tag {
        position: static;
        align-self: start;
        z-index: 6;
        width: auto;
        min-width: 43px;
        height: 23px;
        margin: 0 0 7px;
        padding: 0 8px;
        border: 0;
        border-radius: 2px;
        background: #e31b23;
        color: #fff;
        font-size: 9px;
        font-weight: 600;
        line-height: 23px;
        text-align: center;
        transform: none;
        box-shadow: none;
    }

    [data-cattype="51025"] .list-product .grid_item .sales-tag::before,
    [data-cattype="51025"] .list-product .grid_item .sales-tag::after,
    [data-cattype="51025"] .list-product .grid_item .tag::before,
    [data-cattype="51025"] .list-product .grid_item .tag::after {
        display: none;
    }
}

/* Keep the detail gallery rules after the legacy 51025 mobile gallery CSS. */
[data-cattype="51025"] .product-gallery-rail {
    grid-template-rows: 0 minmax(0, 1fr) 0;
    gap: 0;
}

[data-cattype="51025"] .product-gallery-rail.has-overflow {
    grid-template-rows: 24px minmax(0, 1fr) 24px;
    gap: 6px;
}

[data-cattype="51025"] .gallery-scroll-button {
    visibility: hidden;
}

[data-cattype="51025"] .product-gallery-rail.has-overflow .gallery-scroll-button {
    visibility: visible;
}

[data-cattype="51025"] .detail-page .productimggallery ul.listImage li,
[data-cattype="51025"] .detail-page .productimggallery ul.listImage li .wrapper_image {
    width: 100%;
    height: 66px;
    margin: 0;
}

[data-cattype="51025"] .detail-page .productimggallery ul.listImage li {
    flex: 0 0 66px;
}

@media (max-width: 575px) {
    [data-cattype="51025"] .detail-page .productimggallery ul.listImage li,
    [data-cattype="51025"] .detail-page .productimggallery ul.listImage li .wrapper_image {
        height: 56px;
    }

    [data-cattype="51025"] .detail-page .productimggallery ul.listImage li {
        flex-basis: 56px;
    }
}

/* Final detail-page overrides: keep these below all legacy 51025 rules. */
[data-cattype="51025"] .detail-page {
    display: flex;
    flex-direction: column;
    margin-top: 0;
}

[data-cattype="51025"] .detail-page > .wrapper_productimg,
[data-cattype="51025"] .detail-page > .product-detail-info {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
}

[data-cattype="51025"] .detail-page > .product-detail-info {
    margin-top: 12px;
}

[data-cattype="51025"] .product-detail-info .social-media {
    margin: 22px 0 30px;
    padding: 0;
}

@media (max-width: 767px) {
    [data-cattype="51025"] .product-media-layout,
    [data-cattype="51025"] .product-media-layout.has-gallery {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(300px, 360px) 68px;
        gap: 12px;
        height: auto;
    }

    [data-cattype="51025"] .product-media-layout:not(.has-gallery) {
        grid-template-rows: minmax(300px, 360px);
    }

    [data-cattype="51025"] .product-gallery-rail,
    [data-cattype="51025"] .product-gallery-rail.has-overflow {
        grid-template-rows: minmax(0, 1fr);
        grid-template-columns: 0 minmax(0, 1fr) 0;
        gap: 0;
        width: 100%;
        height: 68px;
    }

    [data-cattype="51025"] .product-gallery-rail.has-overflow {
        grid-template-columns: 24px minmax(0, 1fr) 24px;
        gap: 6px;
    }

    [data-cattype="51025"] .productimggallery {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
        touch-action: pan-x;
    }

    [data-cattype="51025"] .detail-page .productimggallery ul.listImage {
        flex-direction: row;
        width: max-content;
        height: 68px;
    }

    [data-cattype="51025"] .detail-page .productimggallery ul.listImage li,
    [data-cattype="51025"] .detail-page .productimggallery ul.listImage li .wrapper_image {
        width: 68px;
        height: 68px;
        margin: 0;
    }

    [data-cattype="51025"] .detail-page .productimggallery ul.listImage li {
        flex: 0 0 68px;
    }

    [data-cattype="51025"] .gallery-scroll-button {
        width: 24px;
        height: 68px;
    }

    [data-cattype="51025"] .gallery-scroll-up::before {
        transform: translate(-30%, -50%) rotate(-45deg);
    }

    [data-cattype="51025"] .gallery-scroll-down::before {
        transform: translate(-70%, -50%) rotate(135deg);
    }
}

@media (max-width: 420px) {
    [data-cattype="51025"] .product-media-layout,
    [data-cattype="51025"] .product-media-layout.has-gallery {
        grid-template-rows: minmax(300px, calc(100vw - 54px)) 68px;
    }
}

/* Related products presentation on the detail page. */
[data-cattype="51025"] > div[itemscope] > h3 {
    position: relative;
    margin: 70px 0 28px;
    padding: 0 0 17px;
    color: #111;
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
}

[data-cattype="51025"] > div[itemscope] > h3::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 54px;
    height: 2px;
    content: "";
    background: #e0a521;
    transform: translateX(-50%);
}

[data-cattype="51025"] .list-related-product {
    display: flex;
    gap: 20px;
    margin: 0 0 70px;
    padding: 0 12px 16px;
    overflow-x: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    scroll-snap-type: x proximity;
}

[data-cattype="51025"] .list-related-product .wrapper_item {
    flex: 0 0 calc(50% - 10px);
    width: auto;
    margin: 0;
    scroll-snap-align: start;
}

@media (max-width: 575px) {
    [data-cattype="51025"] > div[itemscope] > h3 {
        margin-top: 58px;
        font-size: 29px;
    }

    [data-cattype="51025"] .list-related-product {
        padding-right: 34px;
        padding-left: 34px;
    }

    [data-cattype="51025"] .list-related-product .wrapper_item {
        flex-basis: 88%;
    }
}

/* Keep the product content typography consistent with the original theme. */
[data-cattype="51025"] .product-detail-info,
[data-cattype="51025"] .product-detail-info button,
[data-cattype="51025"] .product-detail-info input,
[data-cattype="51025"] .product-detail-info select,
[data-cattype="51025"] .product-detail-info textarea {
    font-family: inherit;
    font-style: normal;
}

[data-cattype="51025"] .product-detail-title,
[data-cattype="51025"] .product-detail-price .price,
[data-cattype="51025"] .product-detail-options label,
[data-cattype="51025"] .product-detail-promo label,
[data-cattype="51025"] .product-cart-row .btnbuy_form .btn-primary,
[data-cattype="51025"] .product-enquiry-row .btn,
[data-cattype="51025"] .product-detail-sku,
[data-cattype="51025"] .product-detail-sku b,
[data-cattype="51025"] .product-description-section h3,
[data-cattype="51025"] .product-description-copy {
    font-weight: 400;
}

/* Prevent legacy/AJAX product-image markup from escaping the media frame. */
[data-cattype="51025"] .product-media-layout {
    min-height: 0;
}

[data-cattype="51025"] .product-main-media {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

[data-cattype="51025"] .product-main-media .productimg {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

[data-cattype="51025"] .product-main-media .productimg > a {
    display: flex !important;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

[data-cattype="51025"] .product-main-media .productimg img,
[data-cattype="51025"] .product-main-media .productimg img.product_img_line {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    object-fit: contain !important;
}

[data-cattype="51025"] .product-main-media > .tag {
    top: 14px;
    right: 14px;
    left: auto;
    margin: 0;
    z-index: 8;
}

[data-cattype="51025"] .detail-page > .product-detail-info {
    position: relative;
    z-index: 2;
    background: #fff;
}

/* Keep the vertical gallery on the right at every viewport width. */
@media (max-width: 767px) {
    [data-cattype="51025"] .product-media-layout,
    [data-cattype="51025"] .product-media-layout.has-gallery {
        grid-template-columns: minmax(0, 1fr) 68px;
        grid-template-rows: minmax(0, 1fr);
        gap: 8px;
        height: clamp(300px, 92vw, 420px);
    }

    [data-cattype="51025"] .product-media-layout:not(.has-gallery) {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr);
    }

    [data-cattype="51025"] .product-gallery-rail,
    [data-cattype="51025"] .product-gallery-rail.has-overflow {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 0 minmax(0, 1fr) 0;
        gap: 0;
        width: 68px;
        height: 100%;
    }

    [data-cattype="51025"] .product-gallery-rail.has-overflow {
        grid-template-rows: 24px minmax(0, 1fr) 24px;
        gap: 6px;
    }

    [data-cattype="51025"] .productimggallery {
        overflow-x: hidden;
        overflow-y: auto;
        scroll-snap-type: y proximity;
        touch-action: pan-y;
    }

    [data-cattype="51025"] .detail-page .productimggallery ul.listImage {
        flex-direction: column;
        width: 100%;
        height: auto;
    }

    [data-cattype="51025"] .detail-page .productimggallery ul.listImage li,
    [data-cattype="51025"] .detail-page .productimggallery ul.listImage li .wrapper_image {
        width: 100%;
        height: 60px;
        margin: 0;
    }

    [data-cattype="51025"] .detail-page .productimggallery ul.listImage li {
        flex: 0 0 60px;
        scroll-snap-align: start;
    }

    [data-cattype="51025"] .gallery-scroll-button {
        width: 100%;
        height: 24px;
    }

    [data-cattype="51025"] .gallery-scroll-up::before {
        transform: translate(-50%, -30%) rotate(45deg);
    }

    [data-cattype="51025"] .gallery-scroll-down::before {
        transform: translate(-50%, -70%) rotate(225deg);
    }
}

/* Override the legacy negative tag position so SALE remains fully visible. */
[data-cattype="51025"] .detail-page .wrapper_productimg .product-main-media > .tag {
    top: 12px;
    right: 12px;
    left: auto;
    margin: 0;
    z-index: 12;
}

/* Let the main product thumbnail define a near-perfect 1:1 media frame. */
[data-cattype="51025"] .product-media-layout,
[data-cattype="51025"] .product-media-layout.has-gallery,
[data-cattype="51025"] .product-media-layout:not(.has-gallery) {
    grid-template-rows: auto;
    height: auto;
    align-items: stretch;
}

[data-cattype="51025"] .product-main-media {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
}

[data-cattype="51025"] .product-gallery-rail,
[data-cattype="51025"] .product-gallery-rail.has-overflow {
    height: auto;
    align-self: stretch;
}

/* Detail post date: title -> poston -> breadcrumb. */
[data-cattype="51025"] .osp-51025-detail-poston {
    margin: 13px 0 0;
    color: #777f88;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: .04em;
    text-align: center;
}

[data-cattype="51025"] .osp-51025-detail-poston .poston,
[data-cattype="51025"] .osp-51025-detail-poston .poston b,
[data-cattype="51025"] .osp-51025-detail-poston em {
    color: inherit;
    font-style: normal;
    font-weight: 400;
}

[data-cattype="51025"] .osp-51025-detail-poston + .osp-51025-detail-breadcrumb {
    margin-top: 11px;
}

/* Fixed product purchase bar. The visible bar is portalled to body so no
   transformed page wrapper can turn position: fixed into local positioning. */
section[data-cattype="51025"].has-floating-purchase {
    padding-bottom: 108px;
}

[data-cattype="51025"] .product-quantity-row {
    margin: 10px 0 24px;
}

body .product-floating-purchase-portal[data-cattype="51025"] {
    position: fixed !important;
    right: auto !important;
    bottom: 0 !important;
    left: 50% !important;
    z-index: 1090;

    display: none;
    grid-template-columns: minmax(0, 1fr) minmax(190px, 300px);
    align-items: center;
    gap: 20px;

    width: min(760px, calc(100% - 24px));
    min-height: 78px;
    margin: 0;
    padding: 12px 16px;

    border: 1px solid #e1e3e5;
    border-bottom: 0;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 -8px 28px rgba(17, 17, 17, .12);
    transform: translateX(-50%);
    backdrop-filter: blur(8px);
}

body .product-floating-purchase-portal[data-cattype="51025"].is-ready {
    display: grid !important;
}

[data-cattype="51025"] .product-floating-purchase.is-floating-source {
    display: none !important;
}

body .product-floating-purchase-portal[data-cattype="51025"] .product-floating-price {
    min-width: 0;
    margin: 0;
}

body .product-floating-purchase-portal[data-cattype="51025"] .product-floating-price .price {
    margin: 0;
    font-size: clamp(24px, 3vw, 32px);
    white-space: nowrap;
}

body .product-floating-purchase-portal[data-cattype="51025"] .product-floating-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin: 0 !important;
    padding: 10px 18px;
    border: 1px solid #111;
    border-radius: 0;
    background: #111;
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
}

body .product-floating-purchase-portal[data-cattype="51025"] .product-floating-trigger:hover,
body .product-floating-purchase-portal[data-cattype="51025"] .product-floating-trigger:focus {
    border-color: #d59a20;
    background: #d59a20;
    color: #111;
    outline: 0;
}

@media (max-width: 575px) {
    section[data-cattype="51025"].has-floating-purchase {
        padding-bottom: 50px;
    }

    body .product-floating-purchase-portal[data-cattype="51025"] {
        grid-template-columns: minmax(0, 1fr) minmax(135px, 44%);
        gap: 10px;
        width: calc(100% - 12px);
        min-height: 70px;
        padding: 10px 12px;
    }

    body .product-floating-purchase-portal[data-cattype="51025"] .product-floating-price .price {
        font-size: 23px;
    }

    body .product-floating-purchase-portal[data-cattype="51025"] .product-floating-trigger {
        min-height: 44px;
        padding-right: 10px;
        padding-left: 10px;
        font-size: 11px;
    }
}

/* Final gallery geometry: the main image is always square. The thumbnail
   rail shares that exact height and scrolls vertically when it overflows. */
[data-cattype="51025"] .product-media-layout.has-gallery {
    grid-template-rows: minmax(0, 1fr) !important;
    height: var(--osp51025-main-size) !important;
    min-height: 0 !important;
    max-height: none !important;
    align-items: stretch;
}

[data-cattype="51025"] .product-media-layout.has-gallery .product-main-media {
    width: 100%;
    height: 100% !important;
    min-height: 0;
    aspect-ratio: 1 / 1;
}

[data-cattype="51025"] .product-media-layout.has-gallery .product-gallery-rail,
[data-cattype="51025"] .product-media-layout.has-gallery .product-gallery-rail.has-overflow {
    min-height: 0;
    height: 100% !important;
    max-height: 100%;
    overflow: hidden;
    align-self: stretch;
}

[data-cattype="51025"] .product-media-layout.has-gallery .productimggallery {
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    cursor: grab;
}

[data-cattype="51025"] .product-media-layout.has-gallery .productimggallery::-webkit-scrollbar {
    display: none;
}

[data-cattype="51025"] .product-media-layout.has-gallery .productimggallery.is-dragging {
    cursor: grabbing;
    user-select: none;
}

[data-cattype="51025"] .detail-page .product-media-layout.has-gallery .productimggallery ul.listImage li,
[data-cattype="51025"] .detail-page .product-media-layout.has-gallery .productimggallery ul.listImage li .wrapper_image {
    box-sizing: border-box;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    margin: 0;
}

[data-cattype="51025"] .detail-page .product-media-layout.has-gallery .productimggallery ul.listImage li {
    flex: 0 0 auto !important;
    scroll-snap-align: start;
}

[data-cattype="51025"] .detail-page .product-media-layout.has-gallery .productimggallery .wrapper_image a,
[data-cattype="51025"] .detail-page .product-media-layout.has-gallery .productimggallery .wrapper_image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

/* Share row: label left, plain black social icons right. */
[data-cattype="51025"] .product-detail-info .social-media {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    gap: 14px;
    margin: 22px 0 30px;
    padding: 0;
    border: 0;
}

[data-cattype="51025"] .product-detail-info .social-media > .title {
    float: none;
    flex: 0 1 auto;
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    color: #666;
    font-size: 13px;
    font-weight: 400;
    line-height: 24px;
}

[data-cattype="51025"] .product-detail-info .social-media .social-share-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    width: 18px;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #111;
    font-size: 16px;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    box-shadow: none;
}

[data-cattype="51025"] .product-detail-info .social-media .social-share-link i {
    color: #111;
    font-size: inherit;
    line-height: 1;
}

[data-cattype="51025"] .product-detail-info .social-media .social-share-link:hover,
[data-cattype="51025"] .product-detail-info .social-media .social-share-link:focus {
    border: 0;
    background: transparent;
    color: #777;
    outline: 0;
}

[data-cattype="51025"] .product-detail-info .social-media .social-share-link:hover i,
[data-cattype="51025"] .product-detail-info .social-media .social-share-link:focus i {
    color: #777;
}

/* Description is a regular content block, not a legacy tab. */
[data-cattype="51025"] .product-detail-info .product-description-section {
    width: 100%;
    margin: 0 0 42px;
    padding: 0;
    border: 0;
}

[data-cattype="51025"] .product-detail-info .product-description-section h3 {
    display: block;
    width: auto;
    margin: 0 0 22px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #111;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
}

[data-cattype="51025"] .product-detail-info .product-description-copy {
    width: 100%;
    margin: 0;
    padding: 0;
    color: #222;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
}

[data-cattype="51025"] .product-detail-info .product-description-copy > :first-child {
    margin-top: 0;
}

/* Related products called from the backend relationship, styled like OSP 401. */
[data-cattype="51025"] .osp-51025-related {
    width: 100%;
    margin: 72px 0 24px;
    padding: 68px 0 0;
    border-top: 1px solid #ededed;
}

[data-cattype="51025"] .osp-51025-related-heading {
    margin-bottom: 38px;
    text-align: center;
}

[data-cattype="51025"] .osp-51025-related-eyebrow {
    margin-bottom: 8px;
    color: #174e8c;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: .14em;
    text-transform: uppercase;
}

[data-cattype="51025"] .osp-51025-related-heading h2 {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0 0 16px;
    color: #111;
    font-size: clamp(29px, 3vw, 38px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -.02em;
    text-transform: none;
}

[data-cattype="51025"] .osp-51025-related-heading h2::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 64px;
    height: 2px;
    content: "";
    background: #f28c00;
    transform: translateX(-50%);
}

[data-cattype="51025"] .osp-51025-related .osp-51025-related-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 36px 30px;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

[data-cattype="51025"] .osp-51025-related-grid .wrapper_item {
    flex: 0 1 270px;
    width: 270px;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
}

[data-cattype="51025"] .osp-51025-related-grid .wrapper_item > a:first-child {
    display: block;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border: 1px solid #e7e7e7;
    background: #f3f3f1;
}

[data-cattype="51025"] .osp-51025-related-grid .wrapper_item > a:first-child img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
}

@media (max-width: 575px) {
    [data-cattype="51025"] .osp-51025-related {
        margin-top: 54px;
        padding-top: 52px;
    }

    [data-cattype="51025"] .osp-51025-related-heading {
        margin-bottom: 28px;
    }

    [data-cattype="51025"] .osp-51025-related .osp-51025-related-grid {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 18px;
        padding: 0 24px 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    [data-cattype="51025"] .osp-51025-related .osp-51025-related-grid::-webkit-scrollbar {
        display: none;
    }

    [data-cattype="51025"] .osp-51025-related-grid .wrapper_item {
        flex: 0 0 86%;
        width: 86%;
        scroll-snap-align: center;
    }
}

/* Keep carousel sizing authoritative after the base related-product layout. */
[data-cattype="51025"] .osp-51025-related .osp-51025-related-grid {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 30px;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

[data-cattype="51025"] .osp-51025-related-grid .wrapper_item {
    flex: 0 0 calc((100% - 60px) / 3);
    width: calc((100% - 60px) / 3);
    scroll-snap-align: start;
}

@media (max-width: 991px) and (min-width: 576px) {
    [data-cattype="51025"] .osp-51025-related .osp-51025-related-grid {
        gap: 20px;
    }

    [data-cattype="51025"] .osp-51025-related-grid .wrapper_item {
        flex-basis: calc((100% - 20px) / 2);
        width: calc((100% - 20px) / 2);
    }
}

@media (max-width: 575px) {
    [data-cattype="51025"] .osp-51025-related .osp-51025-related-grid {
        gap: 18px;
        padding: 0 11% 14px;
    }

    [data-cattype="51025"] .osp-51025-related-grid .wrapper_item {
        flex: 0 0 min(78%, 340px);
        width: min(78%, 340px);
        scroll-snap-align: center;
    }

    [data-cattype="51025"] .osp-51025-related-nav {
        top: calc(min(78vw, 340px) / 2);
    }
}

/* Complete related card details: title, part number and price. */
[data-cattype="51025"] .osp-51025-related-grid .item_content.grid_item {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
}

[data-cattype="51025"] .osp-51025-related-grid .grid_item form.add-to-cart {
    margin: 0;
    padding: 18px 4px 0;
    text-align: center;
}

[data-cattype="51025"] .osp-51025-related-grid .grid_item .title,
[data-cattype="51025"] .osp-51025-related-grid .grid_item .title > a {
    display: block;
    min-height: 0;
    margin: 0;
    color: #111;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    text-transform: none;
}

[data-cattype="51025"] .osp-51025-related-grid .grid_item .title > a:hover,
[data-cattype="51025"] .osp-51025-related-grid .grid_item .title > a:focus {
    color: #f28c00;
}

[data-cattype="51025"] .osp-51025-related-grid .osp-51025-mobile-poston {
    display: block !important;
    min-height: 16px;
    margin: 5px 0 0;
    color: #888;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
}

[data-cattype="51025"] .osp-51025-related-grid .osp-51025-mobile-poston .poston,
[data-cattype="51025"] .osp-51025-related-grid .osp-51025-mobile-poston b,
[data-cattype="51025"] .osp-51025-related-grid .osp-51025-mobile-poston em {
    display: inline;
    color: inherit;
    font-style: normal;
    font-weight: 400;
}

[data-cattype="51025"] .osp-51025-related-grid .grid_item .price {
    margin: 8px 0 0;
    color: #666;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.35;
    text-align: center;
}

[data-cattype="51025"] .osp-51025-related-grid .grid_item .promotecode,
[data-cattype="51025"] .osp-51025-related-grid .grid_item .product-variant-note {
    margin: 6px 0 0;
    color: #999;
    font-size: 10px;
    font-weight: 400;
}

[data-cattype="51025"] .osp-51025-related-grid .grid_item .osp-51025-actions {
    display: none !important;
}
