/*
Theme Name: 3PM - Auto Template
Theme URI: https://3phasemarketing.com.au/
Author: 3 Phase Marketing
Author URI: https://3phasemarketing.com.au/
Description: Build Date - 04-2026
Tags: block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, full-site-editing, one-column, template-editing, threaded-comments, translation-ready, wide-blocks
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 1.0.2
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: 3pm-auto-template
*/

/* Defaults
---------------------------------------- */

/* ---SCROLLBAR--- */
/* ::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #868686}
::-webkit-scrollbar-thumb { background: var(--wp--preset--color--primary); } */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@view-transition {
  navigation: auto;
}

a,
button,
input:focus,
input[type="button"],
input[type="submit"],
textarea:focus,
.wp-element-button {
  transition: all 0.2s ease-in-out;
}

a,
a:focus,
a:hover,
a:not(.wp-element-button) {
  text-decoration-thickness: 1px;
}

b,
strong,
th {
  font-weight: var(--wp--custom--font-weight--medium);
}

button {
  font-family: inherit;
}

mark {
  background: linear-gradient(
    90deg,
    var(--wp--preset--color--primary) 0%,
    var(--wp--preset--color--primary) 100%
  );
  background-position: 0 85%;
  background-repeat: repeat-x;
  background-size: 100% 15%;
}

.mob-horz-scroll {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

/* Absolute group */
.block-editor-block-list__layout .is-style-absolute,
.is-style-absolute {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
}

.t-center {
  text-align: center;
}

.wp-block-separator.is-style-wide {
  width: 100%;
}

.is-style-full-height {
  height: 100%;
}

.is-style-inline-block {
  display: inline-block;
}

/* Remove margin top the first heading in a block */
:where(h1, h2, h3, h4, h5, h6):first-child {
  margin-top: 0;
}

/* Full IMG width - functions.php */
.is-style-img-fullwidth img {
  width: 100%;
}

.is-style-img-object-fit {
  height: 100%;
}

.is-style-img-object-fit img,
.embla .embla__slide .is-style-img-object-fit img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

/* center svgs */
.wp-block-custom-block-icon-block svg {
  display: block;
}

/* Remove Margin from first and last element of absolute group*/
:root :where(.wp-block-custom-block-absolute-group) > :first-child {
  margin-block-start: 0;
}

:root :where(.wp-block-custom-block-absolute-group) > :last-child {
  margin-block-end: 0;
}

/* custom blocks remove margin top on slider */
.wp-block-custom-block-slider {
  margin-block-start: 0;
}

.wp-block-image > a.glightbox {
  display: block;
  width: 100%;
  height: 100%;
}

/* Print page remove header and footer */
@media print {
  .site-header,
  .site-footer {
    display: none !important;
  }
}

@media print {
  chat-widget {
    display: none !;
  }
}

.has-modal-open chat-widget {
  display: none;
}

/* ===========================
Banners
=========================== */

.banner-text p {
  text-shadow: 0px 1px 2px rgb(0 0 0 / 60%);
}
.banner .is-style-absolute .is-style-default,
.banner .is-style-absolute .is-style-small,
.banner .is-style-absolute .is-style-large,
.banner .is-style-absolute .is-style-full {
  width: 100%;
  margin: 0 auto;
}

.banner .is-style-absolute .is-style-default {
  max-width: var(--wp--style--global--content-size);
}

.banner .is-style-absolute .is-style-small {
  max-width: var(--wp--custom--layout--small);
}

.banner .is-style-absolute .is-style-large {
  max-width: var(--wp--custom--layout--large);
}

.banner .is-style-absolute .is-style-full {
  max-width: var(--wp--custom--layout--full);
}

/* ===========================
Forms - Fluet form Styling
=========================== */

/* -- input fields -- */
input,
select,
textarea {
  background-color: var(--wp--preset--color--form-background);
  border: 1px solid var(--wp--preset--color--form-border);
  border-radius: 4px;
  color: var(--wp--preset--color--form-input-text);
  font-family: var(--wp--preset--font-family--hanken-grotesk);
  font-size: var(--wp--preset--font-size--text-size-regular);
  font-weight: var(--wp--custom--font-weight--light);
  line-height: var(--wp--custom--line-height--body);
  padding: 10px 16px;
  width: 100%;
}

.ff-el-input--label label {
  font-size: var(--wp--preset--font-size--text-size-small);
  font-weight: var(--wp--custom--font-weight--medium);
  margin-bottom: 4px;
}

.ff-btn-submit {
  border: none;
  padding: 12px;
  text-transform: uppercase;
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--base);
  border-radius: 25px;
  width: 100%;
  font-weight: 400;
  font-size: 16px;
  cursor: pointer;
}

.ff-btn-submit:hover {
  background-color: var(--wp--preset--color--contrast);
  color: var(--wp--preset--color--base);
}

.ff-el-input--content:has(.ff-el-form-control) {
  position: relative;
}

.ff-el-form-control {
  appearance: none;
}

.ff-el-input--content:has(select):after {
  content: "";
  display: block;
  overflow: hidden;
  height: 10px;
  width: 10px;
  background: url(../../uploads/select-input.png) no-repeat right 0 center
    transparent;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

input:focus,
textarea:focus {
  border-color: #4ba2ff;
  outline: none;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
  width: auto;
}

input[type="button"],
input[type="email"],
input[type="search"],
input[type="submit"],
input[type="text"],
textarea {
  appearance: none;
}

input::placeholder,
textarea::placeholder,
.fluentform .ff-el-form-control::placeholder {
  color: var(--wp--preset--color--contrast);
  font-size: var(--wp--preset--font-size--text-size-regular);
  opacity: 0.5;
}

.fluentform .ff-el-group.ff_submit_btn_wrapper {
  margin-bottom: 0;
}

/* -- Radio Field -- */

/* Hide default radio button */
.radio-style input[type="radio"] {
  display: none;
}

/* Style the button container */
.radio-style .ff-el-input--content label {
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s;
  background: #fff;
  padding: 10px;
  border: 1px solid #ccc;
  display: block;
}

.radio-style .ff-el-form-check {
  margin-bottom: 0;
}

/* Style for selected state */
.radio-style .ff_item_selected label:hover {
  border-color: var(--wp--preset--color--primary);
}

/* Style for selected state */
.radio-style .ff_item_selected label {
  background-color: var(--wp--preset--color--primary);
  color: #fff;
  border-color: var(--wp--preset--color--primary);
}

.radio-style .ff-el-input--content {
  display: flex;
  gap: 12px;
}

@media (max-width: 800px) {
  .radio-style .ff-el-input--content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

/* -- finance Calculator layout -- */

.calc-amount,
.ff_calc_form .ff-t-cell.ff-t-column-1 {
  padding: 24px;
  border-radius: 12px;
  height: 100%;
  background: #f5f5f4;
}

.calc-amount {
  background: #eff6fd;
}

.calc-amount .ff-section_break_desk {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fluentform .ff-el-group.calc-amount {
  margin-bottom: 0;
}

.calc-amount * {
  margin: 0;
}

.calc-cta {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.calc-amount.ff-el-section-break hr {
  display: none;
}

.ff_calc_form .ff-t-cell {
  display: flex;
  flex-direction: column;
}

.ff_calc_form.frm-fluent-form .ff-t-cell {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: end;
}

.ff_calc_form .ff-el-group {
  width: 100%;
}

.ff_calc_form .ff-el-group.calc-int-rate {
  flex: 0 1 90px;
  margin-right: 12px;
}

.ff_calc_form .ff-el-group.calc-int-slider {
  flex: 1 0 65%;
  margin-bottom: 40px;
}

.ff_calc_form .ff-el-group.calc-int-slider .ff_range_value {
  display: none;
}

@media (max-width: 768px) {
  .ff_calc_form .ff-t-cell.ff-t-column-1 {
    margin-bottom: 24px;
  }
}

/* -- Range Slider Styling -- */

.rangeslider {
  background: #d9d9d9;
  height: 8px;
  width: 100%;
  border-radius: 20px;
  -moz-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.3);
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
}

.rangeslider__fill {
  background: var(--wp--preset--color--primary);
  position: absolute;
  height: 100%;
  border-radius: 20px;
}

.rangeslider__handle {
  background: #fff;
  height: 24px;
  width: 24px;
  position: absolute;
  top: -8px;
  border: 2px solid var(--wp--preset--color--primary);
  border-radius: 52px;
  cursor: pointer;
}

/* -- Thank You Message -- */

.ff-message-success {
  padding: 24px;
  text-align: center;
}

.ff-tick {
  border: 2px solid #6cab14;
  border-radius: 25px;
  display: flex;
  height: 40px;
  width: 40px;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  color: #6cab14;
  font-size: 24px;
}

.ff-message-success h3 {
  margin-top: 24px;
  margin-bottom: 12px;
}

.ff-message-success *:last-child {
  margin-top: 12px;
  margin-bottom: 0;
}

/* -- EDM Table styling -- */

[id*="-fluent-tables"] table tbody {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

[id*="-fluent-tables"] table tbody tr {
  flex: 1 0 50%;
}

[id*="-fluent-tables"] table tbody tr th {
  background: red;
}

[id*="-fluent-tables"] table tbody tr:nth-child(4n + 3),
[id*="-fluent-tables"] table tbody tr:nth-child(4n + 4) {
  background: #f8f8f8;
}

/* ===========================
Iframe - Responsive Map
=========================== */

.responsive-map {
  position: relative;
  overflow: clip;
  width: 100%;
  padding-top: 56.25%;
  height: 0;
}

.responsive-map iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
  display: block;
}

@media only screen and (min-width: 768px) {
  .responsive-map {
    padding-top: 25%;
  }
}

/* Blocks
---------------------------------------- */

/* -- Code -- */

*:not(.wp-block-code) > code {
  background-color: var(--wp--preset--color--neutral);
  font-size: var(--wp--preset--font-size--small);
  padding: 5px 8px;
}

/* Utility
---------------------------------------- */

/* -- Box Shadow -- */

.is-style-shadow-light {
  box-shadow: var(--wp--preset--shadow--light);
}

.is-style-shadow-solid {
  box-shadow: var(--wp--preset--shadow--solid);
}

/* Media Queries
---------------------------------------- */

@media only screen and (max-width: 600px) {
  /* -- Utility -- */

  .is-style-hidden-mobile {
    display: none !important;
  }
}

/* Media Queries
---------------------------------------- */

@media only screen and (max-width: 600px) {
  /* -- Utility -- */

  .is-style-hidden-mobile {
    display: none !important;
  }
}

/* Hide on Mobile (Small screens) */
@media (max-width: 781px) {
  .hide-mobile {
    display: none !important;
  }
}

/* Hide on Tablet (Mid screens) */
@media (min-width: 782px) and (max-width: 1023px) {
  .hide-tablet {
    display: none !important;
  }
}

/* Hide on Desktop (Large screens) */
@media (min-width: 1024px) {
  .hide-desktop {
    display: none !important;
  }
}

@media only screen and (max-width: 782px) {
  /* -- Columns -- */

  .is-style-columns-reverse {
    flex-direction: column-reverse;
  }
}

@media only screen and (max-width: 1024px) {
  .is-style-columns-laptop-break {
    flex-direction: column;
  }

  .is-style-columns-reverse.is-style-columns-laptop-break {
    flex-direction: column-reverse;
  }
}

.is-style-columns-overflow,
.has-custom-border {
  overflow: clip;
}

.is-style-width-small {
  max-width: var(--wp--custom--layout--small);
}

.is-style-width-large {
  max-width: var(--wp--custom--layout--large);
}

/* Picture block */
.wp-block-custom-block-picture img {
  display: block;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

/* .wp-block-site-logo img {
  aspect-ratio: 50 / 50;
} */

/* Block anchor link */
.has-cover-link {
  position: relative;
}

a.block-cover-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9;
  opacity: 0;
}

.has-cover-link a:not(.block-cover-link),
.has-cover-link button,
.has-cover-link input {
  position: relative;
  z-index: 2;
}

/* Grid columns */

.is-layout-grid.sm-1-cols {
  grid-template-columns: repeat(1, 1fr);
}
.is-layout-grid.sm-2-cols {
  grid-template-columns: repeat(2, 1fr);
}
.is-layout-grid.sm-3-cols {
  grid-template-columns: repeat(2, 1fr);
}

/* --- Tablet (Medium Screens) --- */
@media (min-width: 768px) {
  .is-layout-grid.md-1-cols {
    grid-template-columns: repeat(1, 1fr);
  }
  .is-layout-grid.md-2-cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .is-layout-grid.md-3-cols {
    grid-template-columns: repeat(3, 1fr);
  }
  .is-layout-grid.md-4-cols {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- Desktop (Large Screens) --- */
@media (min-width: 1023px) {
  .is-layout-grid.lg-1-cols {
    grid-template-columns: repeat(1, 1fr);
  }
  .is-layout-grid.lg-2-cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .is-layout-grid.lg-3-cols {
    grid-template-columns: repeat(3, 1fr);
  }
  .is-layout-grid.lg-4-cols {
    grid-template-columns: repeat(4, 1fr);
  }
  .is-layout-grid.lg-5-cols {
    grid-template-columns: repeat(5, 1fr);
  }
  .is-layout-grid.lg-6-cols {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* --- Desktop (Extra Large Screens) --- */
@media (min-width: 1440px) {
  .is-layout-grid.xl-1-cols {
    grid-template-columns: repeat(1, 1fr);
  }
  .is-layout-grid.xl-2-cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .is-layout-grid.xl-3-cols {
    grid-template-columns: repeat(3, 1fr);
  }
  .is-layout-grid.xl-4-cols {
    grid-template-columns: repeat(4, 1fr);
  }
  .is-layout-grid.xl-5-cols {
    grid-template-columns: repeat(5, 1fr);
  }
  .is-layout-grid.xl-6-cols {
    grid-template-columns: repeat(6, 1fr);
  }
}

.wp-block-column {
  position: relative;
}

/* ===========================
Embla Slider
=========================== */

/* -- Embla: Arrows -- */

.embla .embla__button {
  display: none;
}

@media (min-width: 1024px) {
  .embla .embla__button {
    display: flex;
  }
}

.embla .embla__button--prev {
  left: 20px;
}

.embla .embla__button--next {
  right: 20px;
}

/* -- Embla: Dots Banner Position -- */

.banner-dots .embla__dots_container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

/* -- Embla: Dots General -- */

.embla__dots_container {
  padding: 16px;
  text-align: center;
}

.wp-block-custom-block-section:not(.banner-dots) .embla__dots {
  display: inline-flex;
}

/* ===========================
Buttons
=========================== */

.btn-full a {
  width: 100%;
}

/* -- Buttons: Hover States General -- */

/* -- Buttons: Primary -- */
.wp-element-button:hover,
.is-style-primary .wp-element-button:hover {
  background-color: var(--wp--preset--color--primary);
  border-color: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--neutral);
  text-decoration: none;
}

/* -- Buttons: Secondary -- */
.is-style-secondary .wp-element-button:hover,
.wp-block-navigation__responsive-container
  .wp-block-navigation__responsive-container-content
  .btn-solid
  .wp-block-navigation-item__content:hover {
  background-color: var(--wp--preset--color--primary);
  border-color: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--neutral);
  text-decoration: none;
}

/* -- Buttons: Outline -- */
.is-style-outline-primary .wp-element-button:hover,
.is-style-outline-secondary .wp-element-button:hover,
.wp-block-navigation__responsive-container
  .wp-block-navigation__responsive-container-content
  .btn-outline
  .wp-block-navigation-item__content:hover {
  background-color: var(--wp--preset--color--primary);
  border-color: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--neutral);
  text-decoration: none;
}

/* -- Buttons: Arrow After Text -- */

.wp-element-button.is-arrow,
.wp-element-button.is-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wp-element-button.is-arrow::after,
.wp-element-button.is-chevron::after {
  content: "\2192";
  font-family: inherit;
  font-size: 1.2em;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.wp-element-button.is-chevron::after {
  content: "\203A";
}

.wp-element-button.is-arrow:hover::after,
.wp-element-button.is-chevron:hover::after {
  transform: translateX(5px);
}

/* -- Buttons: Custom Hover Colour -- */

.has-custom-hover-colors {
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.has-custom-hover-colors:not(.wp-block-custom-block-button):hover,
.has-custom-hover-colors.wp-block-custom-block-button .wp-element-button:hover {
  background-color: var(--custom-hover-bg, inherit);
  color: var(--custom-hover-text, inherit);
}

.has-custom-hover-colors:hover *,
.has-custom-hover-colors:hover a {
  color: var(--custom-hover-text, inherit);
}

/* ===========================
Navigation
=========================== */

body .wp-block-navigation__responsive-container-open:not(.always-shown) {
  display: flex;
  height: 34px;
  width: 34px;
  justify-content: center;
  align-items: center;
}

body
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(
    .is-menu-open
  ) {
  display: none;
}

@media (min-width: 1200px) {
  body .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: none;
  }

  body
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(
      .is-menu-open
    ) {
    display: block;
  }
}

/* -- Top Header -- */

.top-header a {
  text-decoration: none;
}

.top-header a:hover {
  text-decoration: underline;
}

@media (max-width: 1199px) {
  .top-header {
    display: none;
  }
}

/* -- Dealer Name -- */

.is-visible .site-header .sticky-header.dealer-name {
  z-index: 1;
  position: relative;
  transform: none;
}

/* -- Main Navigation -- */

.site-header .wrapper {
  overflow: visible;
}

.wp-block-navigation__responsive-container-close,
.wp-block-navigation-submenu .wp-block-navigation__submenu-icon {
  display: none;
}

.wp-block-navigation__responsive-container-close,
.wp-block-navigation__responsive-container-open {
  border: 1px solid #5c5c5c;
  padding: 4px;
  border-radius: 25px;
}

.has-background .wp-block-navigation__responsive-container-open:focus,
.has-background .wp-block-navigation__responsive-container-open:hover {
  color: var(--wp--preset--color--base);
}

.wp-block-navigation-item.open-on-click .wp-block-navigation-submenu__toggle {
  padding-right: 0;
}

a.wp-block-navigation-item__content:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* -- Navigation Submenu -- */
.wp-block-navigation:not(.has-background)
  .wp-block-navigation__submenu-container {
  background-color: var(--wp--preset--color--contrast);
  border: var(--wp--preset--color--contrast);
  color: var(--wp--preset--color--base);
  padding: 10px;
}

.wp-block-navigation :where(.wp-block-navigation__submenu-container) a {
  padding: 2px 10px;
}

@media (min-width: 1023px) {
  .wp-block-navigation-item.has-child:hover
    > .wp-block-navigation__submenu-container {
    opacity: 1;
    visibility: visible;
    height: auto;
    overflow: visible;
    display: flex;
    width: auto;
    white-space: nowrap;
  }
}

/* -- Fixed header -- */

.site-header {
  position: relative;
  width: 100%;
  z-index: 15;
}

.is-fixed .site-header .sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  transform: translateY(-100%);
  z-index: 99;
  width: 100%;
}

.is-visible .site-header .sticky-header {
  transform: translateY(0);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease-in-out;
}

/* -- Mega Menu - NOT IN USE -- */
.mega-menu .has-cover-link {
  border-color: var(--wp--preset--color--neutral);
}

.mega-menu .has-cover-link:hover {
  border-color: var(--wp--preset--color--black);
}

.mega-menu .has-cover-link img {
  transition: all 0.4s ease-in-out;
}

.mega-menu .has-cover-link:hover img {
  transform: scale(0.9);
}
.site-header .mega-menu {
  display: none;
  position: fixed;
  top: 132px;
  left: 0;
  width: 100%;
  z-index: 99;
  transform: none;
  transition: all 0.3s ease-in-out;
}

.site-header.is-fixed .mega-menu {
  top: 0;
}

.site-header.is-fixed.is-visible .mega-menu {
  top: 82px;
}

/* ===========================
Mobile Nav
=========================== */

.has-modal-open .wp-block-navigation__responsive-container-open {
  pointer-events: none;
}

.has-modal-open .wp-block-navigation__responsive-container-open svg {
  display: none;
}

/* Navigation Button Styling */
.wp-block-navigation__responsive-container
  .wp-block-navigation__responsive-container-content
  .btn-outline
  .wp-block-navigation-item__content,
.wp-block-navigation__responsive-container
  .wp-block-navigation__responsive-container-content
  .btn-solid
  .wp-block-navigation-item__content {
  padding: 10px 20px;
  border-radius: 999px;
  text-align: center;
  line-height: 1em;
}

@media (max-width: 1199px) {
  header .wp-block-custom-block-icon-block {
    padding: 8px;
    height: 32px;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .wp-block-navigation__responsive-container.is-menu-open {
    padding: var(--wp--custom--spacing--gap) clamp(16px, 3.3vw, 48px) 100px;
    gap: 16px;
  }

  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-content {
    padding-top: 0;
  }
}

@media (min-width: 1200px) {
  .mobile-icons {
    display: none !important;
  }
}

/* -- Mobile Nav: Hide Sub-menu  -- */

@media (max-width: 1199px) {
  .wp-block-navigation__submenu-container.has-text-color.has-contrast-color.has-background.has-neutral-background-color.wp-block-navigation-submenu {
    padding-left: 0;
    padding-right: 0;
  }

  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-content
    .has-child
    .wp-block-navigation__submenu-container {
    width: 100%;
    height: 0;
    overflow: hidden;
    padding: 0;
  }

  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-content
    .wp-block-navigation__submenu-icon {
    display: block;
  }

  .wp-block-navigation
    .has-child
    .wp-block-navigation-submenu__toggle[aria-expanded="true"] {
    height: auto;
    opacity: 1;
    overflow: visible;
    visibility: visible;
  }

  .wp-block-navigation
    .has-child
    .wp-block-navigation-submenu__toggle[aria-expanded="true"]
    ~ ul.wp-block-navigation__submenu-container {
    height: auto;
    margin-top: 16px;
  }

  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-content
    .wp-block-navigation-item__content,
  .wp-block-navigation__container,
  .wp-block-navigation__container > li {
    width: 100%;
  }

  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-content
    .has-child {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* ===========================
Quicklnks
=========================== */

.q-link .wp-block-group .wp-block-group p:first-child {
  font-size: clamp(16px, 2.222222222vw, 32px);
}

/* ===========================
Accordion
=========================== */
.is-style-accordion-line {
  border-bottom: 1px solid #000;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

/* accordion style */

.is-style-accordion-style .wp-block-accordion-heading button {
  padding: 20px;
}

.is-style-accordion-style .wp-block-accordion-panel {
  display: block;
  max-height: 0;
  overflow: clip;
  transition: all 1s ease;
  padding-left: 20px;
  padding-right: 20px;
}

.is-style-accordion-style.is-open .wp-block-accordion-panel {
  padding: 0 20px 20px;
  max-height: 10000px;
}

.is-style-accordion-style
  .wp-block-accordion-heading__toggle:hover
  .wp-block-accordion-heading__toggle-title {
  text-decoration: none;
}

/* ===========================
Footer
=========================== */

footer a {
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer .wp-block-social-links .wp-social-link a:hover {
  color: var(--wp--preset--color--primary);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .site-footer
    .wp-block-columns:not(.is-not-stacked-on-mobile)
    > .wp-block-column {
    flex-basis: 47% !important;
  }
}

@media (max-width: 768px) {
  .wp-block-social-links {
    justify-content: flex-start;
  }

  .wp-container-core-columns-is-layout-98c150c9.wp-block-columns-is-layout-flex {
    margin-bottom: 40px;
  }
}

@media (min-width: 768px) {
  .site-footer .wp-block-accordion-item .wp-block-accordion-panel {
    display: block;
    margin-block-start: var(--wp--preset--spacing--gap);
  }

  .site-footer .wp-block-accordion-heading__toggle-icon {
    display: none;
  }
}

@media (min-width: 1024px) {
  .is-style-auto-desktop .wp-block-accordion-heading__toggle {
    pointer-events: none;
  }
}
/* Hover effects */
.hover-hide-parent {
  position: relative;
}

.hover-hide-parent .hover-hide-child > :nth-child(2) {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.hover-hide-parent:hover .hover-hide-child > :nth-child(1) {
  opacity: 0;
}
.hover-hide-parent:hover .hover-hide-child > :nth-child(2) {
  opacity: 1;
}

/* ===========================
Table Responsive
=========================== */

.wp-block-table {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
}

.wp-block-table table th,
.wp-block-table table td {
  padding: 12px 16px;
  border: 1px solid #ddd;
  text-align: left;
}

@media (max-width: 1024px) {
  .wp-block-table table th,
  .wp-block-table table td {
    white-space: nowrap; /* optional: prevents wrapping */
  }
}

/* ===========================
Custom - Page Styles
=========================== */

/* -- Sell you car Numbers-- */

.sell-number {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

/* Into Text Mobile */
@media (max-width: 782px) {
  .model-text-left p {
    text-align: left;
  }
}

@media (min-width: 1080px) {
  /* Compare Model Section*/
  .models-compare .embla[data-disable-above="1024"] .embla__container {
    justify-content: center;
  }

  .models-compare .embla .embla__slide {
    flex: 0 0 22%;
    max-width: 456px;
  }
}

/* fixed model menu */

.model-nav {
  position: sticky;
  top: 20px;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 8;
  transition: all 1s ease-in-out;
}

.model-nav .wrapper {
  overflow: visible;
}

.model-nav .wrapper > div {
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.24);
}

.is-visible .model-nav {
  top: -100%;
}

@media (max-width: 1024px) {
  .show .wrapper {
    overflow: visible;
  }

  .model-menu .is-layout-flex {
    flex-direction: column;
  }

  body .model-menu {
    display: none;
  }

  body .show .model-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    margin: 0 auto;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    background-color: var(--wp--preset--color--neutral);
    width: calc(
      100% - (var(--wp--preset--spacing--padding-sixteen-forty-eight) * 2)
    );
    z-index: 99;
    box-shadow:
      0 1px 3px rgba(0, 0, 0, 0.12),
      0 1px 2px rgba(0, 0, 0, 0.24);
  }

  body .show .model-ham-menu div:first-child {
    display: none;
  }

  body .model-ham-menu div:last-child {
    display: none;
  }

  body .show .model-ham-menu div:last-child,
  body .model-ham-menu div:first-child {
    display: block;
  }
}

/* ===========================
Model - Colour Picker
=========================== */

.cp-swatch {
  list-style: none;
  height: 38px;
  width: 38px;
  /* border: 2px solid #fff; */
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 2px #f0f0f0;
}

.cp-swatch:hover {
  box-shadow: 0 0 0 2px #000000;
}

.cp-swatch.cp-active {
  box-shadow: 0 0 0 2px #000000;
}

.modal-popover-inner {
  height: 70vh;
  overflow-y: auto;
  overflow-x: hidden;
}

/* ===========================
Model Picker - Tabs
=========================== */

.tab-flex {
  background-color: #fff;
  padding: 8px;
  display: inline-flex;
  gap: 12px;
  border-radius: 25px;
  white-space: nowrap;
}

.tab-header {
  padding: 5px 10px;
  background-color: #fff;
  font-size: 16px;
  font-weight: 500;
  color: #6a6a6a;
  border-radius: 25px;
  text-align: center;
  cursor: pointer;
  border: 2px solid #ffffff;
}

.tab-header:hover {
  border-color: #f5f5f4;
}

.tab-header.tab-active {
  background-color: #f5f5f4;
  border-color: #f5f5f4;
}

/* ===========================
Offer Filter 
=========================== */
.wp-block-custom-block-filter-trigger {
  border-color: transparent;
}

.filter-fixed {
  position: sticky;
  top: 20px;
  transition: all 0.3s ease;
  height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.is-visible .filter-fixed {
  top: 100px;
}

body .fltr-content {
  display: none;
}

body .fltr-content.show {
  display: block;
}

/* ===========================
Mini Search
=========================== */

.mini-search {
  display: flex;
  gap: 20px;
}

.mini-input {
  background: #fff;
  padding: 8px 12px;
  border-radius: 25px;
}

.mini-button > div {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 12px 12px !important;
}

@media (max-width: 884px) {
  .mini-button {
    width: 100%;
  }
}

@media (min-width: 885px) {
  .mini-search {
    flex-direction: row;
    background: #fff;
    padding: 8px;
  }
}

/* --- Animations --- */
[class*="fx-"],
.has-cover-link[class*="fx-"] img,
[class*="fx-"] img {
  --fx-duration: 0.6s;
  --fx-easing: cubic-bezier(0.25, 1, 0.5, 1);
  transition: all var(--fx-duration) var(--fx-easing);
  transition-delay: var(--fx-delay, 0ms);
  animation-duration: var(--fx-duration);
  animation-timing-function: var(--fx-easing);
  animation-delay: var(--fx-delay, 0ms);
  animation-fill-mode: both;
  will-change: transform, opacity;
}

[class*="fx-"],
[class*="fx-"] .wp-block-column,
[class*="fx-"] .embla__slide_inner {
  position: relative;
  overflow: clip;
}

/* Hide scroll elements before they enter the viewport */
.fx-animation:not(.is-visible) {
  opacity: 0;
}

.block-editor-block-list__layout .fx-animation:not(.is-visible) {
  opacity: 1;
}

/* --- Hover effects --- */
/* Fade */
.fx-hover.fx-fade:hover {
  opacity: 0.6;
}

/* Zoom */
.has-cover-link:hover .fx-hover.fx-zoom img,
.fx-hover.fx-zoom:not(.has-cover-link):hover,
.fx-hover.fx-zoom.has-cover-link:hover img {
  transform: scale(1.08);
}
.has-cover-link:hover .fx-hover.fx-zoom-up img,
.fx-hover.fx-zoom-up:not(.has-cover-link):hover,
.fx-hover.fx-zoom-up.has-cover-link:hover img {
  transform: scale(1.08) translateY(-10px);
}
.has-cover-link:hover .fx-hover.fx-zoom-down img,
.fx-hover.fx-zoom-down:not(.has-cover-link):hover,
.fx-hover.fx-zoom-down.has-cover-link:hover img {
  transform: scale(1.08) translateY(10px);
}
.has-cover-link:hover .fx-hover.fx-zoom-left img,
.fx-hover.fx-zoom-left:not(.has-cover-link):hover,
.fx-hover.fx-zoom-left.has-cover-link:hover img {
  transform: scale(1.08) translateX(-10px);
}
.has-cover-link:hover .fx-hover.fx-zoom-right img,
.fx-hover.fx-zoom-right:not(.has-cover-link):hover,
.fx-hover.fx-zoom-right.has-cover-link:hover img {
  transform: scale(1.08) translateX(10px);
}

/* Slide */
.fx-hover.fx-slide-up:hover {
  transform: translateY(-15px);
}
.fx-hover.fx-slide-down:hover {
  transform: translateY(15px);
}
.fx-hover.fx-slide-left:hover {
  transform: translateX(-15px);
}
.fx-hover.fx-slide-right:hover {
  transform: translateX(15px);
}

/* Flip */
.fx-hover.fx-flip-up:hover {
  transform: perspective(600px) rotateX(15deg);
}
.fx-hover.fx-flip-down:hover {
  transform: perspective(600px) rotateX(-15deg);
}
.fx-hover.fx-flip-left:hover {
  transform: perspective(600px) rotateY(-15deg);
}
.fx-hover.fx-flip-right:hover {
  transform: perspective(600px) rotateY(15deg);
}

/* Rotate & Blur */
.fx-hover.fx-rotate:hover {
  transform: rotate(5deg);
}
.fx-hover.fx-blur:hover {
  filter: blur(5px);
}

/* Bounce (Triggers a keyframe on hover) */
.fx-hover.fx-bounce:hover {
  animation: anim-bounce var(--fx-duration) var(--fx-easing);
}

/* --- Entry & scroll  animations --- */

/* Fade */
.fx-load.fx-fade,
.fx-animation.is-visible.fx-fade {
  animation-name: anim-fade;
}
.fx-load.fx-fade-up,
.fx-animation.is-visible.fx-fade-up {
  animation-name: anim-fade-up;
}
.fx-load.fx-fade-down,
.fx-animation.is-visible.fx-fade-down {
  animation-name: anim-fade-down;
}
.fx-load.fx-fade-left,
.fx-animation.is-visible.fx-fade-left {
  animation-name: anim-fade-left;
}
.fx-load.fx-fade-right,
.fx-animation.is-visible.fx-fade-right {
  animation-name: anim-fade-right;
}

@keyframes anim-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes anim-fade-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes anim-fade-down {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes anim-fade-left {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes anim-fade-right {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Zoom */
.fx-load.fx-zoom,
.fx-animation.is-visible.fx-zoom {
  animation-name: anim-zoom;
}
.fx-load.fx-zoom-up,
.fx-animation.is-visible.fx-zoom-up {
  animation-name: anim-zoom-up;
}
.fx-load.fx-zoom-down,
.fx-animation.is-visible.fx-zoom-down {
  animation-name: anim-zoom-down;
}
.fx-load.fx-zoom-left,
.fx-animation.is-visible.fx-zoom-left {
  animation-name: anim-zoom-left;
}
.fx-load.fx-zoom-right,
.fx-animation.is-visible.fx-zoom-right {
  animation-name: anim-zoom-right;
}

@keyframes anim-zoom {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes anim-zoom-up {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(40px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes anim-zoom-down {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(-40px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes anim-zoom-left {
  from {
    opacity: 0;
    transform: scale(0.85) translateX(40px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateX(0);
  }
}
@keyframes anim-zoom-right {
  from {
    opacity: 0;
    transform: scale(0.85) translateX(-40px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateX(0);
  }
}

/* Slide */
.fx-load.fx-slide,
.fx-animation.is-visible.fx-slide {
  animation-name: anim-slide;
}
.fx-load.fx-slide-up,
.fx-animation.is-visible.fx-slide-up {
  animation-name: anim-slide-up;
}
.fx-load.fx-slide-down,
.fx-animation.is-visible.fx-slide-down {
  animation-name: anim-slide-down;
}
.fx-load.fx-slide-left,
.fx-animation.is-visible.fx-slide-left {
  animation-name: anim-slide-left;
}
.fx-load.fx-slide-right,
.fx-animation.is-visible.fx-slide-right {
  animation-name: anim-slide-right;
}

@keyframes anim-slide {
  from {
    transform: translateY(80px);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes anim-slide-up {
  from {
    opacity: 0;
    transform: translateY(80px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes anim-slide-down {
  from {
    opacity: 0;
    transform: translateY(-80px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes anim-slide-left {
  from {
    opacity: 0;
    transform: translateX(80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes anim-slide-right {
  from {
    opacity: 0;
    transform: translateX(-80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Flip */
.fx-load.fx-flip,
.fx-animation.is-visible.fx-flip {
  animation-name: anim-flip-y;
}
.fx-load.fx-flip-up,
.fx-animation.is-visible.fx-flip-up {
  animation-name: anim-flip-up;
}
.fx-load.fx-flip-down,
.fx-animation.is-visible.fx-flip-down {
  animation-name: anim-flip-down;
}
.fx-load.fx-flip-left,
.fx-animation.is-visible.fx-flip-left {
  animation-name: anim-flip-left;
}
.fx-load.fx-flip-right,
.fx-animation.is-visible.fx-flip-right {
  animation-name: anim-flip-right;
}

@keyframes anim-flip-up {
  from {
    opacity: 0;
    transform: perspective(600px) rotateX(-90deg);
  }
  to {
    opacity: 1;
    transform: perspective(600px) rotateX(0);
  }
}
@keyframes anim-flip-down {
  from {
    opacity: 0;
    transform: perspective(600px) rotateX(90deg);
  }
  to {
    opacity: 1;
    transform: perspective(600px) rotateX(0);
  }
}
@keyframes anim-flip-left {
  from {
    opacity: 0;
    transform: perspective(600px) rotateY(90deg);
  }
  to {
    opacity: 1;
    transform: perspective(600px) rotateY(0);
  }
}
@keyframes anim-flip-right {
  from {
    opacity: 0;
    transform: perspective(600px) rotateY(-90deg);
  }
  to {
    opacity: 1;
    transform: perspective(600px) rotateY(0);
  }
}

/* Bounce */
.fx-load.fx-bounce,
.fx-animation.is-visible.fx-bounce {
  animation-name: anim-bounce;
}
.fx-load.fx-bounce-up,
.fx-animation.is-visible.fx-bounce-up {
  animation-name: anim-bounce-up;
}

@keyframes anim-bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}
@keyframes anim-bounce-up {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  60% {
    opacity: 1;
    transform: translateY(-20px);
  }
  80% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Rotate & Blur */
.fx-load.fx-rotate,
.fx-animation.is-visible.fx-rotate {
  animation-name: anim-rotate;
}
.fx-load.fx-blur,
.fx-animation.is-visible.fx-blur {
  animation-name: anim-blur;
}

@keyframes anim-rotate {
  from {
    opacity: 0;
    transform: rotate(-180deg);
  }
  to {
    opacity: 1;
    transform: rotate(0deg);
  }
}
@keyframes anim-blur {
  from {
    opacity: 0;
    filter: blur(20px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

/* --- Native scroll animation --- */
@supports (animation-timeline: view()) {
  .fx-scroll {
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
    animation-duration: auto;
    animation-delay: 0s;
    animation-timing-function: linear;
  }

  .fx-scroll.fx-fade-up {
    animation-name: anim-fade-up;
  }
  .fx-scroll.fx-zoom {
    animation-name: anim-zoom;
  }
  .fx-scroll.fx-slide-left {
    animation-name: anim-slide-left;
  }
  .fx-scroll.fx-rotate {
    animation-name: anim-rotate;
  }
}
