#productCarouselIndicators {
    margin: 0 auto;
}

.product_description{
    font-size: 16px;
    line-height: 1.5em;
    padding: 0 0 18px 0;
}

.stock_in_ship {
    font-weight: 700;
    color: #047b5f;
    font-size: 1em !important;
}

.price{
    color: #047b5f;
    font-size: 1.5em;
}

.product_in {
    color: #047b5f;
}

.product_out {
    color: gray;
}

.checkout_button{
    background-color: green;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    padding: 12px;
    margin: 10px 0;
    display: inline-block;
}

.ui.color1.segment {
    border-color: #1F2585;
}

#quote{
    color:#ffffff;
}

#quote.active{
    color:#ffffff;
}

.description {
    font-style: italic;
    font-size: 1em;
}

.shipping_info .description{
    font-size: 12px;
}

.shipping_info input.required{
    border: 2px solid red;
}

.free_shipping {
    color: green;
    font-style: italic;
    margin: 10px 0;
    display: block;
    font-size: 1.8rem;
}

.shipping_choices_acknowledgement_label{
    text-align: center;
    width: 100%;
}

.extra_shipping_note {
    font-size: 1.2rem;
}

.payment_methods {
    margin: 0 auto;
    display: block;
}

.form-check-label {
    cursor: pointer;
    font-size: 1rem;
}

#container-purchase{
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
}

.product_title{
    font-weight: bold; 
    font-size: xx-large;
    word-wrap: break-word;
}

.page-card {
    width: calc(48% - 5px);
    height: 300px;
}

@media (max-width: 767px) {
    .page-card {
        width: calc(100% - 5px);
    }
}

@media (max-width: 767px) {
    .product-page-lead {
        flex-direction: column;
        align-items: center;
    }
    .rfq-col {
        padding-left: 0px;
        padding-right: 0px;
    }
}

/* Product Page Styles */

.product-page {
    margin-top: 0px;
}

.product-header {
    text-align: center;
    margin-bottom: 30px;
}

.product-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1c768f;
    line-height: 1.2;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
}

.product-title .part-number,
.product-title .manufacturer-name {
    display: inline-block;
    white-space: nowrap;
}

.product-title .part-number {
    margin-right: 10px;
    white-space: normal;
    word-wrap: break-word; 
}

.product-title .manufacturer-name {
    font-size: 1.8rem;
    color: #6c757d;
    font-weight: normal;
}

@media (max-width: 768px) {
    .product-title {
        flex-direction: column;
        align-items: center;
    }

    .product-title .part-number {
        margin-right: 0;
        margin-bottom: 5px;
    }
}

.product-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.product-rating .rating-text {
    margin-left: 10px;
}

.carousel-inner img {
    width: 100%;
    height: auto;
}

.quote-form-container {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 4px 7px rgba(0, 0, 0, 0.1); /* Add this line */
}

.quote-form-container h2 {
    font-size: 1.6rem;
    color: #1c768f;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}

.quote-form-container .lead {
    font-size: 1rem;
    margin-bottom: 5px !important;
}

.stock-status {
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #28a745;
    position: relative;
    padding: 5px 10px;
}

.stock-status i {
    margin-right: 10px;
}

.stock-status.pulse-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid #28a745; /* Reduced from 2px to 1px */
    border-radius: 8px;
    animation: pulse 1.5s infinite; /* Reduced from 2s to 1.5s */
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    
    50% {
        transform: scale(1.03);
        opacity: 0.8;
    }
    
    100% {
        transform: scale(1);
        opacity: 0.6;
    }
}

.quote-form .form-group label {
    font-weight: bold;
}

.quote-form .form-control {
    border-radius: 0;
}

.quote-form .btn {
    background-color: #fa991c;
    border: none;
    padding: 12px;
    font-size: 1rem;
}

.quote-form .btn:hover {
    background-color: #1c768f;
}

.product-description, .product-specs {
    margin-bottom: 15px;
    font-size: .9rem;
}

.product-description h2, .product-specs h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1c768f;
}

.product-specs table th, .product-specs table td {
    vertical-align: middle;
}

.additional-info {
    margin-top: 40px;
    margin-bottom: 40px;
}

.contact-info, .shipping-payment {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    height: 100%;
    box-shadow: 0 4px 7px rgba(0, 0, 0, 0.1); 
    display: flex;
    flex-direction: column;
}

.contact-info h2, .shipping-payment h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1c768f;
}

.contact-info p, .shipping-payment p {
    font-size: 1rem;
    margin-bottom: 10px;
}

.contact-info i, .shipping-payment i {
    margin-right: 10px;
    color: #fa991c;
}

.contact-info a, .shipping-payment a {
    color: #1c768f;
    text-decoration: none;
}

.shipping-options, .payment-options {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.shipping-options h3, .payment-options h3 {
    margin-bottom: 10px;
}

.shipping-logos, .payment-logos {
    flex: 1;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.shipping-logos img, .payment-logos img {
    max-height: 50px;
    margin: 10px;
    object-fit: contain;
}

.call-to-action {
    text-align: center;
    background-color: #1c768f;
    color: white;
    padding: 40px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.call-to-action h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.call-to-action p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.contact-methods .contact-method {
    background-color: white;
    color: #1c768f;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.contact-methods .contact-method i {
    margin-bottom: 10px;
}

.contact-methods .contact-method h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.contact-methods .contact-method p {
    font-size: 1.2rem;
}

.contact-methods .contact-method a {
    color: #1c768f;
    text-decoration: none;
}

@media (max-width: 767px) {
    .product-header {
        margin-bottom: 20px;
    }

    .quote-form-container {
        margin-top: 30px;
    }

    .contact-methods {
        flex-direction: column;
    }

    .contact-methods .contact-method {
        margin-bottom: 20px;
    }

    .shipping-logos img, .payment-logos img {
        margin: 10px 5px;
    }
}

.tech-specs-grid{
    display:grid; 
    grid-template-columns: repeat(3, 1fr);
    margin-bottom:15px;
}

.tech-specs-grid > :nth-child(6n-5),
.tech-specs-grid > :nth-child(6n-4),
.tech-specs-grid > :nth-child(6n-3) {
  background-color: #f8f9fa;
}

.tech-specs-grid>div{
    padding: .5rem;
}

.tech-spec-items{
    font-size: .9rem;
}

@media (max-width: 767px) {
    .container.product-page {
        padding-left: 10px;
        padding-right: 10px;
    }

    .product-page .row {
        margin-left: -5px;
        margin-right: -5px;
    }

    .product-page .col-md-6,
    .product-page .col-md-8,
    .product-page .col-md-4 {
        padding-left: 5px;
        padding-right: 5px;
    }

    .quote-form-container,
    .product-specs,
    .contact-info,
    .shipping-payment {
        padding: 15px;
    }

    .product-description,
    .product-specs {
        margin-bottom: 0px;
    }

    .additional-info .col-md-6 {
        margin-bottom: 15px;
    }

    #productCarousel {
        margin-bottom: 15px;
    }

    .call-to-action {
        padding: 20px 15px;
    }

    .contact-methods .col-md-4 {
        padding-left: 5px;
        padding-right: 5px;
    }

    .contact-method {
        padding: 15px;
        margin-bottom: 10px;
    }

    .product-rating {
        justify-content: center;
        margin-bottom: 15px;
    }

    .tech-specs-grid{ 
        grid-template-columns: 1fr 1fr; 
    }

    .product-title{
        width: 100%;
    }

    .product-title>span{
        width: 100%;
    }

    .product-title>.part-number{
        font-size: 2rem;
    }    

    .product-specs{
        overflow-x: auto;
        padding: unset;
        width: 100%;
    }

    .tech-specs-grid > :nth-child(6n-5),
    .tech-specs-grid > :nth-child(6n-4),
    .tech-specs-grid > :nth-child(6n-3) {
      background-color: unset;
    }

    .tech-specs-grid > :nth-child(4n-3),
    .tech-specs-grid > :nth-child(4n-2) {
    background-color: #f8f9fa;
    }
}