.fhpw-shell {
    --fhpw-columns: 4;
    --fhpw-slides: 4;
    --fhpw-gap: 20px;
    --fhpw-card-width: 280px;
    position: relative;
    width: 100%;
}

.fhpw-element-title {
    margin: 0 0 24px;
}

.fhpw-carousel-frame {
    position: relative;
}

.fhpw-disabled-overflow .fhpw-carousel-frame {
    overflow: hidden;
}

.fhpw-products {
    gap: var(--fhpw-gap);
}

.fhpw-layout-grid .fhpw-products {
    display: grid;
    grid-template-columns: repeat(var(--fhpw-columns), minmax(0, 1fr));
    align-items: start;
}

.fhpw-layout-carousel .fhpw-products {
    display: flex;
    align-items: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
    transition: height .35s ease;
    cursor: grab;
    touch-action: pan-y;
}

.fhpw-layout-carousel .fhpw-products.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}

.fhpw-layout-carousel .fhpw-products::-webkit-scrollbar {
    display: none;
}

.fhpw-layout-carousel .fhpw-card {
    flex: 0 0 var(--fhpw-card-width);
    width: var(--fhpw-card-width);
    scroll-snap-align: start;
}

.fhpw-center-mode .fhpw-card {
    scroll-snap-align: center;
}

.fhpw-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.fhpw-products-background-off .fhpw-card {
    background: transparent;
}

.fhpw-products-border .fhpw-card {
    border: 1px solid rgba(0, 0, 0, .10);
}

.fhpw-products-shadow .fhpw-card {
    box-shadow: 0 12px 34px rgba(0, 0, 0, .10);
}

.fhpw-highlighted-products .fhpw-card:first-child {
    box-shadow: 0 16px 42px rgba(0, 0, 0, .14);
    transform: translateY(-2px);
}

.fhpw-card__image-link {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    background: #f4f4f4;
    text-decoration: none;
}

.fhpw-card__media {
    position: relative;
    display: block;
    width: 100%;
}

.fhpw-card__image {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition-property: opacity, transform;
    transition-duration: .45s;
    transition-timing-function: ease;
}

.fhpw-image-mode-auto .fhpw-card__image-link,
.fhpw-image-mode-auto .fhpw-card__media {
    height: auto;
}

.fhpw-image-mode-auto .fhpw-card__image--primary {
    position: relative;
    height: auto;
}

.fhpw-image-mode-auto .fhpw-card__image--secondary {
    position: absolute;
    inset: 0;
    height: 100%;
}

.fhpw-image-mode-fixed .fhpw-card__media,
.fhpw-image-mode-ratio .fhpw-card__media {
    position: absolute;
    inset: 0;
    height: 100%;
}

.fhpw-image-mode-fixed .fhpw-card__image,
.fhpw-image-mode-ratio .fhpw-card__image {
    position: absolute;
    inset: 0;
    height: 100%;
}

.fhpw-card__image--secondary {
    opacity: 0;
}

.fhpw-hover-fade .fhpw-card--has-secondary:hover .fhpw-card__image--primary,
.fhpw-hover-fade_zoom .fhpw-card--has-secondary:hover .fhpw-card__image--primary {
    opacity: 0;
}

.fhpw-hover-fade .fhpw-card--has-secondary:hover .fhpw-card__image--secondary,
.fhpw-hover-fade_zoom .fhpw-card--has-secondary:hover .fhpw-card__image--secondary {
    opacity: 1;
}

.fhpw-hover-zoom .fhpw-card:hover .fhpw-card__image--primary,
.fhpw-hover-fade_zoom .fhpw-card:hover .fhpw-card__image--secondary,
.fhpw-hover-fade .fhpw-card:not(.fhpw-card--has-secondary):hover .fhpw-card__image--primary {
    transform: scale(1.035);
}

.fhpw-hover-fade_zoom .fhpw-card__image--secondary {
    transform: scale(1.035);
}

.fhpw-hover-fade_zoom .fhpw-card:hover .fhpw-card__image--secondary {
    transform: scale(1);
}

.fhpw-hover-none .fhpw-card__image {
    transition: none;
}

.fhpw-card__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.fhpw-card__category {
    margin-bottom: 7px;
    color: #777;
    font-size: 12px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.fhpw-card__title {
    margin: 0;
    width: 100%;
    font-size: 18px;
    line-height: 1.35;
}

.fhpw-card__title a {
    color: #161616;
    text-decoration: none;
}

.fhpw-card__summary {
    margin-top: 9px;
    color: #666;
    font-size: 13px;
    line-height: 1.55;
}

.fhpw-card__rating {
    margin-top: 9px;
}

.fhpw-card__price {
    margin-top: 10px;
    color: #161616;
    font-size: 15px;
    font-weight: 600;
}

.fhpw-card__price del {
    margin-right: 6px;
    opacity: .55;
    font-weight: 400;
}

.fhpw-card__price ins {
    text-decoration: none;
}

.fhpw-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    padding: 10px 17px;
    border: 0;
    background: #161616;
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, transform .2s ease, opacity .2s ease;
}

.fhpw-card__button:hover {
    background: #333;
    color: #fff;
    transform: translateY(-1px);
}

.fhpw-product-layout-full_width_button .fhpw-card__button,
.fhpw-product-layout-full_width_button .fhpw-card__cart {
    width: 100%;
}

.fhpw-product-layout-button_hover .fhpw-card__button,
.fhpw-product-layout-buttons_hover .fhpw-card__button {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}

.fhpw-product-layout-button_hover .fhpw-card:hover .fhpw-card__button,
.fhpw-product-layout-buttons_hover .fhpw-card:hover .fhpw-card__button,
.fhpw-product-layout-button_hover .fhpw-card:focus-within .fhpw-card__button,
.fhpw-product-layout-buttons_hover .fhpw-card:focus-within .fhpw-card__button {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.fhpw-product-layout-small .fhpw-card__content {
    padding: 12px !important;
}

.fhpw-product-layout-small .fhpw-card__title {
    font-size: 15px;
}

.fhpw-product-layout-tiled .fhpw-card {
    border: 1px solid rgba(0, 0, 0, .08);
}

.fhpw-product-layout-full_info_image .fhpw-card__content,
.fhpw-product-layout-full_info_hover .fhpw-card__content,
.fhpw-product-layout-summary_hover .fhpw-card__content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    color: #fff;
    background: linear-gradient(to top, rgba(0, 0, 0, .78), rgba(0, 0, 0, 0));
}

.fhpw-product-layout-full_info_image .fhpw-card__title a,
.fhpw-product-layout-full_info_hover .fhpw-card__title a,
.fhpw-product-layout-summary_hover .fhpw-card__title a,
.fhpw-product-layout-full_info_image .fhpw-card__price,
.fhpw-product-layout-full_info_hover .fhpw-card__price,
.fhpw-product-layout-summary_hover .fhpw-card__price,
.fhpw-product-layout-full_info_image .fhpw-card__summary,
.fhpw-product-layout-full_info_hover .fhpw-card__summary,
.fhpw-product-layout-summary_hover .fhpw-card__summary,
.fhpw-product-layout-full_info_image .fhpw-card__category,
.fhpw-product-layout-full_info_hover .fhpw-card__category,
.fhpw-product-layout-summary_hover .fhpw-card__category {
    color: #fff;
}

.fhpw-product-layout-full_info_hover .fhpw-card__content,
.fhpw-product-layout-summary_hover .fhpw-card__content {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .25s ease, transform .25s ease;
}

.fhpw-product-layout-full_info_hover .fhpw-card:hover .fhpw-card__content,
.fhpw-product-layout-summary_hover .fhpw-card:hover .fhpw-card__content,
.fhpw-product-layout-full_info_hover .fhpw-card:focus-within .fhpw-card__content,
.fhpw-product-layout-summary_hover .fhpw-card:focus-within .fhpw-card__content {
    opacity: 1;
    transform: translateY(0);
}

.fhpw-card__sale {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 4;
    padding: 6px 10px;
    border-radius: 999px;
    background: #161616;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.fhpw-card__countdown {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    padding: 7px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(8px);
}

.fhpw-card__countdown > span {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.fhpw-card__countdown strong {
    font-size: 13px;
    line-height: 1.1;
}

.fhpw-card__countdown small {
    margin-top: 2px;
    font-size: 9px;
    line-height: 1;
    text-transform: uppercase;
}

.fhpw-stock-progress {
    width: 100%;
    margin-top: 13px;
}

.fhpw-stock-progress__labels {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
    color: #777;
    font-size: 11px;
}

.fhpw-stock-progress__track {
    display: block;
    width: 100%;
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8e8e8;
}

.fhpw-stock-progress__track > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #161616;
}

.fhpw-card__cart {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    margin-top: 15px;
}

.fhpw-card__cart .quantity {
    margin: 0;
}

.fhpw-card__cart .qty {
    width: 64px;
    height: 100%;
    min-height: 38px;
    padding: 6px;
    border: 1px solid #d7d7d7;
    text-align: center;
}

.fhpw-card__cart .fhpw-card__button {
    flex: 1 1 auto;
    margin-top: 0;
}

.fhpw-color-scheme-dark .fhpw-card {
    background: #181818;
    color: #fff;
}

.fhpw-color-scheme-dark .fhpw-card__title a,
.fhpw-color-scheme-dark .fhpw-card__price {
    color: #fff;
}

.fhpw-color-scheme-dark .fhpw-card__category,
.fhpw-color-scheme-dark .fhpw-card__summary,
.fhpw-color-scheme-dark .fhpw-stock-progress__labels {
    color: rgba(255, 255, 255, .68);
}

.fhpw-color-scheme-light .fhpw-card {
    color: #161616;
}

.fhpw-arrow {
    position: absolute;
    top: 50%;
    z-index: 8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: #161616;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .10);
    cursor: pointer;
    transform: translateY(-50%);
    transition: opacity .2s ease, transform .2s ease;
}

.fhpw-arrow:hover {
    transform: translateY(-50%) scale(1.04);
}

.fhpw-arrow:disabled {
    opacity: .3;
    cursor: default;
}

.fhpw-arrow--prev {
    left: 10px;
}

.fhpw-arrow--next {
    right: 10px;
}

.fhpw-arrow-position-outside .fhpw-arrow--prev {
    left: -20px;
}

.fhpw-arrow-position-outside .fhpw-arrow--next {
    right: -20px;
}

.fhpw-arrow-position-top .fhpw-arrow {
    top: -30px;
    transform: none;
}

.fhpw-arrow-position-top .fhpw-arrow:hover {
    transform: scale(1.04);
}

.fhpw-arrow-position-top .fhpw-arrow--prev {
    right: 52px;
    left: auto;
}

.fhpw-arrow-position-top .fhpw-arrow--next {
    right: 0;
}

.fhpw-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.fhpw-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c7c7c7;
    cursor: pointer;
    transition: width .2s ease, border-radius .2s ease, background-color .2s ease;
}

.fhpw-dot.is-active {
    width: 24px;
    border-radius: 999px;
    background: #161616;
}

.fhpw-empty {
    padding: 24px;
    border: 1px solid #e6e6e6;
    background: #fafafa;
    color: #555;
}

@media (hover: none) {
    .fhpw-product-layout-button_hover .fhpw-card__button,
    .fhpw-product-layout-buttons_hover .fhpw-card__button,
    .fhpw-product-layout-full_info_hover .fhpw-card__content,
    .fhpw-product-layout-summary_hover .fhpw-card__content {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }
}

@media (max-width: 767px) {
    .fhpw-arrow {
        width: 36px;
        height: 36px;
    }

    .fhpw-arrow--prev {
        left: 5px;
    }

    .fhpw-arrow--next {
        right: 5px;
    }

    .fhpw-arrow-position-outside .fhpw-arrow--prev {
        left: 0;
    }

    .fhpw-arrow-position-outside .fhpw-arrow--next {
        right: 0;
    }

    .fhpw-card__countdown {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
