/*
Theme Name:   Wavy Child
Theme URI:    https://estudiopatagon.com/projects/wavy-for-wordpress/
Author: EstudioPatagon
Author URI: https://estudiopatagon.com/
Description:  Child theme, based on Wavy
Template: wavy

*/

/* Add your custom code just below */
/* Apply primary font to general text */
body, p, span {
  font-family: 'Bariol', sans-serif !important;
}
.inputbox, input[type=email], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea, #single #comments.hosted nav.pagination a:not(.epcl-shortcode), .button, .epcl-button:not(.epcl-shortcode) {
    font-family: 'Bariol', sans-serif !important;
}
button, .widget_epcl_social .icons a, a {
    font-family: 'Bariol', sans-serif !important;
}
::placeholder {
    font-family: 'Bariol', sans-serif !important;
}
img[src="https://poppies.co.uk/wp-content/themes/wavy/assets/images/svg-icons.svg"] {
  display: none;
}
.bullet_points ol {
    list-style: auto !important;
    margin-left: 17px;
}
.bullet_points ul {
    list-style: disc !important;
    margin-left: 17px;
}
.bullet_points ol li {
    padding-bottom: 9px;
}
.bullet_points ul li {
    padding-bottom: 5px;
}
/* Apply secondary font to headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Bariol', sans-serif !important;
}
.underline-effect .link:hover, .underline-effect a:not(.epcl-button):hover {
	background-size: 100% 5%;
}
.header_logo {
    flex-direction: row !important;
}
.header_logo .year_logo img {
    height: 80px;
    width: auto !important;
}
.main-nav ul.sub-menu {
	border: 1px solid #333333;
}
.widget .widget-title svg.decoration, .widget .wp-block-heading svg.decoration {
    display: none;
}
#footer .widgets .widget {
    padding-left: 10px;
    padding-right: 10px;
}
#footer #block-7 h6 {
    display: flex;
    align-items: center;
    column-gap: 8px;
}
#footer #nav_menu-1, #footer #nav_menu-2, #footer #nav_menu-3 {
	width: 18%;
}
#footer #block-7 {
	width: 21%;
    border-left: 1px solid var(--epcl-boxes-border-color);
}
#footer #epcl_social-4 {
	width: 25%;
}
#header .grid-container .logo {
	display: none;
}
.main-nav ul.menu li .link, .main-nav ul.menu li a {
	font-size: 12px;
}
#footer #epcl_social-4 ul {
	margin-top: -15px;
}
/*#back-to-top {
    opacity: 1 !important;
    right: 10px !important;
}*/
.logo img {
    width: 350px !important;
}
.postcode {
    border: 1px solid #b9b3b3 !important;
    border-radius: 25px !important;
}
.search_postcode {
    padding: 6px 15px !important;
    margin-left: -50px;
    border-radius: 50% !important;
}
.home_form .postcode_form {
    justify-content: flex-start;
}
.postcode_form {
    display: flex;
    justify-content: center;
}
.postcode_form .postcode {
    width: 90%;
}
.contact_us_search_btn .postcode_form .postcode {
    width: 90%;
    height: 64px;
    border-radius: 40px !important;
}
.postcode_form .search_postcode {
    height: 45px;
}
.dotted_divider {
    position: relative;
    top: 75px;
}
.postcode {
	border-radius: 25px;
}
.search_icon {
    height: 17px;
    width: 17px;
}
.services_accordian .e-n-accordion-item-title-text {
    align-items: center;
    justify-content: center;
    display: flex;
    column-gap: 5px;
}
.services_accordian img {
    height: 25px;
    width: 25px;
}
.az-region-wrapper {
    padding: 40px 20px;
}

.az-jump-links {
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: 800;
    color: #333;
}

.az-jump-links a {
    color: #e51f27;
    text-decoration: none;
    font-weight: bold;
    margin: 0 6px;
}

.az-section {
    margin-top: 30px;
    padding-top: 20px;
}

.az-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #333;
    font-weight: 800;
    margin-bottom: 15px;
}

.az-jump-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #e51f27;
    font-weight: 800;
    margin-bottom: 15px;
    width: 2%;
}

.az-section h3::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background-color: #ccc;
    margin-top: 4px;
}

.az-jump-links a::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background-color: #e51f27;
    margin-top: 4px;
}

.az-page-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding: 0;
    margin: 0;
}

.az-page-list li {
    position: relative;
    padding-left: 14px;
}

.az-jump-links span {
    font-size: 19px;
    font-weight: 800;
}

.az-page-list li::before {
    content: '•';
    color: #e51f27;
    position: absolute;
    left: 0;
    top: 0;
}

.az-page-list li a {
    color: #e51f27;
    text-decoration: none;
    font-weight: 800;
    text-transform: capitalize !important;
}

.az-page-list li a:hover {
    text-decoration: underline;
}
.callus_btn .elementor-button {
    width: 100%;
}
.callus_btn .elementor-button-content-wrapper {
    justify-content: flex-start;
}
.locations a, .locations a:hover {
    color: #fff;
}
.category-cleaning-tips-hacks .tag-description {
    display: none !important;
}
.contact_us_search_btn .search_postcode {
    display: none;
}
.custom_img img {
    margin-top: 12px;
}
.blog-title {
    text-align: center;
    margin: 20px 0 0 0;
}
.blog .content {
    margin-top: 20px;
}
.blog footer, .archive.category footer {
    margin-top: 90px;
}
.contact_details {
    display: flex;
    justify-content: space-evenly !important;
}
.phone_num_btn {
    background-color: #fff;
    font-family: "Bariol", Sans-serif;
    font-size: 19px;
    font-weight: 500;
    fill: #c1c1c1;
    color: #c1c1c1;
    border-style: solid;
    border-width: 2px;
    border-color: #c1c1c1;
    border-radius: 40px;
    padding: 20px;
    width: 100%;
    display: flex;
    height: 61px;
    align-items: center;
}
.phone_num_header, .phone_num_header:hover {
    color: #fff;
    padding-left: 15px;
}
.cleanslate.ts-widget {
    border: 1px solid #333 !important;
}
.search_postcode.disable, .submit_inquiry a.disable {
    opacity: 0.5;
    pointer-events: none;
}
.header_email {
    border-left: 1px solid #fff;
}
.single-post footer {
    padding-top: 130px;
}
.header_social_icons {
    display: flex;
    align-items: center;
    justify-content: end;
    flex-direction: row !important;
}
.header_social_icons .header_facebook a {
    background-color: #fff;
    font-size: 14px;
    border-radius: 50%;
    height: 27px;
    width: 27px;
    position: relative;
    right: 15px;
}
.non_branch_get_in_touch, .non_branch_get_in_touch_section {
    display: none;
}
.non_branch_get_in_touch_section {
    color: #333;
}
.non_branch_get_in_touch a, .non_branch_get_in_touch_section a {
    color: #e51f27;
}
.top-cta-container {
    display: none;
}
.cky-notice-btn-wrapper .cky-btn {
    padding: 8px 27px !important;
}
.swal-title-custom {
    font-size: 16px !important;
    color: #e51f27 !important;
}

.swal2-html-container {
    font-size: 25px !important; /* Bigger message */
    color: #333 !important;
    font-weight: 500;
    text-align: center;
    line-height: 1.6;
}

.swal-confirm-custom {
    background-color: #e51f27 !important;
    color: #fff !important;
    border: none !important;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 20px;
    border-radius: 4px;
}
.mp-post-title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mg-card-text.card-body p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.services {
    margin: auto;
}
.cleanslate.ts-widget {
    border: 0px solid #333 !important;
}
.blog-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.blog-card-excerpt p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Base fixed header */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    transition: all 0.3s ease;
}

/* Shrink on scroll */
body.scrolled .sticky-header {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Container for input and button */
.postcode-input-wrapper {
    position: relative;
    max-width: 100%;
    width: 100%;
}

/* Postcode input field */
.postcode-input-wrapper .postcode {
    width: 100%;
    padding-right: 130px; /* Leave space for the button inside */
    box-sizing: border-box;
    height: 45px;
    font-size: 16px;
}

.loader {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top: 2px solid #cc0000; /* or any brand color */
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Button inside the input field */
.postcode-input-wrapper .search_job_postcode {
    position: absolute;
    top: 50%;
    right: 2px;
    transform: translateY(-50%);
    height: 42px;
    padding: 0 15px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 1;
    border-radius: 40px;
}
.page-id-18155 .brochure_footer {
    display: none;
}
.footer_a {
    color: #333;
}
.footer_a:hover {
    color: #e51f27;
}
/* Trustist CSS - START */

.trustist-review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}
.trustist-review-card {
    background-color: #eaf8f7;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: 'Bariol', sans-serif;
    font-size: 19px;
    line-height: 1.5;
}
.trustist-review-footer-wrapper {
    margin-top: auto;
}
.trustist-review-footer-wrapper hr {
    width: 100%;
    margin: 15px 0 10px;
    border: none;
    border-top: 1px solid #333;
}
.trustist-review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.trustist-review-name {
    font-family: 'Manrope', sans-serif;
    font-size: 19px !important;
    color: #e51f27;
    margin: 0;
    font-weight: 800;
}
.trustist-logo {
    max-width: 80px;
    height: auto;
}
.trustist-review-content {
    color: #333;
}
/* Trustist CSS - END */
@media screen and (max-width: 1024px) {
    .search_postcode {
        padding: 9px 15px !important;
    }
}
 @media (max-width: 991px) {
    .trustist-review-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 767px) {
    body.hide-mobile-header-elements .logo,
    body.hide-mobile-header-elements .local_poppies {
        display: none !important;
    }
    .scrolled .header_logo {
        padding: 0;
    }
    .single-post footer {
        padding-top: 20px;
    }
    .header_social_icons .header_facebook a {
        right: -10px;
    }
    .header_social_icons {
        justify-content: center;
    }
    .contact_details {
        display: flex;
        flex-direction: column;
        align-items: center !important;
        justify-content: space-evenly !important;
    }
    .header_email {
        border-left: 0;
    }
    .column_reverse .e-grid {
        display: flex;
        flex-direction: column-reverse !important;
    }
    #footer .widgets .widget #single #comments.hosted .comment .comment-author, #footer .widgets .widget .title, #footer .widgets .widget .wpcf7 label, #single #comments.hosted .comment #footer .widgets .widget .comment-author, .wpcf7 #footer .widgets .widget label {
        margin-left: 0px;
        text-align: left;
    }
    #footer #block-8 h6 {
        display: flex;
        align-items: anchor-center;
        column-gap: 10px;
    }
    .search_postcode {
        padding: 9px 15px !important;
    }
    .branch_location {
        font-size: 30px !important;
    }
}
@media (max-width: 480px) {
    .trustist-review-grid {
        grid-template-columns: 1fr;
    }
    .trustist-review-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .trustist-logo {
        max-width: 100px;
    }
}