/*
 * GWM shared form system
 * One source of truth for public forms: Contact Form 7, lead forms, booking
 * blocks and Fancybox popups. Do not add page-specific form geometry outside
 * this file; use a component class when a new form type is needed.
 */

:root{
  --fc-form-red:#e60012;
  --fc-form-red-hover:#c80010;
  --fc-form-ink:#0b1a2a;
  --fc-form-muted:#64748b;
  --fc-form-line:#d9e2ea;
  --fc-form-field:#f8fafc;
  --fc-form-radius:12px;
  --fc-form-control-height:52px;
}

/* Shared controls — intentionally scoped so product filters and search keep
   their own interface. */
body:not(.wp-admin) :is(.wpcf7,.fc-lead-form,.fc-contact-form-body,.fc-mcontact-fallback,#fcDesktopBookingForm,.fc-mform-inner,.booking_form,.form_dark,.fc-gwm-contact-form,.fc-popup-form){
  color:var(--fc-form-ink);
  font-family:var(--fc-font,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);
}
body:not(.wp-admin) :is(.wpcf7,.fc-lead-form,.fc-contact-form-body,.fc-mcontact-fallback,#fcDesktopBookingForm,.fc-mform-inner,.booking_form,.form_dark,.fc-gwm-contact-form,.fc-popup-form) :is(.form_group,.wpcf7-form-control-wrap){box-sizing:border-box;min-width:0;}
body:not(.wp-admin) :is(.wpcf7,.fc-lead-form,.fc-contact-form-body,.fc-mcontact-fallback,#fcDesktopBookingForm,.fc-mform-inner,.booking_form,.form_dark,.fc-gwm-contact-form,.fc-popup-form) :is(label,.form_label){
  display:block;margin:0 0 7px;color:var(--fc-form-ink);font-size:13px;font-weight:750;line-height:1.35;
}
body:not(.wp-admin) :is(.wpcf7,.fc-lead-form,.fc-contact-form-body,.fc-mcontact-fallback,#fcDesktopBookingForm,.fc-mform-inner,.booking_form,.form_dark,.fc-gwm-contact-form,.fc-popup-form) .wpcf7-form-control-wrap{display:block;}
body:not(.wp-admin) :is(.wpcf7,.fc-lead-form,.fc-contact-form-body,.fc-mcontact-fallback,#fcDesktopBookingForm,.fc-mform-inner,.booking_form,.form_dark,.fc-gwm-contact-form,.fc-popup-form) :is(input:not([type=submit]):not([type=checkbox]):not([type=radio]),select,textarea){
  box-sizing:border-box;display:block;width:100%;min-height:var(--fc-form-control-height);margin:0;padding:13px 15px;
  border:1px solid var(--fc-form-line);border-radius:var(--fc-form-radius);background:var(--fc-form-field);color:var(--fc-form-ink);
  font:500 15px/1.35 var(--fc-font,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);
  box-shadow:none;transition:border-color .18s ease,background-color .18s ease;
}
body:not(.wp-admin) :is(.wpcf7,.fc-lead-form,.fc-contact-form-body,.fc-mcontact-fallback,#fcDesktopBookingForm,.fc-mform-inner,.booking_form,.form_dark,.fc-gwm-contact-form,.fc-popup-form) textarea{min-height:126px;resize:vertical;}
body:not(.wp-admin) :is(.wpcf7,.fc-lead-form,.fc-contact-form-body,.fc-mcontact-fallback,#fcDesktopBookingForm,.fc-mform-inner,.booking_form,.form_dark,.fc-gwm-contact-form,.fc-popup-form) :is(input,textarea)::placeholder{color:#8b98a8;opacity:1;}
body:not(.wp-admin) :is(.wpcf7,.fc-lead-form,.fc-contact-form-body,.fc-mcontact-fallback,#fcDesktopBookingForm,.fc-mform-inner,.booking_form,.form_dark,.fc-gwm-contact-form,.fc-popup-form) :is(input:not([type=submit]),select,textarea):focus-visible{outline:0;border-color:var(--fc-form-red);background:#fff;box-shadow:0 0 0 4px rgba(230,0,18,.11);}
body:not(.wp-admin) :is(.wpcf7,.fc-lead-form,.fc-contact-form-body,.fc-mcontact-fallback,#fcDesktopBookingForm,.fc-mform-inner,.booking_form,.form_dark,.fc-gwm-contact-form,.fc-popup-form) select{padding-right:42px;cursor:pointer;accent-color:var(--fc-form-red);}
body:not(.wp-admin) :is(.wpcf7,.fc-lead-form,.fc-contact-form-body,.fc-mcontact-fallback,#fcDesktopBookingForm,.fc-mform-inner,.booking_form,.form_dark,.fc-gwm-contact-form,.fc-popup-form) :is(input[type=checkbox],input[type=radio]){accent-color:var(--fc-form-red);}

/* Feedback and primary submit behaviour. */
body:not(.wp-admin) :is(.wpcf7,.fc-lead-form,.fc-contact-form-body,.fc-mcontact-fallback,#fcDesktopBookingForm,.fc-mform-inner,.booking_form,.form_dark,.fc-gwm-contact-form,.fc-popup-form) :is(input[type=submit],button[type=submit],.submit_btn .btn,.submit_btn .btn_inner){
  display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:13px 24px;border:0;border-radius:11px;
  background-color:var(--fc-form-red)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  font-family:var(--fc-font-title,"SFU Eurostile",sans-serif);font-size:13px;font-weight:900;letter-spacing:.01em;line-height:1;
  text-align:center;text-decoration:none;text-transform:uppercase;cursor:pointer;white-space:nowrap;box-shadow:none;
  transition:background-color .18s ease,color .18s ease;
}
body:not(.wp-admin) :is(.wpcf7,.fc-lead-form,.fc-contact-form-body,.fc-mcontact-fallback,#fcDesktopBookingForm,.fc-mform-inner,.booking_form,.form_dark,.fc-gwm-contact-form,.fc-popup-form) :is(input[type=submit],button[type=submit],.submit_btn .btn):hover{background-color:var(--fc-form-red-hover)!important;box-shadow:none;transform:none;}
body:not(.wp-admin) .wpcf7 :is(.wpcf7-not-valid-tip,.field_error){display:block;margin-top:6px;color:#c80010;font-size:12px;font-weight:700;line-height:1.4;}
body:not(.wp-admin) .wpcf7 .wpcf7-response-output{margin:16px 0 0!important;padding:12px 14px!important;border:1px solid rgba(230,0,18,.3)!important;border-radius:10px!important;background:#fff6f6;color:#9d0010;font-size:13px;font-weight:650;line-height:1.45;}
body:not(.wp-admin) .wpcf7 form.sent .wpcf7-response-output{border-color:rgba(16,185,129,.35)!important;background:#f0fdf7;color:#08784c;}
/* Old CF7 definitions sometimes contain a second, decorative .btn beside the
   native submit. The native submit is the one accessible action everywhere. */
body:not(.wp-admin) .wpcf7 .submit_btn .btn.btn_primary:not(button):not(input){display:none!important;}

/* Embedded forms. Two columns only for an explicit .col_6 field. */
@media (min-width:850px){
  body:not(.wp-admin) :is(.wpcf7,.fc-lead-form,.fc-contact-form-body,.fc-mcontact-fallback,#fcDesktopBookingForm,.fc-mform-inner,.booking_form,.form_dark,.fc-gwm-contact-form):not(.fc-popup-form){box-sizing:border-box;width:100%;max-width:100%;}
  body:not(.wp-admin) :is(.wpcf7-form,.fc-lead-form,.fc-contact-form-body form,.fc-mcontact-fallback,.booking_form form,.form_dark form,#fcDesktopBookingForm,.fc-mform-inner){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;width:100%;max-width:100%;margin:0;}
  body:not(.wp-admin) :is(.wpcf7-form,.fc-lead-form,.fc-contact-form-body form,.fc-mcontact-fallback,.booking_form form,.form_dark form,#fcDesktopBookingForm,.fc-mform-inner) > :is(.form_group,.wpcf7-form-control-wrap,.form-row,.col_12){grid-column:1/-1;width:100%;max-width:100%;margin:0;}
  body:not(.wp-admin) :is(.wpcf7-form,.fc-lead-form,.fc-contact-form-body form,.fc-mcontact-fallback,.booking_form form,.form_dark form,#fcDesktopBookingForm,.fc-mform-inner) > :is(.form_group.col_6,.col_6.form_group,.form-row.col_6){grid-column:span 1;}
  body:not(.wp-admin) :is(.wpcf7-form,.fc-lead-form,.fc-contact-form-body form,.fc-mcontact-fallback,.booking_form form,.form_dark form,#fcDesktopBookingForm,.fc-mform-inner) > .submit_btn{grid-column:1/-1;}
}

/* Modal shell — supports Fancybox v3 and v5. Source popup nodes remain hidden
   until Fancybox moves them into its container. */
body:not(.wp-admin) .fc-form-surface[style*="display:none"]{display:none!important;}
body:not(.wp-admin) :is(.fancybox__container.fc-form-popup,.fancybox-container.fc-form-popup){z-index:999999!important;}
body:not(.wp-admin) :is(.fancybox__container,.fancybox-container):has(.fc-popup-form) :is(.fancybox__backdrop,.fancybox-bg){background:rgba(5,10,16,.78)!important;backdrop-filter:blur(9px);}
body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form,
body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) :is(.fancybox__content,.fancybox-content).fc-popup-form,
body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) :is(.fancybox__content,.fancybox-content):has(.fc-popup-form){
  box-sizing:border-box!important;
  display:block!important;
  width:min(580px,calc(100vw - 36px))!important;
  max-width:580px!important;
  min-width:0!important;
  margin:auto!important;
  padding:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form .popup_inner{
  position:relative;
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  padding:32px 34px 28px!important;
  border:1px solid rgba(226,232,240,.96)!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,#ffffff 0%,#ffffff 72%,#f5f8fb 100%)!important;
  color:var(--fc-form-ink)!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  max-height:calc(100vh - 60px)!important;
  box-shadow:0 25px 65px -12px rgba(15,23,42,.35),0 0 1px rgba(0,0,0,.15)!important;
}
body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form .popup_inner::after{right:0!important;width:30%!important;opacity:.09!important;pointer-events:none!important;}
/* CF7 injects a .wpcf7 wrapper between form_light and the actual form. */
body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form :is(.form_light,.wpcf7,.wpcf7-form,.fc-newsletter-form-inner,.form_light > form){box-sizing:border-box!important;display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;float:none!important;flex:none!important;}
body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form .form_wrap{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 16px!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;}
body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form .form_wrap > :is(.form_group,.col_12,.col-12,.submit_btn){display:block!important;grid-column:1/-1!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;flex:0 0 100%!important;}
body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form .form_wrap > :is(.form_group.col_6,.col_6.form_group,.col_6,.col-6){grid-column:span 1!important;width:100%!important;max-width:100%!important;margin:0!important;}
body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form :is(.form_group,.wpcf7-form-control-wrap){box-sizing:border-box!important;min-width:0!important;}
body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form :is(input:not([type=submit]):not([type=checkbox]):not([type=radio]),select,textarea){width:100%!important;max-width:100%!important;min-height:50px!important;padding:12px 15px!important;border-color:var(--fc-form-line)!important;border-radius:11px!important;background:#f8fafc!important;font-size:15px!important;font-weight:600!important;}
body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form :is(input,select,textarea):focus{border-color:var(--fc-form-red)!important;background:#fff!important;box-shadow:0 0 0 4px rgba(230,0,18,.1)!important;}
body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form .form_popup_title{margin:0 0 8px!important;color:var(--fc-form-ink)!important;font-family:var(--fc-font-title,"SFU Eurostile",sans-serif)!important;font-size:26px!important;font-weight:900!important;letter-spacing:-.02em!important;line-height:1.15!important;text-transform:uppercase!important;}
body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form .form_popup_title::before{display:block;width:36px;height:3px;margin:0 0 14px;border-radius:999px;background:var(--fc-form-red);content:"";}
body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form .form_popup_des{max-width:100%!important;margin:0 0 20px!important;color:var(--fc-form-muted)!important;font-size:14.5px!important;line-height:1.55!important;}
body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form .form_group.has_child{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px 14px!important;}
body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form .form_group.has_child > label{grid-column:1/-1!important;}
body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form .form_group.has_child > .form_group{width:100%!important;max-width:100%!important;margin:0!important;}
body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form .submit_btn{grid-column:1/-1!important;width:100%!important;margin-top:0!important;padding-top:14px!important;box-sizing:border-box!important;}
body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form .submit_btn :is(.btn,.btn_inner,input[type=submit]){display:flex!important;width:100%!important;min-height:52px!important;}
/* Native submit styling */
body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form .submit_btn input[type=submit]{position:static!important;inset:auto!important;opacity:1!important;height:auto!important;padding:13px 24px!important;border:0!important;border-radius:11px!important;margin:0!important;background-color:var(--fc-form-red)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:15px!important;font-weight:750!important;letter-spacing:.04em!important;cursor:pointer!important;transition:all .18s ease!important;}
body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form .submit_btn input[type=submit]:hover{background-color:#cc0010!important;transform:translateY(-1px)!important;box-shadow:0 8px 20px rgba(230,0,18,.35)!important;}
body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form .submit_btn .btn:not(button):not(input){display:none!important;}
body:not(.wp-admin) :is(.fancybox__container,.fancybox-container):has(.fc-popup-form) :is(.f-button.is-close-btn,.fancybox__button--close,.fancybox-close-small){top:12px!important;right:12px!important;width:38px!important;height:38px!important;border:1px solid #d9e2ea!important;border-radius:50%!important;background:#fff!important;color:#536172!important;opacity:1!important;box-shadow:0 4px 14px rgba(15,23,42,.12)!important;transition:all .18s ease!important;}
body:not(.wp-admin) :is(.fancybox__container,.fancybox-container):has(.fc-popup-form) :is(.f-button.is-close-btn,.fancybox__button--close,.fancybox-close-small):hover{transform:rotate(90deg)!important;background:#f8fafc!important;color:#0f172a!important;}

@media (max-width:849px){
  body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form,
  body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) :is(.fancybox__content,.fancybox-content).fc-popup-form,
  body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) :is(.fancybox__content,.fancybox-content):has(.fc-popup-form){
    width:min(480px,calc(100vw - 24px))!important;
    max-width:480px!important;
    margin:auto!important;
  }
  body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form .popup_inner{
    padding:24px 18px 22px!important;
    border-radius:16px!important;
    max-height:calc(100vh - 36px)!important;
  }
  body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form .form_popup_title{
    font-size:22px!important;
  }
  body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form .form_wrap{
    display:flex!important;
    flex-direction:column!important;
    gap:12px!important;
  }
  body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form .form_wrap > :is(.col_6,.col-6){
    width:100%!important;
    max-width:100%!important;
  }
}

@media (min-width:850px){body:not(.wp-admin) :is(.fancybox__container,.fancybox-container):has(.fc-popup-form) :is(.fancybox__slide,.fancybox-slide){display:grid!important;place-items:center!important;padding:24px!important;overflow:auto!important;}}
@media (min-width:850px){
  /* Long service/contact forms must scroll inside the dialog, never underlap
     the viewport or get clipped by the decorative image layer. */
  body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form .popup_inner{
    max-height:calc(100vh - 56px)!important;overflow-x:hidden!important;overflow-y:auto!important;
  }
}

/* CF7 Enhanced Submit State & Visual Response Output */
.wpcf7.fc-result-loading .wpcf7-submit,
.wpcf7 form.submitting .wpcf7-submit{
  position:relative!important;
  opacity:.82!important;
  pointer-events:none!important;
  cursor:wait!important;
}
.wpcf7.fc-result-loading .form_wrap,
.wpcf7 form.submitting .form_wrap{
  pointer-events:none;
  opacity:.88;
  transition:opacity .2s ease;
}
.wpcf7 .wpcf7-response-output{
  margin:14px 0 0!important;
  padding:12px 16px!important;
  border-radius:10px!important;
  font-size:14px!important;
  font-weight:600!important;
  line-height:1.5!important;
  text-align:center!important;
  box-sizing:border-box!important;
  transition:all .25s ease!important;
}
.wpcf7.fc-result-loading .wpcf7-response-output{
  background:#f1f5f9!important;
  color:#334155!important;
  border:1px solid #cbd5e1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
}
.wpcf7.fc-result-success .wpcf7-response-output{
  background:#f0fdf4!important;
  color:#166534!important;
  border:1px solid #86efac!important;
  box-shadow:0 4px 12px rgba(22,101,52,.08)!important;
}
.wpcf7.fc-result-error .wpcf7-response-output{
  background:#fef2f2!important;
  color:#991b1b!important;
  border:1px solid #fecaca!important;
}

/* Sitewide newsletter contract (Desktop).
 * The footer is rendered once by fc_custom_footer() on every public route;
 * keep its geometry here, after legacy/theme rules, so one change propagates
 * to Home, listings and all detail pages without page-specific overrides. */
@media (min-width:850px){
  /* Shared newsletter strip DOM-agnostic selector */
  html body :is(#footer, footer, .footer-wrapper, body) .fc-footer-newsletter,
  html body :is(#footer, footer, .footer-wrapper, body) .form_footer {
    padding:26px 0!important;
    border-top:none!important;
    border-bottom:none!important;
    border:none!important;
    background:radial-gradient(circle at 0% 0%, rgba(230, 0, 18, 0.035) 0%, transparent 50%), linear-gradient(180deg, #ffffff 0%, #f8fafc 100%)!important;
    background-color:#f8fafc!important;
    box-shadow:none!important;
  }
  html body :is(#footer, footer, .footer-wrapper, body) .fc-footer-newsletter::before,
  html body :is(#footer, footer, .footer-wrapper, body) .fc-footer-newsletter::after{display:none!important;content:none!important;}
  html body :is(#footer, footer, .footer-wrapper, body) .fc-footer-newsletter .fc-nl-row{
    gap:clamp(20px,3vw,40px)!important;
  }
  html body :is(#footer, footer, .footer-wrapper, body) .fc-footer-newsletter .fc-nl-title{
    color:#0f172a!important;
    -webkit-text-fill-color:#0f172a!important;
    font-size:clamp(18px,1.35vw,21px)!important;
    line-height:1.25!important;
    letter-spacing:-.01em!important;
    text-shadow:none!important;
  }
  html body :is(#footer, footer, .footer-wrapper, body) .fc-footer-newsletter .fc-nl-desc,
  html body :is(#footer, footer, .footer-wrapper, body) .fc-footer-newsletter .fc-nl-desc p{
    color:#475569!important;
    -webkit-text-fill-color:#475569!important;
  }
  html body :is(#footer, footer, .footer-wrapper, body) .fc-footer-newsletter .fc-nl-form{gap:6px!important;}
  html body :is(#footer, footer, .footer-wrapper, body) .fc-footer-newsletter .fc-nl-privacy,
  html body .fc-nl-privacy,
  .fc-nl-privacy {
    display: none !important;
  }
  /* Keep the four shared footer columns inside the content width down to the
     Desktop breakpoint instead of forcing fixed minimums that can collide. */
  html body :is(#footer, footer, .footer-wrapper, body) .main_footer_wrap .fc-footer-grid{
    grid-template-columns:minmax(0,1.25fr) repeat(3,minmax(0,1fr))!important;
    gap:clamp(20px,2.5vw,40px)!important;
  }
  html body :is(#footer, footer, .footer-wrapper, body) .fc-footer-brand,
  html body :is(#footer, footer, .footer-wrapper, body) .fc-footer-col,
  html body :is(#footer, footer, .footer-wrapper, body) .fc-f-contact-info{min-width:0!important;}
  html body :is(#footer, footer, .footer-wrapper, body) .fc-f-contact-info :is(a,span){overflow-wrap:anywhere!important;}

  html body .fc-footer-newsletter .fc-nl-row{
    grid-template-columns:minmax(0,1.25fr) minmax(360px,.9fr)!important;
    align-items:center!important;
    gap:clamp(28px,4vw,64px)!important;
  }
  html body .fc-footer-newsletter .fc-nl-copy,
  html body .fc-footer-newsletter .fc-nl-form{min-width:0!important;}
  html body :is(#footer, footer, .footer-wrapper, body) .fc-footer-newsletter .fc-nl-form{
    display:grid!important;align-content:start!important;gap:7px!important;
    width:100%!important;max-width:480px!important;min-width:0!important;margin:0 0 0 auto!important;
    padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
  }
  /* Reset every CF7 wrapper in this Desktop-only component. */
  html body :is(#footer, footer, .footer-wrapper, body) .fc-footer-newsletter .fc-nl-form :is(.wpcf7,form.wpcf7-form){
    display:block!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
  }
  /* Newsletter CF7 is a single inline control pair. */
  html body :is(#footer, footer, .footer-wrapper, body) .fc-footer-newsletter .fc-nl-form .fc-newsletter-form-inner{
    display:grid!important;grid-template-columns:minmax(0,1fr) minmax(164px,auto)!important;align-items:stretch!important;gap:10px!important;
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:0!important;
    margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;
  }
  html body .fc-footer-newsletter .fc-nl-form .hidden-fields-container,
  html body .fc-footer-newsletter .fc-nl-form .akismet-fields-container,
  html body .fc-footer-newsletter .fc-nl-form .wpcf7-response-output,
  html body .fc-footer-newsletter .fc-nl-form .wpcf7-spinner{display:none!important;position:absolute!important;opacity:0!important;pointer-events:none!important;}
  html body .fc-footer-newsletter .fc-nl-form .wpcf7-form-control-wrap{display:block!important;grid-column:auto!important;width:auto!important;min-width:0!important;margin:0!important;overflow:visible!important;}
  html body :is(#footer, footer, .footer-wrapper, body) .fc-footer-newsletter .fc-nl-form :is(input[type=email],.wpcf7-email){
    display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;height:46px!important;min-height:46px!important;
    margin:0!important;padding:0 14px!important;border:1px solid #cbd5e1!important;border-radius:9px!important;background:#fff!important;
    color:#0f172a!important;-webkit-text-fill-color:#0f172a!important;box-shadow:0 1px 2px rgba(15,23,42,.04)!important;
    font-size:14px!important;line-height:1.3!important;
  }
  html body :is(#footer, footer, .footer-wrapper, body) .fc-footer-newsletter .fc-nl-form :is(input[type=submit],.wpcf7-submit){
    display:inline-flex!important;align-items:center!important;justify-content:center!important;align-self:stretch!important;
    box-sizing:border-box!important;flex:none!important;width:auto!important;max-width:none!important;min-width:164px!important;height:46px!important;min-height:46px!important;
    margin:0!important;padding:0 18px!important;border:1px solid #e60012!important;border-radius:9px!important;background:#e60012!important;
    color:#fff!important;-webkit-text-fill-color:#fff!important;box-shadow:0 5px 14px rgba(230,0,18,.14)!important;
    font-size:12px!important;font-weight:800!important;letter-spacing:.035em!important;white-space:nowrap!important;cursor:pointer!important;
  }
  html body :is(#footer, footer, .footer-wrapper, body) .fc-footer-newsletter .fc-nl-form :is(input[type=submit],.wpcf7-submit):hover{
    background:#d60012!important;border-color:#d60012!important;box-shadow:0 6px 18px rgba(230,0,18,.28)!important;
  }
  /* Keep CF7 validation messages in flow */
  html body .fc-footer-newsletter .fc-nl-form .wpcf7-not-valid-tip{position:static!important;display:block!important;width:auto!important;margin:5px 0 0!important;padding:0!important;line-height:1.35!important;}
  html body .fc-footer-newsletter .fc-nl-feedback{min-height:0!important;margin-top:4px!important;}
}

/* Mobile: one safe column, visible close button, no horizontal strip/overflow. */
@media (max-width:849px){
  :root{--fc-form-control-height:50px;--fc-form-radius:10px;}
  body:not(.wp-admin) :is(.wpcf7-form,.fc-lead-form,.fc-contact-form-body form,.fc-mcontact-fallback,.booking_form form,.form_dark form,#fcDesktopBookingForm,.fc-mform-inner){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:13px!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;}
  body:not(.wp-admin) :is(.wpcf7,.fc-lead-form,.fc-contact-form-body,.fc-mcontact-fallback,#fcDesktopBookingForm,.fc-mform-inner,.booking_form,.form_dark,.fc-gwm-contact-form) :is(.form_group,.wpcf7-form-control-wrap,.form-row,.col_6,.col_12,.mobile_col_12){grid-column:1!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;}
  body:not(.wp-admin) :is(.wpcf7,.fc-lead-form,.fc-contact-form-body,.fc-mcontact-fallback,#fcDesktopBookingForm,.fc-mform-inner,.booking_form,.form_dark,.fc-gwm-contact-form) :is(input:not([type=submit]):not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important;}
  body:not(.wp-admin) :is(.wpcf7,.fc-lead-form,.fc-contact-form-body,.fc-mcontact-fallback,#fcDesktopBookingForm,.fc-mform-inner,.booking_form,.form_dark,.fc-gwm-contact-form) :is(input[type=submit],button[type=submit],.submit_btn,.submit_btn .btn,.submit_btn .btn_inner){box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-height:52px!important;}
  body:not(.wp-admin) :is(.fancybox__container,.fancybox-container):has(.fc-popup-form) :is(.fancybox__slide,.fancybox-slide){display:block!important;box-sizing:border-box!important;padding:10px!important;overflow-x:hidden!important;overflow-y:auto!important;}
  body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) :is(.fancybox__content,.fancybox-content):has(.fc-popup-form){width:100%!important;max-width:520px!important;margin:0 auto!important;}
  body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form .popup_inner{max-height:calc(100dvh - 20px)!important;padding:30px 20px 20px!important;border-radius:16px!important;overflow:auto!important;}
  body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form .popup_inner::after{width:100%!important;opacity:.045!important;}
  body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form .form_popup_title{font-size:24px!important;}
  body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form .form_popup_des{margin-bottom:18px!important;font-size:14px!important;}
  body:not(.wp-admin) :is(.fancybox__container,.fancybox-container) .fc-popup-form .form_group.has_child{grid-template-columns:minmax(0,1fr)!important;}
}

@media (prefers-reduced-motion:reduce){body:not(.wp-admin) :is(.wpcf7,.fc-lead-form,.fc-contact-form-body,.fc-mcontact-fallback,#fcDesktopBookingForm,.fc-mform-inner,.booking_form,.form_dark,.fc-gwm-contact-form,.fc-popup-form) *{transition:none!important;}}

/* Final popup contract: Fancybox v3/v5 can move the node under different
   wrappers, so keep the geometry scoped to the component itself as well. */
@media (min-width:850px){
  body:not(.wp-admin) .fc-popup-form .form_wrap{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;row-gap:14px!important;column-gap:14px!important;align-items:start!important;
  }
  body:not(.wp-admin) .fc-popup-form .form_wrap > .form_group{grid-column:1/-1!important;width:100%!important;max-width:100%!important;margin:0!important;min-width:0!important;}
  body:not(.wp-admin) .fc-popup-form .form_wrap > .form_group.col_6{grid-column:span 1!important;}
  body:not(.wp-admin) .fc-popup-form .form_wrap > .form_group.submit_btn{
    grid-column:1/-1!important;margin:0!important;padding:20px 0 0!important;min-height:0!important;box-sizing:border-box!important;
  }
  /* CF7's legacy stylesheet absolutely positioned validation text over the
     following field. Keep errors in normal flow so rows never overlap. */
  body:not(.wp-admin) .fc-popup-form .form_group .wpcf7-not-valid-tip,
  body:not(.wp-admin) .fc-popup-form .wpcf7-not-valid-tip{
    position:static!important;display:block!important;width:auto!important;margin:6px 0 0!important;padding:0!important;line-height:1.35!important;
  }
  body:not(.wp-admin) .fc-popup-form .form_group:has(.wpcf7-not-valid-tip){overflow:visible!important;}
}

/* Shared desktop date picker: Light Luxury Minimalist 3S design language */
@media (min-width:850px){
  body:not(.wp-admin) .ui-datepicker {
    z-index: 1000005 !important;
    position: absolute !important;
    width: 320px !important;
    padding: 16px !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    box-shadow: 0 20px 48px -12px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(0, 0, 0, 0.04) !important;
    font-family: var(--fc-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
  }
  
  /* Header Container */
  body:not(.wp-admin) .ui-datepicker .ui-datepicker-header {
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
    color: #0f172a !important;
    padding: 8px 10px !important;
    margin-bottom: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
  }
  
  /* Title & Select Dropdowns */
  body:not(.wp-admin) .ui-datepicker .ui-datepicker-title {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    flex-grow: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  body:not(.wp-admin) .ui-datepicker .ui-datepicker-title select {
    height: 32px !important;
    margin: 0 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background-color: #ffffff !important;
    color: #0f172a !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    padding: 0 20px 0 10px !important;
    cursor: pointer !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    outline: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 6px center !important;
    box-sizing: border-box !important;
    line-height: 30px !important;
  }
  
  body:not(.wp-admin) .ui-datepicker .ui-datepicker-title select:hover {
    border-color: #94a3b8 !important;
  }

  body:not(.wp-admin) .ui-datepicker .ui-datepicker-title select:focus {
    border-color: #e60012 !important;
    box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.12) !important;
  }

  /* Specific width for Month & Year Selects to show full text clearly */
  body:not(.wp-admin) .ui-datepicker .ui-datepicker-title select.ui-datepicker-month,
  body:not(.wp-admin) .ui-datepicker .ui-datepicker-title select[data-handler="selectMonth"] {
    min-width: 98px !important;
    padding-right: 20px !important;
  }

  body:not(.wp-admin) .ui-datepicker .ui-datepicker-title select.ui-datepicker-year,
  body:not(.wp-admin) .ui-datepicker .ui-datepicker-title select[data-handler="selectYear"] {
    min-width: 76px !important;
    padding-right: 18px !important;
  }
  
  /* Prev & Next Navigation Buttons */
  body:not(.wp-admin) .ui-datepicker .ui-datepicker-prev,
  body:not(.wp-admin) .ui-datepicker .ui-datepicker-next {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    filter: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
  }

  body:not(.wp-admin) .ui-datepicker .ui-datepicker-prev span,
  body:not(.wp-admin) .ui-datepicker .ui-datepicker-next span {
    display: none !important;
  }

  body:not(.wp-admin) .ui-datepicker .ui-datepicker-prev::after {
    content: "" !important;
    width: 7px !important;
    height: 7px !important;
    border-left: 2px solid #475569 !important;
    border-bottom: 2px solid #475569 !important;
    transform: rotate(45deg) !important;
    margin-left: 2px !important;
  }

  body:not(.wp-admin) .ui-datepicker .ui-datepicker-next::after {
    content: "" !important;
    width: 7px !important;
    height: 7px !important;
    border-right: 2px solid #475569 !important;
    border-top: 2px solid #475569 !important;
    transform: rotate(45deg) !important;
    margin-right: 2px !important;
  }
  
  body:not(.wp-admin) .ui-datepicker .ui-datepicker-prev:hover,
  body:not(.wp-admin) .ui-datepicker .ui-datepicker-next:hover {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  }

  /* Table Grid */
  body:not(.wp-admin) .ui-datepicker table.ui-datepicker-calendar {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 4px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Table Header (T2 - CN) */
  body:not(.wp-admin) .ui-datepicker th {
    padding: 6px 0 !important;
    color: #94a3b8 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-align: center !important;
    border: none !important;
    background: transparent !important;
  }
  
  /* Table Cells */
  body:not(.wp-admin) .ui-datepicker td {
    padding: 1px !important;
    border: 0 !important;
    background: transparent !important;
    text-align: center !important;
  }
  
  /* Selectable Date Buttons */
  body:not(.wp-admin) .ui-datepicker td a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #1e293b !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
    box-sizing: border-box !important;
  }
  
  /* Hover State */
  body:not(.wp-admin) .ui-datepicker td a:hover {
    background: rgba(230, 0, 18, 0.08) !important;
    color: #e60012 !important;
    border-color: rgba(230, 0, 18, 0.2) !important;
    font-weight: 700 !important;
  }
  
  /* Today State */
  body:not(.wp-admin) .ui-datepicker td.ui-datepicker-today a {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    font-weight: 700 !important;
    border: 1px solid rgba(230, 0, 18, 0.35) !important;
  }
  
  /* Selected Active Day State */
  body:not(.wp-admin) .ui-datepicker td.ui-datepicker-current-day a,
  body:not(.wp-admin) .ui-datepicker td.ui-datepicker-current-day a:hover {
    background: linear-gradient(135deg, #e60012 0%, #b8000e 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(230, 0, 18, 0.35) !important;
  }
  
  /* Disabled / Unselectable Days (Past Dates) */
  body:not(.wp-admin) .ui-datepicker td.ui-state-disabled span,
  body:not(.wp-admin) .ui-datepicker td.ui-state-disabled a,
  body:not(.wp-admin) .ui-datepicker td span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #cbd5e1 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
  }
}

/* Executive Submit Button Overrides */
body:not(.wp-admin) #fcDesktopBookingForm .fc-btn-lead-submit,
body:not(.wp-admin) .fc-mform-inner .fc-mbtn-submit {
  border-radius: 12px !important;
  background: linear-gradient(135deg, #e60012 0%, #b8000e 100%) !important;
  box-shadow: 0 8px 24px rgba(230, 0, 18, 0.28) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body:not(.wp-admin) #fcDesktopBookingForm .fc-btn-lead-submit:hover,
body:not(.wp-admin) .fc-mform-inner .fc-mbtn-submit:hover {
  background: linear-gradient(135deg, #f00014 0%, #cc0010 100%) !important;
  box-shadow: 0 12px 30px rgba(230, 0, 18, 0.42) !important;
  transform: translateY(-2px) !important;
}

/* Hide Footer Tagline Desktop & Mobile */
html body :is(#footer, footer, .footer-wrapper, .main_footer_wrap) :is(.fc-footer-tagline, .fc-footer-tagline-wrap) {
  display: none !important;
}

/* Hide Newsletter Kicker Desktop & Mobile */
html body :is(#footer, footer, .footer-wrapper, .form_footer, .fc-footer-newsletter) .fc-nl-kicker {
  display: none !important;
}

/* Hide Footer Newsletter Form Kicker (fc-nl-form-kicker & fc-kicker-tag "GỬI YÊU CẦU BÁO GIÁ LĂN BÁNH TẬN TAY") Desktop & Mobile */
html body :is(#footer, footer, .footer-wrapper, .form_footer, .fc-footer-newsletter) :is(.fc-nl-form-kicker, .fc-kicker-tag) {
  display: none !important;
}

/* Hide Contact Page Hero Pills, Info Desc & Labels (fc-contact-hero-pills, fc-contact-info-desc, fc-info-row-label) Desktop & Mobile */
html body :is(.fc-contact-hero-pills, .fc-contact-pills, .fc-contact-info-desc, .fc-info-row-label) {
  display: none !important;
}

html body .fc-info-row {
  align-items: center !important;
  min-height: 52px !important;
  padding: 12px 18px !important;
}

html body .fc-info-row-body {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

/* Refined line-height and spacing for CTA Title with line break */
body:not(.wp-admin) .fc-prod-cta-info h2 {
  line-height: 1.3 !important;
  margin-bottom: 0.65rem !important;
}

/* About Page CTA Card: Symmetrical vertical spacing (Desktop & Mobile) */
html body:is(.page-template-about, .page-template-templatesabout-php, .about_page, .fc-about-page-vip) #main .fc-prod-booking-cta {
  padding-top: clamp(2rem, 3.5vw, 3rem) !important;
  padding-bottom: clamp(2rem, 3.5vw, 3rem) !important;
  margin: 0 !important;
}

/* Hide Homepage Lead Section Subtitle (fc-lead-sub & fc-lead-form-subtitle) Desktop & Mobile */
html body .fc-lead-info .fc-lead-sub,
html body.home .fc-lead-sub,
html body .fc-lead-form-subtitle,
html body.home .fc-lead-form-subtitle {
  display: none !important;
}

/* ══════════════════════════════════════════════════════════════════
   MASTER LIGHT LUXURY 3S GWM VEHICLE SHOWCASE & GRID SYSTEM (.fc-models-grid)
   ══════════════════════════════════════════════════════════════════ */
html body :is(.fc-filter-tabs, #fcDesktopModelTabs, #fcProdTabs) {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  width: max-content !important;
  max-width: calc(100vw - 32px) !important;
  min-height: 52px !important;
  height: 52px !important;
  margin: 0 auto clamp(1.8rem, 3vw, 2.5rem) !important;
  padding: 4px 5px !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06) !important;
  box-sizing: border-box !important;
}

html body :is(.fc-filter-tabs, #fcDesktopModelTabs, #fcProdTabs) .fc-tab-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 44px !important;
  padding: 0 20px !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #475569 !important;
  font-family: var(--fc-font-title, sans-serif) !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

html body :is(.fc-filter-tabs, #fcDesktopModelTabs, #fcProdTabs) .fc-tab-btn:hover {
  color: #0f172a !important;
  background: rgba(241, 245, 249, 0.9) !important;
}

html body :is(.fc-filter-tabs, #fcDesktopModelTabs, #fcProdTabs) .fc-tab-btn.is-active,
html body :is(.fc-filter-tabs, #fcDesktopModelTabs, #fcProdTabs) .fc-tab-btn[aria-pressed="true"] {
  background: linear-gradient(135deg, #e60012 0%, #c0000f 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(230, 0, 18, 0.38) !important;
}

html body :is(.fc-filter-tabs, #fcDesktopModelTabs, #fcProdTabs) .fc-filter-count {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 22px !important;
  height: 20px !important;
  margin-left: 6px !important;
  padding: 0 6px !important;
  border-radius: 999px !important;
  background: rgba(230, 0, 18, 0.1) !important;
  color: #e60012 !important;
  font-size: 0.72rem !important;
  font-weight: 850 !important;
}

html body :is(.fc-filter-tabs, #fcDesktopModelTabs, #fcProdTabs) .fc-tab-btn.is-active .fc-filter-count,
html body :is(.fc-filter-tabs, #fcDesktopModelTabs, #fcProdTabs) .fc-tab-btn[aria-pressed="true"] .fc-filter-count {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

/* Master Vehicle Card Upgrade */
html body :is(.fc-models-grid, #fcProdGrid) :is(.fc-car-card, .fc-mcar-card) {
  position: relative !important;
  border-radius: 20px !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  background: #ffffff !important;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05), 0 0 0 1px rgba(15, 23, 42, 0.02) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  overflow: hidden !important;
}

html body :is(.fc-models-grid, #fcProdGrid) :is(.fc-car-card, .fc-mcar-card):hover {
  border-color: rgba(230, 0, 18, 0.3) !important;
  box-shadow: 0 22px 48px -10px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(230, 0, 18, 0.2) !important;
  transform: translateY(-8px) !important;
}

/* Minimalist Streamlined fc-panorama-info-card (Desktop & Mobile) */
html body .fc-panorama-info-card {
  position: absolute !important;
  bottom: 16px !important;
  left: 16px !important;
  z-index: 5 !important;
  width: max-content !important;
  max-width: calc(100% - 32px) !important;
  padding: 14px 18px !important;
  background: rgba(7, 17, 28, 0.88) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

html body .fc-panorama-text,
html body .fc-panorama-tags-row {
  display: none !important;
}

html body .fc-panorama-badge {
  font-family: var(--fc-font-title, sans-serif) !important;
  font-size: 0.65rem !important;
  font-weight: 850 !important;
  color: var(--fc-red, #e60012) !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

html body .fc-panorama-title {
  font-family: var(--fc-font-title, sans-serif) !important;
  font-size: 0.98rem !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  margin: 0 0 4px 0 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.25 !important;
}

html body .fc-panorama-cta-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 2px !important;
}

html body .fc-panorama-cta-row .fc-btn {
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 16px !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  border-radius: 8px !important;
}

@media (max-width: 767px) {
  html body .fc-panorama-info-card {
    bottom: 12px !important;
    left: 12px !important;
    right: 12px !important;
    max-width: calc(100% - 24px) !important;
    padding: 12px 14px !important;
  }
  html body .fc-panorama-title {
    font-size: 0.88rem !important;
  }
  html body .fc-panorama-cta-row .fc-btn {
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 10px !important;
    font-size: 0.68rem !important;
  }
}

/* Product & Pricing Page Bottom Alignment Upgrade (fc-quick-actions-bar & fc-pricing-footnote-card) */
html body:is(.fc-products-listing, .page-template-products, .page-template-templatesproducts-php, .fc-pricing-page-vip, .page-template-pricing) #main .fc-quick-actions-wrap {
  width: 100% !important;
  max-width: 100% !important;
  margin: 2.25rem 0 1rem 0 !important;
  padding: 0 !important;
}

@media (min-width: 992px) {
  html body:is(.fc-products-listing, .page-template-products, .page-template-templatesproducts-php, .fc-pricing-page-vip, .page-template-pricing) #main .fc-quick-actions-bar {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04) !important;
    padding: 8px !important;
    box-sizing: border-box !important;
  }

  html body:is(.fc-products-listing, .page-template-products, .page-template-templatesproducts-php, .fc-pricing-page-vip, .page-template-pricing) #main .fc-quick-item {
    box-sizing: border-box !important;
    min-width: 0 !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
  }

  html body:is(.fc-products-listing, .page-template-products, .page-template-templatesproducts-php, .fc-pricing-page-vip, .page-template-pricing) #main .fc-quick-title {
    font-size: 0.76rem !important;
    font-weight: 850 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

@media (max-width: 991px) {
  html body:is(.fc-products-listing, .page-template-products, .page-template-templatesproducts-php, .fc-pricing-page-vip, .page-template-pricing) #main .fc-quick-actions-bar {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    gap: 12px !important;
    padding: 8px 4px 14px 4px !important;
    scrollbar-width: none !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    grid-template-columns: none !important;
  }

  html body:is(.fc-products-listing, .page-template-products, .page-template-templatesproducts-php, .fc-pricing-page-vip, .page-template-pricing) #main .fc-quick-actions-bar::-webkit-scrollbar {
    display: none !important;
  }

  html body:is(.fc-products-listing, .page-template-products, .page-template-templatesproducts-php, .fc-pricing-page-vip, .page-template-pricing) #main .fc-quick-item {
    flex: 0 0 255px !important;
    width: 255px !important;
    max-width: 255px !important;
    min-width: 250px !important;
    scroll-snap-align: start !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 12px 14px !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    box-sizing: border-box !important;
  }

  html body:is(.fc-products-listing, .page-template-products, .page-template-templatesproducts-php, .fc-pricing-page-vip, .page-template-pricing) #main .fc-quick-title {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    white-space: normal !important;
    line-height: 1.25 !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  html body:is(.fc-products-listing, .page-template-products, .page-template-templatesproducts-php, .fc-pricing-page-vip, .page-template-pricing) #main .fc-quick-sub {
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
    font-size: 11.5px !important;
    white-space: normal !important;
    line-height: 1.25 !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
}

html body:is(.fc-products-listing, .page-template-products, .page-template-templatesproducts-php, .fc-pricing-page-vip, .page-template-pricing) #main .fc-pricing-footnote-card {
  width: 100% !important;
  max-width: 100% !important;
  margin: 1.25rem 0 2.5rem 0 !important;
  border-radius: 16px !important;
  box-sizing: border-box !important;
}

/* Pricing Page Filter Deck Alignment Override (fc-prod-filter-wrap & fcPriceTabs) */
html body:is(.fc-pricing-page-vip, .page-template-pricing, .page-template-templatespricing-php) #main .fc-prod-filter-wrap {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  margin-bottom: 2rem !important;
}

html body:is(.fc-pricing-page-vip, .page-template-pricing, .page-template-templatespricing-php) #main :is(.fc-prod-filter-tabs, #fcPriceTabs, #fcPricingTabs) {
  width: max-content !important;
  max-width: calc(100vw - 32px) !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 6px !important;
  height: 52px !important;
  min-height: 52px !important;
  margin: 0 auto !important;
  padding: 4px 5px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06) !important;
  box-sizing: border-box !important;
}

html body:is(.fc-pricing-page-vip, .page-template-pricing, .page-template-templatespricing-php) #main :is(.fc-prod-filter-tabs, #fcPriceTabs, #fcPricingTabs) .fc-tab-btn {
  flex: none !important;
  width: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 44px !important;
  padding: 0 20px !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #475569 !important;
  font-family: var(--fc-font-title, sans-serif) !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

html body:is(.fc-pricing-page-vip, .page-template-pricing, .page-template-templatespricing-php) #main :is(.fc-prod-filter-tabs, #fcPriceTabs, #fcPricingTabs) .fc-tab-btn:hover {
  color: #0f172a !important;
  background: rgba(241, 245, 249, 0.9) !important;
}

html body:is(.fc-pricing-page-vip, .page-template-pricing, .page-template-templatespricing-php) #main :is(.fc-prod-filter-tabs, #fcPriceTabs, #fcPricingTabs) .fc-tab-btn.is-active,
html body:is(.fc-pricing-page-vip, .page-template-pricing, .page-template-templatespricing-php) #main :is(.fc-prod-filter-tabs, #fcPriceTabs, #fcPricingTabs) .fc-tab-btn[aria-pressed="true"] {
  background: linear-gradient(135deg, #e60012 0%, #c0000f 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(230, 0, 18, 0.38) !important;
}

html body:is(.fc-pricing-page-vip, .page-template-pricing, .page-template-templatespricing-php) #main :is(.fc-prod-filter-tabs, #fcPriceTabs, #fcPricingTabs) .fc-filter-count {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 22px !important;
  height: 20px !important;
  margin-left: 6px !important;
  padding: 0 6px !important;
  border-radius: 999px !important;
  background: rgba(230, 0, 18, 0.1) !important;
  color: #e60012 !important;
  font-size: 0.72rem !important;
  font-weight: 850 !important;
}

html body:is(.fc-pricing-page-vip, .page-template-pricing, .page-template-templatespricing-php) #main :is(.fc-prod-filter-tabs, #fcPriceTabs, #fcPricingTabs) .fc-tab-btn.is-active .fc-filter-count,
html body:is(.fc-pricing-page-vip, .page-template-pricing, .page-template-templatespricing-php) #main :is(.fc-prod-filter-tabs, #fcPriceTabs, #fcPricingTabs) .fc-tab-btn[aria-pressed="true"] .fc-filter-count {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

@media (max-width: 767px) {
  html body:is(.fc-pricing-page-vip, .page-template-pricing, .page-template-templatespricing-php) #main .fc-prod-filter-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    justify-content: flex-start !important;
    padding: 4px 12px !important;
  }
  html body:is(.fc-pricing-page-vip, .page-template-pricing, .page-template-templatespricing-php) #main :is(.fc-prod-filter-tabs, #fcPriceTabs, #fcPricingTabs) {
    width: max-content !important;
    max-width: none !important;
  }
/* Hide fc-subheading on Pricing Page Desktop & Mobile */
html body:is(.fc-pricing-page-vip, .page-template-pricing, .page-template-templatespricing-php) #main .fc-subheading {
  display: none !important;
}

html body:is(.fc-pricing-page-vip, .page-template-pricing, .page-template-templatespricing-php) #main .fc-section-header {
  margin-bottom: clamp(1.8rem, 3vw, 2.5rem) !important;
}
}

