.step {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    padding: 1rem clamp(1.5rem, 3vw, 2.1875rem);
    background-color: #ffffff;
    box-shadow: 0 0.75rem 3.125rem 0 #DFE1ED;
}

.konf-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 30px 30px 30px 120px;
    gap: 150px
}

.price-text {
    font-weight: bold;
}

#selected_barvy {
    display: flex;
    align-items: center;
}

#button_next_step_2 {
    margin-top: 50px;
}

.step-done {
    background-color: #4dab00 !important;
    color: white !important;
}

.ColorBox-wrapper-badge {
    font-size: 0.875rem;
    line-height: 1;
    color: hsl(0, 0%, calc((0 - 60) * -100%));
    background: #000000;
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    position: absolute;
    top: calc(100% - 0.6875rem);
    left: 50%;
    text-align: center;
    transform: translateX(-50%);
}

.ColorBox-wrapper-badge--price {
    width: 7rem;
}

.price-box {
    width: 100%;
    position: fixed;
    display: flex;
    bottom: 0;
    left: 0;
    background-color: #e8e8e8;
    height: 68px;
    padding: 15px 85px;
    z-index: 555;
    justify-content: space-between;
    align-items: center;
}

.vyplne-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Dva stejně široké sloupce */
    gap: 15px;
    margin: 10px 0;
}

.barvy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Dva stejně široké sloupce */
    gap: 15px;
    margin: 10px 0;
}
.prislusenstvi-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Dva stejně široké sloupce */
    gap: 15px;
    margin: 10px 0;
}
.w-100 {
    width: 100%;
}

#konfigurator_image_box {
    position: relative;
}

#konfigurator_image_box img {
    display: block;
    max-width: 80%;
    max-height: calc(100vh * 0.85);
    min-height: 20rem;
}

#konfigurator_image_box .overlay-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none; /* nebo remove pokud má být interaktivní */
    z-index: 2;
}

.barvy-grid .frame {
    gap: 5px !important;
}

.konfigurator {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.display-none {
    display: none;
}

.no-display {
    display: none;
}

.is-active .display-none {
    display: flex !important;
}

.line {
    width: 100%;
    fill: #b5b5b5;
    opacity: 0.3;
    align-self: start;
    margin: 0;
}

.column {
    flex-direction: column !important;
}

.section-description {
    font-size: .875rem;
}

.frame {
    position: relative;
    box-sizing: border-box;
    border-radius: 0.25em;
    outline: 1px solid #DFE1ED;
    border: 0;
    background-color: hsl(0, 0%, 100%);
    display: flex;
    padding: 1rem;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5em;
    cursor: pointer;
}

.flex {
    display: flex;
}

.row {
    flex-direction: row;
    margin-bottom: 0 !important;
}

.rozmery-box {
    min-width: 381px;
}

.YouTubeContainer-banner {
    max-width: 381px;
    width: 100%;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    padding: 1rem;
    color: #000000;
    background: #F6F6F6;
    cursor: pointer;
}

.space-between {
    justify-content: space-between;
}

.gap-15 {
    gap: 15px;
}

.gap-5 {
    gap: 5px;
}

.preview-image {
    width: 40px;
    height: auto;
}

.preview-image-color {
    width: 184px;
    height: 40px;
    object-fit: cover;
}

.frame-text {
    color: #000000;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    line-height: 1.125;
}

.frame-title {
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: bold;
    grid-column: 1 / -1;
}

.frame:hover {
    outline-width: 1px;
    outline-color: #00a1e0
}

.selected {
    outline-width: 2px;
    outline-color: #00a1e0
}

#tab_head_1, #tab_head_2, #tab_head_3, #tab_head_4 {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    font-weight: bold;
}

.selected-tab {
    color: #00a1e0;
}

.circle-number {
    background-color: transparent;
    border: 1px solid #DFE1ED;
    border-radius: 50%;
    width: 35px;
    display: flex;
    height: 35px;
    align-items: center;
    justify-content: center;
}

.selected-tab .circle-number {
    background-color: #00a1e0;
    color: white;
    font-weight: bold;
}

.m-l-10 {
    margin-left: 10px;
}

.show {
    display: flex !important;
}

.radio-group label {
    display: inline-block;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s;
}

.radio-group input[type="radio"]:checked + .NumberBox-unit,
.radio-group input[type="radio"]:checked + .NumberBox-unit + span,
.radio-group input[type="radio"]:checked + .NumberBox-unit + span + .NumberBox-unit {
    color: #00a1e0 !important;
    border-radius: 5px;
}

.radio-group input[type="radio"]:checked ~ span,
.radio-group input[type="radio"]:checked ~ label,
.radio-group label:has(input[type="radio"]:checked) {
    color: #00a1e0 !important;
    border-radius: 5px;
}

.selected span {
    color: #00a1e0
}

.ButtonBase:disabled, .ButtonBase.disabled {
    background: #4a4a4a;
    opacity: .6;
}

.ButtonBase {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: .25s;
    background: #00a1e0;
    cursor: pointer;
    color: #fff;
    padding: 12px;
    border-radius: 2rem;
    font-size: calc(1em / 1.2);;
    text-decoration: none;
    border: none;
    outline: 0;
    font-weight: 700;
    text-transform: uppercase;
}

.AppAlert-icon {
    background: #dc2727;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1em;
}


.AppAlert-icon svg {
    color: #fff;
    width: 1em;
}

.AppAlert {
    display: none;
    height: 55px;
    width: 100%;
    margin: 0;
    font-size: .8em;
    background: #ffffff;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 0 20px #0000001a;
    line-height: 1.5;
    margin-bottom: 10px;
}

.AppAlert-text {
    display: flex;
    margin-left: 15px;
    align-items: center;
}

.align-center {
    align-items: center;
}

.NumberBox-label {
    grid-area: label;
    color: #000000;
    font-weight: bold;
    width: 10ch;
    font-size: 0.875rem;
}

.NumberBox-unit {
    color: #000000;
    margin-top: 10px;
    font-size: 0.875rem;
}

.frame-detail {
    display: none;
}

input {
    border-radius: 0.5rem !important;
    color: #00a1e0 !important;
    border: 1px solid #ccc !important;
    padding: 0.5rem !important;
    font-size: 1rem !important;
    outline: none !important;
}

input:focus {
    border-color: #00a1e0 !important;
    box-shadow: 0 0 0 2px rgba(0, 161, 224, 0.2) !important;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    max-width: 60px;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield; /* Firefox */
}

.youtube-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.youtube-modal.hidden {
    display: none;
}

.youtube-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.youtube-modal-content {
    position: relative;
    background: white;
    padding: 30px;
    border-radius: 8px;
    z-index: 1001;
    height: 72%;
    width: 60%;
}

.youtube-modal-close {
    position: absolute;
    top: 0px;
    right: 0px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

.youtube-video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.youtube-video-wrapper iframe {
    width: 100%;
    height: 100%;
}