/*
Theme Name: Nordlinepaadid Child
Theme URI: https://example.com/nordlinepaadid
Author: Ilustria
Author URI: https://ilustria.ee
Description: Nordlinepaadid teema | Gutenberg Patterns + FSE | Brand Designer Studio by Ilustria
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
Version: 260721.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: blocksy
Text Domain: nordlinepaadid
Tags: custom-colors, custom-fonts, full-site-editing, block-patterns, core-blocks, native-gutenberg
Export-Strategy: native_patterns
Export-Fidelity: excellent
Generated: 2026-03-11 15:26
*/

/*
 * REEGEL: Blocksy Customizer on ALATI prioriteet!
 * style.css EI TOHI sisaldada CSS-i mis kirjutab yle Customizer seadeid.
 * Varvid, fondid, border-radius, box-shadow jne tulevad Customizerist.
 * patterns.css sisaldab pattern-spetsiifilisi layout stiile.
 * woocommerce.css sisaldab type-brand layout stiile.
 */

/* ============================================
   Teenuse lehe muster (nordlinepaadid/service-page)
   ============================================ */

/* Sektsioonide sisu piiramine 1200px laiusele */
.nl-service-hero > .wp-block-columns,
.nl-pricing-section > .nl-pricing-table,
.nl-service-cta > .wp-block-columns {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
}

/* Hero kaart - valge kaart varjuga */
.nl-service-card {
    box-shadow: 0 4px 32px rgba(50, 72, 109, 0.13);
}

/* Linnukeste nimekiri - vertikaalne veerg */
.nl-checklist {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Linnukese element - ikoon CSS ::before kaudu */
.nl-check-item {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.nl-check-item::before {
    content: '';
    width: 22px;
    height: 22px;
    min-width: 22px;
    flex-shrink: 0;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='11' fill='%2332486D'/%3E%3Cpath d='M6 11.5L9.5 15L16.5 7.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Hinnakiri kaart */
.nl-pricing-table {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--wp--preset--color--neutral-200);
    overflow: hidden;
    padding: 0 !important;
}

/* Hinnakirja paiserida - flex */
.nl-pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--wp--preset--color--neutral-50);
    border-bottom: 2px solid var(--wp--preset--color--neutral-200);
}

/* Hinnakirja read - flex + eraldusjooned */
.nl-pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--wp--preset--color--neutral-100);
}

.nl-pricing-row:last-child {
    border-bottom: none;
}

/* Teenuse nimi reas - linnukesega */
.nl-service-item {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
}

.nl-service-item::before {
    content: '';
    width: 20px;
    height: 20px;
    min-width: 20px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='10' fill='%2332486D'/%3E%3Cpath d='M5.5 10.5L8.5 13.5L14.5 7' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Oranž CTA sektsioon - valge alumine serv */
.nl-service-cta {
    border-bottom: 4px solid #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* CF7 vorm oranžil taustal */
.nl-service-cta .wpcf7-form input[type="text"],
.nl-service-cta .wpcf7-form input[type="email"],
.nl-service-cta .wpcf7-form textarea {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 6px;
    width: 100%;
}

.nl-service-cta .wpcf7-form input[type="submit"] {
    background-color: var(--wp--preset--color--palette-color-1);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 10px 28px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

.nl-service-cta .wpcf7-form input[type="submit"]:hover {
    background-color: var(--wp--preset--color--palette-color-2);
}

/* Mobiil */
@media (max-width: 781px) {
    .nl-service-card {
        padding: 24px !important;
    }
    .nl-pricing-header,
    .nl-pricing-row {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* CF7 hinnapäringu vormi vahed + padding (lisatud 2026-07-21) */
.nl-service-cta .wpcf7-form .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 12px;
}
.nl-service-cta .wpcf7-form input[type="email"],
.nl-service-cta .wpcf7-form input[type="text"],
.nl-service-cta .wpcf7-form textarea {
    padding: 12px 14px;
    font-size: 0.95rem;
    line-height: 1.4;
    box-sizing: border-box;
}
.nl-service-cta .wpcf7-form textarea {
    min-height: 90px;
    resize: vertical;
}
.nl-service-cta .wpcf7-form input[type="submit"] {
    margin-top: 4px;
}
