/*
Theme Name: Nekko
Author: Bartek Konopka
Author URI: http://bartekkonopka.pl/
Version: 1.0
*/

/* Language switcher */
.lang-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #443E25;
    text-decoration: none;
    margin-left: 10px;
}
.lang-link:hover {
    color: #8BC34A;
}
.nekko-lang-switcher {
    display: flex;
    align-items: center;
}

/* Product inquiry modal */
.nekko-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.nekko-modal-overlay.is-active {
    display: flex;
}
.nekko-modal {
    background: #FBF7E8;
    border-radius: 2.5rem;
    padding: 4rem;
    width: 90%;
    max-width: 520px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}
.nekko-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 28px;
    color: #443E25;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}
.nekko-modal-close:hover {
    color: #B2E228;
}
.nekko-modal .contact-form input[type="text"],
.nekko-modal .contact-form input[type="email"],
.nekko-modal .contact-form textarea {
    background: #ffffff;
    padding: 1.4rem 2.4rem;
    color: rgba(0, 0, 0, 0.7);
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 10rem;
    font-family: 'Raleway', sans-serif;
    border: 1px solid rgba(0, 0, 0, 0.15);
    font-size: 14px;
    box-sizing: border-box;
}
.nekko-modal .contact-form textarea {
    height: 14rem;
    resize: none;
    border-radius: 2.5rem;
}
.nekko-modal .contact-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #B2E228;
    border: 1px solid #B2E228;
    color: #443E25;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 1.2;
    border-radius: 10rem;
    padding: 0.9rem 2rem;
    text-decoration: none;
    transition: all 0.3s;
    font-family: 'Raleway', sans-serif;
    margin-top: 0.5rem;
}
.nekko-modal .contact-form input[type="submit"]:hover {
    background: #91bd14;
    border-color: #91bd14;
}
.nekko-modal .contact-form .wpcf7-form p {
    margin: 0;
}
.nekko-modal .contact-form label {
    font-size: 14px;
    font-weight: 600;
    color: #443E25;
    margin-bottom: 0.3rem;
    display: block;
}
.nekko-modal .contact-form .wpcf7-not-valid-tip {
    font-size: 12px;
    font-weight: 700;
    margin-top: -1rem;
    margin-bottom: 1rem;
    display: block;
}
.nekko-modal .contact-form .wpcf7-response-output {
    margin: 1.5rem 0 0 0;
    padding: 1rem 1.5rem;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 1rem;
    border-width: 1px;
}
.nekko-modal .wpcf7-spinner {
    display: none !important;
}
.nekko-modal .nekko-btn-loading {
    opacity: 0.6;
    pointer-events: none;
}
.nekko-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    border: 2px solid #443E25;
    border-top-color: transparent;
    border-radius: 50%;
    animation: nekko-spin 0.7s linear infinite;
    vertical-align: middle;
}
@keyframes nekko-spin {
    to { transform: rotate(360deg); }
}
.nekko-modal .wpcf7-not-valid-tip + .wpcf7-not-valid-tip {
    display: none;
}