.delivery-content-inner-title-text {
    font-size: 3.2rem;
    margin-bottom: 3rem;
}

.delivery-content-inner-title {
    padding-bottom: 5rem;
}

.delivery-content-title-text {
    font-size: 1.8rem;
    font-weight: bold;
}

.delivery-content-title {
    padding-bottom: 3rem;
}

.content-block {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    max-width: 27rem;
    width: 100%;
    margin-right: 0rem;
    height: auto;
    max-height: unset;
}

.content-block-title-wrapper {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    -webkit-box-align: baseline;
    -moz-box-align: baseline;
    -ms-flex-align: baseline;
    -webkit-align-items: baseline;
    align-items: baseline;
}

.option {
    align-items: unset;
}

.content-block-wrapper-text,
.content-block-main-wrapper-text {
    font-size: 1.4rem;
    max-width: 20rem;
    font-weight: bold;
}

.option-checkbox-checked::after {
    z-index: 98;
}

.content-block-main-wrapper-text {
    font-weight: normal;
}

.content-block-main-wrapper-text {
    text-align: left;
    font-size: 1.4rem;
    max-width: unset;
    width: 100%;
    display: block;
    overflow: hidden;
    resize: none;
    border: none;
    cursor: pointer;
    padding: 1rem;
    min-height: 7.5rem;
}

.content-block-main-wrapper-text:focus-within {
    cursor: text;
}

.delivery-content-mid {
    display: -ms-grid;
    display: grid;
    grid-template-columns: 1fr 39rem;
    column-gap: 2rem;
}

.delivery-content-mid-left-blocks {
    display: -ms-grid;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 2rem;
    max-width: 87rem;
    width: 100%;
}

.content-link,
.content-link-wrapper {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #000;
}

.content-link {
    border: 0.1rem solid rgba(0, 0, 0, 30%);
    border-radius: 0.5rem;
    max-width: 27rem;
    width: 100%;
    height: inherit;
    margin-right: 0;
    background: #fff;
    cursor: pointer;
    min-height: 10rem;
}

.content-link-wrapper {
    margin-left: 0.8rem;
    font-size: 1.4rem;
    font-weight: bold;
}

.checkout {
    width: 39rem;
}

.discount-sum {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    justify-content: space-between;
}

.discount-sum {
    margin-bottom: 2.2rem;
}

.delivery-sum {
    margin-bottom: 2.5rem;
}

.total-sum {
    margin-top: 3.3rem;
}

.item-section-filter-element {
    display: -ms-grid;
    display: grid;
    max-width: 27.5rem;
    width: 100%;
    grid-template-areas:
        'm1 s1'
        'm1 s2';
}

.delivery-content-bottom {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.delivery-content-bottom-inner:not(:last-child) {
    margin-right: 2rem;
}

.delivery-content-bottom input[type='radio'] {
    opacity: 0;
    z-index: 5;
}

.item-section-filter-element2 {
    min-height: 3rem;
    position: relative;
}
.item-section-filter-element2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0rem;
    transform: translateY(-50%);
    display: inline-block;
    border: 0.1rem solid #c50003;
    border-radius: 0.5rem;
    width: 2.4rem;
    height: 2.4rem;
}

.item-section-filter-element2::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0.3rem;
    transform: translateY(-50%);
    background: #c50003;
    border-radius: 0.5rem;
    width: 2rem;
    height: 2rem;
    display: none;
}

.item-section-filter-element2.reveal::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0.3rem;
    transform: translateY(-50%);
    background: #c50003;
    border-radius: 0.5rem;
    width: 2rem;
    height: 2rem;
    display: block;
}

.checkbox {
    grid-area: m1;
    align-self: baseline;
}

.item-section-brand {
    grid-area: s1;
    font-weight: normal;
    margin-top: 1rem;
}

.item-section-brand2 {
    font-weight: bold;
}

.item-section-brand-second {
    grid-area: s2;
}

.delivery-content-bottom-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 3.5rem;
}

.delivery-content-bottom-inner {
    display: -ms-grid;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    -webkit-box-align: baseline;
    -moz-box-align: baseline;
    -ms-flex-align: baseline;
    -webkit-align-items: baseline;
    align-items: baseline;
    gap: 2rem;
}

.item-section-brand-second {
    max-width: 20rem;
    width: 100%;
}

.delivery-content-bottom-second .item-section-brand {
    margin-top: 0.5rem;
}

.checkbox2 {
    padding: 1.2rem;
    border: 0.2rem solid;
    border-radius: 0.5rem;
    border-color: rgba(0, 0, 0, 30%);
    cursor: pointer;
    width: 2.4rem;
}

.checked2 {
    background: transparent;
    border-color: #c3000e;
    position: relative;
}

.checked2::after {
    content: '';
    position: absolute;
    top: 14%;
    right: 11%;
    width: 1.8rem;
    height: 1.8rem;
    background: #c50003;
    border: none;
    border-radius: 0.5rem;
}

.item-section-filter-element2 {
    cursor: pointer;
    width: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    justify-content: flex-start;
    /* width: 27.5rem; */
}

.item-section-filter-element2:not(:last-child) {
    margin-bottom: 1.6rem;
    margin-right: 2rem;
}

.deliver-content-bottom-third {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 10rem;
}

.deliver-content-bottom-third form {
    max-width: 19rem;
    width: 100%;
}

.checkout-button {
    margin: 0;
}

.option-checkbox-wrapper {
    max-width: unset;
    width: fit-content;
}

.option {
    justify-content: unset;
    margin-bottom: 0rem;
}

.checkout-place-order-button {
    margin: 3rem 0 7rem 0;
}

.delivery-content-inner-title-text {
    font-size: 2.8rem;
}

.profile-content-inner-mid-block-wrapper-hidden.shown {
    max-height: 50rem;
    transition: max-height 0.3s ease;
}

.profile-content-inner-bottom-second {
    width: 100%;
    padding-bottom: 0;
}

.reveal {
    right: 0;
}

.dc-head {
    border-radius: 1rem;
    background: rgb(36, 36, 36);
}

.dc-row-mod {
    align-items: center;
    display: grid;
    padding: 2.8rem 2.5rem;
    grid-template-columns: 5fr 3fr 2fr;
}

.dc-row {
    align-items: center;
    display: grid;
    padding: 2.8rem 2.5rem;
    grid-template-columns: 5fr 3fr 2fr 1fr;
}

.dc-row:not(:last-child) {
    border-bottom: 0.1rem solid #cecece;
}

.dc-head button {
    background: none;
}

.delivery-content-table {
    width: 100%;
    overflow-x: auto;
}

.dc-content-inner {
    width: 100%;
}

.delivery-content-table button {
    border: none;
    cursor: pointer;
}

.dc-head p:first-child {
    text-align: left;
}

.dc-head p {
    text-align: center;
    color: #fff;
    font-size: 1.8rem;
}
.dc-text {
    font-size: 1.8rem;
    text-align: center;
}

.dc-img {
    background: none;
}

.dc-name {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.dc-name-text {
    font-weight: bold;
    font-size: 1.8rem;
}

.dc-quantity span {
    text-align: center;
}

.dc-quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dc-add {
    padding: 1rem 1.8rem;
    font-size: 1.8rem;
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    background: #f7f7f7;
}

.dc-subtract {
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
    padding: 1rem 1.8rem;
    font-size: 1.8rem;
    background: #f7f7f7;
}

.dc-quantity span {
    width: 3rem;
    border: none;
    font-size: 1.8rem;
    font-weight: bold;
}

#summary-section {
    width: 100%;
    overflow: auto;
}

@media screen and (max-width: 1440px) {
    .delivery-content-inner-title {
        padding-bottom: 3rem;
    }

    .delivery-content-mid {
        padding-bottom: 3rem;
    }

    .deliver-content-bottom-third {
        padding-bottom: 6rem;
    }

    .delivery-content-bottom-title {
        margin-bottom: 3rem;
    }
}

@media screen and (max-width: 1300px) {
    .dc-content-inner {
        margin: 0 auto;
        width: 100%;
        align-self: center;
    }
}
@media screen and (max-width: 1050px) {
    .delivery-content-mid-left-blocks {
        gap: 2rem;
        grid-template-columns: 1fr 1fr;
    }

    .delivery-content-mid-right {
        align-self: center;
        padding-top: 1rem;
    }
}

@media screen and (max-width: 950px) {
    .dc-head.dc-row-mod {
        display: none;
    }

    .product-sum-text,
    .total-sum-text {
        font-size: 1.4rem;
    }

    .product-sum-number,
    .total-sum-number {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 880px) {
    .dc-img {
        max-width: 16rem;
        max-height: 16rem;
        width: 100%;
        height: 100%;
    }
    .dc-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
@media screen and (max-width: 860px) {
    .delivery-content-mid {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        flex-direction: column;
        -webkit-box-align: center;
        -moz-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
    }

    .checkout {
        max-width: unset;
        width: 100%;
        margin-bottom: 2rem;
    }

    .delivery-content-mid-left-blocks {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media screen and (max-width: 750px) {
    .delivery-content-bottom-inner {
        grid-template-columns: 1fr 1fr;
    }

    .item-section-filter-element {
        max-width: unset;
    }

    .item-section-filter-element:not(:last-child) {
        margin: 0;
    }

    .checkbox {
        align-self: center;
    }

    .item-section-brand-second {
        max-width: unset;
    }

    .item-section-brand {
        margin: 0;
        margin-top: 1rem;
    }

    .checkbox {
        margin-right: 1.5rem;
    }

    .checkbox2 {
        margin-right: 1.5rem;
    }
}

@media screen and (max-width: 700px) {
    .dc-img {
        max-width: 24rem;
        max-height: 24rem;
        width: 100%;
        height: 100%;
    }
    /* ======================= */
    .dc-name {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    .dc-row-mod {
        padding-bottom: 3.2rem;
        align-items: flex-start;
        padding: 0;
        gap: 1.6rem;
        display: flex;
        flex-direction: column;
    }
    .dc-name-text {
        font-size: 2rem;
    }
    .dc-quantity span {
        text-align: center;
        background: #f1f1f1;
        border-radius: 0.2rem;
        padding: 0.4rem 1rem;
    }
    .dc-quantity {
        justify-content: flex-start;
    }
    .dc-text.dc-price {
        color: #c50003;
        font-weight: bold;
        font-size: 1.8rem;
        text-align: left;
    }
    /* ======================= */
    .dc-row-mod {
        grid-template-columns: 4fr 2fr 1fr;
    }
    .dc-img {
        max-width: 16rem;
        max-height: 16rem;
    }
    .dc-img img {
        max-width: 16rem;
        max-height: 16rem;
        object-fit: cover;
    }
}

@media screen and (max-width: 660px) {
    .delivery-content-bottom-inner {
        grid-template-columns: 1fr;
    }

    .item-section-filter-element {
        max-width: unset;
    }

    .deliver-content-bottom-third form {
        max-width: unset;
    }
}

@media screen and (max-width: 640px) {
    .delivery-content-mid-left-blocks {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .item-section-filter-element {
        max-width: unset;
    }

    .content-link {
        max-width: unset;
    }
}

@media screen and (max-width: 500px) {
    .delivery-content-mid-left {
        max-width: unset;
        width: 100%;
    }

    .profile-content-block-inner:first-child {
        margin-top: 1rem;
    }

    .profile-content-block-inner {
        margin-bottom: 1rem;
    }

    .delivery-content-mid-left-blocks {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        flex-direction: column;
        padding-bottom: 1rem;
    }

    .content-block,
    .content-link {
        max-width: unset;
    }
}

@media screen and (max-width: 400px) {
    .product-sum-text,
    .total-sum-text {
        font-size: 1.3rem;
        display: inline-block;
        text-align: left;
    }

    .product-sum-number,
    .total-sum-number {
        font-size: 1.5rem;
        display: inline-block;
        text-align: right;
    }

    .checkout-top {
        padding: 3rem 2rem 0rem 2rem;
    }

    .checkout-bottom {
        padding: 0 2rem 3rem 2rem;
    }

    .item-section-filter-element {
        flex-shrink: 1;
    }
}
