.wc-cardboard-finder-container {
    display: flex;
    align-items: center;
    background: #f0f8ff;
    padding: 20px 25px;
    max-width: max-content;
    margin: 0 auto;
    font-family: inherit;
    box-sizing: border-box;
}

.wc-cf-form-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 25px;
    flex-wrap: wrap;
}

/* Left Group containing Image directly followed by Title */
.wc-cf-left-group {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.wc-cf-banner-section {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.wc-cf-icon-img {
    height: auto;
    object-fit: contain;
    display: block;
}

.wc-cf-title-block h2 {
    margin: 0;
    font-size: inherit;
    color: inherit;
    line-height: 1.15;
    font-weight: 800;
    text-align: left;
}

/* Right Group containing Highlight text, Subtext, Inputs and Button */
.wc-cf-right-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 280px;
}

.wc-cf-highlight-top {
    font-weight: 700;
    display: block;
}

.wc-cf-subtext {
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.wc-cf-divider {
    width: 1px;
    height: 55px;
    background-color: #cbd5e1;
    flex: 0 0 auto;
}

.wc-cf-inputs-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.wc-cf-input-group input {
    padding: 0 12px;
    border-style: solid;
    border-width: 1px;
    border-radius: 4px;
    box-sizing: border-box;
}

.wc-cf-input-group input::placeholder {
    color: #94a3b8;
}

.wc-cf-input-group input:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 1px #2563eb;
}

.wc-cf-submit-group button {
    border: none;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: opacity 0.2s ease;
    box-sizing: border-box;
}

.wc-cf-submit-group button:hover {
    opacity: 0.9;
}

/* Popup Modal & Overlay */
.wc-cardboard-overlay {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0,0,0,0.4);
    visibility: hidden; 
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 99998;
}

.wc-cardboard-overlay.active {
    visibility: visible; 
    opacity: 1;
}

#wc-cardboard-popup {
    position: fixed; 
    bottom: -100%; 
    left: 0; 
    width: 100%;
    background: #fff; 
    box-shadow: 0 -5px 25px rgba(0,0,0,0.2);
    transition: bottom 0.4s ease-in-out; 
    z-index: 99999;
    max-height: 80vh; 
    overflow-y: auto; 
    box-sizing: border-box;
    border-top-left-radius: 12px; 
    border-top-right-radius: 12px;
}

.wc-cardboard-overlay.active #wc-cardboard-popup {
    bottom: 0;
}

.wc-popup-content-wrap {
    max-width: 800px; 
    margin: 0 auto; 
    padding: 25px; 
    position: relative;
}

#wc-popup-close {
    background: none; 
    border: none; 
    font-size: 24px; 
    float: right; 
    cursor: pointer; 
    font-weight: bold; 
    line-height: 1;
}

#wc-popup-title {
    margin-top: 0; 
    font-size: 20px; 
    font-weight: 700; 
    color: #0b1c2d; 
    padding-right: 30px;
}

@media(max-width: 768px) {
    .wc-cardboard-finder-container { 
        flex-direction: column; 
        align-items: stretch; 
    }
    .wc-cf-divider { 
        display: none; 
    }
    .wc-cf-form-section { 
        flex-direction: column; 
        align-items: stretch; 
    }
    .wc-cf-left-group { 
        justify-content: flex-start; 
    }
    .wc-cf-inputs-wrapper { 
        justify-content: space-between; 
    }
    .wc-cf-input-group input { 
        width: 100% !important; 
    }
    .wc-cf-submit-group button { 
        width: 100%; 
        border-radius: 4px; 
    }
}