/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

/* base product-card atoms inlined from assets/styles/catalog-item.css (kept above template overrides) */
.product-cat-action-container {
    display: block;
    position: relative;
    width: 2.375rem;
    height: 2.375rem;
    margin-bottom: 0.5rem;
}
.product-cat-action {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    /* reset native <button> chrome so the action matches the <label> variant */
    -webkit-appearance: none;
    appearance: none;
    padding: 0;
    font: inherit;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(189, 189, 189, 0.5);
    border-radius: 50%;
    color: #bdbdbd;
    cursor: pointer;
}
.product-cat-action-container .product-cat-action {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition: all 0.1s ease-in;
}
.product-cat-action input[type="checkbox"] {
    display: none;
}
.product-cat-action > .product-cat-action-icon {
    display: block;
}
.bx-no-touch .product-cat-action:hover {
    top: -0.25rem;
    right: -0.25rem;
    bottom: -0.25rem;
    left: -0.25rem;
}
.bx-no-touch .product-cat-action:hover,
.product-cat-action.checked {
    background-color: var(--white);
    color: #ff5605;
}
.product-cat-image-action {
    position: absolute;
    right: 1rem;
    top: 1rem;
    z-index: 210;
}
.product-cat-limit {
    white-space: nowrap;
}
.product-cat-gift {
    display: none;
    position: absolute;
    bottom: 0;
    left: -0.5rem;
    z-index: 200;
    padding: 0.5rem;
    background-color: #ffa800;
    border-radius: 50%;
    color: var(--white);
}
.product-cat-gift .product-cat-gift-icon {
    display: none;
    font-size: 1.75rem;
}

.product-cat-image-overlay {
    white-space: nowrap;
}

.product-cat-image-overlay:before {
    display: inline-block;
    content: '';
    height: 100%;
    vertical-align: middle;
    width: 0;
}

.product-cat-image-overlay-link {
    display: inline-block;
    max-width: 100%;
    vertical-align: middle;
    white-space: normal;
}

.product-cat {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    left: 0;
    overflow: hidden;
    padding: 0;
    /* contain internal z-indexes (labels/actions z-index 200-210) so they
       don't paint over the sticky .site-header (z-index 30) on scroll */
    isolation: isolate;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
    /*Image*/
    /*Actions*/
}

.product-cat-container {
    background-color: var(--white);
    -webkit-box-flex: 1;
    -ms-flex: 1 1 100%;
    flex: 1 1 100%;
    max-width: 100%;
    position: relative;
}

/*.product-cat-container.hover {
  z-index: 210; }
.product-cat-container.hover .product-cat-popup {
  background-color: #ffffff;
  -webkit-box-shadow: 0 10px 32px 0 rgba(84, 133, 169, 0.3);
          box-shadow: 0 10px 32px 0 rgba(84, 133, 169, 0.3); }
.product-cat-container.hover .product-cat-popup {
  height: auto;
  left: 0;
  margin: -0.5rem -0.5rem auto;
  min-height: -webkit-calc(100% + 3rem);
  min-height: -moz-calc(100% + 3rem);
  min-height: calc(100% + 3rem);
  padding: 1.5rem;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-transition-property: margin, padding, min-height;
  -o-transition-property: margin, padding, min-height;
  -moz-transition-property: margin, padding, min-height;
  transition-property: margin, padding, min-height;
  -webkit-transition-duration: .2s;
     -moz-transition-duration: .2s;
       -o-transition-duration: .2s;
          transition-duration: .2s; }*/
.product-cat-line-card .product-cat-preview,
.product-cat-line-card .product-cat-properties {
    font-size: 0.875rem;
}

.product-cat-line-card .product-cat-head {
    height: auto;
}

.product-cat-table-card .product-cat-head {
    height: auto;
    margin-bottom: auto;
}

.product-cat-line-card .product-cat-buttons,
.product-cat-table-card .product-cat-buttons {
    position: relative;
    -webkit-align-self: center;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
}

.product-cat-info-container.product-cat-hidden {
    display: none;
    opacity: 0;
    -webkit-transition: opacity 300ms ease;
    -o-transition: opacity 300ms ease;
    transition: opacity 300ms ease;
}

.bx-touch .product-cat-info-container.product-cat-touch-hidden {
    display: none !important;
}

.product-cat-line-card .product-cat-info-container.product-cat-hidden,
.bx-no-touch .product-cat-container.hover .product-cat-popup .product-cat-info-container.product-cat-hidden {
    display: block;
    opacity: 1;
}

.product-cat-content {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 0;
    padding: 12px;
    margin-top: 6px;
}

.product-cat-image-wrapper {
    display: flex;
    position: relative;
    -webkit-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.product-cat-image-canvas {
    display: flex;
    position: relative;
    padding-bottom: 78%;
    height: 0;
    width: 100%;
}

.product-cat-image, .product-cat-image-slider, .product-cat-image-slide, .product-cat-image-overlay {
    bottom: 0;
    display: block;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
}

.product-cat-image-slider {
    overflow: hidden;
}

.bx-touch .product-cat-image-slider > .active,
.bx-touch .product-cat-image-slider > .next,
.bx-touch .product-cat-image-slider > .prev {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.bx-touch .product-cat-image-slider > .active {
    left: 0;
}

.bx-touch .product-cat-image-slider > .next,
.bx-touch .product-cat-image-slider > .prev {
    position: absolute;
    top: 0;
    width: 100%;
}

.bx-touch .product-cat-image-slider > .next {
    left: 100%;
}

.bx-touch .product-cat-image-slider > .prev {
    left: -100%;
}

.bx-touch .product-cat-image-slider > .next.left,
.bx-touch .product-cat-image-slider > .prev.right {
    left: 0;
}

.product-cat-image-slide {
    display: none;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
}

.product-cat-image-slide.active {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

@media all and (transform-3d), (-webkit-transform-3d) {
    .bx-touch .product-cat-image-slide {
        -webkit-transition: -webkit-transform .6s ease-in-out;
        transition: -webkit-transform .6s ease-in-out;
        -o-transition: -o-transform .6s ease-in-out;
        -o-transition: transform .6s ease-in-out;
        transition: transform .6s ease-in-out;
        transition: transform .6s ease-in-out, -webkit-transform .6s ease-in-out;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-perspective: 1000px;
        perspective: 1000px;
    }

    .bx-touch .product-cat-image-slide.next, .bx-touch .product-cat-image-slide.active.right {
        left: 0;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }

    .bx-touch .product-cat-image-slide.prev, .bx-touch .product-cat-image-slide.active.left {
        left: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }

    .bx-touch .product-cat-image-slide.next.left, .bx-touch .product-cat-image-slide.prev.right, .bx-touch .product-cat-image-slide.active {
        left: 0;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.product-cat-catalog_card_v2 .product-cat-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.product-cat-image-overlay {
    background-color: rgba(255, 255, 255, 0.6);
    display: none;
    height: 100%;
    text-align: center;
    width: 100%;
    z-index: 200;
}

.product-cat-container.hover .product-cat-image-wrapper:hover .product-cat-image-overlay {
    display: block;
}

.product-cat-image-overlay-link {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 0.25rem;
    color: var(--white);
    cursor: pointer;
    font-size: 75%;
    line-height: 1.08333;
    padding: 1rem;
    white-space: pre;
}

.product-cat-image-overlay-link:hover {
    background-color: rgba(0, 0, 0, 0.8);
    text-decoration: underline;
}

.product-cat-head {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

@media (min-width: 576px) {
    .product-cat-head {
        height: 6.375rem;
    }
}

.product-cat-data {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.product-cat-title {
    font-weight: 700;
    /* max-height: 2.5rem; */
    margin-bottom: 0.25rem;
    overflow: hidden;
}

.product-cat-title > a,
.product-cat-title > a:hover {
    color: var(--ink);
}

.product-cat-parent {
    height: 54px;
    line-height: 1.1;
    margin-bottom: 8px;
    overflow: hidden;
}

.product-cat-parent > a,
.product-cat-parent > a:hover {
    color: var(--ink);
}

.product-cat-preview-container {
    margin-bottom: 1.5rem;
}

.product-cat-price-container {
    min-width: 1px;
}

.product-cat-info-container-title {
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .product-cat-table-card .product-cat-price-container {
        position: relative;
        top: -1.25rem;
    }

    .product-cat-table-card .product-cat-content {
        margin-bottom: 1.625rem;
        margin-top: 1.625rem;
    }

    .product-cat .product-cat-deals {
        top: -1.5rem;
    }
}

.product-limit-quantity {
    font-size: 10px;
    color: var(--muted);
}

.product-cat-parent a {
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-cat-parent a:hover {
    overflow: visible;
    display: block;
}

.product-cat-title a {
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-cat-title {
    font-size: 14px;
    font-weight: 400;
    height: 30px;
    margin-top: 8px;
}

.product-cat-title a:hover {
    overflow: visible;
    display: block;
}

.product-cat-head {
    height: auto !important;
}

.product-cat-price-current {
    display: flex;
    font-size: 20px;
    line-height: 20px;
    font-weight: normal;
    margin: 0;
}

.product-cat-info-container {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 12px;
    margin-bottom: 20px;
    height: 30px;
}

.product-cat-limit:has(> :nth-child(2):last-child) {
    align-self: center;
}

.product-cat-limit {
    display: flex;
    flex-flow: column nowrap;
}

.product-cat-label-new {
    position: absolute;
    left: 14px;
    top: 14px;
    color: var(--ink);
    font-size: 14px;
    text-transform: uppercase;
    border: 1px solid var(--ink);
    border-radius: 3px;
    padding: 4px 6px;
}

.product-cat-image-action {
    display: flex;
    top: 14px;
    right: 12px;
    height: 20px;
    gap: 15px;
}

.product-cat-image-canvas .product-cat-image-action .product-cat-action-container {
    display: none;
    max-height: 20px;
    max-width: 21px;
    margin-bottom: 0;
}

.product-cat-image-canvas:hover .product-cat-image-action .product-cat-action-container {
    display: block;
}

.product-cat-image-canvas .product-cat-image-action .product-cat-action-container:has(.product-cat-action.checked) {
    display: block;
}

@media (max-width: 1279px) {
    .product-cat-image-canvas .product-cat-image-action .product-cat-action-container {
        display: block;
    }
}

/* scope to .product-cat (card root of card/line/table) — NOT .product-cat-image-canvas:
   the canvas is not an ancestor of the icons in line view, and these rules must not leak
   onto the detail-page main photo (which is outside .product-cat) */
.product-cat .product-cat-image-action .product-cat-action {
    color: var(--ink);
    border: none;
}

.product-cat .product-cat-image-action .product-cat-action.checked,
.product-cat .product-cat-image-action .product-cat-action:hover {
    color: var(--blue);
}

/* scope keeps inset off the detail-page main photo; hover rule (0-5-0) prevents inset growth on hover */
.product-cat-image-canvas .product-cat-image-action .product-cat-action {
    inset: -4px;
    background-color: transparent;
}

.product-cat-image-canvas .product-cat-image-action .product-cat-action.checked,
.bx-no-touch .product-cat-image-canvas .product-cat-image-action .product-cat-action:hover {
    background-color: transparent;
}

.bx-no-touch .product-cat-image-canvas .product-cat-image-action .product-cat-action:hover {
    inset: -4px;
}

.product-cat-image-canvas .product-cat-image-action {
    display: none;
    background: var(--white);
    border-radius: 999px;
    padding: 4px;
    height: auto;
    top: 10px;
    right: 8px;
}

.product-cat-image-canvas:hover .product-cat-image-action,
.product-cat-image-canvas .product-cat-image-action:has(.product-cat-action.checked) {
    display: flex;
}

@media (max-width: 1279px) {
    .product-cat-image-canvas .product-cat-image-action {
        display: flex;
    }
}

.product-cat-action svg {
    max-width: 21px;
    max-height: 21px;
}

.product-cat-content {
    padding: 0 15px 0 15px;
}

@media (width > 768px) {
    .row-borders-x {
        padding: 0;
        display: flex;
        gap: 10px;
    }
}

@media (max-width: 575px) {
    /* cards stretch to the tallest in a row; pack content to the top so the
       slack goes to the card bottom instead of opening a gap under the image */
    .product-cat {
        justify-content: flex-start;
    }

    .product-cat-info-container {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        gap: 12px;
        margin-bottom: 12px;
    }

    .product-cat-limit:has(> :nth-child(2):last-child) {
        align-self: flex-start;
    }

    .product-cat-price-current {
        white-space: nowrap;
        font-size: 16px;
        line-height: 16px;
    }

    .product-cat-parent,
    .product-cat-parent a {
        font-size: 13px;
        line-height: 1.25;
    }

    .product-cat-parent {
        height: auto;
    }

    .product-cat-title {
        font-size: 11px;
        margin-top: 11px;
    }

    .product-cat-content {
        padding-left: 5px;
        padding-right: 5px;
    }

    .product-cat-label-new {
        top: 5px;
        left: 5px;
    }

    .product-cat-image-action {
        top: 5px;
        right: 5px;
    }

    .product-cat-image-canvas .product-cat-image-action {
        top: 1px;
        right: 1px;
    }

    .product-cat-catalog_card_v2.product-cat .product-cat-badge-row {
        top: 8px;
        left: 5px;
    }
}

/* catalog_card_v2 scoped overrides */
.product-cat-catalog_card_v2.product-cat {
    justify-content: flex-start;
}

.product-cat-catalog_card_v2 .product-cat-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 15px;
    margin-top: 0;
}

/* image box at photo ratio 9:7 (284px at a 365px column) */
.product-cat-catalog_card_v2 .product-cat-image-canvas {
    padding-bottom: 0;
    height: auto;
    aspect-ratio: 9 / 7;
}

/* head + info-container grouped at card bottom; free space goes above head */
.product-cat-catalog_card_v2 .product-cat-head {
    flex: 0 0 auto;
    height: auto;
    margin-top: auto;
}

.product-cat-catalog_card_v2 .product-cat-info-container {
    margin-top: 0;
}

.product-cat-catalog_card_v2 .product-cat-badge-row {
    position: absolute;
    left: 15px;
    top: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    z-index: 210;
}

.product-cat-catalog_card_v2 .product-cat-badge-row .product-cat-label-new {
    position: static;
    left: auto;
    top: auto;
    margin: 0;
    line-height: 1;
}

.product-cat-catalog_card_v2 .product-cat-label-led {
    display: inline-block;
    font-size: 14px;
    line-height: 1;
    text-transform: uppercase;
    color: var(--ink);
    border: 1px solid transparent;
    border-radius: 3px;
    padding: 4px 6px;
}

.product-cat-catalog_card_v2 .product-cat-title {
    height: auto;
    line-height: 1.3;
    min-height: calc(1.3em * 4);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    text-overflow: ellipsis;
}

.product-cat-catalog_card_v2 .product-cat-artnumber {
    display: block;
    font-size: 10px;
    line-height: 1.3;
    margin-bottom: 6px;
}

.product-cat-catalog_card_v2 .product-cat-artnumber-value {
    font-size: 18px;
}

.product-cat-catalog_card_v2 .product-cat-image-wrapper {
    flex: 0 0 auto;
}

@media (max-width: 991px) {
    .product-cat-catalog_card_v2 .product-cat-title {
        min-height: calc(1.3em * 2);
    }

    .product-cat-catalog_card_v2 .product-cat-content {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .product-cat-catalog_card_v2 .product-cat-info-container {
        margin-bottom: 10px;
    }
}

