/*
	Theme Name:   CarManuals
	Theme URI:    https://carmanuals.org
	Description:  Custom theme for carmanuals.org.
	Author:       CarManuals.org
	Author URI:   https://carmanuals.org
	Version:      1.2.0
	Template:     mobex
	Text Domain:  carmanuals
*/
/* Site-wide */
.variation-calc { display: none !important; }

/* Product-description layout classes. Scoped to the description tab so they
   never touch the header, footer, cart or checkout. */

.woocommerce-Tabs-panel--description .hero-section {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 5px solid #0056b3;
}

.woocommerce-Tabs-panel--description .cta-button {
    display: inline-block;
    background-color: #ff5722;
    color: white;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    margin: 20px 0;
    font-size: 18px;
    text-align: center;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.woocommerce-Tabs-panel--description .cta-button:hover {
    background-color: #e64a19;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.woocommerce-Tabs-panel--description .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.woocommerce-Tabs-panel--description .benefit-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.woocommerce-Tabs-panel--description .problem-solution {
    background-color: #f0f8ff;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
}

.woocommerce-Tabs-panel--description .software-callout {
    background-color: #fff8e1;
    border-left: 5px solid #ffc107;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.woocommerce-Tabs-panel--description .table-container {
    overflow-x: auto;
    margin: 20px 0;
}
.woocommerce-Tabs-panel--description table { width: 100%; border-collapse: collapse; }
.woocommerce-Tabs-panel--description table, .woocommerce-Tabs-panel--description th, .woocommerce-Tabs-panel--description td { border: 1px solid #ddd; }
.woocommerce-Tabs-panel--description th, .woocommerce-Tabs-panel--description td { padding: 12px; text-align: left; }
.woocommerce-Tabs-panel--description th { background-color: #034c8c; color: #fff; }
.woocommerce-Tabs-panel--description tr:nth-child(even) { background-color: #f2f2f2; }

.woocommerce-Tabs-panel--description .testimonial {
    font-style: italic;
    padding: 20px;
    background-color: #f9f9f9;
    border-left: 3px solid #0056b3;
    margin: 20px 0;
}

.woocommerce-Tabs-panel--description .guarantee-box {
    border: 2px dashed #0056b3;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: center;
}

.woocommerce-Tabs-panel--description .faq-section {
    margin: 40px 0;
}

.woocommerce-Tabs-panel--description .faq-item {
    margin-bottom: 20px;
}

.woocommerce-Tabs-panel--description .faq-question {
    font-weight: bold;
    color: #0056b3;
    margin-bottom: 8px;
}

.woocommerce-Tabs-panel--description .eeat-credentials {
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    margin-top: 40px;
}

.woocommerce-Tabs-panel--description .features-list li {
    margin-bottom: 10px;
}

.woocommerce-Tabs-panel--description .pain-point {
    color: #d32f2f;
    font-weight: bold;
}

.woocommerce-Tabs-panel--description .solution {
    color: #388e3c;
    font-weight: bold;
}

.woocommerce-Tabs-panel--description .highlight {
    background-color: #fff59d;
    padding: 2px 5px;
}

.woocommerce-Tabs-panel--description .disclaimer {
    font-size: 12px;
    color: #666;
    margin-top: 40px;
}

.woocommerce-Tabs-panel--description .pdf-comparison {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
    justify-content: center;
}

.woocommerce-Tabs-panel--description .comparison-column {
    flex: 1;
    min-width: 280px;
    max-width: 450px;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.woocommerce-Tabs-panel--description .pdf-column {
    border-top: 5px solid #f44336;
}

.woocommerce-Tabs-panel--description .software-column {
    border-top: 5px solid #4caf50;
}

.woocommerce-Tabs-panel--description .vs-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #0056b3;
    color: white;
    font-weight: bold;
    font-size: 24px;
    border-radius: 50%;
    margin: 15px auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.woocommerce-Tabs-panel--description .check-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 30px;
}

.woocommerce-Tabs-panel--description .check-list li:before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
    font-size: 18px;
}

.woocommerce-Tabs-panel--description .x-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 30px;
    color: #777;
}

.woocommerce-Tabs-panel--description .x-list li:before {
    content: "\2717";
    position: absolute;
    left: 0;
    color: #f44336;
    font-weight: bold;
    font-size: 18px;
}

/* Header "All categories" dropdown when it uses the "All brands (auto)" menu:
   100+ brands, so let the list scroll. If model fly-outs get clipped, delete
   this rule. */
.elementor-widget-et_button ul.sub-menu:not(.megamenu) { max-height: 70vh; overflow-y: auto; }
