/* Product Page Styles - Based on ConveyTech colors */

/* Product page layout */
.product-page {
    background-color: #fff;
    border-radius: 0;
    margin: 0;
    padding: 0;
    max-width: 100%;
    width: 100%;
    overflow-y: auto;
}

.product-page .container-fluid {
    padding: 0;
}

.product-page .row {
    margin: 0;
}

/* Product image container - left side */
.product-image-container {
    background-color: #f8f9fa;
    padding: 21px;
    position: relative;
    min-height: 600px;
    overflow: hidden;
    margin-top: 60px;
}
/* Mobile-specific styles */
@media (max-width: 767.98px) {
    .product-image-container {
        margin-top: 38px;
    }
}

.img-fluid {
    max-width: 100%;
    height: auto;
    margin-left: 36px;
}
 
 .img-fluid1 {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
  .img-fluid {
    max-width: 100%;
    height: auto;
    margin-left: 0; /* optional: resets or adjusts the left margin for smaller screens */
  }
}

.product-badge {
    position: absolute;
    top: 7px;
    left: 11px;
    background-color: #ecc172; 
    color: #fff;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10;
}

/* Back link */
.back-link {
    color: #555;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #1e52a2;
}

/* Product details section - right side */
.product-details {
    padding: 36px;
    min-height: 600px;
    background-color: #fff;
    position: relative;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-category {
    color: #be9007; 
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

.product-description {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

/* Price section */
.product-price-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #1e52a2;
}

.price-label {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
    font-weight: 500;
}

.price-amount {
    font-size: 36px;
    font-weight: 700;
    color: #000; 
    margin-bottom: 10px;
}

.price-note {
    font-size: 13px;
    color: #777;
    font-style: italic;
}

/* Features list */
.product-features {
    margin-bottom: 35px;
}

.product-features h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.product-features h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #1e52a2;
}

.features-list {
    list-style: none;
    padding-left: 0;
}

.features-list li {
    margin-bottom: 15px;
    font-size: 16px;
    color: #555;
    display: flex;
    align-items: flex-start;
}

.features-list i {
    color: #f7ba00; 
    margin-right: 12px;
    font-size: 18px;
    margin-top: 3px;
}

/* Action buttons */
.product-actions {
    margin-bottom: 35px;
}

.btn-price-inquiry {
    background-color: #987302; 
    color: #fff;
    font-weight: 600;
    padding: 15px 25px;
    border-radius: 4px;
    display: block;
    width: 100%;
    margin-bottom: 0px;
    text-align: center;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-price-inquiry:hover {
    background-color: #194689;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 82, 162, 0.2);
    color: #fff;
    text-decoration: none;
}

.btn-custom-inquiry {
    background-color: #fff;
    color: #1e52a2;
    font-weight: 600;
    padding: 15px 25px;
    border-radius: 4px;
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    border: 1px solid #1e52a2;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-custom-inquiry:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    color: #1e52a2;
    text-decoration: none;
}

.btn-price-inquiry i, .btn-custom-inquiry i {
    margin-right: 10px;
}

/* Contact info section */
.product-contact-info {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.product-contact-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.product-contact-info h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #1e52a2;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-item i {
    color: #ffc107;
    margin-right: 12px;
    font-size: 18px;
    margin-top: 3px;
}

.contact-item span {
    font-size: 13px;
    color: white;
    justify-content: center;
}

/* Form popup modal */
.form-modal .modal-dialog {
    max-width: 500px;
}

.form-modal .modal-content {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.form-modal .modal-header {
    background-color: #1e52a2;
    color: #fff;
    padding: 18px 25px;
}

.form-modal .modal-title {
    font-weight: 600;
    font-size: 18px;
}

.form-modal .modal-body {
    padding: 30px;
}

.form-modal .form-label {
    font-size: 15px;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.form-modal .form-control {
    padding: 12px 15px;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    font-size: 15px;
}

.form-modal .form-control:focus {
    border-color: #1e52a2;
    box-shadow: 0 0 0 0.2rem rgba(30, 82, 162, 0.15);
}

.form-modal .btn-submit {
    background-color: #1e52a2;
    color: #fff;
    font-weight: 600;
    padding: 14px 25px;
    border-radius: 4px;
    display: block;
    width: 100%;
    text-align: center;
    border: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.form-modal .btn-submit:hover {
    background-color: #194689;
}

/* Alert message styles */
.product-alert {
    margin-bottom: 25px;
    border-left: 4px solid #28a745;
}

/* Technical specs tables */
.technical-specs table {
    border: 1px solid #eee;
}

.technical-specs table td {
    padding: 12px 15px;
    vertical-align: middle;
}

.technical-specs table td.bg-light {
    background-color: #f8f9fa !important;
}

/* Detailed description */
.detailed-description p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

/* Applications section */
.application-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid #eee;
}

.application-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.application-icon i {
    color: #1e52a2;
}

.application-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.application-item p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

/* FAQ accordion */
.accordion-item {
    border: 1px solid #eee;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    padding: 18px 25px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    background-color: #f8f9fa;
}

.accordion-button:not(.collapsed) {
    color: #ffc107;
    background-color: #fff9e6;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #eee;
}

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

.accordion-body p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 0;
}

/* Section styles */
.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-divider {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.section-divider span {
    width: 60px;
    height: 3px;
    background-color: #1e52a2;
}

/* Responsive styles */
@media (max-width: 991px) {
    .product-image-container {
        height: 450px;
        min-height: 450px;
    }
    
    .product-details {
        height: auto;
        min-height: auto;
        padding: 30px;
    }
    
    .product-title {
        font-size: 28px;
    }
    
    .price-amount {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .product-image-container {
        height: 276px;
        min-height: 316px;
    }
    
    .product-price-section, 
    .product-actions, 
    .product-features, 
    .product-contact-info {
        margin-bottom: 25px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .technical-specs .row > div:first-child {
        margin-bottom: 20px;
    }
    
    .back-link {
        margin-bottom: 15px;
    }
}


/*for related product button*/

.product-card {
  border: 0px solid black;
  border-radius: 8px;
  background: #fff;
  /**/
  /*transition: box-shadow 0.2s ease;*/
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: auto;
  box-shadow: 0 9px 13px rgba(0,0,0,0.07);
}

.product-card:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transform: translateY(-8px);
}

.product-main-image img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
}

 .product-info{
     padding: 17px;
 }
.product-title {
  font-size: 16px;
  font-weight: 600;
  margin: 10px 0 6px;
  color: #222;
}

.product-price {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
}

.product-availability .badge {
  background: #f9f9f9;
  color: #444;
  font-size: 13px;
  padding: 6px;
  border-radius: 4px;
  border: 1px solid #ddd;
  text-align: center;
  margin-bottom: 10px;
}

.product-buttons .btn {
  font-size: 14px;
  padding: 8px;
  border-radius: 5px;
  font-weight: 500;
  width: 100%;
}

.btn-outline-primary {
  color:#ecc172;
  border: 1px solid black;
}

.btn-outline-primary:hover {
  background: #007bff;
  color: #fff;
}

.custom-get-price {
  background-color: #dc9512;
  color: #fff;
  border: none;
  border-radius: 4px;
}

.custom-get-price:hover {
  background-color: #0056b3;
}

/*.product-availability .badge {*/
/*    font-size: 14px;*/
/*    padding: 8px;*/
/*    font-weight: 600;*/
/*    border-radius: 8px;*/
/*}*/
