/* =========================================================
   VELO-TEAM
   MODERNIZACE DETAILU PRODUKTU
   Shoptet Classic
   ========================================================= */


/* =========================================================
   ZÁKLAD PRODUKTU
   ========================================================= */

body.type-product {
    background: #f7f7f7;
}

body.type-product #content-wrapper {
    padding-top: 25px;
}


/* =========================================================
   HLAVNÍ PRODUKTOVÁ KARTA
   ========================================================= */

body.type-product .p-detail-inner {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, .07);
    margin-bottom: 35px;
}


/* =========================================================
   NADPIS PRODUKTU
   ========================================================= */

.p-detail-inner-header {
    margin-bottom: 20px;
}

.p-detail-inner-header h1 {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 8px;
    color: #222;
}


/* =========================================================
   HLAVNÍ FOTOGRAFIE
   ========================================================= */

.p-detail .p-image {
    background: #fff;
    border-radius: 10px;
    padding: 10px;
}

.p-detail .p-image img {
    transition: transform .25s ease;
}

.p-detail .p-image:hover img {
    transform: scale(1.025);
}


/* =========================================================
   MINIATURY FOTOGRAFIÍ
   ========================================================= */

.p-thumbnails a {
    border-radius: 7px;
    overflow: hidden;
    transition: all .2s ease;
}

.p-thumbnails a:hover {
    box-shadow: 0 0 0 2px #f58220;
}


/* =========================================================
   CENA
   ========================================================= */

.p-detail .p-final-price-wrapper {
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 15px;
}

.p-detail .p-final-price {
    font-size: 36px !important;
    line-height: 1;
    font-weight: 800 !important;
    letter-spacing: -.7px;
    color: #111 !important;
}


/* původní cena */

.p-detail .price-standard {
    color: #999;
    font-size: 14px;
}


/* sleva */

.p-detail .price-save {
    font-weight: 700;
}


/* =========================================================
   VARIANTA
   ========================================================= */

.p-detail .p-variants-block {
    background: transparent;
    padding: 0;
    margin-top: 15px;
}

.p-detail .p-variants-block label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}

.p-detail .p-variants-block select {
    height: 48px;
    border-radius: 8px;
    border: 1px solid #d8d8d8;
    background: #fff;
    padding: 0 14px;
    font-size: 15px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.p-detail .p-variants-block select:hover {
    border-color: #bbb;
}

.p-detail .p-variants-block select:focus {
    border-color: #f58220;
    box-shadow: 0 0 0 3px rgba(245, 130, 32, .10);
    outline: none;
}


/* =========================================================
   DORUČENÍ
   ========================================================= */

/* žádné barevné zvýraznění */

.p-detail .delivery-time {
    background: transparent !important;
    border: 0 !important;
    padding: 5px 0 !important;
    margin-top: 8px;
    color: #777;
    font-size: 13px;
}


/* =========================================================
   NÁKUPNÍ BLOK
   ========================================================= */

.p-detail .p-to-cart-block {
    background: #f8f8f8;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    padding: 16px;
    margin-top: 15px;
    margin-bottom: 0;
}


/* =========================================================
   MNOŽSTVÍ
   ========================================================= */

.p-detail .p-to-cart-block .quantity {
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ddd;
}

.p-detail .p-to-cart-block .quantity input {
    height: 50px;
}


/* =========================================================
   HLAVNÍ TLAČÍTKO – PŘIDAT DO KOŠÍKU
   ========================================================= */

.p-detail .p-to-cart-block .btn-cart,
.p-detail .p-to-cart-block .add-to-cart-button {
    min-height: 50px;
    height: 50px;

    border-radius: 8px;
    border: none;

    font-size: 16px;
    font-weight: 700;

    padding: 12px 28px;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        filter .2s ease;
}

.p-detail .p-to-cart-block .btn-cart:hover,
.p-detail .p-to-cart-block .add-to-cart-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .14);
    filter: brightness(1.04);
}


/* =========================================================
   COFIDIS
   ========================================================= */

/*
   Shoptet má standardně:
   
   .pp_cofidis {
       float: right;
       width: 250px;
   }

   To rušíme a dáváme Cofidis pod hlavní nákup.
*/

.p-detail .add-to-cart .pp_cofidis {
    float: none !important;
    width: auto !important;

    flex-basis: 100%;

    margin: 10px 0 0 !important;
    padding: 10px 0 0 !important;

    border-top: 1px solid #eeeeee;

    display: flex;
    justify-content: center;
    align-items: center;

    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}


/* Cofidis logo */

.p-detail .add-to-cart .pp_cofidis img {
    max-width: 190px;
    height: auto;
    display: block;
}


/* Cofidis hover */

.p-detail .add-to-cart .pp_cofidis:hover {
    background: transparent !important;
    box-shadow: none !important;
}


/* =========================================================
   TISK / ZEPTAT SE / HLÍDAT CENU / SDÍLET
   ========================================================= */

/*
   Zde nechceme klasická tlačítka.
   Uděláme z nich jednoduché nenápadné funkce.
*/

.p-detail .social-buttons-wrapper {
    margin-top: 18px;
}


/* jednotlivé položky */

.p-detail .social-buttons-wrapper a,
.p-detail .social-buttons-wrapper button,
.p-detail .social-buttons-wrapper > div {

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    color: #888;

    transition:
        color .2s ease,
        opacity .2s ease;
}


/* hover */

.p-detail .social-buttons-wrapper a:hover,
.p-detail .social-buttons-wrapper button:hover {
    color: #f58220 !important;
}


/* ikony */

.p-detail .social-buttons-wrapper i,
.p-detail .social-buttons-wrapper svg {
    opacity: .65;
}


/* =========================================================
   DETAILNÍ INFORMACE
   ========================================================= */

.p-detail .detail-information {
    margin-top: 18px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.p-detail .detail-information a {
    font-weight: 600;
}


/* =========================================================
   DOPLŇKOVÉ PARAMETRY
   ========================================================= */

.p-detail .p-param-block {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
}

.p-detail .p-param-block table {
    width: 100%;
}

.p-detail .p-param-block th,
.p-detail .p-param-block td {
    padding: 7px 10px;
    border-bottom: 1px solid #eee;
}


/* =========================================================
   ZÁLOŽKY POD PRODUKTEM
   ========================================================= */

.shp-tabs-wrapper.p-detail-tabs-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 18px rgba(0, 0, 0, .05);
    padding: 10px 20px;
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 992px) {

    .p-detail-inner {
        padding: 35px !important;
    }

    .p-detail .p-image {
        padding: 5px;
    }

    .p-detail .p-image img {
        max-height: 570px;
        object-fit: contain;
    }

}


/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 767px) {

    body.type-product #content-wrapper {
        padding-top: 10px;
    }

    body.type-product .p-detail-inner {
        padding: 15px;
        border-radius: 8px;
    }

    .p-detail-inner-header h1 {
        font-size: 24px;
    }

    .p-detail .p-final-price {
        font-size: 30px !important;
    }

    .p-detail .p-to-cart-block {
        padding: 12px;
    }

    .p-detail .p-to-cart-block .btn-cart,
    .p-detail .p-to-cart-block .add-to-cart-button {
        width: 100%;
        margin-top: 8px;
    }

    .p-detail .add-to-cart .pp_cofidis {
        justify-content: center;
    }

}