/* Modern Font Stack */
#askInStoreForm {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1a202c;
    padding: 0 10px 10px 10px;
    width: 100%;
    box-sizing: border-box;
}

/* Modal Container Sizing Defaults (Mobile First) */
.ask-in-store-popup .modal-inner-wrap {
    width: 90% !important;
    /* Mobile width */
    max-width: 400px;
    /* Default max width for mobile */
    margin: 0 auto;
    border-radius: 12px;
}

/* Desktop Sizing overrides */
@media (min-width: 1024px) {
    .ask-in-store-popup .modal-inner-wrap {
        width: 75% !important;
        max-width: 1024px !important;
        min-width: 700px;
    }

    #askInStoreForm label {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    #askInStoreForm select,
    #askInStoreForm input[type="text"],
    #askInStoreForm input[type="email"],
    #askInStoreForm input[type="tel"] {
        font-size: 1.1rem;
        padding: 0.9rem 1.1rem;
    }

    #askInStoreForm button[type="submit"] {
        font-size: 1.25rem;
        padding: 1.4rem;
    }

    #askInStoreForm .disclaimer {
        font-size: 1rem;
    }
}

/* Modal Content Adjustments */
.ask-in-store-popup .modal-content {
    border-radius: 12px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    padding-bottom: 2rem !important;
}

.modal-header {
    padding-bottom: 0 !important;
}

/* H3 Product Title (if inside form area) */
#askInStoreForm h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
    border-bottom: none;
    /* Remove default border if any */
}

/* Headings */
#askInStoreForm h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #4a5568;
    border-bottom: 2px solid #edf2f7;
    padding-bottom: 0.5rem;
}

/* Field Groups */
#askInStoreForm .field-group,
#askInStoreForm>div {
    margin-bottom: 1.25rem;
}

/* Labels */
#askInStoreForm label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #4a5568;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Inputs & Selects */
#askInStoreForm select,
#askInStoreForm input[type="text"],
#askInStoreForm input[type="email"],
#askInStoreForm input[type="tel"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #f7fafc;
    color: #2d3748;
    font-size: 1rem;
    line-height: 1.5;
    transition: all 0.2s ease-in-out;
    box-sizing: border-box;
    height: auto;
    /* Allow auto height for padding */
}

#askInStoreForm select:hover,
#askInStoreForm input:hover {
    border-color: #cbd5e0;
}

#askInStoreForm select:focus,
#askInStoreForm input:focus {
    background-color: #fff;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
    /* Soft blue glow */
    outline: none;
}

/* Submit Button */
#askInStoreForm button[type="submit"] {
    width: 100%;
    background: linear-gradient(135deg, #3182ce 0%, #2b6cb0 100%);
    color: white;
    padding: 1.2rem;
    /* Larger touch area */
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

#askInStoreForm button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
}

#askInStoreForm button[type="submit"]:active {
    transform: translateY(0);
}

#askInStoreForm button[type="submit"]:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Disclaimer Section */
#askInStoreForm .disclaimer {
    background-color: #ebf8ff;
    /* Light blue background */
    border: 1px solid #bee3f8;
    border-left: 4px solid #3182ce;
    /* Accent line */
    padding: 1.25rem;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #2c5282;
    margin-top: 1rem;
}

#askInStoreForm .disclaimer p {
    font-weight: 700;
    margin-bottom: 0.75rem;
    margin-top: 0;
    color: #2b6cb0;
}

#askInStoreForm .disclaimer ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#askInStoreForm .disclaimer ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

#askInStoreForm .disclaimer ul li:before {
    content: "✓";
    /* Checkmark icon */
    color: #3182ce;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

#askInStoreForm .disclaimer ul li:last-child {
    margin-bottom: 0;
}

/* Messages */
#msg {
    text-align: center;
    font-weight: 600;
    margin-bottom: 1rem;
    min-height: 2em;
    font-size: 0.95rem;
    padding: 8px;
    border-radius: 4px;
}