/* CSS Document */
.header {
    background-color: #f8f9fa;
      
}

.top-header-banner {
    background-color: #eee;
    padding: 10px 0;
    text-align: center;
}

.top-header-banner p {
    margin: 0;
    font-size: 1rem;
    font-weight: bold;
     color: #0e313b;
}

.header-content {
    padding-top: 20px; /* Added space below the top-header-banner */
}

.success-container {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 60vh;
        text-align: center;
    }
    .success-card {
        background: #f8f9fa;
        padding: 30px;
        border-radius: 8px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        max-width: 500px;
        width: 100%;
    }
    .success-card h2 {
        color: #28a745;
        font-size: 24px;
    }
    .success-card p {
        font-size: 18px;
        margin: 10px 0;
    }
    
.original-price {
    font-size: 1rem;
    color: #888;
    text-decoration: line-through;
}

.sale-price {
    font-size: 1.3rem;
    color: #28a745; /* Bootstrap success green */
    font-weight: bold;
}

.sale-label {
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background-color: #28a745; /* Green background */
    padding: 3px 8px;
    border-radius: 5px;
    margin-left: 5px;
}

.footer-testimonials {
    background-color: #ffffff; /* Keep it clean */
    padding: 30px 25px;
    text-align: center;
    border-top: 3px solid #1e3b45;
    border-bottom: 3px solid #1e3b45;
    margin-bottom: 20px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 40px; /* Adds spacing above the testimonial container */
}

.footer-testimonials h3 {
    font-size: 1.75rem;
    color: #1e3b45;
    font-weight: bold;
    margin-bottom: 20px;
}





.testimonial-author {
    font-weight: bold;
    color: #0e313b;
    margin-top: 10px;
    display: block;
}

.testimonial-box {
    background: #f8f9fa;
    padding: 25px 50px; /* Increased padding for better spacing */
    border-radius: 10px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    min-height: 140px; /* Ensures enough height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative; /* Ensures proper positioning */
}

.testimonial-text {
    font-size: 1rem;
    color: #333;
    font-style: italic;
    line-height: 1.6;
    word-wrap: break-word;
    max-width: 85%; /* Prevents text from touching edges */
    margin: 0 auto;
}

/* Fix arrow placement */
.carousel-control-prev, .carousel-control-next {
    filter: invert(50%);
    top: 50%;
    transform: translateY(-50%);
    width: 8%;
}

.carousel-control-prev {
    left: -40px; /* Move left arrow further left */
}

.carousel-control-next {
    right: -40px; /* Move right arrow further right */
}

/* FAQ Page Styling */
.faq-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.faq-section h2 {
    color: #1e3b45;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.faq-section p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

/* Ensure links match site styling */
.faq-section a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.faq-section a:hover {
    text-decoration: underline;
}



    
.header-logo img {
    max-height: 100px;
    width: auto;
}

.search-bar form {
    display: flex;
    width: 100%;
}

.search-bar .form-control {
    flex-grow: 1;
    margin-right: 10px;
}

a.cart-part-link {
    color: #333333; /* Change this to match your site's color scheme */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

a.cart-part-link:hover,
a.cart-part-link:focus {
    color: #333333; /* Hover color */
    text-decoration: underline;
}


/* Default Search Button */
.search-bar .btn-outline-success {
    background-color: transparent; /* Keep background clean */
    border-color: #1e3b45; /* Match the box outlines */
    color: #1e3b45; /* Text matches the box text */
    font-weight: bold;
    transition: all 0.2s ease-in-out;
}

/* Hover Effect */
.search-bar .btn-outline-success:hover {
    background-color: #343a40; /* Dark hover effect */
    border-color: #343a40;
    color: #ffffff; /* White text on hover */
}


.navbar {
   background-color: #eee;
   
}

.navbar .container {
   width: 100%;
  
}

/* Fix for missing hamburger menu */
.navbar-toggler {
    border: none;
    background: transparent !important;
    padding: 5px;
}

/* Force show the icon */
.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    background-size: cover;
}

/* Make sure it aligns properly */
@media (max-width: 991px) {
    .navbar-toggler {
        display: block !important; /* Force show */
    }
}

.nav-link {
     color: #0e313b;
      font-weight: 600;
}

.nav-link:hover {
    color: #83adb6;
    font-weight: 600;
}

/* Style the dropdown menu */
.dropdown-menu {
    background-color: #ffffff; /* Clean white background */
    border: 1px solid #ccc; /* Soft border */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    padding: 8px 0;
    transition: all 0.2s ease-in-out;
}

/* Style each dropdown item */
.dropdown-menu .dropdown-item {
    padding: 10px 15px;
    font-weight: 600;
    color: #0e313b; /* Consistent with nav links */
    border-radius: 6px; /* Slight rounding on each item */
    transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
}

/* Hover effect */
.dropdown-menu .dropdown-item:hover {
    background-color:  #343a40; /* Match site theme */
    color: #ffffff; /* White text on hover */
}

/* Active/focused styles */
.dropdown-menu .dropdown-item:focus, 
.dropdown-menu .dropdown-item:active {
    background-color: #83adb6; /* Slightly lighter hover color */
    color: #ffffff;
}

.content-area {
    min-height: 600px;
}

.footer {
    padding: 20px 0;
    background-color: #f8f9fa;
    margin-top: 20px;
}

.footer p {
    margin: 0;
    text-align: center;
}

/* Guaranteed Parts Banner */
.guaranteed-banner {
    text-align: center;
    margin-top: 20px; /* Adds space above the image */
    margin-bottom: 20px; /* Space between image and text */
}

.guaranteed-banner img {
    width: 100%; /* Full width to fit the page */
    max-width: 1181px; /* Ensures it doesn't get too large */
    height: auto;
    display: block;
    margin: 0 auto; /* Center align */
}

@media (max-width: 767px) {
    .header-logo {
        text-align: center;
        margin-bottom: 15px; /* Adds space below the logo */
    }

    .header-logo img {
        max-width: 100%;
        height: auto;
    }

    .search-bar form {
        justify-content: center;
    }

    .navbar {
        justify-content: center;
    }

    .container, .header-content, .navbar, .search-bar form {
        padding-left: 15px;
        padding-right: 15px;
    }
    
     .part-info-column {
        margin-top: 20px; /* Add space between images and part info */
    }

    .part-price {
        display: block;
        font-size: 1.5rem; /* Adjust font size for better readability */
        font-weight: bold;
        margin-bottom: 15px; /* Space between price and other elements */
        text-align: left; /* Ensure it's aligned properly */
    }
    
    .guaranteed-banner img {
        max-width: 100%; /* Ensures it scales correctly on smaller screens */
    }
}

.featured-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.featured-part {
    border: 1px solid #ddd;
    padding: 10px;
    width: 200px;
    text-align: center;
}

.featured-part img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.featured-part h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.featured-part p {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.featured-section-heading h2 {
    text-align: center;
    font-size: 1.75rem; /* Adjust size as needed */
    color: #1e3b45; /* Matching the menu text color */
    margin-bottom: 20px;
    padding-top: 20px;
    border-bottom: 2px solid #1e3b45; /* Add an underline effect */
    display: inline-block;
    line-height: 1.2;
}

/* Styles for the featured parts section */
.featured-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.featured-part h3 a {
    color: #0e313b; /* Same color as .nav-link */
    font-weight: 600;
    text-decoration: none; /* Removes underline */
}

.featured-part h3 a:hover {
    color: #83adb6; /* Same hover color as .nav-link */
    text-decoration: none; /* Adds underline on hover */
}

.introduction-section {
    text-align: center;
    padding: 30px;
    margin-bottom: 30px;
    border: 2px solid #1e3b45; /* Solid border with the color of your choice */
    border-radius: 10px; /* Rounded corners for the border */
    background-color: #f8f9fa; /* A light background color */
}

.introduction-section h2 {
    margin-bottom: 20px;
    color: #1e3b45;
    font-size: 1.5rem; /* Slightly larger font size for the heading */
}

.introduction-section p {
    font-size: 1.2rem;
    color: #333333;
    margin-bottom: 15px;
}

.pagination a {
    padding: 5px 10px;
    margin: 5px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: inherit;
}

.pagination a.active {
    background-color: #343a40; /* Same as search button hover */
    color: white;
    border-color: #343a40;
}


.img-responsive {
    max-width: 94%; /* Adjust this percentage as needed */
    height: auto;
    display: block;
    padding-bottom: 5px;
    margin-left: 0; /* Align to the left */
    border: 1px solid #dee2e6; /* Bootstrap thumbnail border color */
    padding: .25rem; /* Bootstrap thumbnail padding */
    border-radius: .25rem; /* Bootstrap thumbnail border radius */
}

/* Secure Checkout Banner */
.secure-checkout-banner {
    text-align: center;
    margin-bottom: 20px;
}

.secure-checkout-banner img {
    width: 100%; /* Ensures it spans the full width of the container */
    max-width: 1181px; /* Limits max width */
    height: auto; /* Maintains aspect ratio */
    display: block;
    margin: 0 auto; /* Centers the image */
}

/* Simplified Progress Indicator */
.checkout-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.checkout-progress .current-step {
    color: #0e313b;
}

.checkout-progress .next-step {
    color: #666;
}


/* Checkout Container */
.checkout-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: auto;
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Checkout Summary */
.checkout-summary {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

/* Checkout Item */
.checkout-item {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.checkout-item:last-child {
    border-bottom: none;
}

/* Item Image */
.checkout-item-image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
}

/* Item Details */
.checkout-item-details {
    flex-grow: 1;
}

.checkout-item-details p {
    font-size: 0.9rem;
    margin-bottom: 5px;
}


.checkout-item-details h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* Checkout Total */
.checkout-total-container {
    text-align: right;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 15px;
}

.checkout-actions {
    text-align: center;
}

.payment-options img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}



/* Secure Message Text */
.secure-message {
    font-size: 1rem;
    font-weight: bold;
    color: #28a745; /* Green for emphasis */
    display: inline-block;
}

.payment-options {
    text-align: center; /* Ensures the credit card image is centered */
    margin-bottom: 10px; /* Adds space between the cards and the button */
}

/* Credit Card Image - Ensures Center Alignment */
.accepted-cards-image {
    width: 200px; /* Adjust size as needed */
    height: auto;
    display: block;
    margin: 0 auto; /* Ensures proper centering */
}

/* Checkout Form */
.checkout-form {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* Remove Button Background */
.btn-paypal {
    background: none !important;
    border: none !important;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* Ensures the PayPal Button Image is Displayed Correctly */
.paypal-button-image {
    width: 250px; /* Adjust as needed */
    height: auto;
    display: block;
}

/* Separator Line Above Total */
.checkout-separator {
    border: 1px solid #ddd;
    margin: 15px 0;
}

/* Taxes & Shipping Section */
.checkout-fees {
    font-size: 1rem;
    margin-bottom: 10px;
}

/* Shipping Text - Stand Out in Green */
.shipping-free {
    color: #28a745;
    font-weight: bold;
}

/* Remove Any Additional Styles Affecting It */
.no-bg {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}


@media (max-width: 767px) {
    .img-responsive {
        max-width: 100%; /* Full width on smaller screens */
    }
    
    .accepted-cards-image {
        width: 180px; /* Slightly smaller for mobile */
    }
    .paypal-button-image {
        width: 200px;
    }
}

.part-info-column {
    color: #0e313b; /* Set the text color for the entire column */
}

.part-price {
    font-size: 1.5rem; /* Adjust the font size of the price */
    margin-bottom: 20px;
    
}

.model-numbers-table {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 20px;
     
}

.model-numbers-table .table {
    margin-bottom: 0;
}

/* Adjust headings and text sizes */
h4 {
    font-size: 1.25rem; /* Adjust as needed */
}

.social-share-buttons .btn-share {
    margin: 5px;
    padding: 10px 15px;
    border: none;
    color: white;
    cursor: pointer;
}

.twitter {
    background-color: #1DA1F2;
}

.facebook {
    background-color: #4267B2;
}

.btn-share:hover {
    opacity: 0.9;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    text-align: center;
    padding: 20px;
}

.grid-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border: 2px solid #1e3b45; /* Matches introduction section border */
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    color: #000;
    border-radius: 10px;
    transition: background 0.3s ease, color 0.3s ease;
}

.grid-item:hover {
    background-color: #343a40; /* Matches footer background */
    color: #ffffff; /* White text on hover */
    border-color: #1e3b45; /* Keeps border color consistent */
}

.footer .row {
    display: flex;
    justify-content: center;
    text-align: center;
}

.footer .col-md-4 {
    flex: 1;
    max-width: 300px; /* Adjust this if needed */
    text-align: center;
}

.about-section {
    background-color: #f8f9fa; /* Light background matching intro section */
    border: 2px solid #1e3b45; /* Matches existing site theme */
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.about-section h2 {
    color: #1e3b45;
    font-size: 1.75rem;
    font-weight: bold;
}

.about-section p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
}

.list-group-item {
    background-color: #ffffff;
    border-left: 4px solid #1e3b45; /* Adds subtle left border effect */
    font-size: 1.05rem;
    padding: 12px 15px;
}

.custom-btn {
    background-color: #f8f9fa; /* Same as the search button */
    color: #0e313b; /* Matching text color */
    border: 1px solid #0e313b;
}

.custom-btn:hover {
    background-color: #343a40; /* Hover color matching search button */
    color: #ffffff; /* Text turns white on hover */
}

 .custom-link {
        color: #0e313b; /* Match site color */
        font-weight: bold;
        text-decoration: none;
    }

    .custom-link:hover {
        color: #343a40; /* Hover color to match site */
        text-decoration: underline;
    }
    
    .availability-text {
    font-size: 1.1rem;
    font-weight: bold;
    display: block;
    margin-bottom: 10px; /* Space between availability and price */
}
.text-success {
    color: #28a745; /* Green color for 'In Stock' */
}

/* Cart container */
.cart-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Cart item styling */
.cart-item {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    background: #f9f9f9;
    transition: background 0.3s ease;
}

.cart-item:hover {
    background: #f1f1f1;
}

/* Product image styling */
.cart-item-image img {
    width: 80px;
    height: auto;
    margin-right: 20px;
    border-radius: 5px;
}

/* Cart item details */
.cart-item-details {
    flex-grow: 1;
}

.cart-item-details h4 {
    margin: 0 0 5px;
    font-size: 18px;
}

.sku {
    font-size: 14px;
    color: #666;
    margin: 3px 0;
}

.availability {
    font-size: 14px;
    font-weight: bold;
    color: #008000;
    margin: 3px 0;
}

.delivery {
    font-size: 14px;
    color: #008000;
    font-weight: bold;
    margin: 3px 0;
}

.price {
    font-size: 18px;
    font-weight: bold;
    margin: 5px 0;
}

/* Remove button container */
.cart-item-remove {
    margin-left: 20px;
}

/* Button styling */
.btn-remove,
.btn-clear-cart,
.btn-continue-shopping,
.btn-checkout {
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 16px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: inline-block;
}

/* Remove button */
.btn-remove {
    background-color: #dc3545;
    color: #fff;
}

.btn-remove:hover {
    background-color: #c82333;
    color: #fff;
}

/* Clear cart button */
.btn-clear-cart {
    background-color: #dc3545;
    color: #fff;
}

.btn-clear-cart:hover {
    background-color: #c82333;
    color: #fff;
}

.btn-continue-shopping {
    display: inline-block;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    background: #007bff;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease-in-out;
}

.btn-continue-shopping:hover {
    background: #0056b3;
    color: #ffffff; /* Keeps text white on hover */
}

/* Checkout button */
.btn-checkout {
    background-color: #007bff;
    color: #fff;
}

.btn-checkout:hover {
    background-color: #0056b3;
    color: #fff;
}

/* Disabled Checkout Button */
.btn-checkout.disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
}

/* Modern Checkout Button */
.btn-checkout-modern {
    display: inline-block;
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    background: linear-gradient(90deg, #ff8c00, #ff4500);
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.btn-checkout-modern:hover {
    background: linear-gradient(90deg, #ff9f1c, #ff5722);
    transform: scale(1.02);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
    color: #fff7e6; /* Keeps text readable with a light warm tone */
}

/* Cart actions container */
.cart-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

/* Cart total container */
.cart-total-container {
    flex: 1;
    text-align: left;
}

.cart-total {
    font-size: 20px;
    margin: 0;
}

/* Cart buttons container */
.cart-buttons {
    display: flex;
    gap: 10px;
}

/* Empty cart message */
.empty-cart-message {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    color: #333;
}

.view-cart-button {
    background-color: #007bff;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.view-cart-button:hover {
    background-color: #0056b3;
}
/* Checkout Page Container */
.checkout-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

/* Checkout Summary */
.checkout-summary {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* Checkout Item */
.checkout-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

/* Checkout Item Image */
.checkout-item-image img {
    width: 60px;
    height: auto;
    margin-right: 15px;
    border-radius: 5px;
}

/* Total Amount - Added margin above */
.checkout-total {
    font-size: 20px;
    font-weight: bold;
    text-align: left;
    margin-top: 20px; /* Added spacing */
}

/* Checkout Form */
.checkout-form {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    text-align: center; /* Center content */
}

/* PayPal Button (Text-Based) */
.btn-paypal {
    background-color: #ffc439; /* Official PayPal yellow */
    color: #333; /* Dark text for readability */
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    width: 100%; /* Ensures full width on mobile */
    display: block;
    transition: background-color 0.3s ease-in-out;
}

/* Hover Effect */
.btn-paypal:hover {
    background-color: #ffb21a;
}


.order-summary {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
}
.order-total {
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
}

.order-item-image {
    width: 80px;
    height: auto;
    margin-right: 10px;
    border-radius: 5px;
}

.processing-container {
    text-align: center;
    margin-top: 20px;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    margin-bottom: 10px;
}

/* AZ Sync Styling */
.btn-ebay-auth {
    display: inline-block;
    background-color: #0064d2;
    color: white;
    padding: 12px 20px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s ease-in-out;
}

.btn-ebay-auth:hover {
    background-color: #004a99;
}

.privacy-policy-section {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
}

/* Back to Cart Button (Smaller & Better Proportions) */
.btn-back-to-cart {
    display: inline-block;
    padding: 6px 10px;  /* Reduced padding */
    font-size: 0.85rem;  /* Slightly smaller font */
    font-weight: 500;  /* Adjusted weight for balance */
    color: white;
    background: #dc3545;
    border-radius: 4px;
    text-decoration: none;
    line-height: 1;
}

.paypal-button-container {
    display: inline-block;
    border-radius: 25px; /* Matches the rounded button */
    overflow: hidden; /* Prevents white edges from appearing */
}

.paypal-button-container input {
    width: auto;
    max-width: 250px; /* Ensures consistent size */
    cursor: pointer; /* Makes it clear it's clickable */
    border-radius: 25px; /* Ensures rounded corners remain */
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

/* Hover Effect */
.paypal-button-container input:hover {
    transform: scale(1.05); /* Slightly increases size */
    opacity: 0.9; /* Slightly reduces opacity */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Soft shadow */
}

/* Fix hover effect */
.btn-back-to-cart:hover {
    background-color: #c9302c;
    color: white !important; /* Ensures text stays white */
    text-decoration: none; /* Prevents underline on hover */
}

.part-number-cross-reference {
    word-wrap: break-word; /* Ensures long words break */
    overflow-wrap: break-word; /* Alternative for word-wrap */
    white-space: normal; /* Allows text wrapping */
    display: block; /* Ensures block behavior */
    max-width: 100%; /* Prevents it from exceeding the container */
}

/* Taxes and Shipping Info (Above Total) */
.taxes-text,
.shipping-text {
    font-size: 1.1rem;
    font-weight: bold;
    text-align: left; /* Aligns with the total */
    margin-bottom: 5px; /* Adds slight spacing */
}

.taxes-text {
    color: #000; /* Standard black for clarity */
}

.shipping-text {
    color: #28a745; /* Green for emphasis */
}

.checkout-flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    justify-content: center;
}


 .checkout-total-wrapper {
    flex: 0 0 40%;
    max-width: 400px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: #fff;
}

.checkout-summary .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.checkout-summary .summary-label {
    font-weight: 600;
    color: #555;
}

.checkout-summary .summary-value {
    color: #555;
}

.checkout-summary .total-row {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}



    /* Checkout Actions */
.checkout-container {
    flex: 1;
    min-width: 300px;
}



/* Free Shipping Banner - Full Width & Responsive */
.free-shipping-banner {
    width: 100%;
    text-align: center;
    background: #f8f9fa; /* Matches site background */
    padding: 10px 0;
}

.free-shipping-banner img {
    width: 100%; /* Ensures it stretches to the container width */
    max-width: 1500px; /* Prevents it from being too large on big screens */
    height: auto; /* Maintains aspect ratio */
    display: block;
    margin: 0 auto; /* Centers the image */
}

.order-lookup-container {
    max-width: 750px;
    margin: 0 auto;
    padding: 20px;
}

.order-lookup-title {
    text-align: center;
    font-size: 2rem;
    color: #1e3b45;
}

.order-lookup-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.order-lookup-heading {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 15px;
}

.order-lookup-description {
    text-align: center;
    color: #666;
}

.order-lookup-input-group {
    margin-bottom: 15px;
}

.order-lookup-label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.order-lookup-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.order-lookup-btn {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.order-lookup-btn:hover {
    background-color: #0056b3;
}

.order-details-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.order-details-table {
    width: 100%;
    border-collapse: collapse;
}

.order-details-table th {
    background: #f8f9fa;
    text-align: left;
    padding: 10px;
}

.order-details-table td {
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.order-email, .order-tracking {
    display: block;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-all;
    white-space: normal;
}

.order-shipped {
    color: green;
    font-weight: bold;
}

.order-not-shipped {
    color: red;
    font-weight: bold;
}

.order-items-title {
    font-size: 1.5rem;
    margin-top: 20px;
}

.order-items-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.order-items-table th {
    background: #f8f9fa;
    text-align: left;
    padding: 10px;
    border-bottom: 2px solid #ddd;
}

.order-items-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.order-lookup-reset-btn {
    margin-top: 20px;
    width: 100%;
    padding: 10px;
    background-color: #17a2b8;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.order-lookup-reset-btn:hover {
    background-color: #138496;
}

.order-lookup-description {
    text-align: center;
    font-size: 1rem;
    color: #555;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 5px;
    border-left: 5px solid #007bff;
    margin-bottom: 15px;
    font-style: italic;
}

@media (max-width: 767px) {
    .navbar {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .navbar .nav-item {
        width: 100%;
        text-align: center;
    }

    .navbar .dropdown-menu {
        width: 100%;
        text-align: center;
    }

    .navbar .nav-link {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-item-image img {
        width: 100%;
        max-width: 150px;
        margin-bottom: 10px;
    }

    .cart-item-remove {
        margin-left: 0;
        margin-top: 10px;
        align-self: flex-end;
    }

    .cart-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-total-container,
    .cart-buttons {
        text-align: center;
        width: 100%;
    }

    .cart-buttons {
        justify-content: center;
    }
    
/* PayPal Button - Hover Effects */
.paypal-button-image {
    width: 250px; /* Adjust as needed */
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

/* Hover Effect - Slight Scale & Shadow */
.paypal-button-image:hover {
    transform: scale(1.05); /* Slightly increase size */
    opacity: 0.9; /* Reduce opacity slightly */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Adds a soft shadow */
}

/* Secure Message - Now Centered */
.secure-message-container {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}
    
 /* Disabled PayPal Button */
.btn-paypal.disabled {
    background-color: #ddd;
    cursor: not-allowed;
    color: #999;
}
   
    .view-cart-button {
        /* Ensures it takes the full width if needed */
       max-width:320px; /* Full width for better alignment */
        text-align: center;
        margin-top: 20px; /* Adds space below the search bar */
        padding: 12px 15px; /* Slightly larger padding for touch usability */
    }

/* Secure Checkout Banner */
.secure-checkout-banner {
    background-color: #0e313b;
    color: #ffffff;
    text-align: center;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    margin-bottom: 20px;
}

.checkout-progress .current-step {
    color: #0e313b;
}

.checkout-progress .next-step {
    color: #666;
}


/* Simplified Progress Indicator */
.checkout-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 20px;
}

 .secure-checkout-banner img {
        width: 100%; /* Full width on smaller screens */
        max-width: 100%; /* Prevents overflow */
        height: auto;
    }


}

/* Reservation Banner */
.reservation-banner {
    font-size: 18px;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #ffcc00;
    color: #000;
    border: 2px solid #ff9900;
}

/* Continue Shopping Button (Moved Above Items) */
.continue-shopping-container {
    text-align: left;
    margin-bottom: 15px;
}





/* Mobile View Adjustments */
@media (max-width: 768px) {
    .checkout-flex-container {
        flex-direction: column;
        align-items: center;
    }

    .checkout-total-wrapper,
    .checkout-container {
        flex: 1 0 100%;
        max-width: 100%;
    }

    /* Ensure checkout total wrapper takes full width */
    .checkout-total-wrapper {
        text-align: center; /* Center the text inside */
        padding: 15px; /* Adjust padding for better spacing */
        box-sizing: border-box; /* Prevent overflow */
    }

    /* Make sure the total row stays readable */
    .checkout-summary .summary-row {
        justify-content: space-between;
        padding: 5px 0;
    }

    /* Adjust the back to cart button to be proportional */
    .btn-back-to-cart {
        padding: 6px 12px;
        font-size: 0.85rem;
        display: inline-block;
    }

    /* Ensure PayPal button scales well */
    .paypal-button-container input {
        width: auto;
        max-width: 200px;
    }
}

@media (max-width: 992px) { /* Adjusts layout for tablets and smaller screens */
    .header-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .header-logo {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }

    .header-logo img {
        max-width: 80%;
        height: auto;
    }

    .search-bar {
        width: 100%;
        max-width: 500px;
    }

    .search-bar form {
        display: flex;
        flex-direction: row;
        justify-content: center;
        width: 100%;
    }

    .search-bar .form-control {
        flex: 1;
        min-width: 150px;
    }
}

@media (max-width: 768px) { /* Adjusts for mobile screens */
   .search-bar form {
        display: flex;
        flex-direction: column; /* Stack input and button */
        align-items: center;
        width: 100%;
    }

    .search-bar .form-control {
        width: 100%;
        margin: 0 0 10px 0; /* Adds space below input */
    }

     .search-bar button {
        width: 100%; /* Ensures button is the same width as input */
    }
}

@media (max-width: 768px) {
    .featured-section {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Two columns */
        gap: 15px; /* Spacing between items */
        justify-content: center;
    }

    .featured-part {
        width: 100%; /* Ensures boxes take full width of the column */
        text-align: center;
    }
}

@media (max-width: 480px) { /* Adjust for very small screens */
    .featured-section {
        grid-template-columns: repeat(1, 1fr); /* One column for extra small screens */
    }
}

@media (max-width: 768px) {
    .header-logo {
        width: 100%; /* Ensures the logo container stretches */
        display: flex;
        justify-content: center;
    }

    .header-logo img {
        width: 100%; /* Makes the image fill the available space */
        max-width: 500px; /* Prevents excessive stretching */
        height: auto;
    }


@media (max-width: 991px) {
    .navbar {
        padding: 10px;
    }
    
    

    .navbar-collapse {
        background-color: #eee; /* Same background as desktop */
        padding: 10px;
        border-radius: 5px;
    }
}

/* BLOG WRAPPER */
.blog-hero {
  background-color: #f9f9f9;
  border-bottom: 1px solid #ddd;
}

.blog-hero h1 {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.blog-hero p {
  color: #666;
  font-size: 1.1rem;
}

/* BLOG CARDS */
.card-img-top {
  max-height: 180px;
  object-fit: cover;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
}

.card-footer {
  background-color: #f8f9fa;
  font-size: 0.9rem;
  border-top: 1px solid #dee2e6;
}

/* PAGINATION */
.pagination .page-link {
  color: #007bff;
  border: 1px solid #dee2e6;
}

.pagination .page-link:hover {
  background-color: #e9ecef;
}

.pagination .active .page-link {
  background-color: #007bff;
  border-color: #007bff;
  color: #fff;
}

/* Strong specificity to override Bootstrap */
.blog-sidebar .list-group-item > .blog-sidebar-link {
  color: #0e313b !important;
  font-weight: bold !important;
  text-decoration: none !important;
  display: block;
}

.blog-sidebar .list-group-item > .blog-sidebar-link:hover {
  color: #1e3b45 !important;
  text-decoration: underline !important;
}

.blog-sidebar .blog-sidebar-badge {
  background-color: #0e313b !important;
  color: #fff !important;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 12px;
  margin-left: 10px;
}

.blog-sidebar .btn.btn-primary {
  background-color: #0e313b !important;
  border-color: #0e313b !important;
}

.blog-sidebar .btn.btn-primary:hover {
  background-color: #1e3b45 !important;
  border-color: #1e3b45 !important;
}

/* BLOG READ MORE BUTTON STYLING */
.blog-readmore-btn {
  background-color: #0e313b;
  border-color: #0e313b;
  color: #fff;
  font-weight: bold;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: background-color 0.3s ease;
}

.blog-readmore-btn:hover {
  background-color: #1e3b45;
  border-color: #1e3b45;
  color: #fff;
  text-decoration: none;
}