/*
Theme Name: Pex
Theme URI: https://pex.co.il
Author: Hybrid
Author URI: https://hybrid.co.il
Description: Custom theme for Pex
Version: 1.0.0
Text Domain: pex
*/

.footer__rights{
    column-gap: 24px;
}
.footer__privacy-policy{
    color: var(--color-bright-grey);
    font-size: 14px;
    line-height: var(--text-p-line-height);
    font-weight: normal;
    text-decoration: underline;
    transition: opacity 0.3s ease-in-out;
}
.footer__privacy-policy:hover{
    color: var(--color-light);
}
.credit img{
    width: auto;
    height: 11px;
}
.wpcf7-form br{
    display: none;
}
.contact__submit{
    cursor: pointer;
}
/* Checkbox field styles */
.contact__checkbox {
    margin-block: 1.5rem;
}
.contact__checkbox p {
    margin: 0;
}
.contact__checkbox .field {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    flex-direction: row;
}
.contact__checkbox .field__label {
    flex: 1;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-bright-grey);
    pointer-events: all;
    display: block;
}
.contact__checkbox .field__label a {
    color: var(--color-light);
    text-decoration: underline;
    transition: color 0.3s ease;
}
.contact__checkbox .field__label a:hover {
    opacity: 0.7;
}

/* Custom checkbox styling */
.contact__checkbox .wpcf7-list-item {
    display: flex;
    align-items: center;
    margin: 0;
}
.contact__checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    min-width: 1.25rem;
    border: 2px solid var(--color-bright-grey);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    margin-top: 0.15rem;
}
.contact__checkbox input[type="checkbox"]:hover {
    border-color: var(--color-light);
}
.contact__checkbox input[type="checkbox"]:checked {
    background: linear-gradient(135deg, var(--color-yellow), var(--color-purple), var(--color-light-blue));
    border-color: transparent;
}
.contact__checkbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%) rotate(45deg);
    width: 5px;
    height: 9px;
    border: solid var(--color-light);
    border-width: 0 2px 2px 0;
}
.contact__checkbox input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--color-light-blue);
    outline-offset: 2px;
}

/* Validation error state */
.contact__checkbox .wpcf7-not-valid-tip {
    color: var(--color-orange);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}
@media (max-width: 768px) {
    .footer__rights{
        flex-wrap: wrap;
        row-gap: 15px;
    }
    .credit{
        width: 100%;
    }
    .footer__copyright,
    .footer__privacy-policy{
        font-size: 12px;
    }
    .contact__checkbox .field__label{
        font-size: 13px;
    }
    .header__cta{
        min-width: inherit;
        padding: 0 12px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .features__badge {
        min-height: 0;
        padding: 5px 12px;
        margin-bottom: 14px;
    }
}
