.common-title_m {
    font-size: 15px;
    line-height: 15px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    background: url(/common/design/user/img/index-new-m/title-common-bg.png) left top repeat;
    margin: 0 0 20px;
    padding: 10px 20px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    overflow: hidden;
}
.select__element {
    gap: 10px;
    margin-bottom: 17px;
}
.element__choice {
    font-size: 13px;
    line-height: 21px;
    text-align: center;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    padding: 8px;
    font-weight: 700;
    flex: 1;
}
#main {
    width: 100%;
}
.btn-market {
    display: flex;
    align-items: center;
    gap: 3px;
    justify-content: flex-end;
}
.btn-market:before {
    content: '\f138';
    font-family: "FontAwesome";
    font-size: 20px;
    color: #0084FF;
}
.btn-market a {
    display: flex;
    gap: 5px;
    font-size: 14px;
    line-height: 25px;
    color: #0084FF;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.common-title_s1 {
    background: transparent;
    color: #000;
    text-align: left;
    display: inline-block;
    margin: 0;
    padding: 0 0 6px;
    position: relative;
    z-index: 1;
    font-size: 15px;
    line-height: 16px;
    font-weight: 700;
}
.common-title_s1:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    background: #d61518;
    left: 0;
    bottom: -4px;
    z-index: 1;
}
.inline-border {
    height: 4px;
    width: 100%;
    background: #000;
    position: relative;
    margin-bottom: 13px;
}
.text__sỉze {
    font-size: 14px;
    line-height: 19px;
    color: #313131;
    margin-bottom: 25px;
    font-weight: 600;
}
.name__paper {
    font-size: 14px;
    line-height: 20px;
    color: #a9a9a9;
    font-weight: 700;
}
.size__paper {
    gap: 20px;
    margin-bottom: 12px;
}
.name__paper:hover,
.name__paper.choice {
    color: #000000;
    border-bottom: 4px solid #000;
}
.choice__size {
    display: grid;
    grid-auto-columns: 25% 25% 25% 12.5% 12.5%;
    grid-template-rows: 25% 25% 25% 12.5% 12.5%;
    grid-template-areas:
    "a3 a3 a4 a4 a4"
    "a3 a3 a4 a4 a4"
    "a3 a3 a5 a6 a6"
    "a3 a3 a5 a7 a8"
    "a3 a3 a5 a7 .";
    gap: 2px;
    padding-bottom: 20px;
}
.paper__size--3 {
    grid-area: a3;
}
.paper__size--4 {
    grid-area: a4;
}
.paper__size--5 {
    grid-area: a5;
}
.paper__size--6 {
    grid-area: a6;
}
.paper__size--7 {
    grid-area: a7;
}
.paper__size--8 {
    grid-area: a8;
}
.paper__size {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 8px;
    border: 2px solid #bbcbd9;
    padding: 20px;
}
.name__size {
    font-size: 16px;
    font-weight: 700;
    line-height: 18px;
    color: #00aeff;
    position: relative;
}
.data__size {
    font-size: 12px;
    line-height: 14px;
    color: #6c6c6c;
    text-align: center;
}
.paper__size.disable {
    border-color: #efefef;
    background-color: #efefef;
    /*cursor: none;*/
    pointer-events: none;
}
.paper__size:hover,
.paper__size.choice {
    border-color: #00aeff;
    background-color: #00aeff;
}
.paper__size:hover .name__size,
.paper__size:hover .data__size,
.paper__size.choice .name__size,
.paper__size.choice .data__size {
    color: #fff;
}
.paper__size.disable .name__size {
    color: #bdbdbd;
}
.note__paper {
    display: none;
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    font-size: 12px;
    line-height: 15px;
    color: #00aeff;
    background-color: white;
    padding: 15px 10px;
    box-shadow: 0 0 5px 1px #efefef;
    z-index: 2;
}
.note__paper::after {
    content: '';
    position: absolute;
    bottom: -9px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 10px solid #fff;
}
.paper__size.choice .note__paper,
.paper__size:hover .note__paper {
    display: block;
}
.unit__size {
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
    margin-bottom: 32px;
}
.paper__choice {
    display: none;
}
.paper__choice.choice {
    display: block;
}
.text__table--size {
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 14px;
}
.table__paper thead tr {
    background-color: #373737;
}
.table__paper thead td {
    font-size: 12px;
    line-height: 13px;
    color: white;
    padding: 10px;
    white-space: nowrap;
}
.table__paper tbody tr {
    border: 1px solid #e9e9e9;
}
.table__paper tbody th {
    text-align: left;
    font-size: 12px;
    line-height: 13px;
    padding: 10px;
    vertical-align: middle;
}
.table__paper tbody tr.b__paper {
    background-color: #f8f8f8;
}
.part__content {
    margin-bottom: 25px;
}
.choice__material {
    border: 1px solid #e9e9e9;
    padding: 15px 10px;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.name__material {
    font-size: 14px;
    line-height: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    text-align: center;
}
.img__material {
    height: 160px;
    margin-bottom: 13px;
}
img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.content__material {
    font-size: 14px;
    line-height: 19px;
    font-weight: 700;
    margin-bottom: 18px;
}
.feature__material {
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.name__feature {
    padding: 10px;
    background-color: #e6f2f0;
    font-size: 14px;
    line-height: 16px;
    font-weight: 700;
}
.result__feature {
    width: 25px;
}
.box__feature {
    gap: 5px;
}
.list__material {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 35px;
}
.open__think {
    font-size: 14px;
    line-height: 15px;
    font-weight: 700;
    margin-bottom: 15px;
}
.content__think {
    font-size: 14px;
    line-height: 19px;
    margin-bottom: 15px;
}
.shoe__think {
    margin-bottom: 25px;
}
.price__item {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
}
.name__price {
    font-size: 12px;
    line-height: 12px;
    color: #313131;
}
.number__price {
    font-size: 14px;
    line-height: 14px;
    color: #313131;
    font-weight: 700;
}
.buy__item {
    font-size: 14px;
    line-height: 15px;
    color: white;
    border-radius: 5px;
    background-color: #0097c8;
    padding: 13px;
    text-align: center;
}
.list__sell {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.list__sell .img__material {
    height: 185px;
    margin-bottom: 10px;
}
.list__sell .img__material img{
    box-shadow: 0 3px 4px 0 #d7d7d7;
}
.table__paper tbody th:first-of-type,
.table__paper thead td:first-of-type {
    text-align: center;
}
.list__sell .name__material {
    display: flex;
    justify-content: center;
    background-color: #373737;
    color: white;
    width: 100%;
    padding: 10px 5px;
    flex: 1;
    align-items: center;
}
@media (min-width: 768px) {
    .paper__choice {
        display: block;
        width: 100%;
    }
    .list__size {
        display: flex;
        justify-content: space-between;
        gap: 25px;
    }
    .list__material {
        flex-direction: row;
        gap: 20px;
        margin-bottom: 35px;
    }
    .list__sell {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 15px;
    }
    .size__paper {
        display: none;
    }
    .element__choice {
        font-size: 14px;
    }
}
@media (min-width: 1024px) {
    #contents #main {
        flex-shrink: 0;
    }
    .unit__size,
    .note__paper {
        font-size: 14px;
        line-height: 20px;
    }
    .data__size {
        font-size: 14px;
        line-height: 15px;
    }
    .note__paper {
        top: -80px;
    }
    .name__size {
        font-size: 19px;
        line-height: 20px;
    }
    .btn-price {
        color: #0084ff;
        font-size: 16px;
        line-height: 25px;
        text-decoration: underline;
    }
    .box__select {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 40px;
    }
    .element__choice {
        width: 128px;
        padding: 10px;
    }
    .select__element {
        gap: 7px;
        margin-bottom: 0;
    }
    .common-title_s1 {
        padding: 0 0 10px;
        font-size: 26px;
        line-height: 32px;
    }
    .content__think,
    .text__sỉze {
        font-size: 16px;
        line-height: 26px;
    }
    .open__think,
    .text__table--size {
        font-size: 20px;
        line-height: 23px;
    }
    .table__paper tbody th,
    .table__paper thead td {
        font-size: 16px;
        line-height: 26px;
        padding: 18px;
    }
    .name__material {
        font-size: 16px;
        line-height: 32px;
        margin-bottom: 23px;
    }
    .content__material {
        line-height: 24px;
        margin-bottom: 15px;
    }
    .name__feature {
        padding: 10px;
        line-height: 24px;
    }
    .box__feature {
        width: 100%;
    }
    .feature__material {
        flex: 1;
    }
    .result__feature {
        height: 22px;
    }
    .list__sell .name__material {
        border: 1px solid #e9e9e9;
        margin-bottom: 15px;
    }
    .list__sell .img__material {
        height: 310px;
        margin-bottom: 23px;
    }
    .name__price {
        font-size: 14px;
        line-height: 24px;
    }
    .number__price {
        font-size: 18px;
        line-height: 24px;
    }
    .buy__item {
        line-height: 20px;
        padding: 15px;
    }
    .list__sell .choice__material {
        padding: 5px 10px;
    }
    .common-title_m {
        font-size: 26px;
        line-height: 28px;
        margin: 0 0 30px;
        padding: 23px 20px;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }
}

.back-button {
    display: inline-flex;
    align-items: center;
    background-color: #333;
    font-size: 16px;
    font-family: sans-serif;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s;
    margin-bottom: 10px;
    color: #ffffff !important;
}

.back-button:hover {
    background-color: #444;
}

a.back-button {
    gap: 5px
}