.protectomat-vehicle-finder {
    max-width: 1050px;
    margin: 20px auto -60px auto;
    background: rgba(0,0,0,.88);
    padding: 18px 35px 24px;
    border-radius: 8px;
    position: relative;
    z-index: 999;
}

.protectomat-vehicle-finder:before {
    content: "FIND A PERFECT FIT FOR YOUR VEHICLE";
    display: block;
    text-align: center;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
    width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.protectomat-vehicle-finder select {
    height: 42px !important;
    width: 220px !important;
    margin: 0 10px 0 0 !important;
}

.protectomat-vehicle-finder input[type="SUBMIT"],
.protectomat-vehicle-finder button {
    background: #38b6ff !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 22px !important;
    height: auto !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

.home .r-cover {
    min-height: 780px !important;
}

.home .r-cover .wp-block-cover__inner-container {
    padding-top: 120px !important;
}

.protectomat-vehicle-finder .ymm-submit-any-selection span span {
    font-size: 0 !important;
}

.protectomat-vehicle-finder .ymm-submit-any-selection span span::after {
    content: "SUBMIT";
    font-size: 16px !important;
}

.protectomat-vehicle-finder .ymm-submit-any-selection span span {
    color: transparent !important;
    position: relative;
}

.protectomat-vehicle-finder .ymm-submit-any-selection span span::before {
    content: "SUBMIT";
    color: #ffffff !important;
    position: absolute;
    left: 0;
    top: 0;
}

.protectomat-vehicle-finder .block-content {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 26px !important;
    flex-wrap: nowrap !important;
}

.protectomat-vehicle-finder .ymm-clear {
    display: none !important;
}

.protectomat-vehicle-finder .level {
    margin: 0 !important;
}

.protectomat-vehicle-finder .ymm-submit-any-selection {
    margin: 0 0 0 10px !important;
    width: 150px !important;
}

.vehicle-not-listed {
    text-align: left;
    margin-bottom: 10px;
}

.vehicle-not-listed a {
    color: #38b6ff !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.vehicle-not-listed a:hover {
    text-decoration: underline;
}

body.page-id-315 .wp-site-blocks,
body.page-id-315 .wp-block-post-content,
body.page-id-315 main,
body.page-id-315 article,
body.page-id-315 .entry-content {
    background: #ffffff !important;
    color: #000000 !important;
}

body.page-id-315 .wpforms-container {
    background: #ffffff !important;
    padding: 30px !important;
    border-radius: 6px;
}

body.page-id-315 .wpforms-field-label {
    color: #000000 !important;
}

.page-id-315 .entry-title,
.page-id-315 h1 {
    font-family: 'League Spartan', sans-serif !important;
    font-size: 70px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-transform: uppercase;
    text-align: center;
}

.page-id-315 .entry-title {
    font-family: 'League Spartan', sans-serif !important;
    font-size: 70px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    text-align: center !important;
    line-height: 1 !important;
    margin: 0 !important;
}

body.page-id-315 {
    background: #ffffff !important;
}

body.page-id-315 .entry-header,
body.page-id-315 .page-header {
    background: #ffffff !important;
    background-image: none !important;
    padding: 55px 20px 20px !important;
    min-height: auto !important;
}

body.page-id-315 .entry-title,
body.page-id-315 h1 {
    font-family: 'League Spartan', sans-serif !important;
    color: #000000 !important;
    font-size: 42px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    margin: 0 0 22px !important;
}

body.page-id-315 .wpforms-container {
    max-width: 780px !important;
    margin: 0 auto 80px !important;
    background: #ffffff !important;
    padding: 0 20px !important;
}

body.page-id-315 .wpforms-description {
    max-width: 700px !important;
    margin: 0 auto 35px !important;
    text-align: center !important;
    color: #333333 !important;
    font-size: 17px !important;
    line-height: 1.55 !important;
}

body.page-id-315 .wpforms-field-label {
    color: #000000 !important;
    font-weight: 700 !important;
}

body.page-id-315 input,
body.page-id-315 textarea {
    background: #ffffff !important;
    border: 1px solid #d5d5d5 !important;
    color: #000000 !important;
}

body.page-id-315 .wpforms-submit {
    background: #38B6FF !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 3px !important;
    font-weight: 700 !important;
}

.entry-title,
.wp-block-post-title {
    margin-top: 50px !important;
    margin-bottom: 15px !important;
}

.page .wp-block-paragraph {
    max-width: 700px;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

.vehicle-finder-disclaimer {
    text-align: center;
    color: #ffffff;
    margin-top: 22px;
}

.vehicle-finder-disclaimer p {
    max-width: 780px;
    margin: 0 auto 16px;
    font-size: 12px;
    line-height: 1.5;
}

.vehicle-finder-disclaimer a {
    display: inline-block;
    background: #38B6FF;
    color: #ffffff !important;
    padding: 8px 22px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px !important;
    text-decoration: none;
}

html,
body {
    margin-top: 0 !important;
}

.site {
    margin-top: 0 !important;
}

header .wp-block-columns:last-child {
    align-items: flex-start !important;
}

header .wp-block-button {
    margin-top: -12px !important;
}

header .wp-block-buttons {
    margin-top: -12px !important;
}

header p {
    margin-top: -12px !important;
}

.home .wp-block-cover .wp-block-cover__inner-container {
    padding-top: 220px !important;
}

.wp-block-button__link {
    padding: 6px 14px !important;
    min-width: auto !important;
    font-size: 14px !important;
}

header,
header * {
    border-bottom: none !important;
}

.wp-block-separator {
    display: none !important;
}

.wp-block-template-part:has(header),
header {
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
}

.home .has-secondary-background-color {
    background-color: #cccccc !important;
}

.home .wow,
.home .animate__animated,
.home .animate__slideInUp {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.wpforms-container label,
.wpforms-container .wpforms-field-label,
.wpforms-container .wpforms-field-sublabel,
.wpforms-container input::placeholder,
.wpforms-container textarea::placeholder {
    color: #000 !important;
}

.wpforms-container input,
.wpforms-container textarea,
.wpforms-container select {
    border: 1px solid #000 !important;
}

body.page-id-667 .wpforms-container {
    max-width: 780px !important;
    width: 780px !important;
    margin: 35px auto 70px auto !important;
}

body.page-id-667 .wpforms-container input,
body.page-id-667 .wpforms-container textarea,
body.page-id-667 .wpforms-container select {
    border: 1px solid #000000 !important;
}

body.page-id-667 .wpforms-container label,
body.page-id-667 .wpforms-field-label,
body.page-id-667 .wpforms-field-sublabel {
    color: #000000 !important;
}

body.page-id-667 .wp-block-heading {
    max-width: 780px;
    margin: 60px auto -40px auto !important;
}

body.page-id-667 p.has-text-align-left {
    max-width: 780px !important;
    margin: -50 auto 30px auto !important;
    transform: translateX(-140px);
}

.home .wp-block-cover:first-of-type p {
    margin-bottom: 1.5em !important;
}

.home .wp-block-cover:first-of-type p:last-child {
    margin-bottom: 0 !important;
}

.protectomat-vehicle-finder .ymm-submit-any-selection {
    font-size: 0 !important;
}

.protectomat-vehicle-finder .ymm-submit-any-selection::after {
    content: "SUBMIT" !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}

#enquiry {
    display: none !important;
}

.protectomat-product-enquiry-button {
    display: inline-block !important;
    background: #38B6FF !important;
    color: #ffffff !important;
    padding: 8px 22px !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    margin: 15px 0 !important;
}

body.single-product h1,
body.single-product .product_title,
body.single-product .entry-title {
    font-family: 'League Spartan', sans-serif !important;
}

body.single-product .wp-block-columns {
    gap: 80px !important;
}

body.single-product .product_title {
    margin-bottom: 5px !important;
}

body.single-product .protectomat-product-enquiry-button {
    margin-top: -20px !important;
}

.protectomat-product-enquiry-button {
    background: #38b6ff !important;
    padding: 10px 26px !important;
    font-size: 14px !important;
    letter-spacing: 0.5px !important;
    border-radius: 3px !important;
}

.protectomat-product-enquiry-button:hover {
    background: #2ea3e6 !important;
}

body.single-product .variations .variable-item {
    border-radius: 3px !important;
    padding: 6px 10px !important;
    border: 1px solid #ccc !important;
}

body.single-product .variations .variable-item.selected {
    border: 2px solid #38b6ff !important;
}

.woocommerce-tabs ul.tabs li a {
    font-family: 'League Spartan', sans-serif !important;
    font-weight: 600 !important;
}

.woocommerce-tabs ul.tabs li.active {
    border-bottom: 2px solid #38b6ff !important;
}

.woocommerce-tabs .panel {
    max-width: 700px !important;
}

body.single-product .wp-block-columns {
    align-items: flex-start !important;
}

body.single-product .woocommerce-tabs ul.tabs li a {
    font-family: 'League Spartan', sans-serif !important;
}

body.single-product .woocommerce-tabs .panel h2 {
    font-family: 'League Spartan', sans-serif !important;
}

body.single-product .related h2 {
    font-family: 'League Spartan', sans-serif !important;
}

body.single-product .related .wp-block-post-title {
    font-family: 'League Spartan', sans-serif !important;
}

body.single-product .related ul.products li.product h2 {
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

body.single-product .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

body.single-product .woocommerce-tabs ul.tabs li a {
    font-size: 13px !important;
    padding: 6px 10px !important;
}

body.single-product .woocommerce-tabs ul.tabs {
    border-bottom: 1px solid #ddd !important;
}

body.single-product .woocommerce-tabs ul.tabs li.active {
    border-bottom: 2px solid #38b6ff !important;
}

body.single-product .woocommerce-tabs ul.tabs {
    background: transparent !important;
}

body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

body.single-product .woocommerce-tabs ul.tabs li a {
    font-size: 12px !important;
    padding: 4px 8px !important;
}

body.single-product .woocommerce-tabs ul.tabs li {
    margin-right: 15px !important;
}

body.single-product .woocommerce-tabs ul.tabs li.active a {
    color: #000 !important;
}

body.single-product .variations .variable-item {
    border: 1px solid transparent !important;
    box-shadow: none !important;
}

body.single-product .woocommerce-tabs::before {
    display: none !important;
}

body.single-product .woocommerce-tabs::after,
body.single-product .woocommerce-tabs ul.tabs::before {
    display: none !important;
}

body.single-product .woocommerce-tabs ul.tabs li {
    border-bottom: none !important;
}

body.single-product .woocommerce-tabs ul.tabs,
body.single-product .woocommerce-tabs ul.tabs li,
body.single-product .woocommerce-tabs ul.tabs li a {
    border: none !important;
    box-shadow: none !important;
}

body.single-product .product_meta {
    display: none !important;
}

body.single-product .posted_in {
    display: none !important;
}

body.single-product .wp-block-post-terms {
    display: none !important;
}

body.single-product .wp-block-columns {
    gap: 40px !important;
}

body.single-product .wp-block-columns {
    align-items: center !important;
}

.protectomat-product-enquiry-button {
    padding: 12px 28px !important;
    font-size: 13px !important;
    letter-spacing: 0.8px !important;
    border-radius: 2px !important;
}

body.single-product .variations .variable-item {
    padding: 6px 12px !important;
    font-size: 12px !important;
    border-radius: 2px !important;
}

body.single-product .woocommerce-tabs {
    margin-top: 40px !important;
}

body.single-product .woocommerce-tabs .panel {
    margin-top: 20px !important;
}

body.single-product .woocommerce-tabs .panel {
    max-width: 700px !important;
}

body.single-product .protectomat-product-enquiry-button {
    display: inline-block !important;
}

body.single-product .protectomat-product-enquiry-button {
    margin-bottom: 20px !important;
}

body.single-product .wp-block-post-title::after {
    content: "Custom Fit • Airbag Compatible • Made to Order";
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 8px;
    letter-spacing: 0.3px;
}

body.single-product .variations {
    margin-top: 20px !important;
}

body.single-product .variations .variable-item {
    font-size: 16px !important;
    padding: 10px 16px !important;
    border-radius: 3px !important;
    cursor: pointer !important;
}

body.single-product .variations .variable-item {
    margin-right: 10px !important;
    margin-bottom: 10px !important;
}

body.single-product main .cfwvs-swatch-inner {
    width: 84px !important;
    height: 84px !important;
}

body.single-product .cfwvs-swatch-inner {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
}

body.single-product .cfwvs-swatches-option.selected {
    box-shadow: 0 0 0 3px #38b6ff !important;
    border: none !important;
}

body.single-product .cfwvs-swatches-option {
    transition: all 0.2s ease !important;
}

body.single-product .cfwvs-swatches-option:hover {
    transform: scale(1.1);
}

body.single-product .cfwvs-swatches-option.selected {
    box-shadow: 0 0 0 3px #38b6ff !important;
}

body.single-product .woocommerce-product-gallery__trigger {
    display: none !important;
}

body.single-product main .wp-block-columns:first-child {
    flex-direction: row-reverse !important;
}

body.single-product .wp-block-column:last-child {
    text-align: left !important;
    align-items: flex-start !important;
}

body.single-product .wp-block-post-title {
    font-size: 48px !important;
    line-height: 1.1 !important;
    text-align: left !important;
}

body.single-product .wp-block-post-title {
    margin-bottom: 15px !important;
}

body.single-product .protectomat-product-enquiry-button {
    margin-top: 10px !important;
}

body.single-product main .wp-block-columns:first-child {
    margin-top: -60px !important;
}

body.single-product main .wp-block-group.has-global-padding {
    padding-left: 0px !important;
    padding-right: 20px !important;
}

body.single-product main .wp-block-columns:first-child .wp-block-column:first-child {
    transform: scale(1.15);
    transform-origin: center right;
}

body.single-product .woocommerce-tabs ul.tabs li a {
    font-size: 16px !important;
    font-weight: 600 !important;
}

body.single-product .wp-block-post-title::before {
    content: "FEATURES";
    display: block;
    font-family: 'League Spartan', sans-serif;
    font-size: 23px;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 10px;
}

body.single-product .protectomat-product-enquiry-button {
    margin-top: -60px !important;
}

body.single-product .wp-block-post-title + p {
    margin-top: 40px !important;
    margin-bottom: 15px !important;
    font-family: 'League Spartan', sans-serif;
    font-size: 21px;
    font-weight: 700;
}

body.single-product .wp-block-post-title::after {
    content: "• Precision moulded for a perfect fit\A• Airbag compatible design\A• Reduces windscreen glare\A• UV stabilised automotive material";
    white-space: pre-line;
    display: block;
    margin-top: 85px;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    line-height: 1.9;
    color: #111;
}

body.single-product main .wp-block-post-title::before {
    transform: translateY(190px);
    display: block;
}

body.single-product main .wp-block-post-title {
    padding-bottom: 20px;
}

body.single-product .wp-block-post-title::after {
    font-weight: 400 !important;
}

body.single-product .protectomat-product-enquiry-button {
    display: block;
}

body.single-product main .wp-block-column:last-child {
    position: relative;
}

body.single-product .wp-block-post-title::after {
    position: relative;
}

body.single-product .wp-block-post-title::after {
    content: "• Precision moulded for a perfect fit\A• Airbag compatible design\A• Reduces windscreen glare\A• UV stabilised automotive material";
    white-space: pre-line;
    display: block;
    margin-top: 85px;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    line-height: 1.9;
    color: #111;
    font-weight: 400 !important;
}

body.single-product .wp-block-post-title + p::before {
    content: "COLOUR OPTIONS";
    display: block;
    font-family: 'League Spartan', sans-serif;
    font-size: 23px;
    font-weight: 800 !important;
    text-transform: uppercase;
    margin-top: 30px;
    margin-bottom: 10px;
}

body.single-product .wp-block-post-title::after {
    content: "• Precision moulded for a perfect fit\A• Airbag compatible design\A• Reduces windscreen glare\A• UV stabilised automotive material";
}

body.single-product .wp-block-post-title::after {
    display: block;
}

body.single-product main .wp-block-column:last-child::before {
    content: "COLOUR OPTIONS";
    position: absolute;
    top: 490px;
    left: 0;
    font-family: 'League Spartan', sans-serif;
    font-size: 23px;
    font-weight: 700;
    color: #000;
}

body.single-product main .wp-block-column:last-child {
    display: flex;
    flex-direction: column;
}

body.single-product .cfwvs-swatches {
    order: 1;
}

body.single-product .protectomat-product-enquiry-button {
    order: 2;
}

body.single-product .protectomat-product-enquiry-button {
    font-size: 0;
}

body.single-product .protectomat-product-enquiry-button {
    position: relative;
    color: transparent !important;
}

body.single-product .protectomat-product-enquiry-button::after {
    content: "ENQUIRE NOW";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.single-product .protectomat-product-enquiry-button {
    white-space: nowrap;
}

.accordion-btn {
    width: 100%;
    background: #f2f2f2;
    border: none;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 8px;
}

.accordion-content {
    display: none;
    padding: 10px 15px;
    background: #fff;
}

body.single-product .wp-block-columns {
    margin-top: -60px !important;
}

body.single-product .woocommerce-tabs .panel > h2:first-of-type {
    font-family: 'League Spartan', sans-serif !important;
    font-size: 23px !important;
    font-weight: 700 !important;
    margin-top: 50px !important;
}

body.single-product h2 {
    font-family: 'League Spartan', sans-serif !important;
    font-size: 30px !important;
    margin-top: 70px !important;
}

body.single-product .woocommerce-tabs {
    display: none !important;
}

body.single-product .woocommerce-tabs h2 {
    margin-top: 100px !important;
}

body.single-product .accordion {
    margin-top: 10px;
}

body.single-product .accordion-content {
    color: #000 !important;
}

body.single-product .accordion-content p,
body.single-product .accordion-content li {
    color: #000 !important;
    font-size: 15px;
}

body.single-product .accordion-content {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 400 !important;
}

body.single-product .accordion-content p,
body.single-product .accordion-content li {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 400 !important;
}

body.single-product .accordion-content h4 {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 400 !important;
}

body.single-product .accordion-content h4 {
    font-weight: 600 !important;
    margin-top: 15px;
    margin-bottom: 8px;
}

body.single-product .accordion-btn {
    position: relative;
    padding-right: 40px;
}

body.single-product .accordion-btn::after {
    content: "›";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: #000;
    transition: transform 0.2s ease;
}

body.single-product .accordion-btn.active::after {
    transform: translateY(-50%) rotate(90deg);
}

body.single-product .accordion-btn::after {
    content: "›";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: #000;
}

@media (max-width: 768px) {
    .protectomat-vehicle-finder {
        width: calc(100% - 32px) !important;
        max-width: none !important;
        padding: 22px 18px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .protectomat-vehicle-finder .block-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        align-items: stretch !important;
    }

    .protectomat-vehicle-finder select,
  .protectomat-vehicle-finder input[type="submit"],
  .protectomat-vehicle-finder button {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .protectomat-vehicle-finder .ymm-submit-any-selection {
        width: 65% !important;
        max-width: 150px !important;
        margin: 0 auto !important;
    }

}

@media (max-width: 768px) {
    .home h2.has-text-align-center {
        color: #000000 !important;
    }

    .home h2.has-text-align-left {
        color: #ffffff !important;
    }

    .home .consultinggrove-dark-inner-content > p:first-of-type {
        color: #000000 !important;
    }

}

@media (max-width: 768px) {
    .home .r-cover {
        background-image: none !important;
        background-color: #ffffff !important;
        min-height: auto !important;
    }

    .home .r-cover .wp-block-cover__image-background,
  .home .r-cover .wp-block-cover__background {
        display: none !important;
    }

    .home .r-cover .wp-block-cover__inner-container {
        padding-top: 40px !important;
        margin-top: 0 !important;
    }

}

@media (max-width: 768px) {
    .home h2.has-text-align-left {
        font-size: 32px !important;
        line-height: 1.1 !important;
        color: #ffffff !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

}

@media (max-width: 768px) {
    body.page-id-667 .wp-site-blocks {
        overflow-x: hidden !important;
    }

    body.page-id-667 p.has-text-align-left {
        max-width: calc(100% - 40px) !important;
        margin: 0 auto 15px auto !important;
        transform: none !important;
        text-align: left !important;
    }

    body.page-id-667 p.has-text-align-left {
        max-width: calc(100% - 40px) !important;
        margin: 0 auto 25px auto !important;
        transform: none !important;
        text-align: left !important;
    }

    body.page-id-667 .wpforms-container {
        width: calc(100% - 100px) !important;
        max-width: calc(100% - 100px) !important;
        margin: -140px -20px 40px 0px !important;
        padding: -40 !important;
    }

    body.page-id-667 .wpforms-form {
        margin-left: -55px !important;
    }

    body.page-id-667 .wpforms-container input,
  body.page-id-667 .wpforms-container textarea,
  body.page-id-667 .wpforms-container select {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

}

@media (max-width: 768px) {
    body.page-id-667 .wp-block-heading,
    body.page-id-667 p.has-text-align-left,
    body.page-id-667 .wpforms-container {
        width: calc(100% - 120px) !important;
        max-width: calc(100% - 120px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

}

@media (max-width: 768px) {
    body.page-id-667 header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 99999 !important;
    }

    body.page-id-667 main {
        padding-top: 120px !important;
    }

}

@media (max-width: 768px) {
    .home main .wp-block-group.has-global-padding {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

}

@media (max-width: 768px) {
    header .wp-block-site-title {
        display: none !important;
    }

    header a[href^="tel"],
  header p {
        display: none !important;
    }

    header .wp-block-columns {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        padding: 14px 22px !important;
    }

    header .wp-block-site-logo img {
        max-width: 65px !important;
        height: auto !important;
    }

    header .wp-block-button__link {
        padding: 6px 12px !important;
        font-size: 14px !important;
        border-radius: 4px !important;
        white-space: nowrap !important;
    }

}

@media (max-width: 768px) {
    header .wp-block-site-logo img {
        max-width: 45px !important;
        height: auto !important;
    }

    header .wp-block-columns {
        align-items: center !important;
        min-height: 70px !important;
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }

    header .wp-block-button__link {
        padding: 6px 12px !important;
        font-size: 13px !important;
    }

}

@media (max-width: 768px) {
    .home .wp-block-cover:first-of-type h1,
  .home .wp-block-cover:first-of-type .wp-block-heading {
        font-size: 32px !important;
        line-height: 1.05 !important;
    }

}

@media (max-width: 768px) {
    .home p {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }

}

@media (max-width: 768px) {
    .protectomat-vehicle-finder {
        margin: 30px auto 40px auto !important;
    }

}

@media (max-width: 768px) {
    .protectomat-vehicle-finder {
        width: calc(100% - 32px) !important;
        max-width: none !important;
        padding: 22px 18px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .protectomat-vehicle-finder .block-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        align-items: stretch !important;
    }

    .protectomat-vehicle-finder select,
  .protectomat-vehicle-finder input[type="submit"],
  .protectomat-vehicle-finder button {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .protectomat-vehicle-finder .ymm-submit-any-selection {
        width: 65% !important;
        max-width: 150px !important;
        margin: 0 auto !important;
    }

    .wp-block-template-part:has(header),
header {
        position: sticky !important;
        top: 0 !important;
        z-index: 99999 !important;
    }

    .home .has-secondary-background-color {
        background-color: #cccccc !important;
    }

    .home .wow,
.home .animate__animated,
.home .animate__slideInUp {
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .wpforms-container label,
.wpforms-container .wpforms-field-label,
.wpforms-container .wpforms-field-sublabel,
.wpforms-container input::placeholder,
.wpforms-container textarea::placeholder {
        color: #000 !important;
    }

    .wpforms-container input,
.wpforms-container textarea,
.wpforms-container select {
        border: 1px solid #000 !important;
    }

    body.page-id-667 .wpforms-container {
        max-width: 780px !important;
        width: 780px !important;
        margin: 35px auto 70px auto !important;
    }

    body.page-id-667 .wpforms-container input,
body.page-id-667 .wpforms-container textarea,
body.page-id-667 .wpforms-container select {
        border: 1px solid #000000 !important;
    }

    body.page-id-667 .wpforms-container label,
body.page-id-667 .wpforms-field-label,
body.page-id-667 .wpforms-field-sublabel {
        color: #000000 !important;
    }

    body.page-id-667 .wp-block-heading {
        max-width: 780px;
        margin: 60px auto -40px auto !important;
    }

    body.page-id-667 p.has-text-align-left {
        max-width: 780px !important;
        margin: -50 auto 30px auto !important;
        transform: translateX(-140px);
    }

    @media (max-width: 768px) {
        .home h2.has-text-align-center {
            color: #000000 !important;
        }

        .home h2.has-text-align-left {
            color: #ffffff !important;
        }

        .home .consultinggrove-dark-inner-content > p:first-of-type {
            color: #000000 !important;
        }

    }

    @media (max-width: 768px) {
        .home .r-cover {
            background-image: none !important;
            background-color: #ffffff !important;
            min-height: auto !important;
        }

        .home .r-cover .wp-block-cover__image-background,
  .home .r-cover .wp-block-cover__background {
            display: none !important;
        }

        .home .r-cover .wp-block-cover__inner-container {
            padding-top: 40px !important;
            margin-top: 0 !important;
        }

    }

    @media (max-width: 768px) {
        .home h2.has-text-align-left {
            font-size: 32px !important;
            line-height: 1.1 !important;
            color: #ffffff !important;
            word-break: normal !important;
            overflow-wrap: normal !important;
        }

    }

    @media (max-width: 768px) {
        body.page-id-667 .wp-site-blocks {
            overflow-x: hidden !important;
        }

        body.page-id-667 p.has-text-align-left {
            max-width: calc(100% - 40px) !important;
            margin: 0 auto 15px auto !important;
            transform: none !important;
            text-align: left !important;
        }

        body.page-id-667 p.has-text-align-left {
            max-width: calc(100% - 40px) !important;
            margin: 0 auto 25px auto !important;
            transform: none !important;
            text-align: left !important;
        }

        body.page-id-667 .wpforms-container {
            width: calc(100% - 100px) !important;
            max-width: calc(100% - 100px) !important;
            margin: -140px -20px 40px 0px !important;
            padding: -40 !important;
        }

        body.page-id-667 .wpforms-form {
            margin-left: -55px !important;
        }

        body.page-id-667 .wpforms-container input,
  body.page-id-667 .wpforms-container textarea,
  body.page-id-667 .wpforms-container select {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
        }

    }

    @media (max-width: 768px) {
        body.page-id-667 .wp-block-heading,
    body.page-id-667 p.has-text-align-left,
    body.page-id-667 .wpforms-container {
            width: calc(100% - 120px) !important;
            max-width: calc(100% - 120px) !important;
            margin-left: auto !important;
            margin-right: auto !important;
        }

    }

    @media (max-width: 768px) {
        body.page-id-667 header {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            z-index: 99999 !important;
        }

        body.page-id-667 main {
            padding-top: 120px !important;
        }

    }

    .home .wp-block-cover:first-of-type p {
        margin-bottom: 1.5em !important;
    }

    .home .wp-block-cover:first-of-type p:last-child {
        margin-bottom: 0 !important;
    }

    @media (max-width: 768px) {
        .home main .wp-block-group.has-global-padding {
            padding-left: 15px !important;
            padding-right: 15px !important;
        }

    }

}

@media (max-width: 768px) {
    header .wp-block-site-logo img {
        max-height: 35px !important;
        width: auto !important;
        object-fit: contain !important;
    }

}

@media (max-width: 768px) {
    .yith-wcwtl-submit,
    .enquiry-button,
    .enquire-now-button {
        width: 80% !important;
        max-width: 320px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
    }

}

@media (max-width: 768px) {
    .vehicle-finder-disclaimer a {
        padding: 9px 20px !important;
        font-size: 16px !important;
        max-width: 240px !important;
    }

}

@media (min-width: 769px) {
    .home h2.has-text-align-center {
        margin-top: -100px !important;
        margin-bottom: 25px !important;
    }

}

@media (min-width: 769px) {
    .protectomat-vehicle-finder {
        margin-top: 80px !important;
    }

}

body.single-product .wp-block-post-title + p {
    color: #000000 !important;
}

@media (min-width: 769px) {
    .wp-block-cover {
        background-image: url("https://protectomat.com.au/wp-content/uploads/2026/06/IMG_4092-scaled.jpg") !important;
        background-size: cover !important;
        background-position: center !important;
    }

    .wp-block-cover__background {
        opacity: 0 !important;
    }

    .consultinggrove-dark-inner-content {
        padding-top: 140px !important;
        padding-bottom: 140px !important;
    }

}

@media (min-width: 769px) {
    .consultinggrove-dark-inner-content {
        text-align: left !important;
        max-width: 1200px;
        margin: 0;
        padding-left: 400px;
        padding-top: 0px;
    }

    .consultinggrove-dark-inner-content h2 {
        text-align: left !important;
        max-width: 600px;
        margin-left: 0 !important;
    }

    .consultinggrove-dark-inner-content p {
        text-align: left !important;
        max-width: 500px;
        margin-left: 0 !important;
    }

}

@media (min-width: 769px) {
    .consultinggrove-dark-inner-content {
        transform: translateY(-80px);
    }

}

@media (min-width: 769px) {
    .protectomat-vehicle-finder {
        margin-top: -200px !important;
    }

}

@media (min-width: 769px) {
    .wp-block-cover:first-of-type::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 60%;
        background: linear-gradient(
        to right,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.6) 30%,
        rgba(0,0,0,0.3) 60%,
        rgba(0,0,0,0) 100%
        );
        z-index: 0;
    }

}

.consultinggrove-dark-inner-content h2 {
    font-weight: 800 !important;
    letter-spacing: 1px;
    text-shadow: 0 3px 15px rgba(0,0,0,0.7);
}

.consultinggrove-dark-inner-content p {
    font-weight: 500;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.home .has-secondary-background-color {
    background-color: transparent !important;
}

.home main .wp-block-columns.has-background[style*="#0c0c0c"] {
    background: transparent !important;
}

.home main .wp-block-columns.has-background[style*="#0c0c0c"] > .wp-block-column:first-child {
    background: #ffffff !important;
    padding: 40px !important;
}

.home main .wp-block-columns.has-background[style*="#0c0c0c"] > .wp-block-column:first-child h2,
.home main .wp-block-columns.has-background[style*="#0c0c0c"] > .wp-block-column:first-child p {
    color: #000000 !important;
    text-shadow: none !important;
}

.home main .wp-block-columns.has-background[style*="#0c0c0c"] > .wp-block-column:first-child {
    background: transparent !important;
    padding: 0 !important;
}

.home main .wp-block-columns.has-background[style*="#0c0c0c"] {
    background: #ffffff !important;
    margin-top: -100px !important;
    padding-top: 140px !important;
    padding-bottom: 80px !important;
}

.home main .wp-block-columns.has-background[style*="#0c0c0c"] {
    position: relative;
    background: none !important;
}

.home main .wp-block-columns.has-background[style*="#0c0c0c"] {
    z-index: 2;
}

.wp-block-cover::before {
    z-index: 1;
}

.home main .wp-block-columns.has-background[style*="#0c0c0c"] img {
    height: auto !important;
    max-height: 650px;
    object-fit: contain !important;
}

.home main .wp-block-columns.has-background[style*="#0c0c0c"] h2 {
    margin-top: 0 !important;
}

.home main .wp-block-columns.has-background[style*="#0c0c0c"] > .wp-block-column:first-child > .wp-block-group {
    padding-top: 0 !important;
}

.vehicle-finder-disclaimer {
    display: none !important;
}

.protectomat-vehicle-finder {
    padding-bottom: 50px !important;
}

.home .consultinggrove-dark-inner-content h2 + p {
    color: transparent !important;
    position: relative;
    text-shadow: none !important;
}

.home .consultinggrove-dark-inner-content h2 + p::after {
    content: "Custom-fit dash mats designed to reduce glare and protect your dashboard.";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.6;
}

.home main .wp-block-column:first-child p {
    font-weight: 400 !important;
}

.home main .wp-block-column:first-child h2 {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .home .consultinggrove-dark-inner-content h2 + p::after {
        display: none !important;
    }

}

@media (max-width: 768px) {
    .home .r-cover {
        background-image: url("https://protectomat.com.au/wp-content/uploads/2026/06/IMG_4092-scaled.jpg") !important;
        background-color: transparent !important;
        background-size: contain !important;
        background-position: center top !important;
        background-repeat: no-repeat !important;
        min-height: 500px !important;
    }

}

@media (max-width: 768px) {
    .home .consultinggrove-dark-inner-content > p:first-of-type {
        color: transparent !important;
        position: relative;
        text-shadow: none !important;
    }

    .home .consultinggrove-dark-inner-content > p:first-of-type::after {
        content: "Custom-fit dash mats designed to reduce glare and protect your dashboard.";
        display: block;
        margin-top: 10px;
        color: #ffffff !important;
        font-size: 16px;
        line-height: 1.5;
    }

}

@media (max-width: 768px) {
    .home .consultinggrove-dark-inner-content h2 {
        color: #ffffff !important;
    }

}

.home .consultinggrove-dark-inner-content h2 {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

@media (max-width: 768px) {
    .home .consultinggrove-dark-inner-content {
        padding-top: 50px !important;
    }

    .home .consultinggrove-dark-inner-content h2 {
        color: #ffffff !important;
        font-size: 26px !important;
        line-height: 1.1 !important;
        letter-spacing: 1px;
        text-shadow: 0 3px 15px rgba(0,0,0,0.7);
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

}

@media (max-width: 768px) {
    .protectomat-vehicle-finder {
        margin-top: -40px !important;
    }

}

@media (max-width: 768px) {
    .protectomat-vehicle-finder {
        margin-bottom: 0px !important;
        padding-bottom: 20px !important;
    }

}

@media (max-width: 768px) {
    body.page-id-667 .wp-block-social-links {
        margin: 10px 0 !important;
    }

}

/* FORCE consistent spacing before footer */

/* STOP sections from overlapping footer */
main > *:last-child {
    margin-bottom: 0 !important;
}

/* Fix negative margin sections */
.home main .wp-block-columns,
body.single-product main .wp-block-columns:first-child,
.protectomat-vehicle-finder {
    margin-bottom: 60px !important;
}

/* FORCE consistent spacing before footer */
footer {
    margin-top: 80px !important;
    position: relative;
    z-index: 1;
}

/* ===== MOBILE FOOTER FIX ===== */
@media (max-width: 768px) {

    /* Make footer full width edge-to-edge */
    footer,
    .protectomat-footer {
        padding: 30px 20px !important;
        box-sizing: border-box;
        text-align: center;
    }

    /* Fix heading size */
    .protectomat-footer .wp-block-site-title,
    .protectomat-footer .wp-block-site-title a,
    .protectomat-footer h1,
    .protectomat-footer h2,
    .protectomat-footer h3 {
        font-size: 20px !important;
        line-height: 1.2 !important;
    }

    /* Fix paragraph + text size */
    .protectomat-footer p,
    .protectomat-footer a {
        font-size: 15px !important;
    }

    /* Center social icons nicely */
    .protectomat-footer .wp-block-social-links {
        justify-content: center !important;
        gap: 15px !important;
        margin: 15px 0 !important;
    }

    /* Stack columns cleanly */
    .protectomat-footer .wp-block-columns {
        flex-direction: column !important;
        gap: 20px !important;
    }

    /* 🚫 REMOVE blue strip completely */
}

/* ===== DESKTOP FOOTER FIX ===== */

/* Full width footer (edge-to-edge) */
footer,
.protectomat-footer {
    padding: 50px 8% 40px !important;
    box-sizing: border-box;
    background: #000000 !important;
    color: #ffffff !important;
}

/* Keep inner content nicely aligned */
.protectomat-footer .wp-block-columns {
    max-width: 1050px;
    margin: 0 auto;
}

/* Remove bold from "Follow us on social media" */
.protectomat-footer p {
    font-weight: 400 !important;
}

/* Remove blue ConsultingGrove strip */

/* ===== FINAL CLEAN FOOTER FIX (NO SIDE BARS) ===== */

/* 1. Reduce top padding (less black space) */
.protectomat-footer {
    padding: 25px 0 35px 0 !important;
}

/* 2. Make footer full width WITHOUT breaking layout */
footer {
    background: #000000 !important;
}

/* stretch background only (not content) */

/* ensure footer positioning works */
footer {
    position: relative;
}

/* 3. Clean white spacing above footer */
main {
    background: #ffffff !important;
}

footer {
    margin-top: 60px !important;
}

/* ===== MOBILE FOOTER REAL FIX ===== */
@media (max-width: 768px) {

    /* Stack columns into ONE column */
    footer .wp-block-columns {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 15px !important;
    }

    /* Make each column full width + centered */
    footer .wp-block-column {
        width: 100% !important;
        text-align: center !important;
        margin: 0 auto !important;
    }

    /* Force ALL text inside to center */
    footer .wp-block-column * {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Reduce top + bottom space */
    footer {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    /* Tighten spacing */
    footer p {
        margin-bottom: 6px !important;
    }
}

/* ===== FIX SOCIAL ICON SPACING (MOBILE) ===== */
@media (max-width: 768px) {

    footer .wp-block-social-links {
        display: flex !important;
        justify-content: center !important;
        gap: 12px !important; /* controls spacing between icons */
    }

    footer .wp-block-social-links li {
        margin: 0 !important;
    }
}

    /* Ensure footer sits above everything cleanly */
    footer {
        position: relative;
        z-index: 3;
    }

/* ===== REMOVE GAP ABOVE FOOTER (DESKTOP) ===== */
@media (min-width: 769px) {

    /* Remove space after last content section */
    main > *:last-child {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Remove space before footer */
    footer {
        margin-top: 0 !important;
    }

}

/* ===== DESKTOP FOOTER WIDTH FIX ===== */
@media (min-width: 769px) {

    .protectomat-footer .wp-block-columns {
        max-width: 1400px !important; /* increase from 1050px */
        margin: 0 auto !important;
    }

}

/* ===== FINAL DESKTOP FOOTER ALIGNMENT ===== */
@media (min-width: 769px) {

    /* Remove Gutenberg constraint */
    footer .is-layout-constrained {
        max-width: 100% !important;
    }

    /* Add controlled edge spacing */
    footer .wp-block-group {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }

    /* Spread columns properly */
    footer .wp-block-columns {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
    }

    /* Align text properly */
    footer .wp-block-column:first-child {
        text-align: left !important;
    }

    footer .wp-block-column:last-child {
        text-align: right !important;
    }

}

@media (min-width: 769px) {
    footer .wp-block-columns {
        justify-content: space-between;
    }

    footer .wp-block-column:last-child {
        text-align: right;
    }

    footer {
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* REMOVE black box behind hero text ONLY */
.consultinggrove-dark-inner-content {
    background: transparent !important;
}

/* REMOVE dark overlay on hero image ONLY */
.wp-block-cover__background {
    background: transparent !important;
    opacity: 0 !important;
}

/* REMOVE the big black block in content section ONLY */
.home main .wp-block-columns .wp-block-column:first-child {
    background: transparent !important;
}

/* ✅ KEEP vehicle finder black */
.protectomat-vehicle-finder {
    background: rgba(0,0,0,0.9) !important;
}

/* REMOVE black box behind that section (correct target) */
.home main .wp-block-group.has-global-padding {
    background: transparent !important;
}

header,
header .wp-block-group,
header .wp-block-columns,
header .wp-block-column {
    background: #000000 !important;
}

header::before,
header::after {
    display: none !important;
}

header,
header * {
    border: none !important;
    box-shadow: none !important;
}

header {
    position: sticky !important;
    top: 0 !important;
    z-index: 999999 !important;
}

.wp-site-blocks {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
	}

/* REMOVE big gap above footer */
main > *:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* TIGHTEN footer spacing */
footer {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* MAKE footer content wider (less side space) */
footer .wp-block-columns {
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}
	
footer .wp-block-group {
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 0px !important;
}
	
	header .wp-block-site-title {
    margin-left: 10px !important;
    font-size: 20px !important;
}
	
	footer {
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    width: 100vw !important;
    max-width: 100vw !important;
}
	
/* ALIGN footer content nicely */
footer .wp-block-columns {
    display: flex !important;
    align-items: center !important; /* ✅ FIX */
    justify-content: space-between !important;
}

/* MAKE search bar smaller */
footer .wp-block-search__input {
    height: 36px !important;
    font-size: 14px !important;
    padding: 6px 10px !important;
}

footer .wp-block-search__button {
    height: 36px !important;
    padding: 0 12px !important;
}

/* LIMIT search width */
footer .wp-block-search {
    max-width: 300px !important;
}

/* TIGHTEN left side spacing */
footer p {
    margin: 4px 0 !important;
}
	
	/* LEFT SIDE (logo + text) spacing */
footer .wp-block-column:first-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

/* SOCIAL ICONS spacing */
footer .wp-block-social-links {
    margin-top: 4px !important;
    align-items: center !important;
}
	
	footer .wp-block-social-links {
    display: flex !important;
    gap: 10px !important;
}
	
	footer .wp-block-column {
    overflow: visible !important;
}
	
footer .wp-block-search {
    align-self: center !important;
}

/* CLEAN HEADER SOCIAL ICONS */
header .wp-block-social-links {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;          /* even spacing */
    margin-left: 20px !important;  /* space from phone */
}

header .wp-block-social-links li {
    list-style: none;
}

header .wp-block-social-links svg {
    width: 15px !important;
    height: 15px !important;
}

/* Make circles consistent */
header .wp-block-social-links a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 3px !important;
}

body {
    background: #ffffff !important;
}

footer {
    margin-top: 0 !important;
}

.home main .wp-block-columns,
.protectomat-vehicle-finder,
body.single-product main .wp-block-columns:first-child {
    margin-bottom: 0 !important;
}

/* STRETCH ONLY THE WHITE BACKGROUND BLOCK */
.home main .wp-block-columns.has-background {
    position: relative;
}

.home main .wp-block-columns.has-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: #ffffff;
    z-index: -1;
}

.home main .wp-block-columns.has-background::before {
    top: -40px;
    height: calc(100% + 40px);
}

@media (max-width: 768px) {

    /* Make mobile header more compact */
    .wp-block-template-part {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

    /* Larger logo */
    .wp-block-site-logo img,
    .custom-logo {
        max-width: 140px !important;
        display: block !important;
        margin: 0 auto 15px !important;
    }

    /* Put socials directly under contact details */
    .wp-block-social-links {
        justify-content: center !important;
        margin: 10px auto 0 !important;
    }

    /* Centre contact info */
    .wp-block-paragraph {
        text-align: center !important;
    }
}

@media (max-width: 768px) {

    /* Reduce header height */
    header,
    .wp-block-template-part {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Remove extra spacing from groups inside header */
    header .wp-block-group,
    .wp-block-template-part .wp-block-group {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Bring content closer together */
    .wp-block-site-logo {
        margin-bottom: 5px !important;
    }

    .wp-block-social-links {
        margin-top: 5px !important;
        margin-bottom: 5px !important;
    }

    .wp-block-paragraph {
        margin-top: 0 !important;
        margin-bottom: 5px !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 768px) {

    /* Stack footer items vertically */
    footer .wp-block-columns {
        flex-direction: column !important;
        gap: 20px !important;
    }

    footer .wp-block-column {
        width: 100% !important;
        text-align: center !important;
    }

    /* Centre logo */
    footer .wp-block-site-logo,
    footer .custom-logo-link {
        display: flex !important;
        justify-content: center !important;
        margin-bottom: 15px !important;
    }

    footer .wp-block-site-logo img,
    footer .custom-logo {
        max-width: 140px !important;
    }

    /* Centre socials */
    footer .wp-block-social-links {
        justify-content: center !important;
        margin: 15px 0 !important;
        gap: 15px !important;
    }

    /* Contact details */
    footer .wp-block-paragraph {
        text-align: center !important;
        font-size: 18px !important;
        line-height: 1.5 !important;
        margin: 0 !important;
    }
}

@media (max-width: 768px) {

    footer.wp-block-template-part > .wp-block-group {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

}

/* Product page footer only */
.single-product footer .wp-block-navigation {
    margin-top: 30px !important;
}

@media (max-width: 768px) {

  /* Product page only - reorder the main product intro columns */
  body.single-product main .wp-block-columns:has(h1) {
    display: flex !important;
    flex-direction: column !important;
  }

  /* Image column currently showing first - move it below the title/text */
  body.single-product main .wp-block-columns:has(h1) > .wp-block-column:first-child {
    order: 2 !important;
  }

  /* Title/features column currently showing second - move it above image */
  body.single-product main .wp-block-columns:has(h1) > .wp-block-column:last-child {
    order: 1 !important;
  }
}

@media (max-width: 768px) {
    .single-product h1 {
        font-size: 46px !important;
        line-height: 1.1 !important;
    }
}

@media (max-width: 768px) {
    body.single-product .wp-block-post-title {
        font-size: 28px !important;
        line-height: 1.1 !important;
    }
}

@media (max-width: 768px) {
    .single-product h2 {
        margin-top: -40px !important;
    }
}

@media (max-width: 768px) {
    body.single-product main .wp-block-post-title::before {
        transform: translateY(140px) !important;
    }
}

@media (max-width: 768px) {
    body.single-product .wp-block-post-title::before {
        font-size: 18px !important;
    }
}

@media (max-width: 768px) {
    body.single-product .wp-block-post-title::after {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {

    /* Product page mobile layout only */
    body.single-product main .wp-block-columns:has(.wp-block-post-title) {
        display: flex !important;
        flex-direction: column !important;
    }

    /* Let the inside blocks be reordered properly on mobile */
    body.single-product main .wp-block-columns:has(.wp-block-post-title) > .wp-block-column {
        display: contents !important;
    }

    /* 1. Title + FEATURES + dot points */
    body.single-product main .wp-block-post-title {
        order: 1 !important;
    }

    /* 2. Dashmat image directly under features */
    body.single-product main .wp-block-woocommerce-product-image-gallery {
        order: 2 !important;
        margin-top: 25px !important;
        margin-bottom: 35px !important;
    }

    /* 3. Hide the old COLOUR OPTIONS position from the column */
    body.single-product main .wp-block-column:last-child::before {
        display: none !important;
    }

    /* 4. Colour swatches after the image */
    body.single-product main .cfwvs-swatches {
        order: 3 !important;
        margin-top: 0 !important;
    }

    /* Add COLOUR OPTIONS heading directly above circles */
    body.single-product main .cfwvs-swatches::before {
        content: "COLOUR OPTIONS";
        display: block !important;
        font-family: 'League Spartan', sans-serif !important;
        font-size: 20px !important;
        font-weight: 700 !important;
        color: #000 !important;
        margin-bottom: 18px !important;
    }

    /* 5. Button underneath colours */
    body.single-product main .protectomat-product-enquiry-button {
        order: 4 !important;
        margin-top: 25px !important;
    }
}

@media (max-width: 768px) {

    /* Product page mobile only */
    body.single-product main .wp-block-columns:has(.wp-block-post-title) {
        display: flex !important;
        flex-direction: column !important;
    }

    /* Flatten the two columns ONLY on product pages so we can control mobile order */
    body.single-product main .wp-block-columns:has(.wp-block-post-title) > .wp-block-column {
        display: contents !important;
    }

    /* Push everything down by default so nothing jumps above the title */
    body.single-product main .wp-block-columns:has(.wp-block-post-title) > .wp-block-column > * {
        order: 50 !important;
    }

    /* 1. Product title + FEATURES + dot points */
    body.single-product main .wp-block-post-title {
        order: 1 !important;
    }

    /* 2. Dashmat image directly under the feature dot points */
    body.single-product main .wp-block-woocommerce-product-image-gallery {
        order: 2 !important;
        margin-top: 350px !important;
        margin-bottom: 35px !important;
        width: 100% !important;
    }

    /* Hide the old COLOUR OPTIONS heading that was positioned from the column */
    body.single-product main .wp-block-column:last-child::before {
        display: none !important;
        content: none !important;
    }

    /* 3. Colour options section below the dashmat image */
    body.single-product main .wp-block-add-to-cart-form {
        order: 3 !important;
        margin-top: 0 !important;
    }

    /* Put COLOUR OPTIONS heading back above the circles */
    body.single-product main .wp-block-add-to-cart-form::before {
        content: "COLOUR OPTIONS";
        display: block !important;
        font-family: 'League Spartan', sans-serif !important;
        font-size: 20px !important;
        font-weight: 700 !important;
        color: #000 !important;
        margin-bottom: 18px !important;
    }

    /* 4. Enquire button under colour options */
    body.single-product main .protectomat-product-enquiry-button {
        order: 4 !important;
        margin-top: 25px !important;
    }
}

@media (max-width: 768px) {

    /* Keep product page mobile layout controllable */
    body.single-product main .wp-block-columns:has(.wp-block-post-title) {
        display: flex !important;
        flex-direction: column !important;
    }

    /* Flatten the two columns so the image can sit after the title/features section */
    body.single-product main .wp-block-columns:has(.wp-block-post-title) > .wp-block-column {
        display: contents !important;
    }

    /* 1. Title + FEATURES + bullet points */
    body.single-product main .wp-block-post-title {
        order: 1 !important;
        margin-bottom: 40px !important;
    }

    /* 2. Dashmat image UNDER the bullet points */
    body.single-product main div[data-block-name="woocommerce/product-image-gallery"],
    body.single-product main .wp-block-woocommerce-product-image-gallery {
        order: 2 !important;
        margin-top: 350px !important;
        margin-bottom: 35px !important;
        width: 100% !important;
    }

    /* 3. Colour options underneath the image */
    body.single-product main .wp-block-add-to-cart-form {
        order: 3 !important;
    }

    /* 4. Enquire button after colour options */
    body.single-product main .protectomat-product-enquiry-button {
        order: 4 !important;
    }
}

@media (max-width: 768px) {
    body.single-product .wp-block-post-title {
        margin-top: -650px !important;
    }
}

@media (max-width: 768px) {

    body.single-product .protectomat-product-enquiry-button {
        display: inline-block !important;
        position: relative !important;
        top: 300px !important;
    }

}

@media (max-width: 768px) {

    body.single-product main .wp-block-add-to-cart-form {
        position: relative !important;
        transform: translateY(-140px) !important;
        z-index: 2 !important;
    }

}

@media (max-width: 768px) {

    body.single-product .accordion {
        position: relative !important;
        top: -200px !important;
    }

}

@media (max-width: 768px) {

    body.single-product h2 {
        transform: translateY(-180px) !important;
    }
}

@media (max-width: 768px) {

    body.single-product h2 {
        font-size: 18px !important;
        line-height: 1.1 !important;
    }

}

@media (max-width: 768px) {
    body.single-product .accordion {
        margin-bottom: -180px !important;
    }
}

@media (max-width: 768px) {
    footer {
        overflow: hidden !important;
    }
}

@media (max-width: 768px) {
    footer .wp-block-site-logo,
    footer .custom-logo-link {
        margin-top: 20px !important;
    }
}
