/*
 Theme Name:   Infinite Child
 Theme URI:    http://demo.goodlayers.com/infinite
 Description:  Goodlayers Infinite Child Theme
 Author:       Goodlayers
 Author URI:   http://goodlayers.com
 Template:     infinite
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, right-sidebar, responsive-layout
 Text Domain:  infinite-child

 START YOUR CHILD THEME CSS HERE
*/

/* CSS FOR PRODUCT PAGE */

.single-product.woocommerce div.product p.price {
padding-top: 15px;
    margin-bottom: 0px;
}


a.button.insurancetoggle:active, a.button.insurancetoggle:visited {
  color: #fff !important;
    background: #8fa2ca;
    border: 1px solid #529a97;
    font-weight: 600;
    border: none;
}

button.insurancetoggle {
	color: #fff !important;
    background: #8fa2ca;
    border: 1px solid #529a97;
    font-weight: 600;
    border: none;
}

.featandbene {
    text-align: left;
}

p.videotitle {
	background: #6cc3c0;
    padding-bottom: 10px;
    padding-top: 10px;
    margin-bottom: 0;
    color: #fff;
    font-size: 16px;
}
.videoarea .gdlr-core-column-20 {
	padding-left:5px;
	padding-right: 5px;
}
}
@media only screen and (max-width: 600px) {
.woocommerce-product-details__short-description a.button {
    width: 100% !important;
font-size: 1.2em !important;
}
}

/* ========================================
   MODERN GRAVITY FORM #10 STYLING
   Updated for softer, rounded appearance
   ======================================== */

/* Form wrapper - add subtle background */
#gform_wrapper_10 {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
}

/* Remove weird purple arrow and use clean dropdown */
#gform_10 select,
.gform_wrapper select,
.ginput_container select,
.gravity-select-parent select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px !important;
    padding-right: 40px !important;
}

/* Hide any custom arrow elements */
.gravity-select-parent .select-arrow,
.select-arrow {
    display: none !important;
}

/* Input fields - rounded corners and modern feel */
#gform_10 input[type="text"],
#gform_10 input[type="email"],
#gform_10 input[type="tel"],
#gform_10 input[type="number"],
#gform_10 input[type="url"],
#gform_10 input[type="password"],
#gform_10 select,
#gform_10 textarea {
    border-radius: 8px !important;
    border: 2px solid #e0e7ef !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04) !important;
}

/* Focus state - modern blue glow */
#gform_10 input[type="text"]:focus,
#gform_10 input[type="email"]:focus,
#gform_10 input[type="tel"]:focus,
#gform_10 input[type="number"]:focus,
#gform_10 input[type="url"]:focus,
#gform_10 input[type="password"]:focus,
#gform_10 select:focus,
#gform_10 textarea:focus {
    border-color: #6eb5d9 !important;
    box-shadow: 0 0 0 3px rgba(110, 181, 217, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    outline: none !important;
}

/* Field labels - softer color and better spacing */
#gform_10 .gfield_label {
    color: #4a5568 !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    font-size: 15px !important;
}

/* Section titles - softer background with rounded corners */
#gform_10 .gsection_title,
#gform_10 h2.gsection_title {
    background: linear-gradient(135deg, #7ca9d8 0%, #9ab8db 100%) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 16px 20px !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(124, 169, 216, 0.25) !important;
    margin-bottom: 20px !important;
    border: none !important;
}

/* Checkboxes and radio buttons - modern styling */
#gform_10 input[type="checkbox"],
#gform_10 input[type="radio"] {
    width: 20px !important;
    height: 20px !important;
    border-radius: 4px !important;
    border: 2px solid #cbd5e0 !important;
    transition: all 0.2s ease !important;
}

#gform_10 input[type="radio"] {
    border-radius: 50% !important;
}

/* Checkbox/radio labels */
#gform_10 .gfield_checkbox label,
#gform_10 .gfield_radio label {
    font-size: 15px !important;
    color: #4a5568 !important;
    line-height: 1.6 !important;
}

/* Submit buttons - modern rounded style */
#gform_10 input[type="submit"],
#gform_10 .gform_button {
    background: linear-gradient(135deg, #529a97 0%, #6eb5d9 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 14px 32px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(82, 154, 151, 0.3) !important;
}

#gform_10 input[type="submit"]:hover,
#gform_10 .gform_button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(82, 154, 151, 0.4) !important;
}

#gform_10 input[type="submit"]:active,
#gform_10 .gform_button:active {
    transform: translateY(0) !important;
}

/* Field descriptions - softer text */
#gform_10 .gfield_description {
    color: #718096 !important;
    font-size: 14px !important;
    margin-top: 6px !important;
    line-height: 1.5 !important;
}

/* Error fields - softer red with rounded corners */
#gform_10 .gfield_error {
    background-color: rgba(254, 226, 226, 0.5) !important;
    border-radius: 10px !important;
    padding: 16px !important;
    border: 2px solid #fca5a5 !important;
}

#gform_10 .gfield_error input,
#gform_10 .gfield_error select,
#gform_10 .gfield_error textarea {
    border-color: #f87171 !important;
}

#gform_10 .validation_message {
    color: #dc2626 !important;
    font-size: 14px !important;
    margin-top: 6px !important;
}

/* Validation error box at top - rounded and modern */
#gform_10 .gform_validation_errors {
    background: #fef2f2 !important;
    border: 2px solid #fca5a5 !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.1) !important;
}

/* Multi-page progress - modern rounded style */
#gform_10 .gf_page_steps {
    border-radius: 10px !important;
    overflow: hidden !important;
}

/* Override bearpawPumps plugin styles for form 10 wrapper */
#breast_pump_wrapper h2#fully_cov,
#breast_pump_wrapper h2#premium_prod,
#breast_pump_wrapper h2#accessory_prod,
#breast_pump_wrapper h2#featured {
    background: linear-gradient(135deg, #7ca9d8 0%, #9ab8db 100%) !important;
    border-radius: 10px !important;
    padding: 16px 20px !important;
    box-shadow: 0 4px 12px rgba(124, 169, 216, 0.25) !important;
}

/* Responsive adjustments */
@media only screen and (max-width: 768px) {
    #gform_wrapper_10 {
        padding: 15px;
        border-radius: 10px;
    }

    #gform_10 input[type="text"],
    #gform_10 input[type="email"],
    #gform_10 input[type="tel"],
    #gform_10 select,
    #gform_10 textarea {
        padding: 10px 14px !important;
        font-size: 16px !important;
    }

    #gform_10 .gsection_title,
    #gform_10 h2.gsection_title {
        font-size: 20px !important;
        padding: 14px 16px !important;
    }
}

/* ========================================
   MODERN PRODUCT SELECTION STYLING
   Breast pump product cards and buttons
   ======================================== */

/* Product cards - modern rounded design, maintain 4 per row */
.pump_prod {
    width: 24% !important;
    margin: 0 0.5% 15px 0.5% !important;
    display: inline-block !important;
    vertical-align: top !important;
    box-sizing: border-box !important;
}

.pump_prod > div {
    border: 2px solid #e0e7ef !important;
    border-radius: 12px !important;
    padding: 16px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    background: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 480px !important;
}

.pump_prod > div > .prodInnerWrap {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.pump_prod > div:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
    border-color: #7ca9d8 !important;
}

/* Product images - rounded corners */
.pump_prod > div > img {
    border-radius: 8px !important;
    margin-bottom: 12px !important;
}

/* Fix prodWrap to stack vertically */
.pump_prod > div > .prodInnerWrap .prodWrap {
    display: block !important;
    margin-bottom: 15px !important;
}

.pump_prod > div > .prodInnerWrap .prodWrap div:nth-child(1) {
    display: block !important;
    width: 100% !important;
    margin-bottom: 10px !important;
}

/* Product name - better color and full width with min-height */
.pump_prod > div > .prodInnerWrap .pump_name {
    display: block !important;
    width: 100% !important;
    color: #4a5568 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 22px !important;
    text-align: center !important;
    padding: 0 !important;
    min-height: 44px !important;
}

/* Push content spacing */
.pump_prod > div > .prodInnerWrap .prodInner {
    margin: 12px 0 !important;
    flex-grow: 0 !important;
}

/* Push button to bottom */
.pump_prod > div > .prodInnerWrap {
    justify-content: space-between !important;
}

/* "Select Pump" button - blue compact style */
.pump_prod .select_product,
.pump_prod .select_accessory {
    display: block !important;
    width: 100% !important;
    background: #8fa2ca !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 5px !important;
    padding: 10px 15px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
    transition: background 0.3s ease !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    margin-top: 15px !important;
    white-space: nowrap !important;
}

.pump_prod .select_product:hover,
.pump_prod .select_accessory:hover {
    background: #7a8db5 !important;
    transform: none !important;
    box-shadow: none !important;
}

.pump_prod .select_product:active,
.pump_prod .select_accessory:active {
    transform: none !important;
}

/* Active/selected state */
.pump_prod .select_product.active,
.pump_prod .select_accessory.active {
    background: #7a8db5 !important;
    box-shadow: none !important;
}

/* Cost display - modern styling */
.pump_prod > div > .prodInnerWrap .cost_to_you {
    color: #529a97 !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    margin-top: 8px !important;
}

.pump_prod > div > .prodInnerWrap .cost_to_you_mob {
    color: #718096 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Product info links - better spacing and colors */
.pump_prod > div > .prodInnerWrap .prodInner a {
    color: #529a97 !important;
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
}

.pump_prod > div > .prodInnerWrap .prodInner a:hover {
    color: #3d7774 !important;
}

/* Mobile responsive for product cards */
@media only screen and (max-width: 768px) {
    .pump_prod {
        width: 100% !important;
        display: block !important;
        margin: 0 0 15px 0 !important;
    }

    .pump_prod > div {
        border-radius: 10px !important;
        padding: 14px !important;
    }

    .pump_prod .select_product,
    .pump_prod .select_accessory {
        padding: 10px 15px !important;
        font-size: 15px !important;
    }

    .pump_prod > div > .prodInnerWrap .pump_name {
        font-size: 16px !important;
        line-height: 20px !important;
    }

    .pump_prod > div > .prodInnerWrap .cost_to_you {
        font-size: 24px !important;
    }
}

