/** DOČASNĚ SKRYTÉ RECEPTY **/
body.type-product.type-detail .basic-description h2:has(+ .recepty),
body.type-product.type-detail .basic-description .recepty {
    display: none;
}

.cloud-zoom-big {
    border-radius: 30px;
}

.p-image-wrapper .galerie {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.p-image-wrapper .galerie img {
    width: 48% !important;
    height: auto;
    padding: 10px;
}

@media (max-width: 768px) {
    .p-image-wrapper .galerie img {
        width: 100% !important;
    }
}

.p-detail {
    margin-top: -120px;
}

.p-detail .p-detail-inner {
    --fullbleed-bg: #fdc50e;
    --wave-gap: 180px; /* rezerva pod obsahem – klidně zvedni na 140–160px */

    background: var(--fullbleed-bg);
    box-shadow: 0 0 0 100vmax var(--fullbleed-bg);
    clip-path: inset(0 -100vmax);
    border-radius: 0;
    border: 0;
    position: relative;
    z-index: auto;

    padding-bottom: var(--wave-gap);

    margin-bottom: -100px;
}

.p-detail .p-detail-inner::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 173px;

    bottom: -1px;

    background: #fef6df url(/user/documents/theme/header-border.png) no-repeat top center;
    background-size: 100% auto;

    z-index: 0;
    pointer-events: none;
}

.p-detail-inner-header h1 {
    text-transform: uppercase;
}

.p-detail h2 {
    font-family: "Knofedt", sans-serif;
    font-size: 60px;
    color: #4a2e20;
    text-align: left !important;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.p-detail h2.products-related-header {
    padding-left: 30px;
}

@supports selector(body:has(.p-detail)) {
    body:has(.p-detail) .content-wrapper-in.product-page-content::after {
        background: #fdc50e !important;
        background-image: none !important;
    }
}

.p-detail-tabs-wrapper,
.products-related-header,
.products-related-wrapper {
    position: relative;
    z-index: 1;
    border: 0;
}

.p-detail .shp-tabs-row.responsive-nav,
.p-detail .p-detail-tabs-wrapper,
.p-detail .shp-tabs-holder,
.p-detail #tab-content {
    border: 0 !important;
    box-shadow: none !important;
    background-image: none !important;
}

.p-detail .shp-tabs-row.responsive-nav::before,
.p-detail .shp-tabs-row.responsive-nav::after,
.p-detail .p-detail-tabs-wrapper::before,
.p-detail .p-detail-tabs-wrapper::after,
.p-detail .shp-tabs-holder::before,
.p-detail .shp-tabs-holder::after {
    content: none !important;
    border: 0 !important;
    box-shadow: none !important;
    background: none !important;
}

.p-detail .p-detail-tabs-wrapper {
    background-color: #fef6df !important;
}

/* GALERIE */
.p-image-wrapper .p-thumbnails-wrapper {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    height: auto !important;
}

.p-image-wrapper .p-thumbnails-horizontal {
    display: none !important;
}

.p-image-wrapper .pp-two-up {
    --gap: 10px;
    --thumb-h: 260px;
    position: relative;
    width: 100%;
    padding: 0 56px;
}

.p-image-wrapper .pp-two-up-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(50% - var(--gap) / 2);
    gap: var(--gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.p-image-wrapper .pp-two-up-track::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.p-image-wrapper .pp-two-up-item {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    scroll-snap-align: start;
    cursor: pointer;
}

.p-image-wrapper .pp-two-up-item img {
    display: block;
    width: 100%;
    height: var(--thumb-h);
    object-fit: cover;
    border-radius: 25px;
}

.p-image-wrapper .pp-two-up-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: auto;
    right: auto;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    box-shadow: none;
    cursor: pointer;
    z-index: 2;
    display: grid;
    place-items: center;
    transition: transform .15s ease, opacity .2s;
}

.p-image-wrapper .pp-two-up-prev {
    left: 8px;
}

.p-image-wrapper .pp-two-up-next {
    right: 8px;
}

.p-image-wrapper .pp-two-up-arrow[disabled] {
    opacity: .35;
    cursor: default;
}

.p-image-wrapper .pp-two-up-arrow[disabled]:hover {
    transform: translateY(-50%);
}

.p-image-wrapper .pp-two-up-arrow::before {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    border-left: 3px solid #000;
    border-top: 3px solid #000;
    transform: rotate(-45deg);
}

.p-image-wrapper .pp-two-up-next::before {
    transform: rotate(135deg);
}

.p-image-wrapper .pp-no-arrows .pp-two-up-arrow {
    display: none;
}

@media (hover: hover) {
    .p-image-wrapper .pp-two-up-arrow:hover {
        transform: translateY(-50%) scale(1.15);
    }
}

.p-image-wrapper .pp-two-up-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.p-image-wrapper .pp-two-up-arrow:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .p-image-wrapper .pp-two-up {
        --thumb-h: 220px;
    }
}

/* šířku slideru řídíme proměnnou --pp-width a šipky necháme přesahovat */
.p-image-wrapper .p-thumbnails-wrapper {
    overflow: visible !important;
}

.p-image-wrapper .pp-two-up {
    width: var(--pp-width, 100%);
    margin: 0 auto;
    padding: 0; /* žádné vnitřní okraje – šipky budou mimo */
    --arrow-out: 36px; /* kolik mají šipky přesahovat */
}

.p-image-wrapper .pp-two-up-prev {
    left: calc(-1 * var(--arrow-out));
}

.p-image-wrapper .pp-two-up-next {
    right: calc(-1 * var(--arrow-out));
}

#colorbox #cboxWrapper .cboxPhoto {
    border-radius: 30px;
}


/* NUCLEAR FIX – centrování celého bloku i jeho řádků */
.p-detail .buttons-wrapper.social-buttons-wrapper {
    display: grid !important;
    justify-items: center !important; /* vodorovně na střed */
    align-items: center !important; /* svisle (když je výška) */
    gap: 0 !important;
    width: 100% !important;
    text-align: center !important; /* pro inline/inline-block prvky */
    margin: 0 auto !important;
    padding: 0;
}

/* Každý přímý potomek (link-icons, social-buttons) na střed */
.p-detail .buttons-wrapper.social-buttons-wrapper > * {
    justify-self: center !important;
    align-self: center !important;
}

/* Zruš případné floaty/mezery, které brání centrování */
.p-detail .social-buttons-wrapper .link-icon,
.p-detail .social-buttons-wrapper .twitter,
.p-detail .social-buttons-wrapper .facebook,
.p-detail .social-buttons-wrapper .close-wrapper {
    float: none !important;
    margin: 0 !important;
}

/* Když potřebuješ i vnitřky srovnat doprostřed: */
.p-detail .social-buttons-wrapper .link-icons,
.p-detail .social-buttons-wrapper .social-buttons {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
    width: 100% !important;
}

/* Pokud je panel skrytý .no-display, přepiš i to: */
.p-detail .social-buttons-wrapper .social-buttons.no-display {
    display: flex !important;
}

/* --- Sdílecí řádek po otevření --- */
.p-detail .social-buttons-wrapper .social-buttons {
    display: inline-flex !important; /* místo fullwidth flexu */
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    width: auto !important; /* zruší bílý pruh přes celou šířku */
    margin: 0px auto 0 !important;
    padding: 0 5px !important;
    background: transparent !important; /* pro jistotu */
    border: 0 !important;
    box-shadow: none !important;
}

/* drž prvky hezky v řádku */
.p-detail .social-buttons-wrapper .social-buttons > * {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
}

/* iframy od X/Facebooku – ať nedělají baseline posun */
.p-detail .social-buttons-wrapper .social-buttons iframe {
    display: block !important;
}

/* obal FB widgetu bývá span – srovnáme ho */
.p-detail .social-buttons-wrapper .social-buttons .fb_iframe_widget,
.p-detail .social-buttons-wrapper .social-buttons .fb_iframe_widget > span {
    display: inline-flex !important;
    line-height: 0 !important;
}

/* Zavřít – stejná výška a malý rozestup */
.p-detail .social-buttons-wrapper .close-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    margin-left: 8px !important;
}

/* pro jistotu transparentní wrapper (kdyby šablona dávala pozadí) */
.p-detail .buttons-wrapper.social-buttons-wrapper {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* Když je sdílecí panel VIDITELNÝ, přehodíme pořadí:
   .social-buttons jde nahoru nad .link-icons */
@supports selector(:has(*)) {
    .p-detail .buttons-wrapper.social-buttons-wrapper:has(.social-buttons:not(.no-display)) {
        display: flex !important;
        flex-direction: column-reverse !important; /* sdílet NAD ikonami */
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        text-align: center !important;
        gap: 8px !important; /* malá mezera mezi panely */
    }

    /* Sdílecí panel necháme klidně přes celou šířku s bílým pozadím */
    .p-detail .social-buttons-wrapper:has(.social-buttons:not(.no-display)) .social-buttons {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        padding: 0 5px !important;
        background: #fff !important; /* bílé pozadí, jak chceš */
        box-shadow: none !important;
        border: 0 !important;
    }

    /* Ikony budou teď pod tím (po column-reverse) */
    .p-detail .social-buttons-wrapper:has(.social-buttons:not(.no-display)) .link-icons {
        display: inline-flex !important;
        align-items: center !important;
        gap: 20px !important;
        margin: 0 !important;
    }
}

/* Pro jistotu – žádné floaty, ať to nic nerozhazuje */
.p-detail .social-buttons-wrapper .link-icon,
.p-detail .social-buttons-wrapper .twitter,
.p-detail .social-buttons-wrapper .facebook,
.p-detail .social-buttons-wrapper .close-wrapper {
    float: none !important;
    margin: 0 !important;
}


/* SLIDER - ZMĚNA FOTKY */
/* ===== Image compare – bez úprav HTML ===== */

/* Rodič panelu – drží svislou čáru přes CELÝ panel */
.p-detail .layout-image,
.description-inner .layout-image {
    position: relative;
    --line-w: 2px;
    --line-color: #3a2b22;
    /* --pos sem tlačí JS, aby čára seděla s knobem */
}

.p-detail .layout-image {
    background-color: #FED52F !important;
}

/* Svislá čára */
.p-detail .layout-image::after,
.description-inner .layout-image::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos, 50%);
    width: var(--line-w);
    background: var(--line-color);
    transform: translateX(calc(-1 * var(--line-w) / 2));
    pointer-events: none;
    z-index: 3; /* knob je výš */
}

/* Vlastní compare box */
.p-detail .compare-wrapper,
.description-inner .compare-wrapper {
    position: relative;
    overflow: hidden; /* obrázky/ masky zůstávají uvnitř */
    --pos: 50%; /* výchozí pozice řezu */
    --knob-bg: #5a3f2e; /* barva knoflíku */
    min-height: clamp(220px, 45vw, 520px); /* pojistka výšky než se načtou img */
    touch-action: none; /* plynulé tažení na mobilu */
}

/* Kdyby někde existovala stará čára na wrapperu, vypni ji */
.p-detail .compare-wrapper::after,
.description-inner .compare-wrapper::after {
    display: none;
}

/* Kill globální přechody na <img> uvnitř compare (brání lagům) */
.p-detail .compare-wrapper img,
.description-inner .compare-wrapper img {
    transition: none !important;
}

/* Obrázky */
.p-detail .compare-wrapper .image,
.description-inner .compare-wrapper .image {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    user-select: none;
    pointer-events: none;
}

.p-detail .compare-wrapper .image.base,
.description-inner .compare-wrapper .image.base {
    position: relative;
    z-index: 1; /* spodní vrstva */
}

/* Horní vrstva – řez podle --pos (rychlá maska + fallback) */
.p-detail .compare-wrapper .image.overlay,
.description-inner .compare-wrapper .image.overlay {
    position: absolute;
    inset: 0;
    z-index: 2;

    /* Rychlá cesta (WebKit/Chromium) – ostrý svislý řez */
    -webkit-mask-image: linear-gradient(90deg,
    #000 0 calc(var(--pos)),
    transparent calc(var(--pos)));
    mask-image: linear-gradient(90deg,
    #000 0 calc(var(--pos)),
    transparent calc(var(--pos)));
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    /* Fallback pro prohlížeče bez masky (např. Firefox) */
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);

    will-change: clip-path, -webkit-mask-image, mask-image;
    transform: translateZ(0);
    contain: paint;
}

/* Slider – neviditelný, jen chytá drag */
.p-detail .compare-wrapper .slider,
.description-inner .compare-wrapper .slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    background: transparent;
    appearance: none;
    opacity: 0;
    cursor: ew-resize;
    z-index: 3;
}

.p-detail .compare-wrapper .slider::-webkit-slider-thumb,
.description-inner .compare-wrapper .slider::-webkit-slider-thumb {
    appearance: none;
    width: 1px;
    height: 1px;
    background: transparent;
    border: 0;
}

.p-detail .compare-wrapper .slider::-webkit-slider-runnable-track,
.description-inner .compare-wrapper .slider::-webkit-slider-runnable-track {
    background: transparent;
}

.p-detail .compare-wrapper .slider::-moz-range-thumb,
.description-inner .compare-wrapper .slider::-moz-range-thumb {
    width: 1px;
    height: 1px;
    border: 0;
    background: transparent;
}

.p-detail .compare-wrapper .slider::-moz-range-track,
.description-inner .compare-wrapper .slider::-moz-range-track {
    background: transparent;
}

/* Knob – hnědé kolečko se třemi bílými čárkami, čárky nejsou až k okrajům */
.p-detail .compare-wrapper::before,
.description-inner .compare-wrapper::before {
    content: "";
    position: absolute;
    left: var(--pos);
    top: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
    height: 38px;
    border-radius: 40%;
    border: 0;

    /* mezera nahoře/dole pro čárky */
    --stripe-gap: 6px;

    /* 1) vrstva = čárky, 2) vrstva = hnědé pozadí */
    background: linear-gradient(90deg,
    transparent 0 calc(50% - 8px),
    #fff calc(50% - 8px) calc(50% - 6px),
    transparent calc(50% - 6px) calc(50% - 1px),
    #fff calc(50% - 1px) calc(50% + 1px),
    transparent calc(50% + 1px) calc(50% + 6px),
    #fff calc(50% + 6px) calc(50% + 8px),
    transparent calc(50% + 8px) 100%
    ),
    var(--knob-bg, #5a2e1a);

    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    /* čárky zkrátíme na výšku, aby nebyly nalepené */
    background-size: 100% calc(100% - (var(--stripe-gap) * 2)),
    cover;

    box-shadow: 0 2px 10px rgba(0, 0, 0, .25),
    inset 0 0 0 1.5px rgba(255, 255, 255, .15);
    z-index: 5;
    pointer-events: none;
    will-change: transform;
}


.p-detail #tab-content:not(:has(#description.active)) {
    background: #fdc50e;
    border-radius: 50px;
}

.p-detail #tab-content:has(#description.active) {
    background: transparent;
}

/* =========================
   DISKUZE – základ / hlavička
   ========================= */
#productDiscussion {
    padding: 40px 20px !important;
    font-family: "Roboto" !important;
}

#productDiscussion::before {
    content: "OTÁZKY A ZKUŠENOSTI ZÁKAZNÍKŮ";
    display: block;
    margin-bottom: 40px;
    font: bold 38px/1 "Knofedt" !important;
    color: #4A3C28;
    text-align: center;
    letter-spacing: 1px;
}

/* =========================
   KARTIČKY KOMENTÁŘŮ
   ========================= */
#productDiscussion .vote-wrap {
    background: #fff !important;
    border-radius: 20px !important;
    padding: 25px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1) !important;
}

/* nadpis komentáře nechceme */
#productDiscussion .vote-title,
#productDiscussion .vote-rating {
    display: none !important;
}

/* obsah komentáře */
#productDiscussion .vote-content {
    margin-top: 15px !important;
    color: #50272B !important;
    line-height: 1.6 !important;
    font-size: 15px !important;
}

/* tlačítko „Odpovědět“ */
#productDiscussion .vote-content .btn {
    background: transparent !important;
    color: #FDB813 !important;
    border: 2px solid #FDB813 !important;
    border-radius: 20px !important;
    padding: 8px 20px !important;
    font-size: 13px !important;
    margin-top: 15px !important;
    transition: .2s ease-in-out !important;
}

#productDiscussion .vote-content .btn:hover {
    background: #FDB813 !important;
    color: #fff !important;
}

/* =========================
   HLAVIČKA KOMENTÁŘE (jméno + datum v jedné řádce)
   ========================= */
#productDiscussion .vote-header {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
}

#productDiscussion .vote-header > span {
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
}

#productDiscussion .vote-header .vote-name,
#productDiscussion .vote-header .vote-time {
    display: inline-block !important;
    white-space: nowrap !important;
}

#productDiscussion .vote-header .vote-name {
    font-weight: bold !important;
    font-size: 18px !important;
    color: #333 !important;
    text-transform: uppercase !important;
    margin-right: 0 !important;
}

#productDiscussion .vote-header .vote-time,
#productDiscussion .vote-time {
    font-size: 13px !important;
    color: #888 !important;
    font-style: italic !important;
    float: none !important; /* zneškodní případné staré floaty */
    margin-left: 6px !important;
}

/* =========================
   FORMULÁŘ – rozvržení a vzhled
   ========================= */
#productDiscussion .discussion-form {
    background: transparent !important;
    margin-top: 30px !important;
}

#productDiscussion .discussion-form .row {
    max-width: 800px !important;
    margin: 0 auto !important;
    background-color: #fdc50e;
    padding: 10px 20px;
    border-radius: 20px;
}

/* jméno a email vedle sebe (50/50 s mezerou) */
#productDiscussion .discussion-form .form-group.col-xs-12.col-sm-6 {
    width: 48% !important;
    display: inline-block !important;
    float: left !important;
    margin-right: 2% !important;
}

#productDiscussion .discussion-form .form-group.col-xs-12.col-sm-6:last-of-type {
    margin-right: 0 !important;
}

/* ostatní položky přes celou šířku */
#productDiscussion .discussion-form .col-xs-12:not(.col-sm-6) {
    width: 100% !important;
    clear: both !important;
}

/* mezery mezi prvky */
#productDiscussion .discussion-form .form-group {
    margin-bottom: 15px !important;
}

/* štítky */
#productDiscussion .discussion-form label {
    display: block !important;
    margin-bottom: 0 !important;
    color: #50272B !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

/* jednotný vzhled inputů/textarea */
#productDiscussion .discussion-form .form-control,
#productDiscussion .discussion-form input[type="text"],
#productDiscussion .discussion-form input[type="email"],
#productDiscussion .discussion-form textarea {
    background: #fff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 15px 25px !important;
    font-size: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* textarea – speciální úpravy */
#productDiscussion .discussion-form textarea {
    border-radius: 25px !important;
    min-height: 150px !important;
    resize: vertical !important;
    padding: 20px 25px !important; /* o něco větší vnitřek */
}

/* placeholdery */
#productDiscussion input::placeholder,
#productDiscussion textarea::placeholder {
    color: #999 !important;
    opacity: .7 !important;
}

/* spam pole pryč */
#productDiscussion .no-display {
    display: none !important;
}

/* clearfix pro .row */
#productDiscussion .discussion-form .row::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

/* primární tlačítko ve formuláři */
#productDiscussion .discussion-form .btn-primary,
#productDiscussion .add-comment-bottom {
    display: block !important;
    margin: 20px auto !important; /* nahoře/dole 20px, vlevo/vpravo auto */
    background: #4A3C28 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 12px 28px !important;
    font-size: 22px !important;
    font-weight: 300 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all .3s !important;
    font-family: "Knofedt";
}

#productDiscussion .discussion-form .btn-primary:hover,
#productDiscussion .add-comment-bottom:hover {
    background: #332619 !important;
    transform: translateY(-2px) !important;
}

/* =========================
   PATIČKA / SOUHLASY
   ========================= */
#productDiscussion .consents {
    color: #4A3C28 !important;
    font-size: 12px !important;
    text-align: center !important;
    margin: 10px 0 !important;
}

#productDiscussion .consents a {
    color: #4A3C28 !important;
    text-decoration: underline !important;
}

#productDiscussion .col-xs-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 767px) {
    #productDiscussion .discussion-form .form-group.col-xs-12.col-sm-6 {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
    }
}

#ratingTab {
    padding-bottom: 20px;
}

#ratingTab h2 {
    text-align: center !important;
    padding: 10px 20px;
    font-size: 50px;
    font-weight: 100;
}

#ratingTab .rate-average {
    font-family: "Knofedt", sans-serif;
}

#ratingTab .vote-wrap {
    border: 0;
}

#ratingTab .vote-wrap {
    background: #fff !important;
    border-radius: 20px !important;
    padding: 25px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1) !important;
}

#ratingTab .vote-time {
    color: #000;
}

#ratingTab .vote-name {
    font-size: 20px;
    font-weight: 600 !important;
}

#ratingTab input, #ratingTab textarea {
    border-radius: 20px !important;
}


#ratingTab .btn-primary {
    background-color: #4a2e20;
    border-radius: 10px !important;
    text-transform: uppercase !important;
    color: #fff !important;
    font-weight: 100;
    padding: 5px 20px;
    border: 0px;
}

#ratingTab .btn-primary {
    background-color: #352218;
}

#ratingTab .rate-wrap.row  .rate-list,
#ratingTab p {
    display: none;
}

/*** FIXIES ***/
.p-detail-inner {
    padding: 20px;
}

body.type-detail .content-wrapper {
    margin-top: 80px !important;
}

.p-image-wrapper .pp-two-up-item img {
    height: auto !important;
}

body.type-detail .stars .star.is-active:hover, body.type-detail .stars .star.star-half:before, body.type-detail .stars .star.star-on:before {
    color: #fdc50e;
}

.accordion,
.accordion1 {
    margin-top: 10px;
}

.accordion-header:hover,
.accordion-header1:hover {
    background-color: transparent;
}

.p-detail-inner .accordion-content p:nth-child(1) img,
.p-detail-inner .accordion-content1 p:nth-child(1) img {
    margin-top: 10px;
    width: 60px;
}

.p-detail-inner .accordion-content h2,
.p-detail-inner .accordion-content1 h2 {
    font-size: 30px;
}

/* sub-akordeon */
.p-detail-inner .sub-accordion {
    margin: 12px 0 20px;
    /*border-left: 3px solid #f2c200;*/
    padding-left: 10px;
}

.p-detail-inner .sub-item {
    margin-bottom: 6px;
}

.p-detail-inner .sub-header {
    cursor: pointer;
    font-weight: 600;
    border-radius: 6px;
    padding: 10px 14px;
    transition: background .25s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.p-detail-inner .sub-header:hover {
    background: #f2bd29;
}

.p-detail-inner .sub-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    padding: 0 14px;
    border-radius: 6px;
}

.p-detail-inner .sub-item.open .sub-content {
    padding: 10px 14px 14px;
}

.p-detail-inner .arrow {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
    transition: transform .25s ease;
    flex-shrink: 0;
    margin-left: 10px;
}

.p-detail-inner .sub-item.open .arrow {
    transform: rotate(225deg);
}

.p-detail .triplepack {

}

.p-detail .triplepack .triplepack-desktop {
    display: none;
}

.p-detail h2 {
    font-size: 44px;
    text-align: center !important;
    margin-bottom: 0;
}

.p-detail h2.products-related-header {
    padding-left: 0;
}

.p-variants-block .variant-label {
    display: none;
}

.p-variants-block .variant-list select {
    border-radius: 999px;
    border: 0;
    padding-left: 20px;
}

.p-variants-block .variant-list {
    padding-bottom: 12px;
}

.p-detail .p-inspiration-title {
    font-family: "Knofedt", sans-serif;
    font-size: 38px;
    text-transform: uppercase;
    color: #4a2e20;
}

.p-detail .shp-tabs-holder {
    margin-top: -50px;
}

.p-detail .shp-tabs-holder ul.shp-tabs li a {
    padding: 2px 25px;
}

.p-detail-tabs-wrapper .layout-wrapper {
    padding: 30px !important;
    border-radius: 20px;
}

.p-detail-tabs-wrapper .layout-wrapper .layout-text h2 {
    padding-bottom: 10px;
    font-weight: 100;
}

.p-detail-tabs-wrapper .layout-wrapper .layout-text .highlight-label {
    margin-bottom: 0;
    font-weight: 100;
}

.p-detail #ratingTab {
    padding: 30px;
    text-align: center;

}

.p-detail #ratingTab h2 {
    font-size: 36px;
    padding: 0;
    font-weight: 100;
}

.p-detail #tab-content:not(:has(#description.active)) {
    border-radius: 20px;
}

.p-detail #ratingTab .rate-average {
    font-size: 55px;
    color: #4a2e20;
    padding-top: 10px;
}

body.type-detail #ratingTab #ratingWrapper .stars.star-list {
    background: #fff;
    padding: 3px 15px;
    margin: 0 auto;
    border-radius: 20px;
    height: 38px;
    width: 205px;
}

body.type-detail #ratingTab #ratingWrapper .stars-label {
    margin-top: 10px;
    font-size: 16px;
}

body.type-detail .col-sm-6 {
    padding: 0;
}

body.type-detail #ratingTab #ratingWrapper .star-wrap.stars {
    background-color: #fff;
    padding: 3px 15px;
    border-radius: 20px;
    width: 136px;
    height: 23px;
}

body.type-detail .p-detail #ratingTab .add-comment {
    margin: 20px auto 0;
}

body.type-detail .p-detail #ratingTab .vote-rating {
    flex-direction: row;
    margin-bottom: 10px;
}

body.type-detail .p-detail .news-item.recepty {
    margin-top: 20px;
}

body.type-detail .p-detail .news-item.recepty .text {
    padding: 0 30px;
    text-align: center;
}

body.type-detail .p-detail .news-item.recepty .vc-carousel__nav-btn:nth-child(1) {
    margin-left: -10px;
}

body.type-detail .p-detail .news-item.recepty .vc-carousel__nav-btn:nth-child(2) {
    margin-right: -10px;
}

body.type-detail .p-detail .products-related-header {
    margin-top: 20px;
}

body.type-detail #ratingTab #ratingWrapper .rate-wrap .add-comment .link-like.rating-icon {
    background-color: #352218;
    border-radius: 10px;
    text-transform: uppercase !important;
    color: #fff !important;
    font-weight: 100;
    padding: 5px 20px;
    border: 0;
    text-decoration: none;
}

body.type-detail .custompack-product-detail .custompack-desktop {
    display: none;
}

body.type-detail .custompack-product-detail .custompack-mobil {
    max-width: 600px;
    margin: 0 auto;
}

body.type-product.type-detail .price-availability {
    font-size: 14px;
    text-align: center;
    line-height: 1.2;
    text-transform: lowercase;
}

body.type-product.type-detail .p-to-cart-block .p-final-price-wrapper {
    padding: 2px 5px;
}

body.type-product.type-detail .p-short-description .responsive-table table tr td:first-child {
    padding-right: 10px;
}

@media (min-width: 768px) {
    body.type-detail .custompack-product-detail .custompack-desktop {
        display: block;
    }

    body.type-detail .custompack-product-detail .custompack-mobil {
        display: none;
    }

    body.type-detail #action-stripe {
        margin-top: 170px !important;
    }

    body.type-detail .content-wrapper {
        margin-top: 0 !important;
    }

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

    .p-detail-inner .accordion-content p:nth-child(1) img,
    .p-detail-inner .accordion-content1 p:nth-child(1) img {
        width: 80px;
    }

    .p-detail-inner .accordion-content h2,
    .p-detail-inner .accordion-content1 h2 {
        font-size: 36px;
    }

    .p-detail-inner .accordion-header,
    .p-detail-inner .accordion-header1 {
        font-size: 24px;
    }

    .p-detail .triplepack .triplepack-desktop {
        display: block;
    }

    .p-detail .triplepack .triplepack-mobil {
        display: none;
    }

    body.type-detail .responsive-nav .shp-tabs-holder {
        position: relative;
    }

    body.type-detail .shp-tabs-holder {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    body.type-detail .shp-tabs-holder .p-inspiration-title {
        font-family: "Knofedt", sans-serif;
        font-size: 50px;
        text-transform: uppercase;
        color: #4a2e20;
        margin-bottom: -20px;
    }

    .p-detail-tabs-wrapper .layout-wrapper .layout-text {
        order: 2;
    }

    .p-detail-tabs-wrapper .layout-wrapper .layout-image {
        order: 1;
    }

    .layout-wrapper .highlight-label {
        padding: 0 16px;
    }

    body.type-detail .news-item.recepty {
        margin-bottom: -20px;
    }

    body.type-detail #ratingTab #ratingWrapper {
        padding: 40px 40px 0;
    }

    body.type-detail #ratingTab #ratingWrapper .rate-wrap {
        flex-direction: column;
    }

    body.type-detail #ratingTab #ratingWrapper .rate-wrap .rate-average-inner {
        flex-direction: column;
    }

    body.type-detail #ratingTab #ratingWrapper .stars.star-list {
        background: #fff;
        padding: 3px 15px;
        border-radius: 20px;
        height: 38px;
        width: 205px;
    }

    body.type-detail #ratingTab #ratingWrapper .stars-label {
        margin-top: 10px;
        font-size: 16px;
    }

    body.type-detail .col-sm-6 {
        padding: 0;
    }

    body.type-detail #ratingTab #ratingWrapper .star-wrap.stars {
        background-color: #fff;
        padding: 3px 15px;
        border-radius: 20px;
        width: 136px;
        height: 23px;
    }

    .variant-list select {
        max-width: 100% !important;
        width: 100% !important;
    }

    body.type-detail .p-detail .products-related-header {
        margin-top: 60px;
    }
}

@media (min-width: 992px) {
    .p-image-wrapper {
        padding-bottom: 50px;
    }
}

@media (min-width: 1024px) {
    .p-detail-tabs-wrapper .layout-wrapper .layout-text {
        order: 1;
    }

    .p-detail-tabs-wrapper .layout-wrapper .layout-image {
        order: 2;
    }

    body.type-detail .p-detail-inner-header {
        margin-top: 50px;
    }

    body.type-detail .p-detail h2 {
        text-align: left !important;
        padding-bottom: 10px;
        font-size: 46px !important;
    }

    body.type-detail .shp-tabs-holder {
        flex-direction: row;
        gap: 5px;
        justify-content: start;
        margin-left: 40px;
    }

    body.type-detail .shp-tabs-holder ul.shp-tabs {
        margin: 0 0 0 20px;
    }

    body.type-detail .shp-tabs-holder .p-inspiration-title {
        margin-top: -15px
    }

    body.type-detail .shp-tabs-holder ul.shp-tabs a.shp-tab-link {
        font-size: 30px;
        padding: 0px 25px;
    }

    body.type-detail .shp-tabs-holder ul.shp-tabs li:hover {
        text-decoration: none !important;
    }

    body.type-detail .p-detail h2.products-related-header {
        margin-left: 30px !important;
        padding-bottom: 0;
    }

    .p-to-cart-block {
        padding-left: 10px;
        justify-content: space-between;
        column-gap: 10px;
    }
    .p-to-cart-block .add-to-cart {
        margin: 0;
        flex: 0 1 auto;
    }
    .p-to-cart-block .add-to-cart .quantity {
        padding: 0 30px;
        flex: 0 1 auto;
    }
    .p-to-cart-block .p-final-price-wrapper {
        flex: 0 1 auto;
    }
    .p-to-cart-block .p-final-price-wrapper>strong {
        font-size: 22px;
    }
    .p-to-cart-block .btn.add-to-cart-button {
        font-size: 20px;
        padding: 0 8px;
        line-height: 16px;
    }

    .p-image-wrapper {
        display: flex;
        flex-flow: column wrap;
    }
    .p-image-wrapper .breadcrumbs {
        margin-top: 60px;
        order: 0;
    }
    .p-image {
        order: 1;
    }
    .galerie {
        order: 2;
    }
    .row {
        order: 3;
    }

    .accordion-header,
    .accordion-header1 {
        padding-left: 0;
    }

    .p-detail-tabs-wrapper .layout-wrapper {
        padding: 40px !important;
        border-radius: 50px;
    }

    .p-detail .shp-tabs-holder {
        margin-top: 10px;
    }

    /** Recepty **/
    .p-detail .basic-description h2:nth-child(5) {
        padding-left: 30px;
    }

    .p-detail #tab-content:not(:has(#description.active)) {
        border-radius: 50px;
    }

    body.type-detail #ratingTab #ratingWrapper {
        padding: 0;
    }

    body.type-detail #ratingTab #ratingWrapper .rate-average-wrap {
        flex-direction: row;
    }

    body.type-detail #ratingTab #ratingWrapper .rate-wrap .rate-average-inner {
        flex-direction: row;
        margin-left: 10px;
    }

    body.type-detail #ratingTab #ratingWrapper .rate-wrap .add-comment {
        flex-grow: initial;
    }

    body.type-detail .p-detail #ratingTab .star-list {
        order: 2;
    }

    body.type-detail .p-detail #ratingTab .stars-label {
        order: 1;
        text-align: left;
        padding-bottom: 5px;
        text-transform: uppercase;
    }

    #ratingTab .vote-name {
        text-align: left;
        padding-left: 2px;
    }
}

@media (min-width: 1200px) {
    .wide .p-detail-inner .p-data-wrapper {
        padding-left: 40px;
    }
}