.page-title {
    padding-top: 120px;
    margin-bottom: 12px;
    @media (max-width: 768px) {
        padding-top: 94px;
    }
}
.page-heading {
    height: max-content !important;
}


.page-title h1{
    font-weight: 400;
    font-size: 28px;
    line-height: 120%;
    font-style: italic;
    @media (max-width: 768px) {
        font-size: 22px;
    }
}
.breadcrumbs {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.breadcrumbs__list {
    margin: 15px 0;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    @media (max-width: 768px) {
        margin: 11px 0;
    }
}
.breadcrumb__item {
    font-size: 17px;
    line-height: 23px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    @media (max-width: 768px) {
        font-size: 14px;
    }
}

.breadcrumb__item a {
    color: white;
}


.breadcrumb__item + .breadcrumb__item::before {
    content: "/";
    margin: 0 10px;
    color: #999;
    @media (max-width: 768px) {
        margin: 0 5px;
    }
}

.columns-article {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-bottom: 30px;
    @media (max-width: 768px) {
        gap: 20px;
        padding-bottom: 20px;
    }
    a {
        font-style: italic;
        color: #fcd80e;
    }
    p,
    ul li {
       line-height: 180%;
        font-size: 19px;
        color: #cacaca;
        @media (max-width: 768px) {
            line-height: 170%;
            font-size: 16px;
        }
        a {
            font-style: italic;
            margin-right: 8px;
            color: #fcd80e;
        }
   }
}
.section-img--left {
   img {
       float: left;
       margin-right: 35px;
       margin-bottom: 10px;
       width: 30%;
       height: auto;
       @media (max-width: 768px) {
           float: none;
           width: 90%;
           margin-left: auto;
           margin-right: auto;
           display: block;
       }
       @media (max-width: 400px) {
           width: 100%;
       }
   }
}
.section-img--right {
    img {
        float: right;
        margin-left: 35px;
        margin-bottom: 10px;
        width: 30%;
        height: auto;
        @media (max-width: 768px) {
            float: none;
            width: 90%;
            margin-left: auto;
            margin-right: auto;
            display: block;
        }
        @media (max-width: 400px) {
            width: 100%;
        }
    }
}
.sub-title {
    font-size: 24px !important;
    @media (max-width: 768px) {
        font-size: 19px !important;
    }
}

/* shop-page*/
.post-item {
    margin-bottom: 30px;
    background: #272727;
    min-height: 78px;
    display: flex;
    align-items: center;
    overflow: hidden;
    @media (max-width: 768px) {
        margin-bottom: 19px;
        min-height: 70px;
    }
}

.beveled-background {
    color: #272727;
    font-weight: 400;
    display: inline-block;
    padding: 15px;
    position: relative;
    z-index: 0;
    @media (max-width: 768px) {
       font-size: 17px;
        padding: 12px;
    }
}
.beveled-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: #fcd80e;
    transform: skewX(-30deg) translateX(-15%);
    width: 120%;
    height: 100%;
    z-index: -1;
}
.valueMark-title {
    font-weight: 400;
    margin-bottom: 15px;
    margin-top: 15px;
    font-size: 24px;
    @media (max-width: 768px) {
        font-size: 21px;
    }
}

.valueMark-wrapper {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    padding-bottom: 50px;
    row-gap: 30px;
    @media (max-width: 1220px) {
        grid-template-columns: repeat(5, 1fr);
    }
    @media (max-width: 1152px) {
        padding-bottom: 30px;
    }

    @media (max-width: 900px) {
        grid-template-columns: repeat(3, 1fr);
    }
    @media (max-width: 650px) {
        grid-template-columns: repeat(2, 1fr);
        padding-bottom: 20px;
    }
    @media (max-width: 420px) {
        grid-template-columns: 1fr;
    }
}
.valueMark {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.valueMark a{
    color: #ffffff;
}
.valueMark a:hover{
    color: #fcd80e;
}

.valueMark .caption h3 {
    font-weight: 400;
    margin-top: 8px;
    font-size: 17px !important;
    padding-left: 0 !important;
}
/*positions*/
.product-row-items-title {
    font-weight: 400;
    margin-bottom: 15px;
    margin-top: 15px;
    font-size: 22px;
    line-height: 140%;
    @media (max-width: 768px) {
        font-size: 19px;
    }
}
.product-row-items {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding-bottom: 30px;
    @media (max-width: 1220px) {
        grid-template-columns: repeat(4, 1fr);
    }
    @media (max-width: 900px) {
        grid-template-columns: repeat(3, 1fr);
    }
    @media (max-width: 650px) {
        grid-template-columns: repeat(2, 1fr);
        padding-bottom: 20px;
    }
    @media (max-width: 420px) {
        grid-template-columns: 1fr;
    }
}
.product-row-item {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.iw-product-content {
    background: #272727;
    padding: 10px 10px 40px 10px;
    flex-grow: 1;


}

.image-bg {
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: contain;
    height: 190px;
    width: 100%;
    background-color: white;
}
.product-name {
    margin-top: 8px;
    a {
        font-weight: 400;
        font-size: 17px !important;
        padding-left: 0 !important;
        color: white;
    }
}

/*parts*/
.product-detail {
    @media (max-width: 1250px) {
       order: 3;
    }
}
.product-content {
    overflow-x: hidden;
    @media (max-width: 1250px) {
        order: 4;
    }
}
.product-detail-title {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 10px;
}
.short-description {
    margin-bottom: 20px;
    p {
        font-weight: 400;
        font-size: 17px;
        color: #cacaca;
    }
}

.parts {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    @media (max-width: 1250px) {
        grid-template-columns: 1fr;
    }
}

.product-essential {
    background: #222;
    display: grid;
    grid-template-columns: 1fr 2fr;
    border: 1px solid rgba(255, 255, 255, 0.2);
    gap: 20px;
    padding: 15px;
    margin-bottom: 30px;
    @media (max-width: 768px) {
        grid-template-columns: 1fr;
    }
}
.price-and-rating {
    margin-top: auto;
}
.price-and-rating p {
    font-weight: 400;
    font-size: 14px;
    color: white;
    line-height: 160%;
    margin-bottom: 10px;
}

.product-shop {
    display: flex;
    flex-direction: column;
}
.image-bg-div {
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: contain;
    height: 324px;
    width: 100%;
    background-color: white;
}
.moto {
    background: #222;
    padding: 15px;
    position: sticky;
    top: 115px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    @media (max-width: 1250px) {
        position: static;
    }
}
.model-name {
    h3 {
        font-weight: 400;
        margin-bottom: 15px;
        font-size: 21px;
        line-height: 140%;
        @media (max-width: 768px) {
            margin-bottom: 6px;
            font-size: 18px;
        }
    }
    a {
        color: #fcd80e;
        font-size: 17px;
        @media (max-width: 768px) {
            font-size: 14px;
        }
    }
}
.open-modal {
    position: relative;
    overflow: hidden;
    background: #fcd80e;
    color: #222;
    font-size: 16px;
    line-height: 17px;
    font-weight: 600;
    padding: 17px 20px;
    border-radius: 6px;
    width: 100%;
    cursor: pointer;
    @media (max-width: 768px) {
        padding: 11px 16px;
    }

    &::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 20px;
        height: 20px;
        background: rgba(255, 255, 255, 0.35);
        border-radius: 50%;
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
        pointer-events: none;
    }

    &:active::after {
        animation: wave-ripple 0.6s ease-out;
    }
}

    @keyframes wave-ripple {
        0% {
            transform: translate(-50%, -50%) scale(0);
            opacity: 0.5;
        }

        100% {
            transform: translate(-50%, -50%) scale(25);
            opacity: 0;
        }
    }

    /* модалка */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    z-index: 1050;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal-overlay.show {
    display: flex;
    opacity: 1;
}
.modal-dialog {
    width: 90%;
    max-width: 500px;
    margin: 20px;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-dialog {
    transform: translateY(0);
}

.modal-content {
    background-color: #2a2a2a;
    border-radius: 16px;
    overflow: hidden;
}

.modal-header {
    padding: 4px 0 4px 16px;
    border-bottom: 1px solid #eaeef2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f9fafc;
}

.modal-title {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: #1a2639;

}

.close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #2a2a2a;
    transition: color 0.4s, transform 0.4s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    color: #fcd80e;
    transform: rotate(90deg);
}

.close span {
    display: block;
    font-weight: 300;
}

/* Тело окна */
.modal-body {
    padding: 25px 16px;
}

/* Группы формы */
.form-group {
    margin-bottom: 20px;
}

/* Поля ввода */
.form-control {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    border: 2px solid #717171;
    border-radius: 12px;
    background-color: #2a2a2a;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    font-family: inherit;
    color: white;
}

.form-control:focus {
    outline: none;
    border-color: #fcd80e;
}

.form-control::placeholder {
    color: #aab7cc;
    font-size: 15px;
}

/* Кнопка отправки */
.btn-success {
    position: relative;
    overflow: hidden;

    display: inline-block;
    width: 100%;
    padding: 15px 20px;
    background: #fcd80e;
    color: #222;
    font-size: 15px;
    line-height: 17px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 16px rgba(137, 140, 43, 0.3);
    margin-top: 8px;

    /* волна */
    &::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 20px;
        height: 20px;
        background: rgba(255, 255, 255, 0.35);
        border-radius: 50%;
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
        pointer-events: none;
    }

    &:active::after {
        animation: wave-ripple 0.6s ease-out;
    }
}



@media (max-width: 768px) {
    .form-control {
        padding: 12px 16px;
    }
    .btn-success {
        padding: 14px 16px;
        font-size: 13px;
    }
}

/* табы */
.nav-tabs {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.nav-tabs__item {
    transition: 0.5s;
    cursor: pointer;
    height: 43px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    border-radius: 6px;
    flex-shrink: 0;
    @media (max-width: 768px) {
        padding: 0 10px;
    }
}

.nav-tabs::-webkit-scrollbar {
    display: none;
}
.nav-tabs__item a {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    position: relative;
    text-transform: uppercase;
    height: 100%;
    display: flex;
    align-items: center;
    @media (max-width: 768px) {
        font-weight: 400;
        text-align: center;
    }

    @media (max-width: 400px) {
        text-transform:capitalize;
    }
}
.nav-tabs__item.active {
    background-color: #fcd80e;
}
.nav-tabs__item.active a {
    color: #222;
   }
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}
.tab-pane {
    background: #222;
    @media (max-width: 768px) {
        margin-top: 10px;
    }
}
#tab-description {
    color: #cacaca;
    font-size: 16px;
    line-height: 160%;
    padding: 16px;
}
#tab-brand {
    padding: 16px 0;
}
.tablss {
    display: flex;
    flex-direction: column;
    padding: 16px;
}
.tablss li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 10px;
    @media (max-width: 768px) {
        padding: 15px 5px;
        font-size: 15px;
    }
}
.categories {
    p {
       color:  #cacaca;
        margin: 0 0 10px;
        line-height: 28px;
        font-size: 16px;
    }
    a {
        color: #fcd80e;
        font-style: italic;
    }
}
