
/* =====================================================
   ZIRAFA SK – FINAL
   Poradensky blok, recenzie a mobilny nakupny blok
   ===================================================== */


/* =====================================================
   1. PORADENSKY BLOK – POCITAC
   ===================================================== */

.zirafa-help-box {
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
    width: 100%;
    max-width: 680px;
    min-height: 150px;
    margin: 42px 0 24px;
    padding: 18px 20px;
    background: #fffaf6;
    border: 1px solid #f1d6c1;
    border-radius: 16px;
    box-sizing: border-box;
}

/* Fotografia – jeden zdroj nastaveni */

.zirafa-help-photo {
    position: relative;
    flex: 0 0 160px;
    width: 160px;
    height: 185px;
    margin-right: 16px;
    align-self: center;
    transform: translate(-12px, -28px);
    pointer-events: none;
}

.zirafa-help-photo img {
    display: block;
    width: 160px;
    height: 185px;
    max-width: none;
    object-fit: contain;
    object-position: center bottom;
    border-radius: 0;
    transform: scale(1.30);
    transform-origin: 45% 65%;
}

/* Bodka na fotografii je skryta */

.zirafa-help-status-dot {
    display: none !important;
}


/* Textova cast */

.zirafa-help-content {
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.zirafa-help-title {
    margin: 0 0 6px;
    font-size: 23px;
    line-height: 1.15;
    font-weight: 700;
    color: #102f5e;
}

.zirafa-help-description {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}


/* Tlacidla */

.zirafa-help-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.zirafa-help-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 16px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    box-sizing: border-box;
}

.zirafa-help-call {
    background: #169c36;
    color: #fff !important;
}

.zirafa-help-email {
    background: #fff;
    color: #c7195c !important;
    border: 1px solid #c7195c;
}


/* Online / offline */

.zirafa-help-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
    color: #333;
}

.zirafa-help-status-small {
    display: inline-block;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    border-radius: 50%;
    background: #20ad43;
}

.zirafa-help-box.is-online
.zirafa-help-status-small {
    background: #20ad43;
}

.zirafa-help-box.is-offline
.zirafa-help-status-small {
    background: #d93025;
}


/* =====================================================
   2. GOOGLE + HEUREKA RECENZIE
   ===================================================== */

#zirafa-reviews {
    display: flex;
    width: 100%;
    margin: 18px 0 24px;
    border: 1px solid #dddddd;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-sizing: border-box;
}

#zirafa-reviews .zr-review {
    flex: 1 1 50%;
    display: block;
    padding: 14px 18px;
    color: #222222 !important;
    text-decoration: none !important;
    box-sizing: border-box;
}

#zirafa-reviews .zr-review + .zr-review {
    border-left: 1px solid #dddddd;
}

#zirafa-reviews .zr-brand {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
}

#zirafa-reviews .zr-google-g {
    color: #4285f4;
    font-size: 22px;
    font-weight: 700;
}

#zirafa-reviews .zr-heureka-mark {
    color: #ff6600;
    font-size: 22px;
    font-weight: 700;
}

#zirafa-reviews .zr-heureka-name {
    color: #009fe3;
}

#zirafa-reviews .zr-data {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 14px;
    line-height: 1.3;
}

#zirafa-reviews .zr-stars {
    color: #ffb000;
    letter-spacing: -2px;
    white-space: nowrap;
}

#zirafa-reviews .zr-score {
    font-weight: 700;
}

#zirafa-reviews .zr-count {
    color: #777777;
}


/* =====================================================
   3. MOBIL – PORADENSKY BLOK
   ===================================================== */

@media screen and (max-width: 767px) {

    .zirafa-help-box {
        align-items: center;
        max-width: none;
        min-height: 0;
        margin: 36px 0 18px;
        padding: 14px;
        border-radius: 14px;
    }

    /* Fotografia podla CZ vzoru */

    .zirafa-help-photo {
        flex: 0 0 112px;
        width: 112px;
        height: 155px;
        margin-right: 12px;
        transform: translate(0, -32px);
    }

    .zirafa-help-photo img {
        width: 112px;
        height: 155px;
        object-fit: contain;
        object-position: center bottom;
        transform: scale(1.18);
        transform-origin: 45% 65%;
    }

    .zirafa-help-title {
        font-size: 19px;
        line-height: 1.15;
    }

    .zirafa-help-description {
        margin-bottom: 10px;
        font-size: 13px;
        line-height: 1.35;
    }

    .zirafa-help-actions {
        flex-direction: row;
        gap: 8px;
        margin-bottom: 8px;
    }

    .zirafa-help-button {
        width: auto;
        flex: 1 1 0;
        min-width: 0;
        min-height: 40px;
        padding: 7px 8px;
        font-size: 13px;
        white-space: nowrap;
    }

    .zirafa-help-status {
        font-size: 13px;
        line-height: 1.35;
        gap: 8px;
    }


    /* =================================================
       GOOGLE + HEUREKA – MOBIL
       ================================================= */

    #zirafa-reviews {
        margin: 14px 0 22px;
        border-radius: 13px;
    }

    #zirafa-reviews .zr-review {
        padding: 12px 10px;
    }

    #zirafa-reviews .zr-brand {
        gap: 5px;
        margin-bottom: 6px;
        font-size: 16px;
    }

    #zirafa-reviews .zr-google-g,
    #zirafa-reviews .zr-heureka-mark {
        font-size: 19px;
    }

    #zirafa-reviews .zr-data {
        gap: 3px;
        font-size: 12px;
        white-space: nowrap;
    }

    #zirafa-reviews .zr-stars {
        font-size: 12px;
        letter-spacing: -2px;
    }

    #zirafa-reviews .zr-count {
        font-size: 12px;
    }


    /* =================================================
       MOBILNY NAKUPNY BLOK
       CENA – MNOZSTVO – KOSIK
       ================================================= */

    .p-detail .buy-box .bottom {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .p-detail .buy-box .bottom
    .p-final-price-wrapper {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 0 12px 0 !important;
    }

    .p-detail .buy-box .bottom
    .add-to-cart {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .p-detail .buy-box .bottom
    .add-to-cart .quantity {
        display: block !important;
        position: relative !important;
        width: 119px !important;
        height: 54px !important;
        min-height: 54px !important;
        max-height: 54px !important;
        margin: 0 auto 16px auto !important;
        flex: none !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
    }

    .p-detail .buy-box .bottom
    .add-to-cart .add-to-cart-button {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin: 0 !important;
    }
}


/* =====================================================
   4. ODSTRANENIE RAMCEKA PRI VARIANTOCH
   ===================================================== */

.p-detail .detail-parameters td {
    border: 0 !important;
}
