html,
body {
    overflow-x: hidden;
}

#tires-hero {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("../../images/tires/back-new.jpg");
    background-image: -webkit-image-set(url("../../images/tires/back-new.jpg") 1x, url("../../images/tires/back-new@2x.jpg") 2x);
}

#tires-hero .th-inner {
    padding: 46px 0 63px 0;
}

#tires-hero .th-inner h2 {
    color: #FFF;
    font-size: 36px;
    font-style: normal;
    font-weight: 900;
    line-height: 42px;
    max-width: 364px;
    padding-left: 8px;
    margin: 0;
}

#tires-hero .th-inner p {
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 42px;
    /* 233.333% */
    padding-left: 8px;
}

#tires-how {
    padding: 50px 0 80px;
}

#tires-how h2 {
    font-size: 2.5em;
    line-height: 1.05;
    margin: 0;
}

#tires-how h2 span {
    font-size: 133.02%;
}

#tires-how .th-inner {
    column-gap: 120px;
    row-gap: 40px;
    margin-top: 50px;
    justify-content: center;
}

.th-item {
    flex-basis: calc(33.333% - 120px);
}

.th-step {
    margin-right: 12px;
}

.th-step-circle {
    right: -2px;
    bottom: -2px;
}

.th-step-inner {
    width: 38px;
    height: auto;
    aspect-ratio: 1 / 1;
    font-size: 28px;
}

.th-item h4 {
    font-size: 22px;
    line-height: 1.272727272727273;
}

.th-item p {
    font-size: 18px;
    line-height: 1.3333;
}

#tires-banner {
    padding: 0 15px;
    background-size: auto 115%;
    background-repeat: no-repeat;
    background-position: top left;
    background-image: url("../../images/tires/banner-back.png");
    background-image: -webkit-image-set(url("../../images/tires/banner-back.png") 1x, url("../../images/tires/banner-back@2x.png") 2x);
}

#tires-banner .tb-text {
    padding-top: 67px;
    padding-bottom: 73px;
    margin-left: 68px;
    margin-right: 96px;
}

#tires-banner .tb-animation .gif {
    width: 123%;
    margin-left: -6%;
}

#tires-why {
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: contain;
    background-image: url("../../images/tires/why-bg.jpg");
    background-image: -webkit-image-set(url("../../images/tires/why-bg.jpg") 1x, url("../../images/tires/why-bg@2x.jpg") 2x);
}

#tires-why:before {
    content: '';
    display: block;
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: -1;
    left: 0;
    background-color: #fbfbfb;
}

.tw-text {
    flex-basis: 420px;
    flex-grow: 0;
}

#tires-why {
    padding: 67px 0 77px;
}

#tires-why h2 {
    font-size: 2.5em;
    line-height: 1.05;
    margin: 0 0 22px;
}

#tires-why p {
    font-size: 1.125em;
    line-height: 1.333;
    margin-bottom: 12px;
    width: 430px;
}

#tires-why ul {
    font-size: 1.125em;
    line-height: 1.222;
}

#tires-why li {
    padding-left: 36px;
    position: relative;
}

#tires-why li+li {
    margin-top: 10px;
}

#tires-why li:before {
    content: '';
    display: block;
    width: 22px;
    height: 22px;
    position: absolute;
    left: 0;
    top: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("../../images/tires/icon-checkmark-red-tires.png");
    background-image: -webkit-image-set(url("../../images/tires/icon-checkmark-red-tires.png") 1x, url("../../images/tires/icon-checkmark-red-tires@2x.png") 2x);
}

#common {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-image: url(../images/tires/table-bg.jpg);
    background-image: -webkit-image-set(url("../../images/tires/table-bg.jpg") 1x, url("../../images/tires/table-bg@2x.jpg") 2x);
    padding: 50px 0;
    position: relative;
    --content-widht: 1049px;
}

#common .inner {
    position: relative;
    font-size: 0;
    z-index: 2;
}

#common .inner .t-head {
    position: relative;
    background-color: #ea222f;
    color: white;
    font-size: 18px;
    text-align: center;
    line-height: 42px;
}

#common .inner .t-body {
    position: relative;
    background-color: #fafafa;
    border-right: 1px solid #c8c8c8;
    border-left: 1px solid #c8c8c8;
}

#common .inner .t-body .t-row {
    height: 50px;
    border-bottom: 1px solid #c8c8c8;
}

#common .inner .t-body .t-row .t-col:not(:last-child) {
    border-right: 1px solid #c8c8c8;
}

#common .inner .t-body .t-row:nth-child(2n+2) {
    background-color: #eaeaea;
}

#common .inner .t-body .t-row .t-col {
    width: 33.333333%;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    color: #ea222f;
    padding: 0 20px;
    font-size: 12px;
}

#common .inner .t-body .t-row .t-col:nth-child(1) {
    width: 36%;
}

#common .inner .t-body .t-row .t-col:nth-child(2) {
    width: 32%;
}

#common .inner .t-body .t-row .t-col:nth-child(3) {
    width: 32%;
}

#common .inner .t-body .t-row .t-col:nth-child(1) span.tire-name {
    width: 240px;
}

#common .inner .t-body .t-row .t-col:nth-child(2) span.tire-name {
    width: 200px;
}

#common .inner .t-body .t-row .t-col:nth-child(3) span.tire-name {
    width: 200px;
}

#common .inner .t-body .t-row .t-col span.tire-name {
    display: inline-block;
    color: #000000;
    max-width: 100%;
}

#tires-brands {
    padding-top: 80px;
}

#tires-brands h2 {
    font-size: 38px;
    margin: 0 auto 9px;
}

#tires-brands h2 span {
    font-size: 133.02%;
}

#tires-brands p {
    margin-bottom: 50px;
    color: #aaaaaa;
}

#tires-brands .with-underline:before {
    width: 104%;
    bottom: 0;
    aspect-ratio: 1 / 0.035955056179775;
    background-image: url(../../images/tires/underline-tires.png);
    background-image: -webkit-image-set(url("../../images/tires/underline-tires.png") 1x, url("../../images/tires/underline-tires@2x.png") 2x);
}

#tires-brands img {
    opacity: 0.3;
    margin: 0 12px 40px;
    align-self: center;
}

#tires-brands img:hover {
    opacity: 1;
}

.grayscale {
    filter: url(data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='saturate' values='0'/></filter></svg>#grayscale);
    filter: grayscale(1);
    filter: gray;
}

.grayscale.grayscale-fade:hover,
.grayscale.grayscale-off {
    filter: grayscale(0);
}

.grayscale.grayscale-fade {
    transition: filter .5s;
}

#form-tires form {
    margin: 0;
}

#form-tires button {
    width: 234px;
    height: 40px;
    border-radius: 20px;
    border: 2px solid #EB0F10;
    background: #FC0D1B;
    color: #FFF;
    text-align: center;
    font-size: 17px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    /* 141.176% */
    text-transform: uppercase;
    padding: 0;
}

/* Safari Only */
@supports (background: -webkit-named-image(i)) {
    #form-tires button {
        padding-top: 2px;
    }
}

#tires-hero .tires-new {
    bottom: 0;
    left: 50%;
    transform: translateX(31%);
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .grayscale.grayscale-fade {
        transition: -webkit-filter .5s;
    }

}

@media screen and (max-width: 1299px) {
    #tires-why {
        background-size: cover;
    }

    #tires-why:before {
        display: none;
    }
}

@media screen and (max-width: 1199px) {
    #tires-banner .tb-text {
        margin: 0 30px;
    }

    #tires-how .th-inner {
        column-gap: 60px;
    }

    .th-item {
        flex-basis: calc(33.333% - 60px);
    }

    #common .inner .t-body .t-row .t-col {
        padding: 0 10px;
    }

    #common .inner .t-body .t-row .t-col:nth-child(1) span.tire-name {
        width: 235px;
    }

    #tires-why {
        background-position: 50% 100%;
    }

    #tires-hero .tires-new {
        display: none;
    }
}

@media screen and (max-width: 991px) {
    #common .inner .t-body .t-row {
        height: 75px;
    }

    #common .inner .t-body .t-row .t-col {
        padding: 10px;
        height: 75px;
    }
}

@media screen and (max-width: 767px) {
    #tires-why {
        background-image: none;
        background-color: var(--light-gray);
    }

    #tires-how .th-inner {
        justify-content: flex-start;
    }

    .th-item {
        flex-basis: calc(50% - 60px);
    }

    .th-item h4 {
        font-size: 16px;
    }

    .th-item p {
        font-size: 14px;
    }
}

@media screen and (max-width: 567px) {
    #tires-hero {
        background-image: url("../../images/tires/back-new-m.jpg");
        background-image: -webkit-image-set(url("../../images/tires/back-new-m.jpg") 1x, url("../../images/tires/back-new-m@2x.jpg") 2x);
    }

    #tires-hero .th-inner {
        padding-top: 110cqw;
        padding-bottom: 23cqw;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 100%;
    }

    #tires-hero .th-inner h2 {
        color: #FFF;
        text-align: center;
        font-size: 9.2cqw;
        font-style: normal;
        font-weight: 900;
        line-height: 11cqw;
        padding: 0;
        max-width: unset;
    }

    #tires-hero .th-inner p {
        color: #FFF;
        text-align: center;
        font-size: 4.7cqw;
        font-style: normal;
        font-weight: 600;
        line-height: 9.5cqw;
        padding: 0;
    }

    #tires-hero .button,
    #form-tires button {
        border-radius: 5.5cqw;
        border: 2px solid #FC0D1B;
        background: #FC0D1B;
        color: #FFF;
        text-align: center;
        font-size: 4.2cqw;
        font-style: normal;
        font-weight: 700;
        line-height: 17px;
        text-transform: uppercase;
        width: 55cqw;
        height: 11cqw;
        padding: 0;
        margin-top: 5cqw;
    }

    #tires-how {
        padding-bottom: 40px;
    }

    #tires-how h2 {
        font-size: 35px;
    }

    #tires-how .swiper {
        padding-left: 60px;
        padding-right: 60px;
    }

    #tires-how .th-inner {
        column-gap: 0;
        row-gap: 0;
    }

    .th-item {
        flex-basis: auto;
    }

    #tires-banner {
        flex-direction: column-reverse;
        padding-bottom: 19px;
        background-size: cover;
        background-position: center;
        background-image: url("../../images/tires/banner-back.jpg");
        background-image: -webkit-image-set(url("../../images/tires/banner-back.jpg") 1x, url("../../images/tires/banner-back@2x.jpg") 2x);
    }

    #tires-banner .tb-text {
        margin: 0;
        padding-top: 28px;
        padding-bottom: 14px;
    }

    #tires-why {
        padding: 35px;
    }

    #tires-why h2 {
        font-size: 1.8125em;
        margin-bottom: 12px;
    }

    #tires-why p {
        font-size: 1em;
        line-height: 1.1875;
        width: 285px;
    }

    #tires-why ul {
        font-size: 0.9375em;
        line-height: 1.41666667;
    }

    #tires-why li {
        padding-left: 25px;
    }

    #tires-why li:before {
        width: 15px;
        height: 15px;
    }

    #common .inner .t-body .t-row {
        height: auto;
    }

    #common .inner .t-body .t-row .t-col {
        padding: 10px;
        height: 50px;
    }

    #common .inner .t-body .t-row .t-col:nth-child(1),
    #common .inner .t-body .t-row .t-col:nth-child(2),
    #common .inner .t-body .t-row .t-col:nth-child(3) {
        width: 100%;
    }

    #common .inner .t-body .t-row .t-col:nth-child(2n) {
        background-color: var(--dark-gray);
    }

    #common .inner .t-body .t-row .t-col:not(:nth-child(2n)) {
        background-color: transparent;
    }

    #tires-brands {
        padding-top: 45px;
        padding-bottom: 30px;
    }

    #tires-brands h2 {
        font-size: 29px;
    }

    #tires-brands .brand-list {
        column-gap: 40px;
        row-gap: 30px;
    }

    #tires-brands .brand-list span {
        flex-basis: calc(50% - 40px);
        justify-content: center;
    }

    #tires-brands img {
        max-width: 100%;
        margin: 0;
    }

    #form-tires {
        display: none;
        width: 100%;
        background-color: white;
        justify-content: center;
        align-items: center;
        padding: 40px 10px 52px 10px;
        z-index: 9;
        border-radius: 30px 30px 0 0;
        height: 0;
    }

    #tires-hero .tires-form-wrapper {
        position: fixed;
        bottom: 0;
        width: 100%;
        z-index: 9;
    }

    #form-tires.active {
        z-index: 9;
        display: flex;
        height: 100%;
        animation: slideUp 0.4s ease-out forwards;
    }

    #form-tires.active.closing {
        animation: slideDown 0.4s ease-in forwards;
    }

    @keyframes slideUp {
        from {
            transform: translateY(100%);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    @keyframes slideDown {
        from {
            transform: translateY(0);
            opacity: 1;
        }

        to {
            transform: translateY(100%);
            opacity: 0;
        }
    }

    #tires-hero .container {
        padding: 0;
    }
}