/* =====================================================
   EXISTING CUSTOM CSS - PRESERVED
===================================================== */

.col-full-nav.is_stuck {
    background-color: #323232;
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
    pointer-events: none;
}

/* .pdp-g-skinny #page .product .product-details-wrapper .woocommerce-product-gallery, .pdp-g-skinny.single-product div.product .product-details-wrapper .images {
    height: 20%;
} */

/* .components-button .wc-block-components-button .wp-element-button .wc-block-components-checkout-place-order-button .contained{color:#fff !important} */

.wc-block-components-button__text {
    color: #fff;
}

.components-button.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained {
    background-color: #000;
}

.shoptimizer-sticky-add-to-cart__content {
    display: none;
}

/* Store notification */

.download {
    background-color: #fff !important;
}

.demo_store {
    background-color: red;
    font-style: italic;
}

/* End */

/* Mobile search background */

@media (max-width: 992px) {
    button.mobile-search-toggle {
        background-color: #fff;
    }
}

/* Image size shop page */

body ul.products li.product img {
    display: block;
    width: auto;
    margin: 0 auto;
}

/* Product page layout */

@media (min-width: 770px) {
    div.product .summary {
        float: right;
        width: 56%;
    }

    #page .product .woocommerce-product-gallery,
    .single-product div.product .product-details-wrapper .images {
        width: 40%;
    }
}

@media (max-width: 768px) {
    div.top-bar-left.widget_text,
    div.top-bar-right.widget_text,
    div.top-bar-center.widget_block {
        display: none;
    }
}

/* Cart referral button */

.cart-custom-field .referral-button {
    display: flex;
    align-items: center;
}

.cart-custom-field .referrals-link__button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.cart-custom-field .icon-wrapper svg {
    width: 30px;
    height: 30px;
}

.cart-custom-field .referrals-link__button:hover {
    background-color: rgba(64, 129, 183, 0.1);
}

/* Hide top bar center on desktop */

@media (min-width: 992px) {
    div.top-bar-center.widget_text {
        display: none !important;
    }
}

.top-bar p {
    1px;
}

@media (min-width: 768px) {
    .top-bar-left.widget_block {
        display: none !important;
    }
}

/* Hide password button */

button.show-password-input {
    display: none;
}

/* Hide single post featured image */

.single-post .post-thumbnail,
.single-post .wp-post-image {
    display: none !important;
}

/* Shop product image border */

body ul.products li.product .woocommerce-image__wrapper img {
    border-radius: 4px;
}


/* =====================================================
   CONTACT FORM 7 - EXISTING STYLING
===================================================== */

/* Container styling */

.custom-cf7-container {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    color: #333;
}

/* Flexbox layout for rows */

.custom-cf7-container .form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 25px;
    gap: 20px;
}

.custom-cf7-container .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Half width items */

.custom-cf7-container .half-width {
    flex: 1 1 calc(50% - 10px);
    min-width: 250px;
}

.custom-cf7-container .full-width {
    flex: 1 1 100%;
}

/* Labels */

.custom-cf7-container label {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: #2c3e50;
}

.custom-cf7-container label small {
    display: block;
    font-weight: 400;
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-bottom: 5px;
    margin-top: -3px;
}

.custom-cf7-container .required {
    color: #e74c3c;
}

/* Input fields */

.custom-cf7-container input[type="text"],
.custom-cf7-container input[type="email"],
.custom-cf7-container input[type="tel"],
.custom-cf7-container textarea,
.custom-cf7-container select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dcdde1;
    border-radius: 6px;
    background-color: #fcfcfc;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

/* Input focus */

.custom-cf7-container input[type="text"]:focus,
.custom-cf7-container input[type="email"]:focus,
.custom-cf7-container input[type="tel"]:focus,
.custom-cf7-container textarea:focus,
.custom-cf7-container select:focus {
    border-color: #3498db;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}

/* Select dropdown */

.custom-cf7-container select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    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='%23333' 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");

    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
    padding-right: 40px !important;
    height: auto !important;
    min-height: 48px;
    line-height: 1.5 !important;
}

/* IE/Edge dropdown */

.custom-cf7-container select::-ms-expand {
    display: none;
}

/* Dropdown options */

.custom-cf7-container select option {
    color: #333;
    background: #fff;
    padding: 10px;
}

/* Radio buttons */

.custom-cf7-container .radio-group .wpcf7-list-item {
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
}

.custom-cf7-container .radio-group input[type="radio"] {
    margin-right: 8px;
    transform: scale(1.2);
    cursor: pointer;
}

/* Section highlight */

.custom-cf7-container .section-highlight {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

/* Submit button */

.custom-cf7-container .submit-row {
    margin-top: 10px;
    justify-content: center;
}

.custom-cf7-container .wpcf7-submit {
    background-color: #2c3e50;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 14px 40px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.custom-cf7-container .wpcf7-submit:hover {
    background-color: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.3);
}

/* Form messages */

div.wpcf7-response-output {
    border-radius: 6px;
    padding: 15px;
    font-weight: 500;
    margin-top: 20px;
    text-align: center;
}

/* Existing mobile styling */

@media (max-width: 600px) {
    .custom-cf7-container {
        padding: 25px 20px;
    }

    .custom-cf7-container .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .custom-cf7-container .half-width {
        width: 100%;
    }
}

/* Font radio buttons */

.font-preview-group .wpcf7-list-item {
    display: block !important;
    margin-bottom: 8px;
}

.font-preview-group .wpcf7-list-item:nth-child(1) {
    font-family: 'Brush Script MT', 'Great Vibes', cursive;
    font-size: 1.3rem;
}

.font-preview-group .wpcf7-list-item:nth-child(2) {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.1rem;
}

.font-preview-group .wpcf7-list-item:nth-child(3) {
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
}

.font-preview-group .wpcf7-list-item:nth-child(4) {
    font-family: 'Apple Chancery', 'Snell Roundhand', cursive;
    font-size: 1.2rem;
}

.font-preview-group .wpcf7-list-item:nth-child(5) {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 1.1rem;
    font-weight: normal;
}


/* =====================================================
   TAWK.TO CHAT POSITION
===================================================== */

#tawkchat-container {
    bottom: 96px !important;
}


/* =====================================================
   NEW CONTACT FORM IMPROVEMENTS
   These are additional overrides.
===================================================== */

/* Reduce default Contact Form 7 paragraph spacing */

.custom-cf7-container .wpcf7-form p {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

/* Reduce label spacing */

.custom-cf7-container label {
    margin-bottom: 4px;
}

/* Reduce spacing between input and label */

.custom-cf7-container .wpcf7-form-control-wrap {
    display: block;
    margin-top: 5px;
}

/* Compact text inputs */

.custom-cf7-container input[type="text"],
.custom-cf7-container input[type="email"],
.custom-cf7-container input[type="tel"],
.custom-cf7-container input[type="date"] {
    min-height: 44px !important;
    padding: 9px 13px !important;
}

/* FIX DROPDOWN TEXT CLIPPING */

.custom-cf7-container select {
    height: 48px !important;
    min-height: 48px !important;
    padding: 10px 42px 10px 14px !important;
    line-height: normal !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
}

/* Reduce textarea height */

.custom-cf7-container textarea {
    min-height: 85px !important;
    height: 85px;
    padding: 10px 13px !important;
    resize: vertical;
}

/* Compact form spacing */

.custom-cf7-container .wpcf7-form-control-wrap {
    margin-bottom: 0 !important;
}

/* Radio group layout */

.custom-cf7-container .wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.custom-cf7-container .wpcf7-radio .wpcf7-list-item {
    margin: 0 !important;
}

/* Font style radio options */

.custom-cf7-container .font-preview-group .wpcf7-radio {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
}

.custom-cf7-container .font-preview-group .wpcf7-list-item {
    display: flex !important;
    align-items: center;
    margin: 0 !important;
    min-height: 35px;
}

/* Submit button spacing */

.custom-cf7-container .wpcf7-submit {
    margin-top: 8px;
}

/* Mobile form improvements */

@media (max-width: 600px) {

    .custom-cf7-container {
        padding: 18px 14px !important;
    }

    .custom-cf7-container .wpcf7-form p {
        margin-bottom: 10px !important;
    }

    .custom-cf7-container label {
        font-size: 14px;
        margin-bottom: 3px;
    }

    .custom-cf7-container input[type="text"],
    .custom-cf7-container input[type="email"],
    .custom-cf7-container input[type="tel"],
    .custom-cf7-container input[type="date"] {
        min-height: 42px !important;
        padding: 8px 11px !important;
        font-size: 14px !important;
    }

    .custom-cf7-container select {
        height: 46px !important;
        min-height: 46px !important;
        padding: 8px 38px 8px 11px !important;
        font-size: 14px !important;
        line-height: normal !important;
    }

    .custom-cf7-container textarea {
        min-height: 70px !important;
        height: 70px;
        padding: 9px 11px !important;
        font-size: 14px !important;
    }

    .custom-cf7-container .form-row {
        gap: 10px !important;
        margin-bottom: 12px !important;
    }

    .custom-cf7-container .font-preview-group .wpcf7-radio {
        grid-template-columns: 1fr 1fr;
        gap: 8px 10px;
    }

    .custom-cf7-container .wpcf7-submit {
        padding: 12px 25px;
        font-size: 15px;
    }
}


/* =========================================
   REDUCE CONTACT FORM FIELD SPACING
   Desktop + Mobile
========================================= */

/* Reduce space between form fields */
.custom-cf7-container .wpcf7 form p,
.custom-cf7-container .wpcf7-form p {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
    padding: 0 !important;
}

/* Label spacing */
.custom-cf7-container .wpcf7-form label {
    margin-bottom: 3px !important;
    line-height: 1.4 !important;
}

/* Input wrapper */
.custom-cf7-container .wpcf7-form-control-wrap {
    display: block;
    margin-top: 3px !important;
    margin-bottom: 0 !important;
}

/* Input fields */
.custom-cf7-container input[type="text"],
.custom-cf7-container input[type="email"],
.custom-cf7-container input[type="tel"],
.custom-cf7-container input[type="date"],
.custom-cf7-container select {
    margin-bottom: 0 !important;
}

/* Textarea */
.custom-cf7-container textarea {
    margin-bottom: 0 !important;
}

/* Desktop */
@media (min-width: 601px) {
    .custom-cf7-container .wpcf7-form p {
        margin-bottom: 14px !important;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .custom-cf7-container .wpcf7-form p {
        margin-bottom: 11px !important;
    }

    .custom-cf7-container .wpcf7-form label {
        margin-bottom: 2px !important;
    }

    .custom-cf7-container .wpcf7-form-control-wrap {
        margin-top: 2px !important;
    }
}

/* =========================================
   SCENTBAR FORM – REDUCE OVERALL HEIGHT
   ========================================= */

/* Reduce spacing between form fields */
.custom-cf7-container .wpcf7-form p {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
    padding: 0 !important;
}

/* Reduce label spacing */
.custom-cf7-container .wpcf7-form label {
    margin-bottom: 4px !important;
    line-height: 1.35 !important;
}

/* Reduce input height */
.custom-cf7-container input[type="text"],
.custom-cf7-container input[type="email"],
.custom-cf7-container input[type="tel"],
.custom-cf7-container input[type="number"],
.custom-cf7-container input[type="date"],
.custom-cf7-container select {
    min-height: 44px !important;
    height: 44px !important;
    padding: 8px 12px !important;
    font-size: 15px !important;
}

/* Fix dropdown text visibility */
.custom-cf7-container select {
    line-height: normal !important;
    padding-right: 38px !important;
    appearance: none;
}

/* Reduce textarea height */
.custom-cf7-container textarea {
    min-height: 75px !important;
    height: 75px !important;
    padding: 10px 12px !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
}

/* Reduce spacing around textarea descriptions */
.custom-cf7-container .wpcf7-form label small {
    margin-top: 2px !important;
    margin-bottom: 4px !important;
    line-height: 1.4 !important;
}

/* Reduce radio and checkbox spacing */
.custom-cf7-container .wpcf7-list-item {
    margin: 3px 12px 3px 0 !important;
}

/* Font style options */
.custom-cf7-container .font-preview-group .wpcf7-list-item {
    margin-bottom: 5px !important;
    line-height: 1.3 !important;
}

/* Reduce space between form rows */
.custom-cf7-container .form-row {
    margin-bottom: 14px !important;
    gap: 12px !important;
}

/* Reduce overall form container padding */
.custom-cf7-container {
    padding: 25px !important;
}

/* =========================================
   MOBILE OPTIMIZATION
   ========================================= */

@media (max-width: 768px) {

    .custom-cf7-container {
        padding: 15px 12px !important;
    }

    .custom-cf7-container .wpcf7-form p {
        margin-bottom: 12px !important;
    }

    .custom-cf7-container .wpcf7-form label {
        font-size: 14px !important;
        margin-bottom: 3px !important;
    }

    .custom-cf7-container input[type="text"],
    .custom-cf7-container input[type="email"],
    .custom-cf7-container input[type="tel"],
    .custom-cf7-container input[type="number"],
    .custom-cf7-container input[type="date"],
    .custom-cf7-container select {
        height: 42px !important;
        min-height: 42px !important;
        padding: 7px 10px !important;
        font-size: 14px !important;
    }

    .custom-cf7-container textarea {
        height: 70px !important;
        min-height: 70px !important;
        padding: 9px 10px !important;
    }

    .custom-cf7-container .form-row {
        margin-bottom: 10px !important;
        gap: 10px !important;
    }
}

/* =========================================
   DESKTOP OPTIMIZATION
   ========================================= */

@media (min-width: 769px) {

    .custom-cf7-container .wpcf7-form p {
        margin-bottom: 14px !important;
    }

}





/* =====================================
   CONTACT FORM 7 - REDUCE FORM HEIGHT
   ===================================== */

/* Remove excessive paragraph spacing */
.custom-cf7-container p,
.wpcf7 form p {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Reduce label spacing */
.custom-cf7-container label,
.wpcf7 form label {
    margin-bottom: 4px !important;
    line-height: 1.4 !important;
}

/* Reduce spacing around input fields */
.custom-cf7-container input,
.custom-cf7-container select,
.custom-cf7-container textarea,
.wpcf7 form input,
.wpcf7 form select,
.wpcf7 form textarea {
    margin-top: 3px !important;
    margin-bottom: 0 !important;
}

/* Reduce input height */
.custom-cf7-container input[type="text"],
.custom-cf7-container input[type="email"],
.custom-cf7-container input[type="tel"],
.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form input[type="tel"] {
    padding: 10px 14px !important;
    min-height: 46px !important;
}

/* Select field height */
.custom-cf7-container select,
.wpcf7 form select {
    min-height: 46px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

/* Reduce textarea height */
.custom-cf7-container textarea,
.wpcf7 form textarea {
    min-height: 90px !important;
    padding: 10px 14px !important;
}

/* Remove unnecessary line breaks spacing */
.custom-cf7-container br,
.wpcf7 form br {
    display: none;
}

/* Mobile spacing */
@media (max-width: 768px) {

    .custom-cf7-container {
        padding: 18px 15px !important;
    }

    .custom-cf7-container p,
    .wpcf7 form p {
        margin-bottom: 10px !important;
    }

    .custom-cf7-container label,
    .wpcf7 form label {
        margin-bottom: 3px !important;
    }

    .custom-cf7-container textarea,
    .wpcf7 form textarea {
        min-height: 75px !important;
    }
}