.fixed_size {
    display: flex;
    padding: 0 0.5rem!important;
}

.fixed_size .headers,
.fixed_size .selectors label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fixed_size .headers {
    /*max-width: min-content;*/
    /*padding-left: 0;*/
}

.fixed_size .headers p {
    margin: 0;
    padding: 0;
}

.fixed_size .size_header {
    font-weight: 900;
}

.fixed_size .selectors {
    display: flex;
    /*padding-right: 0;*/
    /*flex-basis: 100%;*/
    /*justify-content: space-evenly;*/
    flex-wrap: wrap;
    gap: 0.5rem;
}

.fixed_size .selectors label {
    opacity: 0.8;
    border-radius: 0.2rem;
    text-align: center;
    padding: 0.5rem;
    /*font-weight: 900;*/
    border: 1px solid #ccc;
    background: #eee8;
}

.fixed_size .selectors label .value {
    border-top: 1px solid #ccc;
}

.fixed_size .selectors label .indication {
    font-weight: 900;
}

.fixed_size .selectors label:has(input:checked),
.trousers_type label:has(input:checked),
.fabric label:has(input:checked) {
    opacity: 1;
    background: var(--mint-color);
    color: white;
}

.fixed_size .selectors input,
.fabric label input {
    display: none;
}

.model {
    display: flex;
    max-width: 400px;
    justify-content: flex-start;
    padding: 0.5rem 0!important;
}

.portable,
.trousers_type {
    display: flex;
    flex-direction: row;
    gap: 0.25rem;
}

.portable {
    padding-left: 0!important;
    align-items: center;
}

.portable label {
    max-width: min-content;
}

.portable .verified_input_container {
    position: relative;
}

.trousers_type {
    align-items: center;
}

.trousers_type p {
    padding: 0!important;
    color: var(--fieldset-color)!important;
}

.trousers_type input {
    display: none;
}

.trousers_type label {
    opacity: 0.6;
    border-radius: 0.2rem;
    padding: 1rem 0.5rem!important;
    font-weight: 900!important;
    border: 1px solid #ccc;

}

label:has(input:disabled):before {
    content: '';
    position: absolute;
    top: 10%; left: 10%;
    height: 80%;
    width: 80%;
    background: center / contain url(/images/data/lock.svg) no-repeat;
    opacity: 0.5;
}

.fabric_container {
    overflow-x: scroll;
    width: 100%;
    padding: 0.5rem 0;
}

.fabric {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    font-size: 0.8rem;
}

.fabric-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: min-content;
    border: 1px solid #ccc;
    border-radius: 0.2rem;
}

.fabric-item:has(input:checked) span {
    opacity: 1;
}

.fabric-item .fabric-image {
    background: center / cover var(--image) no-repeat;
    height: 5rem;
    width: 7rem;
    border-radius: 0.2rem;
}

.fabric-item:not(:has(input:disabled)) .fabric-image:hover {
    position: fixed;
    top: 20%;
    left: 10%;
    height: 60%;
    width: 80%;
    z-index: 2;
}

.fabric-item {
    padding: 0.5rem;
}

.fabric-item .header {
    padding: 0 0 0.5rem;
    font-weight: bold;
}

.fabric-item span:not(.fabric-image) {
    text-align: center;
    opacity: 0.8;
}

#jeans-black-image {
    --image: url(/images/fabric/jeans_black.png);
}

#cotton-black-image {
    --image: url(/images/fabric/cotton_black_light.png);
}

#cotton-black-dense-image {
    --image: url(/images/fabric/cotton_black_dense.png);
}

.fabric label:has(input:disabled):before {
    top: 35%; left: 35%;
    height: 30%;
    width: 30%;
}

.fabric label:has(input:disabled) span {
    opacity: 0.5;
}

@media (orientation: portrait) {
    .fixed_size .headers {
        max-width: min-content;
    }
}