/*
 * DUPLO maandumislehe kohandused klotsipoe konteksti.
 * Eraldi failis, et LEGO prototuubi style.css jaaks puutumata.
 */

/* --- Tootekaart karussellis ------------------------------------------- */

/* Slaidid vordse korgusega, nupp alati all servas. */
.duplo-landing .swiper-products .swiper-wrapper {
    align-items: stretch;
}

.duplo-landing .swiper-slide.duplo-card {
    display: flex;
    flex-direction: column;
    height: auto;
    text-align: center;
    padding: 0 6px 6px;
}

/*
 * Pildid on vaga erineva kuljesuhtega: karbid on lamedad, monad tooted
 * (nt 10477) on pustised jurakad. Ilma fikseeritud korguseta lykkab pikk pilt
 * koik alljargneva alla ja rida laheb paigast ara.
 * Seetottu on pildil kindel kast ja object-fit: contain.
 */
.duplo-landing .duplo-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    margin-bottom: 10px;
}

.duplo-landing .duplo-card__image img {
    max-height: 200px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.duplo-landing .duplo-card .set-number {
    font-weight: 700;
    margin: 0 0 2px;
    font-size: 15px;
    line-height: 1.2;
}

/* Kolm rida fikseeritud korgusega - muidu ei ole hinnad ja nupud uhel joonel */
.duplo-landing .duplo-card .title {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.3;
    height: 3.9em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.duplo-landing .duplo-card .title a {
    color: inherit;
    text-decoration: none;
}

.duplo-landing .duplo-card .title a:hover {
    text-decoration: underline;
}

.duplo-landing .duplo-card .price {
    margin: 0 0 10px;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.2;
}

.duplo-landing .duplo-card .price .old {
    font-weight: 400;
    font-size: 13px;
    color: #888;
    margin-left: 6px;
}

/* Nupp lukitub kaardi alaserva */
.duplo-landing .duplo-card__button {
    margin-top: auto;
}

/* Koik nupuvariandid uhesuurused - ka "Otsas, telli teavitus" (c-btn-sky),
   mis on vaikimisi mardatavalt laiem kui "Pane ostukorvi" (c-btn-silver). */
.duplo-landing .duplo-card__button .c-btn,
.duplo-landing .duplo-card__button .btn,
.duplo-landing .duplo-card__button button {
    display: block;
    width: 100%;
    max-width: 190px;
    margin: 0 auto;
    padding: 8px 10px;
    font-size: 11.5px;
    line-height: 1.25;
    letter-spacing: 0.02em;
    min-height: 34px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Kogusevalija maandumislehel ruumi ei votaks - kampaanialehel piisab nupust */
.duplo-landing .duplo-card__button .amount-box,
.duplo-landing .duplo-card__button .pr-amount {
    display: none;
}

/* --- Karusselli omruum ------------------------------------------------ */

/*
 * Alumised karussellid asuvad varviliste kujundusplokkide vahel. Ilma
 * vertikaalse ohuta puutuvad tootekaardid otse vastu ulemist ja alumist
 * graafikat. Kulgpolster hoiab nooled kaartidest eemal.
 */
.duplo-landing .box-carousel {
    position: relative;
    padding: 40px 48px 48px;
}

@media (max-width: 768px) {
    .duplo-landing .box-carousel {
        padding: 26px 30px 32px;
    }
}

.duplo-landing .box-carousel .button-prev,
.duplo-landing .box-carousel .button-next {
    z-index: 2;
}

/* Karusselli ymbritsev kast ei tohi varvilise ploki kylge liibuda */
.duplo-landing section .layout-wrap__inner-box > .box-carousel {
    margin-top: 0;
}

/* --- Jalus ------------------------------------------------------------ */

.duplo-landing .duplo-footer .copyright {
    text-align: center;
}

.duplo-landing .duplo-footer .duplo-footer__legal {
    text-align: center;
    font-size: 12px;
    line-height: 1.6;
    color: #555;
    padding: 14px 16px 4px;
}

.duplo-landing .duplo-footer .duplo-footer__legal a {
    color: inherit;
}

/* --- Keelevalik maandumislehel ---------------------------------------- */

.duplo-landing .duplo-langs {
    text-align: center;
    padding: 10px 16px 0;
    font-size: 13px;
}

.duplo-landing .duplo-langs a {
    display: inline-block;
    margin: 0 7px;
    color: #555;
    text-decoration: none;
}

.duplo-landing .duplo-langs a:hover {
    text-decoration: underline;
}

.duplo-landing .duplo-langs .is-active {
    font-weight: 700;
    color: #111;
}

/* --- KKK ---------------------------------------------------------------- */

.duplo-landing .duplo-faq {
    padding: 10px 0 0;
}

.duplo-landing .duplo-faq__list {
    max-width: 860px;
    margin: 0 auto;
}

.duplo-landing .duplo-faq__item {
    border-bottom: 1px solid #e3e8ee;
}

.duplo-landing .duplo-faq__item summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 34px 16px 2px;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.4;
    position: relative;
}

.duplo-landing .duplo-faq__item summary::-webkit-details-marker {
    display: none;
}

.duplo-landing .duplo-faq__item summary::after {
    content: "+";
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    color: #0aa1c8;
}

.duplo-landing .duplo-faq__item[open] summary::after {
    content: "\2013";
}

.duplo-landing .duplo-faq__answer {
    padding: 0 34px 18px 2px;
}

.duplo-landing .duplo-faq__answer p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}
