/*
 Theme Name:   Ignavo Child
 Theme URI:    http://klbtheme.com/ignavo/
 Description:  Ignavo Child Theme
 Author:       KlbTheme
 Author URI:   http://themeforest.net/user/KlbTheme
 Template:     ignavo
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  ignavo-child
*/

/* ============================================================
   Footer Background Fix
   base.css has a typo on --palette-slate-900 (missing comma),
   so rgb(var(--colors-gray-900)) resolves to an invalid value.
   Override the footer rows directly with the correct dark colour.
   ============================================================ */

.site-footer .site-footer-row.footer-widgets,
.site-footer .site-footer-row.footer-info,
.site-footer .site-footer-row.footer-copyright {
    background-color: #111827;
}

/* ============================================================
   Legal Pages Styling (Terms, Refund Policy, etc.)
   ============================================================ */

.page-id-2154 .elementor-widget-text-editor,
.page-id-2149 .elementor-widget-text-editor {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.page-id-2154 .elementor-widget-text-editor p,
.page-id-2149 .elementor-widget-text-editor p {
    line-height: 1.85;
    margin-bottom: 16px;
    color: #3a3a3a;
    font-size: 15px;
}

.page-id-2154 .elementor-widget-text-editor h3,
.page-id-2149 .elementor-widget-text-editor h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 40px;
    margin-bottom: 14px;
    padding-left: 14px;
    border-left: 4px solid #c8a96e;
    line-height: 1.4;
}

.page-id-2154 .elementor-widget-text-editor hr,
.page-id-2149 .elementor-widget-text-editor hr {
    border: none;
    border-top: 1px solid #ebebeb;
    margin: 32px 0 0;
}

.page-id-2154 .elementor-widget-text-editor ul,
.page-id-2149 .elementor-widget-text-editor ul,
.page-id-2154 .elementor-widget-text-editor ol,
.page-id-2149 .elementor-widget-text-editor ol {
    margin: 10px 0 18px 0;
    padding-left: 22px;
}

.page-id-2154 .elementor-widget-text-editor ul li,
.page-id-2149 .elementor-widget-text-editor ul li,
.page-id-2154 .elementor-widget-text-editor ol li,
.page-id-2149 .elementor-widget-text-editor ol li {
    margin-bottom: 10px;
    line-height: 1.75;
    color: #3a3a3a;
    font-size: 15px;
}

.page-id-2154 .elementor-widget-text-editor strong,
.page-id-2149 .elementor-widget-text-editor strong {
    color: #1a1a1a;
}

.page-id-2154 .elementor-widget-text-editor a,
.page-id-2149 .elementor-widget-text-editor a {
    color: #c8a96e;
    text-decoration: underline;
}

.page-id-2154 .elementor-widget-text-editor a:hover,
.page-id-2149 .elementor-widget-text-editor a:hover {
    color: #b8954f;
}

@media (max-width: 768px) {
    .page-id-2154 .elementor-widget-text-editor,
    .page-id-2149 .elementor-widget-text-editor {
        padding: 28px 20px;
    }
    .page-id-2154 .elementor-widget-text-editor h3,
    .page-id-2149 .elementor-widget-text-editor h3 {
        font-size: 15px;
        margin-top: 30px;
    }
}

/* ============================================================
   Privacy Policy — Page Styling
   ============================================================ */

.page-id-2144 .elementor-widget-text-editor,
.page-id-2144 .entry-content,
.page-id-2144 .post-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.page-id-2144 .entry-content p,
.page-id-2144 .post-content p {
    line-height: 1.85;
    margin-bottom: 16px;
    color: #3a3a3a;
    font-size: 15px;
}

.page-id-2144 .entry-content h3,
.page-id-2144 .post-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 40px;
    margin-bottom: 14px;
    padding-left: 14px;
    border-left: 4px solid #c8a96e;
    line-height: 1.4;
}

.page-id-2144 .entry-content hr,
.page-id-2144 .post-content hr {
    border: none;
    border-top: 1px solid #ebebeb;
    margin: 32px 0 0;
}

.page-id-2144 .entry-content ul,
.page-id-2144 .post-content ul,
.page-id-2144 .entry-content ol,
.page-id-2144 .post-content ol {
    margin: 10px 0 18px 0;
    padding-left: 22px;
}

.page-id-2144 .entry-content ul li,
.page-id-2144 .post-content ul li,
.page-id-2144 .entry-content ol li,
.page-id-2144 .post-content ol li {
    margin-bottom: 10px;
    line-height: 1.75;
    color: #3a3a3a;
    font-size: 15px;
}

.page-id-2144 .entry-content strong,
.page-id-2144 .post-content strong {
    color: #1a1a1a;
}

.page-id-2144 .entry-content a,
.page-id-2144 .post-content a {
    color: #c8a96e;
    text-decoration: underline;
}

.page-id-2144 .entry-content a:hover,
.page-id-2144 .post-content a:hover {
    color: #b8954f;
}

@media (max-width: 768px) {
    .page-id-2144 .entry-content,
    .page-id-2144 .post-content {
        padding: 28px 20px;
    }
    .page-id-2144 .entry-content h3,
    .page-id-2144 .post-content h3 {
        font-size: 15px;
        margin-top: 30px;
    }
}

/* ============================================================
   Wholesale Parts Enquiry Form — Contact Form 7
   ============================================================ */

.wf-enquiry-wrap {
    background: #fff;
    border-radius: 8px;
    padding: 40px 36px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    max-width: 860px;
    margin: 0 auto;
}

.wf-enquiry-wrap h3 {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 24px;
    font-weight: 700;
}

.wf-enquiry-wrap .wf-subtitle {
    margin-bottom: 28px;
    color: #666;
    font-size: 14px;
}

/* Grid rows */
.wf-row {
    display: flex;
    gap: 20px;
    margin-bottom: 18px;
}

.wf-row.wf-full {
    flex-direction: column;
}

.wf-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wf-row label,
.wf-full label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.required {
    color: #e02020;
}

/* Inputs */
.wf-enquiry-wrap .wpcf7-form-control.wf-input,
.wf-enquiry-wrap .wpcf7-form-control.wf-textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.wf-enquiry-wrap .wpcf7-form-control.wf-input:focus,
.wf-enquiry-wrap .wpcf7-form-control.wf-textarea:focus {
    border-color: #c8a96e;
    box-shadow: 0 0 0 3px rgba(200,169,110,0.15);
    outline: none;
    background: #fff;
}

.wf-enquiry-wrap .wpcf7-form-control.wf-textarea {
    min-height: 110px;
    resize: vertical;
}

/* File upload area */
.wf-upload-area label {
    background: #f7f5f0;
    border: 2px dashed #c8a96e;
    border-radius: 6px;
    padding: 20px;
    cursor: pointer;
    text-align: center;
    align-items: center;
}

.wf-hint {
    font-size: 11px;
    color: #999;
    font-weight: 400;
    margin-left: 4px;
}

.wf-upload-note {
    font-size: 12px;
    color: #888;
    margin: 6px 0 0;
    text-align: center;
}

.wf-enquiry-wrap .wpcf7-form-control.wf-file-input {
    margin-top: 8px;
    font-size: 13px;
}

/* Submit button */
.wf-submit-row {
    margin-top: 10px;
    text-align: center;
}

.wf-enquiry-wrap .wpcf7-form-control.wf-submit {
    background: #c8a96e;
    color: #fff;
    border: none;
    padding: 14px 48px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.2s, transform 0.1s;
}

.wf-enquiry-wrap .wpcf7-form-control.wf-submit:hover {
    background: #b8954f;
    transform: translateY(-1px);
}

/* Validation messages */
.wf-enquiry-wrap .wpcf7-not-valid-tip {
    color: #e02020;
    font-size: 12px;
    margin-top: 3px;
}

.wf-enquiry-wrap .wpcf7-response-output {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
}

/* Responsive */
@media (max-width: 640px) {
    .wf-row {
        flex-direction: column;
        gap: 0;
    }
    .wf-enquiry-wrap {
        padding: 24px 16px;
    }
}