

/* =============================================================== 
 * ----- OFF-Canvas Panel -----
 * ============================================================== */
.crc-offcanvas-grid {
    column-gap: 1em;
    display: grid;
    grid-template-columns: 1fr 3fr;
    margin-bottom: 30px;
    row-gap: 1.5em;
}
.offcanvas-grid-col1 {
    align-items: center;
    display: flex;
    justify-content: center;
    text-align: center;
}
.slideout-navigation .offcanvas-grid-col1.primary svg {
    width: 48px;
    height: 48px;
}
.slideout-navigation .offcanvas-grid-col1.secondary svg {
    width: 24px;
    height: 24px;
}
.slideout-navigation .offcanvas-grid-col1.secondary {
    justify-content: right;
}
.offcanvas-grid-col2 {
    align-items: center;
    display: flex;
}
/* User info */
.crc-user-info, 
.crc-user-info :is(h3, h4) {
    margin-bottom: 0;   
}
.slideout-navigation .crc-user-info :is(a, h4) {
    font-size: 20px;
}
.slideout-navigation .crc-user-info h4 {
    font-weight: 400;
}
.slideout-navigation .crc-user-info a:hover {
    color: var(--accent);
}

/* create phone number element */
.crc-callus-button::after {
    content: "+372 5561 7080"; /* your number */
    position: absolute;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.2s ease;
    white-space: nowrap;
    font-size: 18px;
    font-weight: 500;
}

/* icon animation */
.crc-callus-button .gb-shape {
    transition: all 0.2s ease;
}

/* hover effect */
.crc-callus-button:hover .gb-shape {
    opacity: 0;
    transform: translateY(-5px);
}

.crc-callus-button:hover::after {
    opacity: 1;
    transform: translateY(0);
}
/* =============================================================== 
 * ----- MODAL -----
 * ============================================================== */
/* Container */
.crc-modal {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 100000;
}

/* Active state */
.crc-modal.active {
    pointer-events: auto;
}

/* Overlay */
.crc-modal-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.4);
    backdrop-filter: blur(0px);
    opacity: 0;
    transition: opacity 0.25s ease, backdrop-filter 0.25s ease;
    will-change: opacity, backdrop-filter;
}

/* Overlay active */
.crc-modal.active .crc-modal-overlay {
    opacity: 1;
    backdrop-filter: blur(8px);
}

/* Modal content */
.crc-modal-content {
    position: relative;
    max-width: 420px;
    width: 90%;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);

    transform: translateY(-30px) scale(0.95);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 10;
}

/* Content active */
.crc-modal.active .crc-modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Close button */
.crc-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}

/* Optional: hover style like GP */
.crc-modal-close:hover .gp-icon {
    color: #000;
}
/* Contact Form 7 */
.wpcf7-not-valid {
    border: 2px solid #ff4d4f !important;
    background-color: #fff0f0 !important;
    border-radius: 4px;
    transition: border 0.2s ease, background-color 0.2s ease;
}
