/*
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 */

body {
    margin-top: unset !important;
}
.whatsapp-unavailable-msg{
    margin:15px 0;
    padding:14px 16px;
    border:1px solid #e51f27;
    border-left:5px solid #e51f27;
    background:#fff5f5;
    color:#7a0f14;
    border-radius:4px;
    font-size:14px;
    width:93%;
}
.whatsapp-unavailable-msg .request_quote{
    color:#e51f27;
    font-weight:600;
    cursor:pointer;
}

/* Target the specific container ID */
.location_banner_img, .jobs_banner_img {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.az-page-list li::marker {
    content: none;
}
/* Mobile: Load the small, fast image */
@media (max-width: 767px) {
    .location_banner_img {
        background-image: url('https://poppiescleaning.co.uk/wp-content/uploads/2025/12/wrexham.webp') !important;
        min-height: 500px; /* Reserve space to prevent layout shift */
    }
    .jobs_banner_img {
        background-image: url('https://poppiescleaning.co.uk/wp-content/uploads/2026/02/leedsjobsbanner.webp') !important;
        min-height: 300px; /* Reserve space to prevent layout shift */
        max-height: 300px;
    }
}
 
/* Desktop: Load the high-res image */
@media (min-width: 768px) {
    .location_banner_img {
        background-image: url('https://poppiescleaning.co.uk/wp-content/uploads/2025/12/shutterstock_1070555318-1-scaled-1.webp') !important;
    }
    .jobs_banner_img {
        background-image: url('https://poppiescleaning.co.uk/wp-content/uploads/2025/12/shutterstock_2312144071-3-scaled-1.webp') !important;
    }
}

.slick-next:before, .slick-prev:before {
    content: "" !important;
}

/* Reserve height for the Trustist widget to prevent JS calculation */
/* 1. Reserve vertical space to prevent layout shifts (CLS) */
div[ts-widget] {
    min-height: 85px; /* Adjust this to match the actual height on your mobile screen */
    display: block;
    overflow: hidden;
}
 
/* 2. Target the specific body class to stabilize the border calculation */
.ts-widgetBody {
    height: 80px !important; /* Force a height so JS doesn't have to calculate it */
    box-sizing: border-box;
}
 
/* 3. Stabilize the star container to prevent geometric recalculations */
.ts-stars div {
    display: inline-block;
    height: 15px;
}

/* Apply primary font to general text */
body, p, span {
  font-family: 'Bariol', sans-serif !important;
}
p {
    margin-top: 0;
    margin-bottom: 1rem;
}
.elementor-widget .elementor-icon-list-icon+.elementor-icon-list-text {
    width: fit-content;
}
.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://poppiescleaning.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: 1;
    -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 */
.scrolled .sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    transition: all 0.3s ease;
}

/* 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 */
[class*="trustist"], 
[class*="review-carousel"], 
[class*="testimonial"] {
    min-height: unset !important;
}
.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 !important;
    height: auto !important;
    width: auto !important;
}
.trustist-review-content {
    color: #333;
}
.hfe-submenu-icon-arrow .hfe-nav-menu .parent-has-child .sub-arrow i:before {
    content: '';
}
.fa, .fas, .far, .fal, .fad, .fab {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}
.fa, .fas {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}
i.fa, i.icon {
    font-style: normal !important;
}
.hfe-nav-menu .sub-arrow {
    font-size: 14px;
    line-height: 1;
    -js-display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    cursor: pointer;
    margin-top: -10px;
    margin-bottom: -10px;
}
.elementor-1215 .elementor-element.elementor-element-1cd8e8a .menu-item a.hfe-menu-item {
    padding-left: 12px;
    padding-right: 12px;
}
.elementor-1215 .elementor-element.elementor-element-1cd8e8a .menu-item a.hfe-menu-item, .elementor-1215 .elementor-element.elementor-element-1cd8e8a .menu-item a.hfe-sub-menu-item {
    padding-top: 15px;
    padding-bottom: 15px;
}
.elementor-1215 .elementor-element.elementor-element-1cd8e8a.elementor-element {
    --align-self: center;
}
.elementor-1215 .elementor-element.elementor-element-1cd8e8a ul.sub-menu {
    width: 450px;
}
.elementor-1215 .elementor-element.elementor-element-1cd8e8a .sub-menu, .elementor-1215 .elementor-element.elementor-element-1cd8e8a nav.hfe-dropdown, .elementor-1215 .elementor-element.elementor-element-1cd8e8a nav.hfe-dropdown-expandible, .elementor-1215 .elementor-element.elementor-element-1cd8e8a nav.hfe-dropdown .menu-item a.hfe-menu-item, .elementor-1215 .elementor-element.elementor-element-1cd8e8a nav.hfe-dropdown .menu-item a.hfe-sub-menu-item {
    background-color: #fff;
}
.elementor-1215 .elementor-element.elementor-element-1cd8e8a .sub-menu li a.hfe-sub-menu-item, .elementor-1215 .elementor-element.elementor-element-1cd8e8a nav.hfe-dropdown li a.hfe-sub-menu-item, .elementor-1215 .elementor-element.elementor-element-1cd8e8a nav.hfe-dropdown li a.hfe-menu-item, .elementor-1215 .elementor-element.elementor-element-1cd8e8a nav.hfe-dropdown-expandible li a.hfe-menu-item, .elementor-1215 .elementor-element.elementor-element-1cd8e8a nav.hfe-dropdown-expandible li a.hfe-sub-menu-item {
    font-family: "Bariol", Sans-serif;
    font-size: 16px;
    font-weight: 600;
}
.elementor-1215 .elementor-element.elementor-element-1cd8e8a .sub-menu a.hfe-sub-menu-item, .elementor-1215 .elementor-element.elementor-element-1cd8e8a nav.hfe-dropdown li a.hfe-menu-item, .elementor-1215 .elementor-element.elementor-element-1cd8e8a nav.hfe-dropdown li a.hfe-sub-menu-item, .elementor-1215 .elementor-element.elementor-element-1cd8e8a nav.hfe-dropdown-expandible li a.hfe-menu-item, .elementor-1215 .elementor-element.elementor-element-1cd8e8a nav.hfe-dropdown-expandible li a.hfe-sub-menu-item {
    padding-top: 15px;
    padding-bottom: 15px;
}
.elementor-1215 .elementor-element.elementor-element-1cd8e8a .menu-item a.hfe-sub-menu-item {
    padding-left: calc(15px + 20px);
    padding-right: 15px;
}
.city-wrapper {
    text-align: center;
    margin: 20px 0;
}

.city-heading {
    font-weight: 600;
    margin-bottom: 15px;
}

.city-highlight {
    color: #E51F27;
}

.city-list {
    line-height: 2.1;
    font-size: 18px;
    text-align: center;
}

.city-item {
    margin: 0 6px;
}

.city-separator {
    color: #E51F27;
    font-weight: bold;
    margin: 0 4px;
}
.sub-menu {
    width: 380px !important;
}
.page-template-default #single .main-article {
    padding: 0 !important;
}
.page-template-default .grid-container, .post-template-default .grid-container {
    max-width: 85%;
}
.widget_nav_menu ul {
    padding-left: 0px;
}
.widget_nav_menu a {
    font-size: 16px;
    color: #333333;
    font-weight: bold;
}
#sidebar .widget_custom_html:last-child {
    margin-bottom: 0;
}
#sidebar .widget-container {
    position: relative;
    margin-bottom: 40px;
    width: auto;
    float: none;
}
#sidebar .widget-container a {
    color: #333333;
}
.widget-container .widget-title, .widget-container .wp-block-heading {
    font-family: 'Bariol', sans-serif !important;
    margin-bottom: 25px;
    padding-left: 0px;
    font-weight: 800;
}
.widget-container {
    padding: 35px 40px;
    position: relative;
    z-index: 2;
    border-radius: 13px;
    background: var(--epcl-boxes-background-color);
    border: 1px solid var(--epcl-boxes-border-color);
}
#sidebar .widget-container .widget-title, #sidebar .widget-container .wp-block-heading {
    color: #333333;
}
body:not(.has-scrolled) .sticky-header {
    position: relative;
    top: auto;
}
.chat_on_whatsapp {
    color: #e51f27;
}
.postcode-error {
    color: #d93025;
    font-size: 13px;
    margin-top: 6px;
    font-weight: 500;
    line-height: 1.4;
}

input[id="field[1]"].invalid-postcode {
    border: 1px solid #d93025 !important;
}
/* 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;
    }
}

@font-face {
  font-family: 'Font Awesome 5 Free';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('https://poppiescleaning.co.uk/wp-content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-solid-900.woff2') format('woff2');
  ascent-override: 90%;
  descent-override: 10%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Bariol';
  src: url('https://poppiescleaning.co.uk/wp-content/uploads/2025/04/bariol_regular-webfont.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;

  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}