/*
Theme Name:     MFM Digital
Theme URI:      http://themes.muffingroup.com/betheme
Author:         MFM Digital
Author URI:     http://mfmdigital.com.com
Description:    MFM Digital Child Theme
Template:       betheme
Version:        1.0.0
*/

/* Theme customization starts here
-------------------------------------------------------------- */

::selection {
    background-color: #ce263c1b; /* Change this to your highlight background color */
    color: #f51b37; /* Change this to your highlight text color */
}

::-moz-selection {
    background-color: #ce263c1b; /* Firefox compatibility */
    color: #f51b37;
}
.mfn-shape-divider{
    z-index: 5 !important;
}
button {
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


a {
  -webkit-tap-highlight-color: transparent;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.faq h4.heading{
    text-align: center;
    font-weight: 600;
    font-style: semibold;
    font-size: 46px;
    line-height: 77px;


}
.faq .question::after,
.faq .question::before {
    display: none;
}

.faq .mfn-acc .question .title .num {
    display: none !important;
}

.question {
    border-radius: 25px;
    margin-bottom: 20px !important;
    padding: 40px;
}

.question .title {
    padding: 0 55px 0 0 !important;
    margin: 0;
}

.faq .question .answer {
    padding: 20px 20px 0px 0px;
}

/* --- Unnested version of the nested block --- */

.mcb-item-faq-inner .faq .question .title {
    display: flex !important;
    align-items: center;
    gap: 16px;
}

.mcb-item-faq-inner .faq .question .title i {
    display: flex;
    width: 34px;
    height: 34px;
    background-color: #f51b37;
    border-radius: 40px;
    top: 0px !important;
    transition: transform 0.2s ease-in-out;
}

.mcb-item-faq-inner .faq .question.active .title i {
    transform: rotate(180deg) !important;
}

.mcb-item-faq-inner .faq .question .title i::before {
    display: none;
}

.mcb-item-faq-inner .faq .question .title i::after {
    content: '';
    display: block;
    inset: 0;
    position: absolute;
    background-image: url(img/chevron-down.svg);
    background-size: 35px;
    background-position: center;
    background-repeat: no-repeat;
}
.mcb-section .mcb-wrap .button i{
    position: relative;
    height: 27px;width: 27px;
}

.button_right .button_icon{
    display: flex;
    align-items: center;
    justify-content:center ;
}
.button_right .button_icon i::before{
    display: none;

}
.button_right .button_icon i::after{
    content: '';
    display: block;
   width: 27px;
   height: 27px;
    inset: 0;

    margin: auto 0;

    position: absolute;
    background-image: url(img/right-arrow.svg);
    background-size:contain;
    background-position: center;
    background-repeat: no-repeat;
}
@media only screen and (max-width:600px) {
    .faq div.question{
        padding: 15px;
    }
    .mcb-item-faq-inner .faq .question .title i {

    width: 34px;
    height: 34px;
    background-color: #f51b37;
    border-radius: 40px;

    align-items: center;
    justify-content: center;
    align-self: center;
    top: 0px !important;

}
 .mcb-item-faq-inner .faq .question .title {
    line-height: 25px !important;

 }
.mcb-item-faq-inner .faq .answer{
    line-height: 25px !important;

}
    .mcb-item-faq-inner .faq h4.heading{

      line-height: 34px !important;
      padding-bottom: 10px;

    }
}
@media only screen and (max-width:768px) {
    .mcb-item-faq-inner .faq h4.heading{

        font-size: 30px !important;

    }
}
@media only screen and (max-width:992px) {
    .mcb-item-faq-inner .faq h4.heading{

        font-size: 36px !important;

    }
}
/* ==========================================================================
   EXPERT DEMANDE APPRAISAL FORM STYLES
   ========================================================================== */

/* --- Base Form Configuration --- */
.expert-form {
    max-width: 1200px;
    width: 100%;
    margin-top: 150px;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.expert-form * {
    box-sizing: border-box;
}

/* --- Grid System (Address Blocks) --- */
.expert-form .input-address {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px 30px;
    margin-bottom: 26px;
}

/* Force specific elements to span full width layout grids */
.expert-form .input-address .form-group.full-width {
    grid-column: 1 / -1;
}

/* --- Form Field Elements Layout --- */
.expert-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 26px;
}

.expert-form .form-group.global-select {
    margin-bottom: 26px;
}

/* Font / Weight Styling for Labels */
.expert-form label {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #1b1b4b;
    margin: 0;
    display: block;
}

/* Universal Inputs & Dropdowns Styles */
.expert-form input[type="text"],
.expert-form input[type="number"],
.expert-form select {
    width: 100%;
    padding: 14px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #1b1b4b;
    background-color: #fff;
    border: 1px solid #e4e4ec;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(27, 27, 75, 0.04);
    transition: border-color .15s ease, box-shadow .15s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Enforcing max-width constraints on external global selects */
.expert-form .form-group.global-select select {
    max-width: 380px;
    width: 100%;
}

/* Input Placeholder Accent Color */
.expert-form input::placeholder {
    color: #a8a8b8;
}

/* Read-Only State Fields (Zip / City Auto-updates) */
.expert-form input[readonly] {
    background-color: #f8f8fb;
    color: #6b6b80;
    cursor: not-allowed;
}

/* Accessible Interactive Focus Rings */
.expert-form input:focus,
.expert-form select:focus {
    outline: none;
    border-color: #f51b37;
    box-shadow: 0 0 0 3px rgba(245, 27, 55, 0.12);
}

/* Form Dropdown Indicator Arrow Override */
.expert-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231b1b4b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    padding-right: 44px;
    cursor: pointer;
}

/* Submission Primary Action Button Styling */
.expert-form #submitBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    padding: 14px 36px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 17px;
    color: #fff;
    background-color: #f51b37;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(245, 27, 55, 0.25);
    transition: background-color .15s ease, transform .1s ease, box-shadow .15s ease;
}

.expert-form #submitBtn:hover {
    background-color: #d80f2a;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(245, 27, 55, 0.3);
}

.expert-form #submitBtn:active {
    transform: translateY(0);
}

.expert-form #submitBtn:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Dynamic Response Messages Output Container */
.expert-form #formResponse {
    margin-top: 20px;
    font-weight: 600;
    font-size: 16px;
    color: #1b1b4b;
}

/* --- Responsive Layout Utilities --- */
@media only screen and (max-width: 768px) {
    .expert-form .input-address {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .expert-form .input-address .form-group.full-width {
        grid-column: auto;
    }

    .expert-form .form-group.global-select select {
        max-width: 100%;
    }

    .expert-form #submitBtn {
        width: 100%;
    }
}
.woocommerce-checkout #place_order {
    background-color: #f51b37 !important;
}
.woocommerce-checkout #place_order:hover{
background-color: #d80f2a !important;
}
.woocommerce .addresses address::before,
.woocommerce .woocommerce-customer-details address::before {
    content: none !important; /* Removes the icon */
}

.woocommerce .addresses address,
.woocommerce .woocommerce-customer-details address {
    padding-left: 0 !important; /* Removes the extra gap left by the icon */
    line-height: 1.8;
    font-style: normal;
}


/* Spaces out the text blocks inside the address */
.woocommerce-customer-details address {
    line-height: 2 !important;
    font-size: 15px;
}
.woocommerce .addresses ::before,
.woocommerce .woocommerce-customer-details ::before {
    content: none !important; /* Removes the icon */
}

.woocommerce .addresses ,
.woocommerce .woocommerce-customer-details--phone  {
    padding-left: 0 !important; /* Removes the extra gap left by the icon */
    line-height: 1.8;
    font-style: normal;
    margin: 0;
}
.woocommerce .woocommerce-customer-details--email  {
    padding-left: 0 !important; /* Removes the extra gap left by the icon */
    line-height: 1.8;
    font-style: normal;
}