/* =========================================================================
   Produkt-Karussell [lr_product_carousel]
   Werte 1:1 vom bisherigen BodyCommerce-Karussell der Startseite übernommen
   (Loop-Layout 676). Alle Klassen mit Präfix lrpc-, unabhängig von BodyCommerce.
   ========================================================================= */

/* --- Slick-Grundgerüst (slick.css 1.8.1, MIT), auf .lrpc begrenzt --- */
.lrpc {
    position: relative;
    display: none; /* wie bisher: erst sichtbar, wenn der Slider aufgebaut ist */
    box-sizing: border-box;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.lrpc.slick-initialized {
    display: block;
}

.lrpc.slick-dotted {
    margin-bottom: 30px;
}

.lrpc .slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0 -10px;
    padding: 0;
}

.lrpc .slick-list:focus {
    outline: 0;
}

.lrpc .slick-list.dragging {
    cursor: pointer;
}

.lrpc .slick-list,
.lrpc .slick-track {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.lrpc .slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: flex !important; /* gleiche Kartenhöhe */
    margin: 30px 0;
}

.lrpc .slick-track:before,
.lrpc .slick-track:after {
    display: table;
    content: '';
}

.lrpc .slick-track:after {
    clear: both;
}

.lrpc .slick-slide {
    display: none;
    float: left;
    min-height: 1px;
    height: inherit !important;
    margin: 0 10px;
}

.lrpc.slick-initialized .slick-slide {
    display: block;
}

.lrpc .slick-slide.dragging img {
    pointer-events: none;
}

/* Slick 1.9 legt einen Zwischen-Container um jede Folie – Höhe durchreichen */
.lrpc .slick-slide > div {
    height: 100%;
}

/* --- Karte --- */
.lrpc-slide {
    height: 100%;
}

.lrpc .lrpc-card {
    display: block;
    height: 100%;
    padding: 0 0 20px;
    background-color: #E9E4DB;
    color: #222222;
    text-decoration: none;
    cursor: pointer;
}

.lrpc .lrpc-card:hover,
.lrpc .lrpc-card:focus,
.lrpc .lrpc-card:visited {
    color: #222222;
    text-decoration: none;
}

/* --- Bilder: Hauptbild sichtbar, zweites Bild blendet bei Hover ein --- */
.lrpc-img-wrap {
    display: block;
    position: relative;
    overflow: hidden;
}

.lrpc .lrpc-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    -webkit-transition: opacity .5s ease;
    transition: opacity .5s ease;
}

.lrpc .lrpc-img--hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.lrpc .lrpc-img-wrap:hover .lrpc-img--hover {
    opacity: 1;
}

/* --- Titel --- */
.lrpc .lrpc-title {
    margin: 6px 20px 0;
    padding: 0;
    font-family: 'Futura PT Book', Helvetica, Arial, Lucida, sans-serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1em;
    color: #222222;
    text-align: left;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* --- Preis --- */
.lrpc .lrpc-price {
    display: block;
    margin: 0 0 0 20px;
    padding: 5px 0;
    font-family: 'Futura PT Book', Helvetica, Arial, Lucida, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    color: #222222;
    text-align: left;
}

.lrpc .lrpc-price .amount,
.lrpc .lrpc-price span {
    font-size: 16px;
}

/* --- Pfeile (ETmodules-Glyphen wie bisher) --- */
.lrpc .lrpc-arrow {
    position: absolute;
    top: 50%;
    display: block;
    width: 20px;
    height: 20px;
    padding: 0;
    font-size: 0;
    line-height: 0;
    color: transparent;
    background: transparent;
    border: none;
    outline: 0;
    cursor: pointer;
    z-index: 99;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
}

.lrpc .lrpc-arrow--prev {
    left: -50px;
}

.lrpc .lrpc-arrow--next {
    right: -50px;
}

.lrpc .lrpc-arrow:before {
    position: absolute;
    top: -22px;
    display: block;
    font-family: ETmodules !important;
    font-size: 57px;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    line-height: 1;
    text-transform: none;
    color: #121712;
    opacity: 1;
    cursor: pointer;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.lrpc .lrpc-arrow--prev:before {
    content: "\34";
    left: -22px;
}

.lrpc .lrpc-arrow--next:before {
    content: "\35";
    right: -22px;
}

.lrpc .lrpc-arrow:hover:before,
.lrpc .lrpc-arrow:focus:before {
    color: #9caf96;
    transition: opacity .2s;
}

/* --- Punkte --- */
.lrpc ul.lrpc-dots {
    position: absolute;
    bottom: -25px;
    left: 50%;
    right: auto;
    z-index: 2;
    display: block;
    width: auto;
    margin: 0 0 18px;
    padding: 0 !important;
    list-style: none;
    text-align: center;
    line-height: 26px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.lrpc ul.lrpc-dots li {
    position: relative;
    display: block;
    float: left;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;
    list-style: none;
    cursor: pointer;
}

.lrpc ul.lrpc-dots li button {
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    font-size: 0;
    line-height: 0;
    color: transparent;
    background: #E9E4DB;
    border: 0;
    border-radius: 50%;
    outline: 0;
    cursor: pointer;
}

.lrpc ul.lrpc-dots li button:before {
    display: none;
}

.lrpc ul.lrpc-dots li.slick-active button {
    background: #9CAF96;
}

/* --- Handy / kleines Tablet (wie bisher über das Child-Theme) --- */
@media (max-width: 767px) {
    .lrpc .lrpc-title {
        font-size: 20px;
    }

    .lrpc .slick-track {
        margin-top: 0;
        margin-bottom: 0;
    }

    .lrpc ul.lrpc-dots {
        position: relative; /* bottom: -25px bleibt wirksam und schiebt die Punkte wie bisher 25px nach unten */
        left: 0;
        width: 100%;
        margin: 0 0 20px;
        -webkit-transform: none;
        transform: none;
    }

    .lrpc ul.lrpc-dots li {
        display: inline-block;
        float: none;
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }

    .lrpc ul.lrpc-dots li button {
        width: 8px;
        height: 8px;
        padding: 0;
    }
}
