.product-intro-section {
    padding-bottom: 60px;
}

.product-intro-section .page-title {
    margin-bottom: 30px;
}

.product-intro-grid {
    display: grid;
    grid-template-columns: 275px 1fr 310px;
    gap: 40px;
    align-items: start;
}

.product-image-wrapper {
    border-radius: 8px;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.main-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
}

.specs-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
}

.specs-list {
    display: flex;
    flex-direction: column;
}

.specs-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid var(--grey_light);
    font-size: 15px;
}

.spec-name {
    color: var(--grey);
}

.spec-value {
    color: var(--black);
    font-weight: 500;
    text-align: right;
    max-width: 50%; 
}

.action-card {
    background-color: var(--grey);
    border-radius: 8px;
    padding: 30px;
    color: var(--white);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 18px;
}

.price-value {
    font-weight: 700;
}

.action-btn {
    width: 100%;
    margin-bottom: 15px;
    padding: 16px 0;
    font-size: 15px;
}
.action-btn:last-child {
    margin-bottom: 0;
}

.btn-outline-white {
    background-color: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    transition: all 0.3s ease;
}
.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--grey);
}



.cart-btn {
    position: relative;
    overflow: visible !important;
}

.cart-btn .added-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background-color: var(--white);
    color: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.2), opacity 0.2s;
    z-index: 10;
}

.cart-btn .added-badge svg {
    width: 12px;
    height: 12px;
}

.cart-btn.is-added .added-badge {
    transform: scale(1);
    opacity: 1;
}




@media (max-width: 991px) {
    .product-intro-grid {
        grid-template-columns: 170px 1fr 240px;
        grid-template-areas: "image specs action";
        gap: 20px;
    }

    .specs-title {
        font-size: 18px;
        margin-bottom: 5px;
    }
    .action-btn {
        font-size: 13px;
    }

    .specs-list li { 
        padding: 10px 0; 
        font-size: 14px; 
    }

    .product-image-col { grid-area: image; }
    .product-specs-col { grid-area: specs; }
    
    .product-action-col { 
        grid-area: action; 
        margin-top: 10px;
    }

    .action-card {
        padding: 15px 20px;
    }
}

@media (max-width: 767px) {
    .product-intro-grid {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "image specs"
            "action action";
        gap: 25px;
    }
    
    .product-image-col { grid-area: image; }
    .product-specs-col { grid-area: specs; }
    .product-action-col { grid-area: action; margin-top: 10px; }
    
    .product-intro-section .page-title {
        font-size: 20px;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .product-image-wrapper {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .specs-title { 
        font-size: 18px; 
        margin-bottom: 5px; 
    }
    .specs-list li { 
        padding: 10px 0; 
        font-size: 12px; 
    }

    .action-card { 
        padding: 25px 20px; 
    }
    .price-row { 
        font-size: 18px; 
        margin-bottom: 20px; 
    }
    .action-btn { 
        padding: 14px 0; 
        font-size: 13px; 
        margin-bottom: 10px; 
    }
}


.important-info-section {
    padding-bottom: 60px;
}

.info-alert-box {
    background-color: var(--grey_light);
    border-radius: 8px;
    padding: 50px 40px;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.info-icon {
    width: 24px;
    height: 24px;
    background-color: var(--orange);
    color: var(--white);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
}

.info-list, .custom-bullet-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-list li, .custom-bullet-list li {
    position: relative;
    padding-left: 20px;
    font-size: 15px;
    color: var(--grey);
    line-height: 1.5;
}

.info-list li::before, .custom-bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: var(--orange);
    border-radius: 50%;
}


.product-tabs-section {
    padding-bottom: 80px;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid #D1D5DB;
    margin-bottom: 40px;
    overflow-x: auto;
    -ms-overflow-style: none; scrollbar-width: none;
}
.tabs-header::-webkit-scrollbar { display: none; }

.tab-btn {
    background: transparent;
    border: none;
    font-size: 18px;
    font-weight: 500;
    color: var(--grey);
    padding: 15px 30px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--black);
}

.tab-btn.active {
    color: var(--black);
    font-weight: 600;
    border-bottom-color: var(--orange);
}

.tab-content {
    display: none;
    flex-direction: column;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: flex;
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.vehicle-card {
    display: flex;
    flex-direction: column;
}

.vehicle-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    mix-blend-mode: multiply;
}

.vehicle-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
}

.vehicle-desc {
    font-size: 14px;
    color: var(--grey);
    line-height: 1.5;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


.nested-dash-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
    padding-left: 20px;
}

.custom-bullet-list li .nested-dash-list li {
    padding-left: 0;
}

.custom-bullet-list li .nested-dash-list li::before {
    display: none;
}

@media (max-width: 991px) {
    .vehicles-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-left: 10px;
        margin-right: 10px;
        gap: 20px;
        padding-bottom: 20px; 
        margin-top: 30px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    
    .vehicles-grid::-webkit-scrollbar {
        display: none;
    }

    .vehicle-card:first-child {
        margin-left: 20px;
    }
    .vehicle-card:last-child {
        margin-right: 20px;
    }

    .vehicle-card {
        flex: 0 0 240px;
        min-width: 240px;
    }
}

@media (max-width: 767px) {
    .vehicles-grid {
        gap: 15px;
    }
    .vehicle-card {
        flex: 0 0 200px;
        min-width: 200px;
    }
}


.related-services-section {
    padding: 40px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border: 1px solid var(--grey_light);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.service-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-body {
    padding: 25px 20px;
}

.service-body h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--black);
    margin: 0;
    transition: color 0.2s ease;
}

.service-card:hover .service-body h3 {
    color: var(--orange);
}


.custom-scrollbar-container {
    display: none;
}

@media (max-width: 991px) {
    
     .services-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-left: 10px; 
        margin-right: 10px;
        gap: 20px;
        padding-bottom: 25px; 
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    
    .services-grid::-webkit-scrollbar {
        display: none;
    }

    .service-card:first-child {
        margin-left: 20px; 
    }
    .service-card:last-child {
        margin-right: 20px;
    }

    .custom-scrollbar-container {
        display: block;
        position: relative;
        width: calc(100% - 40px); 
        height: 3px;
        background-color: #B0B8C8;
        border-radius: 10px;
        margin: 30px auto 0 auto;
    }

    .custom-scrollbar-thumb {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        background-color: var(--yellow);
        border-radius: 10px;
        width: 25%;
        transition: left 0.1s ease-out;
    }

    .service-card {
        flex: 0 0 280px;
        min-width: 280px;
    }
}

@media (max-width: 767px) {
    .services-grid { gap: 15px; }
    .service-card { flex: 0 0 240px; min-width: 240px; }
}



.related-products-section {
    padding: 40px 0;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.related-product-card {
    background-color: var(--white);
    border: 1px solid var(--grey_light);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.related-product-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: #E2E8F0;
}

.rp-image-wrapper {
    background-color: var(--grey_light);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rp-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    transition: transform 0.4s ease;
}

.related-product-card:hover .rp-image-wrapper img {
    transform: scale(1.05); 
}

.rp-info {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    flex-grow: 1;
}

.rp-title {
    font-size: 14px;
    color: var(--grey);
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.rp-title:hover {
    color: var(--orange);
}


.rp-cart-btn {
    background-color: var(--orange);
    color: var(--black);
    width: 44px;
    height: 44px;
    border-radius: 6px;
    border: 2px solid transparent; 
    position: relative;
    overflow: visible;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.rp-cart-btn:hover {
    background-color: var(--yellow);
}

.rp-cart-btn .added-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background-color: var(--white);
    color: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    
    transform: scale(0);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.2), opacity 0.2s;
}

.rp-cart-btn .added-badge svg {
    width: 12px;
    height: 12px;
}

.rp-cart-btn.is-added {
    background-color: var(--white) !important;
    border-color: var(--orange);
    color: var(--orange);
    pointer-events: none;
}

.rp-cart-btn.is-added .added-badge {
    transform: scale(1);
    opacity: 1;
}


@media (max-width: 991px) {
    .related-products-section { padding: 60px 0; }
    
    .related-products-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-left: -20px; margin-right: -20px;
        padding-bottom: 25px;
        gap: 20px;
        -ms-overflow-style: none; scrollbar-width: none;
    }
    .related-products-grid::-webkit-scrollbar { display: none; }
    
    .related-product-card:first-child { margin-left: 20px; }
    .related-product-card:last-child { margin-right: 20px; }

    .related-product-card {
        flex: 0 0 280px; 
        min-width: 280px;
    }
}

@media (max-width: 767px) {
    .related-products-section { padding: 50px 0; }
    
    .related-products-grid { gap: 15px; }
    
    .related-product-card {
        flex: 0 0 240px; 
        min-width: 240px;
    }
    
    .rp-info { padding: 15px; }
}




/* MODAL SPÉCIFIQUE : ЗАПРОСИТЬ ЦЕНУ */
#prodRequestModal .modal-content {
    max-width: 650px; 
    padding: 40px; 
}

#prodRequestModal .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

#prodRequestModal .modal-title { margin-bottom: 10px; }
#prodRequestModal .modal-subtitle { margin-bottom: 25px; }


@media (max-width: 767px) {
    #prodRequestModal .modal-content {
        padding: 30px 20px;
    }

    #prodRequestModal .modal-title {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    #prodRequestModal .modal-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    #prodRequestModal .form-row-2 {
        display: grid;
        grid-template-columns: 1fr 1fr; 
        gap: 15px; 
        margin-bottom: 15px;
    }

    #prodRequestModal .form-row-2 .form-group {
        min-width: 0; 
        margin-bottom: 0;
    }

    #prodRequestModal .form-group { margin-bottom: 12px; }
    #prodRequestModal .form-group label { font-size: 13px; margin-bottom: 6px; }
    #prodRequestModal .form-control { padding: 12px 15px; font-size: 13px; width: 100%; }
    
    #prodRequestModal textarea.form-control {
        min-height: 80px; 
    }

    #prodRequestModal .file-upload-group { margin-bottom: 20px; }
    #prodRequestModal .checkboxes-wrapper { gap: 12px; margin-bottom: 20px; }
    #prodRequestModal .cb-text { font-size: 11px; }
    #prodRequestModal .btn-block { padding: 15px; font-size: 16px; }
}

@media (max-width: 400px) {
    #prodRequestModal .modal-content {
        padding: 20px 15px;
    }
    
    #prodRequestModal .modal-title { font-size: 20px; }
    #prodRequestModal .modal-subtitle { font-size: 12px; margin-bottom: 15px; }

    #prodRequestModal .form-row-2 {
        gap: 8px; 
        margin-bottom: 12px;
    }
    
    #prodRequestModal .form-group label { font-size: 11px; margin-bottom: 4px; }
    #prodRequestModal .form-control { padding: 10px 12px; font-size: 12px; }
    #prodRequestModal textarea.form-control { min-height: 60px; }
    
    #prodRequestModal .checkboxes-wrapper { gap: 8px; margin-bottom: 15px; }
    #prodRequestModal .cb-text { font-size: 9px; }
    #prodRequestModal .btn-block { padding: 12px; font-size: 15px; }
}