/* DESCRIPTION LAYOUT */

.description-inner {
    display: grid !important;
    grid-template-columns: 1fr 360px;
    gap: 200px;
    align-items: start;
}

.basic-description p {
    font-size: 18px;
    line-height: 1.72;
}

.ravelab-product-data {
  display: none !important;
}

.type-detail .tab-content .detail-parameters {
    margin-top: 0;
}

/* TABS */

.shp-tab-link {
    font-family: "Inter", sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    color: rgba(0,0,0,0.45) !important;
    text-decoration: none !important;
}

.shp-tab.active .shp-tab-link {
    color: #000 !important;
}

/* HIDE VIDEO TAB */

.shp-tabs-holder a[href="#productVideos"],
.shp-tabs-holder li:has(a[href="#productVideos"]) {
    display: none !important;
}

/* AUDIO PLAYER */

.ravelab-audio-wrapper {
    margin-top: 32px;
}

.ravelab-audio-headline {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 700;
    color: #050505;
}

.ravelab-audio-player {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    background: #e8e8e8;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 18px;
    color: #050505;
    box-shadow: 0 18px 45px rgba(0,0,0,0.10);
}

.ravelab-audio-play {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border: 1px solid #050505 !important;
    background: #050505 !important;
    color: #fff !important;
    border-radius: 50%;
    font-size: 15px;
    cursor: pointer;
    line-height: 1;
}

.ravelab-audio-center {
    flex: 1;
    min-width: 0;
}

.ravelab-audio-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 12px;
}

.ravelab-audio-meta {
    flex: 1;
    min-width: 0;
}

.ravelab-audio-label {
    display: block;
    font-size: 9px;
    letter-spacing: 0.18em;
    color: rgba(0,0,0,0.42);
    margin-bottom: 4px;
    font-weight: 800;
}

.ravelab-audio-title-wrap {
    width: 100%;
    cursor: pointer;
}

.ravelab-audio-title {
    display: -webkit-box;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: #050505;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ravelab-audio-title-wrap.is-open .ravelab-audio-title {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
}

.ravelab-audio-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ravelab-audio-track {
    --progress: 0%;
    flex: 1;
    height: 6px;
    border-radius: 999px;
    cursor: pointer;
    background: linear-gradient(
        to right,
        #050505 0%,
        #050505 var(--progress),
        rgba(0,0,0,0.14) var(--progress),
        rgba(0,0,0,0.14) 100%
    ) !important;
}

.ravelab-audio-time-current,
.ravelab-audio-time-duration {
    font-size: 11px;
    font-weight: 700;
    color: rgba(0,0,0,0.55);
    min-width: 34px;
}

.ravelab-audio-volume {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    font-size: 9px;
    letter-spacing: 0.14em;
    color: rgba(0,0,0,0.50);
    font-weight: 800;
    padding-top: 13px;
}

.ravelab-audio-volume-input {
    width: 70px;
    accent-color: #050505;
    cursor: pointer;
}

/* SIZE BUTTON */

.ravelab-size-link::before {
    content: "";
    display: block;
    width: 45px;
    height: 45px;
    margin: 0 auto 5px;
    background-image: url("https://www.ravelab.cz/user/documents/upload/ICONS/tape-measure.svg");
    background-size: 36px;
    background-repeat: no-repeat;
    background-position: center;
}

/* MODAL */

.ravelab-size-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
}

.ravelab-size-modal.is-active {
    display: block;
}

.ravelab-size-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.68);
}

.ravelab-size-modal__box {
    position: relative;
    z-index: 2;
    width: min(92vw, 820px);
    max-height: 88vh;
    overflow: auto;
    margin: 6vh auto;
    background: #fff;
    padding: 34px;
}

.ravelab-size-modal__box h3 {
    margin: 0 0 24px;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.ravelab-size-modal__close {
    position: absolute;
    top: 16px;
    right: 20px;
    border: 0;
    background: transparent;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

/* SIZE TABLE */

.ravelab-size-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.ravelab-size-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}

.ravelab-size-table th,
.ravelab-size-table td {
    padding: 16px 14px;
    border-bottom: 1px solid rgba(0,0,0,0.12);
    text-align: center;
    font-size: 14px;
}

.ravelab-size-table th {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.5);
}

.ravelab-size-table td:first-child,
.ravelab-size-table th:first-child {
    text-align: left;
    font-weight: 900;
}

.ravelab-size-note {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(0,0,0,0.55);
}

/* BODY LOCK */

.ravelab-modal-open {
    overflow: hidden;
}

#ravelab-youtube-player {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* MOBILE */

@media (max-width: 1024px) {

    .description-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

}

@media (max-width: 767px) {

    .basic-description p {
        font-size: 16px;
        line-height: 1.65;
    }

    .ravelab-size-modal__box {
        width: 92vw;
        margin: 5vh auto;
        padding: 24px 18px;
    }

    .ravelab-audio-player {
        padding: 16px;
        gap: 14px;
        align-items: flex-start;
    }

    .ravelab-audio-play {
        width: 46px;
        height: 46px;
    }

    .ravelab-audio-top {
        display: block;
        margin-bottom: 12px;
    }

    .ravelab-audio-volume {
        display: none;
    }

    .ravelab-audio-title {
        font-size: 13px;
    }

    .ravelab-audio-bottom {
        gap: 8px;
    }

}


.ravelab-size-modal__image {
  margin-top: 32px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.ravelab-size-modal__image img {
  width: 100%;
  height: auto;
  display: block;
}