section[data-cattype="401"] {
    min-height: 0;
    padding: 100px 0;
    background-color: #fff;
}

section[data-cattype="401"] > .container {
    width: calc(100% - 40px);
    max-width: 1320px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
}

section[data-cattype="401"] .osp-401-heading {
    margin-bottom: 42px;
    text-align: center;
}

section[data-cattype="401"] .osp-401-eyebrow {
    margin-bottom: 8px;
    color: #999;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: .14em;
    text-transform: uppercase;
}

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

section[data-cattype="401"] .osp-401-heading h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 70px;
    height: 3px;
    background: #dcb14a;
    transform: translateX(-50%);
}

section[data-cattype="401"] .wrapper_grid_item {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: center;
    gap: 42px 30px;
    width: 100%;
}

section[data-cattype="401"] .wrapper_grid_item.osp-401-slider {
    position: relative;
    display: block;
    max-width: none;
    padding: 0 15px;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

section[data-cattype="401"] .wrapper_grid_item.osp-401-slider:active {
    cursor: grabbing;
}

section[data-cattype="401"] .osp-401-slider .owl-wrapper-outer {
    margin: 0 -15px;
    padding: 0 15px;
}

section[data-cattype="401"] .osp-401-slider .owl-item {
    box-sizing: border-box;
    padding: 0 15px;
}

section[data-cattype="401"] .wrapper_grid_item.osp-401-slider .item_content.grid_item {
    width: 100%;
    max-width: none;
}

section[data-cattype="401"] .wrapper_grid_item.osp-401-slider .grid_item a.link-img {
    height: auto;
    aspect-ratio: 1 / 1;
}

section[data-cattype="401"] .osp-401-slider .owl-controls {
    margin: 0;
}

section[data-cattype="401"] .osp-401-slider .owl-buttons > div {
    position: absolute;
    top: clamp(140px, calc((100vw - 70px) / 8), 161px);
    z-index: 6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 24px rgba(17, 17, 17, .10);
    color: #333;
    font-size: 17px;
    line-height: 1;
    opacity: 1;
    transform: translateY(-50%);
    transition: color .25s ease, background-color .25s ease, box-shadow .25s ease;
}

section[data-cattype="401"] .osp-401-slider .owl-buttons > div:hover {
    background: #111;
    box-shadow: 0 10px 28px rgba(17, 17, 17, .18);
    color: #fff;
}

section[data-cattype="401"] .osp-401-slider .owl-prev {
    left: -48px;
}

section[data-cattype="401"] .osp-401-slider .owl-next {
    right: -48px;
}

section[data-cattype="401"] .wrapper_grid_item .item_content.grid_item {
    position: relative;
    flex: 0 1 270px;
    width: 270px;
    max-width: 100%;
    height: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
}

section[data-cattype="401"] .grid_item a.link-img {
    position: relative;
    display: block;
    width: 100%;
    height: 270px;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid #e7e7e7;
    border-radius: 0;
    background-color: #f3f3f1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: border-color .25s ease;
}

section[data-cattype="401"] .grid_item:hover a.link-img {
    border-color: #d8d8d8;
}

section[data-cattype="401"] .grid_item a.link-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .10);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

section[data-cattype="401"] .grid_item:hover a.link-img::after {
    opacity: 1;
    visibility: visible;
}

section[data-cattype="401"] .grid_item img.product_img_line {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
}

section[data-cattype="401"] .grid_item .sales-tag,
section[data-cattype="401"] .grid_item .tag {
    top: 13px;
    right: 13px;
    z-index: 5;
    width: auto;
    min-width: 50px;
    height: 30px;
    margin: 0;
    padding: 0 11px;
    border: 0;
    border-radius: 2px;
    background: #e32626;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    line-height: 30px;
    letter-spacing: .04em;
    text-align: center;
    text-transform: uppercase;
    transform: none;
    box-shadow: 0 5px 14px rgba(227, 38, 38, .18);
}

section[data-cattype="401"] .grid_item .sales-tag::before,
section[data-cattype="401"] .grid_item .tag::before {
    position: absolute;
    top: 0;
    left: -14px;
    display: block;
    width: 0;
    height: 0;
    content: "";
    border-top: 15px solid transparent;
    border-right: 14px solid #e32626;
    border-bottom: 15px solid transparent;
}

section[data-cattype="401"] .grid_item .sales-tag::after,
section[data-cattype="401"] .grid_item .tag::after {
    position: absolute;
    top: 13px;
    left: -7px;
    display: block;
    width: 4px;
    height: 4px;
    content: "";
    border-radius: 50%;
    background: #fff;
}

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

section[data-cattype="401"] .grid_item {
    --osp401-action-top: clamp(120px, 10vw, 150px);
}

section[data-cattype="401"] .grid_item .osp-401-view-action,
section[data-cattype="401"] .grid_item .group-quantity-control {
    position: absolute;
    top: var(--osp401-action-top);
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 16px);
    transition: opacity .35s ease, visibility .35s ease, transform .35s ease;
}

section[data-cattype="401"] .grid_item .osp-401-view-action {
    left: calc(50% - 30px);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .12);
    color: #111;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
}

section[data-cattype="401"] .grid_item.osp-401-view-only .osp-401-view-action {
    left: 50%;
}

section[data-cattype="401"] .grid_item .group-quantity-control {
    left: calc(50% + 30px);
}

section[data-cattype="401"] .grid_item:hover .osp-401-view-action,
section[data-cattype="401"] .grid_item:focus-within .osp-401-view-action,
section[data-cattype="401"] .grid_item:hover .group-quantity-control,
section[data-cattype="401"] .grid_item:focus-within .group-quantity-control {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

section[data-cattype="401"] .grid_item .osp-401-view-action:hover,
section[data-cattype="401"] .grid_item .osp-401-view-action:focus {
    background: #111;
    color: #fff;
}

section[data-cattype="401"] .grid_item .group-quantity-control > .input-group-btn,
section[data-cattype="401"] .grid_item .group-quantity-control > input[name="qty"] {
    display: none !important;
}

section[data-cattype="401"] .grid_item .group-quantity-control .btnbuy_form {
    display: block;
    width: 48px;
    height: 48px;
}

section[data-cattype="401"] .grid_item .group-quantity-control .btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .12);
    color: #111;
    font-size: 18px;
    line-height: 1;
    transition: color .25s ease, background-color .25s ease;
}

section[data-cattype="401"] .grid_item .osp-401-view-action > span,
section[data-cattype="401"] .grid_item .group-quantity-control .btn-primary > span {
    position: absolute;
    top: calc(100% + 9px);
    left: 50%;
    display: block;
    width: max-content;
    padding: 6px 9px;
    border-radius: 3px;
    background: #111;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .02em;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -3px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

section[data-cattype="401"] .grid_item .osp-401-view-action:hover > span,
section[data-cattype="401"] .grid_item .osp-401-view-action:focus > span,
section[data-cattype="401"] .grid_item .group-quantity-control .btn-primary:hover > span,
section[data-cattype="401"] .grid_item .group-quantity-control .btn-primary:focus > span {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

section[data-cattype="401"] .grid_item .group-quantity-control .btn-primary:hover,
section[data-cattype="401"] .grid_item .group-quantity-control .btn-primary:focus {
    background: #111;
    color: #fff;
}

/* The global AJAX cart script temporarily adds .loading to the form.
   Keep both hover actions anchored while that request is running. */
section[data-cattype="401"] .grid_item form.add-to-cart.loading,
section[data-cattype="401"] .grid_item form.add-to-cart.loading .group-quantity-control,
section[data-cattype="401"] .grid_item form.add-to-cart.loading .btnbuy_form,
section[data-cattype="401"] .grid_item form.add-to-cart.loading .btn-primary {
    animation: none !important;
}

section[data-cattype="401"] .grid_item form.add-to-cart.loading .group-quantity-control {
    top: var(--osp401-action-top) !important;
    left: calc(50% + 30px) !important;
    width: 48px !important;
    height: 48px !important;
    margin: 0 !important;
}

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

section[data-cattype="401"] .grid_item .title > a:hover {
    color: #dcb14a;
}

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

section[data-cattype="401"] .grid_item .promotecode {
    min-height: 0;
    margin: 0 0 10px;
}

section[data-cattype="401"] .grid_item small {
    display: block;
    margin-top: 8px;
}

@media (max-width: 1199px) {
    section[data-cattype="401"] {
        padding: 82px 0;
    }

    section[data-cattype="401"] .osp-401-slider .owl-prev {
        left: -8px;
    }

    section[data-cattype="401"] .osp-401-slider .owl-next {
        right: -8px;
    }

    section[data-cattype="401"] .osp-401-slider .owl-buttons > div {
        top: clamp(112px, calc((100vw - 70px) / 6), 183px);
    }

}

@media (max-width: 991px) {
    section[data-cattype="401"] {
        padding: 68px 0;
    }

    section[data-cattype="401"] .osp-401-heading {
        margin-bottom: 34px;
    }

    section[data-cattype="401"] .wrapper_grid_item {
        gap: 34px 20px;
    }

    section[data-cattype="401"] .wrapper_grid_item .item_content.grid_item {
        flex-basis: calc(50% - 10px);
        width: calc(50% - 10px);
    }

    section[data-cattype="401"] .grid_item a.link-img {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    section[data-cattype="401"] .grid_item {
        --osp401-action-top: clamp(118px, 16vw, 155px);
    }
}

@media (max-width: 767px) and (min-width: 576px) {
    section[data-cattype="401"] .osp-401-slider .owl-buttons > div {
        top: calc((100vw - 70px) / 4);
    }
}

@media (hover: none) {
    section[data-cattype="401"] .grid_item .osp-401-view-action,
    section[data-cattype="401"] .grid_item .group-quantity-control {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }
}

@media (max-width: 575px) {
    section[data-cattype="401"] {
        padding: 52px 0;
    }

    section[data-cattype="401"] > .container {
        width: calc(100% - 30px);
    }

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

    section[data-cattype="401"] .osp-401-heading h2 {
        font-size: 30px;
    }

    section[data-cattype="401"] .wrapper_grid_item {
        gap: 34px;
        max-width: 390px;
        margin: 0 auto;
    }

    section[data-cattype="401"] .wrapper_grid_item.osp-401-slider {
        max-width: none;
        padding-right: 20px;
        padding-left: 20px;
    }

    section[data-cattype="401"] .osp-401-slider .owl-wrapper-outer {
        margin-right: -10px;
        margin-left: -10px;
        padding-right: 10px;
        padding-left: 10px;
    }

    section[data-cattype="401"] .osp-401-slider .owl-item {
        padding-right: 10px;
        padding-left: 10px;
    }

    section[data-cattype="401"] .osp-401-slider .owl-buttons > div {
        top: calc((100vw - 70px) / 2);
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    section[data-cattype="401"] .osp-401-slider .owl-prev {
        left: 2px;
    }

    section[data-cattype="401"] .osp-401-slider .owl-next {
        right: 2px;
    }

    section[data-cattype="401"] .wrapper_grid_item .item_content.grid_item {
        flex-basis: 100%;
        width: 100%;
    }

    section[data-cattype="401"] .grid_item {
        --osp401-action-top: calc((100vw - 70px) / 2);
    }

    section[data-cattype="401"] .grid_item form.add-to-cart {
        padding-top: 15px;
    }
}
