/* ── Product Q&A Form ── */
.product-qa-form {
    margin-top: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
}
.product-qa-form-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.product-qa-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.product-qa-input,
.product-qa-textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-family: inherit;
    color: #1e293b;
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}
.product-qa-input:focus,
.product-qa-textarea:focus {
    border-color: #137fec;
    box-shadow: 0 0 0 3px rgba(19, 127, 236, 0.12);
}
.product-qa-input::placeholder,
.product-qa-textarea::placeholder {
    color: #94a3b8;
}
.product-qa-textarea {
    resize: vertical;
    min-height: 80px;
}
.product-qa-error {
    font-size: 13px;
    color: #dc2626;
    margin: 0;
}
.product-qa-form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}
.product-qa-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #137fec;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
}
.product-qa-submit-btn:hover {
    background: #1069c7;
}
.product-qa-cancel-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: transparent;
    border: 2px solid #d0d5dd;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    color: #64748b;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.product-qa-cancel-btn:hover {
    border-color: #94a3b8;
    color: #1e293b;
}

/* ── Mobile Search Overlay ── */
#searchOverlay {
    align-items: flex-start;
    padding-top: 60px;
}
#searchOverlay .search-wrap {
    width: 100%;
    position: relative;
}
#searchOverlay .search-input {
    width: 100%;
    padding: 14px 44px 14px 46px;
    font-size: 16px;
    font-family: inherit;
    color: #1e293b;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}
#searchOverlay .search-input:focus {
    border-color: #137fec;
    box-shadow: 0 0 0 4px rgba(19, 127, 236, 0.12);
}
#searchOverlay .search-input::placeholder {
    color: #94a3b8;
    font-size: 15px;
}
#searchOverlay .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    opacity: 0.5;
    pointer-events: none;
}
#searchOverlay form {
    width: 100%;
    display: flex;
    justify-content: center;
}
#searchOverlay .max-w-md {
    max-width: 480px;
    width: 100%;
}
#searchOverlay > div:last-child {
    width: 100%;
    max-width: 480px;
    padding: 0 16px;
}
#searchOverlay .relative.w-full {
    width: 100%;
}
#searchOverlay .absolute.right-4 {
    right: 14px;
}
#searchOverlay button.absolute.right-4 {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#searchOverlay .absolute.right-4 svg {
    width: 18px;
    height: 18px;
}

/* ── Sign In – Google SSO ── */
.sign-up-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
}
.sign-up-divider-line {
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}
.sign-up-divider-text {
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.sign-up-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    color: #1e293b;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
}
.sign-up-google-btn:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    text-decoration: none;
}
.sign-up-google-btn svg {
    flex-shrink: 0;
}
.sign-up-google-btn span {
    white-space: nowrap;
}
