@font-face {
    font-family: 'Cardo';
    src: url('https://www.bubelo.cz/user/documents/TvujBrand/Css/Fonts/Cardo-Bold.woff2') format('woff2');
    font-weight: 700 !important;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Questrial';
    src: url('https://www.bubelo.cz/user/documents/TvujBrand/Css/Fonts/Questrial-Regular.woff2') format('woff2');
    font-weight: 400 !important;
    font-style: normal;
    font-display: swap;
    }

/* =========================================
   CATEGORY PAGE
========================================= */

.category-top {
    border: unset;
    margin-bottom: 0;
}

.products-block>div .p .p-in .p-in-in {
    display: grid;
}


.products-block>div .p .p-in .p-in-in .name {
    order: 1;
}

.products-block>div .p .p-in .p-in-in .tb-prosizes-info {
    order: 2;
}

/* =========================================
   CUSTOM CATEGORY FILTERS
========================================= */

.custom-category-filters {
    display: flex;
    align-items: center;
    gap: 34px;
    position: relative;
    z-index: 50;
    margin-bottom: 25px;
    order: 1;
}


/* jednotlivý filtr */

.custom-filter {
    position: relative;
}


/* tlačítko */

.custom-filter__button {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 10px 0;
    margin: 0;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.3;
    color: #222;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
}

.custom-filter__button span {
    font-size: 16px;
    font-weight: 400;
    color: #5F5F5F;
}

/* šipka */

.custom-filter__arrow {
    font-size: 16px;
    line-height: 1;
    transition: transform .2s ease;
    margin-bottom: 8px;
}

.custom-filter.is-open .custom-filter__arrow {
    transform: rotate(180deg);
    margin-bottom: -8px;
}


/* dropdown */

.custom-filter__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    min-width: 220px;
    padding: 10px 15px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition:
        opacity .15s ease,
        transform .15s ease,
        visibility .15s ease;
}


/* otevřený dropdown */

.custom-filter.is-open .custom-filter__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* obsah checkboxů */

.custom-filter__dropdown fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}


/* jednotlivá položka */

.custom-filter__dropdown fieldset > div {
    margin: 0;
    padding: 2px 0;
}

/* checkbox */

.custom-filter__dropdown input[type="checkbox"] {
    margin-right: 8px;
}


/* label */

.custom-filter__dropdown .filter-label {
    cursor: pointer;
    font-size: 13px;
    font-weight: 400 !important;
    color: #5F5F5F;
    margin-bottom: 0;
}

.custom-filter__dropdown input[type=checkbox]+label:before,
.custom-filter__dropdown input[type=checkbox]+label:after {
    border-radius: 0;
}

/* počet */

.custom-filter__dropdown .filter-count {
    margin-left: 3px;
    opacity: .55;
}


/* schovat původní filtry */

#filters.custom-filters-hidden {
    display: none !important;
}


/* mobil */

@media (max-width: 768px) {

    .custom-category-filters {
        gap: 20px;
        margin-bottom: 20px;
    }

    .custom-filter__button {
        font-size: 14px;
    }

    .custom-filter__dropdown {
        left: 0;
        min-width: 200px;
    }

}


/* =========================================
   LIST SORTING
========================================= */


/* Horní řádek filtrů + řazení */
#category-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    z-index: 100;
}

/* Filtry vlevo */
.custom-category-filters {
    display: flex;
    align-items: center;
    gap: 34px;
    margin: 0;
}

/* Řazení vpravo */
#category-header .listSorting {
    margin-left: auto;
    order: 2;
}

/* původní seznam řazení */
#category-header .listSorting__controls {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    display: none !important;
}

/* jednotlivé možnosti řazení */
#category-header .listSorting__controls li {
    display: none;
}

/* zobrazíme pouze aktuální řazení */
#category-header .listSorting__controls li:has(
    .listSorting__control--current
) {
    display: block;
}

/* aktuální řazení */
#category-header .listSorting__control--current {
    border: 1px solid #e5e5e5;
    background: #fff;
    padding: 12px 18px;
    min-width: 210px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    color: #222;

    text-align: left;
    cursor: pointer;
}

/* šipka */
#category-header .listSorting__control--current::after {
    content: "⌄";
    float: right;
    margin-left: 20px;
    font-size: 15px;
}

/* pokud otevřeš vlastní dropdown řazení */
#category-header .listSorting {
    position: relative;
}


.custom-sorting {
    position: relative;
    min-width: 210px;
}

/* tlačítko */
.custom-sorting__button {
    width: 100%;
    padding: 12px 18px;

    border: 1px solid #e5e5e5;
    background: #fff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    color: #222;

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

    cursor: pointer;
}

/* dropdown */
.custom-sorting__dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;

    min-width: 210px;

    padding: 8px 0;

    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .12);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);

    transition:
        opacity .15s ease,
        transform .15s ease,
        visibility .15s ease;

    z-index: 100;
}

.custom-sorting.is-open .custom-sorting__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* položky */
.custom-sorting__item {
    display: block;
    width: 100%;

    padding: 10px 18px;

    border: 0;
    background: transparent;

    font-family: inherit;
    font-size: 14px;
    text-align: left;

    cursor: pointer;
}

.custom-sorting__item:hover {
    background: #f7f7f7;
}

.custom-sorting__item.is-current {
    font-weight: 500;
}


/* =========================================
   PRODUCT DETAIL
========================================= */

.link-icon.watchdog {
    display: none;
}


/* Celý řádek */
.size-selector-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 10px;
}

/* "Velikost" */
.size-selector-row .variant-label {
    margin: 0 6px 0 0;
    flex-shrink: 0;
    width: 100%;
}

/* Pilulky */
.custom-size-pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* Jednotlivá velikost */
.size-pill {
    appearance: none;
    border: 1px solid #F3EADD;
    background: #fff;
    color: #000;
    height: 40px;
    min-width: 44px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}

/* Hover */
.size-pill:hover {
    border-color: #000;
}

/* Aktivní velikost */
.size-pill.is-active {
    background: #000;
    border-color: #000;
    color: #fff;
}

/* Tabulka velikostí */
.size-table-link {
    margin-left: 8px;
    color: #000;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.size-table-link:hover {
    text-decoration: none;
    color: #000 !important;
}

/* Původní Shoptet select */
.custom-size-select {
    display: none !important;
}












/* ==========================================================================
   PRODUCT DETAIL ACCORDION
   ========================================================================== */

.p-detail-full-width .shp-tabs-wrapper #tab-content {
    display: none;
}

.fb-product-tabs {
    width: 100%;
    margin: 20px 0;
}

.fb-product-accordion {
    width: 100%;
}


/* ==========================================================================
   ITEM
   ========================================================================== */

.fb-product-accordion-item {
    width: 100%;
    border-top: 1px solid #F3EADD;
    padding: 5px 20px;
}

.fb-product-accordion-item:last-child {
    border-bottom: 1px solid #F3EADD;
}

.fb-product-accordion-item.is-open {
    background: #F7F2EB;
}

/* ==========================================================================
   TITLE
   ========================================================================== */

.fb-product-accordion-title {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    border: 0;
    background: transparent;
    font-family: Cardo !important;
    font-size: 14px !important;
    text-transform: uppercase;
    line-height: 1.3;
    text-align: left;
    color: #1D1D1B;
    cursor: pointer;
    appearance: none;
}

.fb-product-accordion-title:hover {
    color: #555;
}


/* ==========================================================================
   ICON
   ========================================================================== */

.fb-product-accordion-icon {
    position: relative;

    width: 18px;
    height: 18px;

    flex: 0 0 18px;
}

.fb-product-accordion-icon::before,
.fb-product-accordion-icon::after {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 14px;
    height: 1px;

    background: currentColor;

    transform: translate(-50%, -50%);

    transition: transform .25s ease;
}


/* plus */
.fb-product-accordion-icon::after {
    transform:
        translate(-50%, -50%)
        rotate(90deg);
}


/* minus */
.fb-product-accordion-item.is-open
.fb-product-accordion-icon::after {
    transform:
        translate(-50%, -50%)
        rotate(0deg);
}


/* ==========================================================================
   CONTENT
   ========================================================================== */

.fb-product-accordion-content {
    display: grid;
    grid-template-rows: 0fr;

    transition:
        grid-template-rows .3s ease;
}

.fb-product-accordion-inner {
    min-height: 0;
    overflow: hidden;
}


/* OPEN */
.fb-product-accordion-item.is-open
.fb-product-accordion-content {
    grid-template-rows: 1fr;
}

.fb-product-accordion-item.is-open
.fb-product-accordion-inner {
    padding-bottom: 35px;
}

.fb-product-accordion-item.is-open .fb-product-accordion-inner .fb-description-content {
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #1D1D1B;
}


/* ==========================================================================
   PARAMETERS
   ========================================================================== */

.fb-product-accordion-inner .detail-parameters {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.fb-product-accordion-inner .detail-parameters tr {
    border-bottom: 1px solid #e5e5e5;
}

.fb-product-accordion-inner .detail-parameters tr:last-child {
    border-bottom: 0;
}

.fb-product-accordion-inner .detail-parameters th,
.fb-product-accordion-inner .detail-parameters td {
    padding: 14px 0;

    text-align: left;
    vertical-align: top;
}

.fb-product-accordion-inner .detail-parameters th {
    width: 35%;
    font-weight: 500;
}


/* ==========================================================================
   PŮVODNÍ SHOPTET TABS
   ========================================================================== */

body.type-detail .shp-tabs-row {
    display: none !important;
}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 767px) {

    .fb-product-tabs {
        margin: 20px 0;
    }

    .fb-product-accordion-title {
        padding: 20px 0;
        font-size: 15px;
    }

    .fb-product-accordion-item.is-open
    .fb-product-accordion-inner {
        padding-bottom: 25px;
    }

    .fb-product-accordion-inner .detail-parameters th {
        width: 45%;
    }

}







/* =========================================================
   PRODUCT DETAIL CONTENT
========================================================= */

.fb-product-story {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 80px;
}


/* =========================================================
   VIDEO
========================================================= */

.fb-story-video {
    width: 100%;
    margin-bottom: 100px;
}

.fb-story-video-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    overflow: hidden;
}

.fb-story-video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================================
   HLAVNÍ SEKCE
========================================================= */

.fb-story-section {
    position: relative;

    width: min(1400px, calc(100% - 80px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: stretch;

    min-height: 650px;
}


/* =========================================================
   OBRÁZEK
========================================================= */

.fb-story-image {
    position: relative;
    overflow: hidden;
}

.fb-story-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   TEXT BOX
========================================================= */

.fb-story-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 80px;

    background: #f5f7ed;
}

.fb-story-content > span {
    display: block;

    margin-bottom: 20px;

    font-size: 13px;
    line-height: 1;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.fb-story-content h2 {
    margin: 0 0 30px;

    font-size: clamp(30px, 3vw, 54px);
    line-height: 1.05;
    font-weight: 500;
}

.fb-story-content p {
    max-width: 560px;

    margin: 0 0 20px;

    font-size: 16px;
    line-height: 1.8;
}

.fb-story-content a {
    display: inline-block;

    width: fit-content;

    margin-top: 20px;

    padding-bottom: 7px;

    border-bottom: 1px solid currentColor;

    color: inherit;

    text-decoration: none;

    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
}


/* =========================================================
   TEXT POD PRVNÍ SEKCI
========================================================= */

.fb-story-text {
    width: 55%;
    text-align: left;
    margin-right: auto;
    padding: 40px;
}

.fb-story-text p {
    margin: 0;
    font-size: 16px;
    line-height: 160%;
    font-family: Questrial;    
}

.fb-story-text-img-right{
    text-align: right;
    margin-left: auto;
    margin-right: 0;
}


/* =========================================================
   DRUHÁ SEKCE - PROHOZENÉ STRANY
========================================================= */

.fb-story-section--second {
    margin-bottom: 180px;
}

.fb-story-section--second .fb-story-image {
    order: 2;
}

.fb-story-section--second .fb-story-content {
    order: 1;
}


/* =========================================================
   ABSOLUTNÍ FOTO VLEVO
========================================================= */

.fb-story-floating {
    position: absolute;

    z-index: 5;

    pointer-events: none;
}

.fb-story-floating img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.fb-story-floating--left {
    left: 0;
    top: 59%;
    width: 220px;
    height: 300px;
    transform: translateY(-50%);
}


/* =========================================================
   ABSOLUTNÍ FOTO VPRAVO DOLE
========================================================= */

.fb-story-floating--right {
    right: 0;

    bottom: 20px;

    width: 240px;
    height: 320px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .fb-story-video {
        margin-bottom: 60px;
    }

    .fb-story-video-inner {
        aspect-ratio: 16 / 9;
    }

    .fb-story-section {
        width: calc(100% - 40px);

        min-height: auto;

        grid-template-columns: 1fr;
    }

    .fb-story-image {
        height: 500px;
    }

    .fb-story-content {
        padding: 60px 40px;
    }

    .fb-story-section--second .fb-story-image {
        order: 1;
    }

    .fb-story-section--second .fb-story-content {
        order: 2;
    }

    .fb-story-text {
        width: calc(100% - 60px);
        margin: 70px auto 120px;
    }

    .fb-story-floating--left {
        width: 150px;
        height: 210px;

        top: 35%;
    }

    .fb-story-floating--right {
        width: 160px;
        height: 220px;
    }

}


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

@media (max-width: 600px) {

    .fb-product-story {
        margin-bottom: 40px;
    }

    .fb-story-video {
        margin-bottom: 40px;
    }

    .fb-story-section {
        width: 100%;
    }

    .fb-story-image {
        height: 400px;
    }

    .fb-story-content {
        padding: 45px 25px;
    }

    .fb-story-content h2 {
        font-size: 30px;
    }

    .fb-story-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .fb-story-text {
        width: calc(100% - 40px);
        margin: 60px auto 100px;
    }

    .fb-story-text p {
        font-size: 21px;
    }

    .fb-story-floating--left {
        width: 90px;
        height: 130px;

        left: -20px;
        top: 33%;
    }

    .fb-story-floating--right {
        width: 100px;
        height: 140px;

        right: -20px;
        bottom: 10px;
    }

}


.type-detail .tb-welcome {
    background-image: unset;
    padding: 0 40px;
}

.type-detail .welcome {
    background: var(--tb-color-bone);
    position: relative;
}




.tb-welcome.tb-welcome-img-right {
    position: relative;
    background-position: left -80px top 40px;
}  

.tb-welcome-img-right div:nth-of-type(2){
    flex-grow: 1;
}

.tb-welcome-img-right div:nth-of-type(1){
    flex: 0 0 370px;
    padding: 120px 0 0;
    /*opacity: 0.7;*/
}

.tb-welcome-img-right div:nth-of-type(1) div{
    background: white;
    padding: 25px;
    position: absolute;
    margin-left: 0px;
    width: 420px;
}



/* responsive */
@media screen and (max-width: 1300px)
{
    .tb-welcome-img-right div:nth-of-type(1) div{
        margin-left: 0px;
        width: 520px;
        }
}

@media screen and (max-width: 1200px)
{
    .tb-welcome-img-right div:nth-of-type(1) div{
        position: static;
        margin: auto;
        width: 100%;
        background: transparent;
        padding-bottom: 0;
        }

    .tb-welcome-img-right div:nth-of-type(1){
        padding: 10px 0 10px;
        }
}


@media screen and (max-width: 540px)
{
    .tb-welcome-img-right div:nth-of-type(1) div{
        padding: 0;
        }
}










.type-product button.splide__arrow {
    border-radius: 0 !important;
}