/*
Plugin Name: Havenlytics – Real Estate & Property Listings for WordPress
Plugin URI: https://wordpress.org/plugins/havenlytics/
Description: A property listing plugin for WordPress that allows users to easily manage and display property listings.
Version: 1.0.3
Author: Havenlytics
Author URI: https://havenlytics.com
Text Domain: havenlytics
Domain Path: /languages
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');


:root {
  /* ======================
     Typography & Fonts
  ======================= */
  --havenlytics-bodyFont: "Plus Jakarta Sans", sans-serif;
  --havenlytics-headingFont: 'Montserrat', sans-serif;
  
  /* ======================
     Core Color Palette
  ======================= */
  --havenlytics-primary: #6C60FE;       /* Primary brand color */
  --havenlytics-secondary: #764ba2;     /* Secondary accent color */
  --havenlytics-accent: #FF9AA2;        /* Accent for urgent elements */
  --havenlytics-success: #00B46A;       /* Success states */
  --havenlytics-alert: #FF4D4F;         /* Error/alert states */
  --havenlytics-light: #f8f9fa;
  --havenlytics-dark: #333;
  --havenlytics-gray: #6c757d;
  --havenlytics-border: #eee;
  --havenlytics-card-shadow: 0px 4px 24px rgba(189, 189, 189, 0.24);



  /* ======================
     Neutral Colors
  ======================= */
  --havenlytics-text-primary: #1E1E2F;  /* Primary text */
  --havenlytics-text-secondary: #555;   /* Secondary text */
  --havenlytics-border: #E4E4ED;        /* Borders and dividers */
  --havenlytics-bg-light: #F8F8F8;      /* Light backgrounds */
  --havenlytics-bg-white: #FFFFFF;      /* Pure white */

  /* ======================
     Property Status Colors
  ======================= */
  --havenlytics-status-sale: #6C60FE;   /* For Sale */
  --havenlytics-status-rent: #00C2A8;   /* For Rent */
  --havenlytics-status-pending: #FFB507;/* Pending */
  --havenlytics-status-sold: #FF4D4F;   /* Sold */
  --havenlytics-status-off: #9192A3;    /* Off Market */

  /* ======================
     Property Card Elements
  ======================= */
  --havenlytics-cardBg: var(--havenlytics-bg-white);
  --havenlytics-cardShadow: 0 4px 12px rgba(0,0,0,0.08);
  --havenlytics-cardRadius: 8px;
  --havenlytics-cardPadding: 1.5rem;
  --havenlytics-cardBorder: 1px solid var(--havenlytics-border);

  /* ======================
     Typography Scale
  ======================= */
  --havenlytics-titleSize: 24px;     /* Property title */
  --havenlytics-priceSize: 1.5rem;      /* Price text */
  --havenlytics-metaSize: 0.875rem;     /* Meta info */
  --havenlytics-excerptSize: 0.95rem;   /* Description */
  --havenlytics-labelSize: 0.9rem;      /* Form labels */

  /* ======================
     Interactive Elements
  ======================= */
  /* Buttons */
  --havenlytics-btnPrimaryBg: var(--havenlytics-primary);
  --havenlytics-btnPrimaryHover: #5944f0;
  --havenlytics-btnText: #fff;
  --havenlytics-btnRadius: 4px;
  --havenlytics-btnPadding: 0.75rem 1.5rem;

  /* Pagination */
  --havenlytics-pagActiveBg: var(--havenlytics-primary);
  --havenlytics-pagActiveText: #fff;
  --havenlytics-pagHoverBg: #f0f0f0;

  /* ======================
     Property Features
  ======================= */
  --havenlytics-featureIconSize: 1.25rem;
  --havenlytics-featureIconColor: currentColor;
  --havenlytics-priceColor: var(--havenlytics-primary);
  --havenlytics-sqftColor: var(--havenlytics-text-secondary);

  /* ======================
     Font Weights
  ======================= */
  --havenlytics-fontWeight-light: 300;
  --havenlytics-fontWeight-normal: 400;
  --havenlytics-fontWeight-medium: 500;
  --havenlytics-fontWeight-semibold: 600;
  --havenlytics-fontWeight-bold: 700;
  --havenlytics-fontWeight-Extrabold: 700;


  /* ======================
     Media & Visuals
  ======================= */
  --havenlytics-imageRatio: 75%;        /* 4:3 aspect ratio */
  --havenlytics-imageHoverScale: 1.05;
  --havenlytics-videoBg: #1E1E2F;

  /* ======================
     Spacing & Transitions
  ======================= */
  --havenlytics-baseSpacing: 1.1rem;
  --havenlytics-sectionSpacing: 3rem;
  --havenlytics-transitionTime: 0.3s ease;

  /* ======================
     Form Elements
  ======================= */
  --havenlytics-inputBorder: var(--havenlytics-border);
  --havenlytics-inputFocus: var(--havenlytics-primary);
  --havenlytics-inputRadius: 4px;

  /* ======================
     Map & Location
  ======================= */
  --havenlytics-mapMarkerBg: var(--havenlytics-primary);
  --havenlytics-mapMarkerText: #fff;
  --havenlytics-mapClusterBg: var(--havenlytics-alert);

  /* ======================
     Additional Components
  ======================= */
  --havenlytics-ribbonBg: var(--havenlytics-accent);
  --havenlytics-tagBg: var(--havenlytics-bg-light);
  --havenlytics-tagColor: var(--havenlytics-text-primary);
}

/* ======================
   Optional Add-ons
======================= */
/* Price Range Slider */
:root {
  --havenlytics-sliderTrack: #eee;
  --havenlytics-sliderThumb: var(--havenlytics-primary);
  --havenlytics-sliderRange: var(--havenlytics-secondary);
}

/* Dark Mode Overrides */
@media (prefers-color-scheme: dark) {
  :root {
    --havenlytics-text-primary: #FFFFFF;
    --havenlytics-text-secondary: #B0B0C0;
    --havenlytics-bg-light: #1A1A2F;
    --havenlytics-bg-white: #2D2D45;
    --havenlytics-border: #3A3A4F;
  }
}

.havenlytics-main-section {
    padding: 40px 0;
}

/* ===== RESET & BASE STYLES ===== */
html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--havenlytics-bodyFont);
  background-color: var(--havenlytics-bg-light);
  color: var(--havenlytics-text-primary);
  line-height: 1.6;
   font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}


img {
  max-width: 100%;
  height: auto;
}
.havenlytics-main-section a, 
.havenlytics-main-section a:not(.havenlytics-main-section a) {
    text-decoration: none !important;
}
a {
  color: var(--havenlytics-text-primary);
  cursor: pointer;
  text-decoration: none;
  -webkit-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
 a:hover {
  color: var(--havenlytics-primary);
  -webkit-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
 a:focus {
  outline: 0;
  color: var(--havenlytics-primary);
  -webkit-transition: all 0.5s ease;
}

.havenlytics-main-section p {
  margin-bottom: 15px;
}
.havenlytics-main-section p:last-child {
  margin-bottom: 0;
}
@media (max-width: 767.78px) {
  .havenlytics-main-section p {
    font-size: 15px;
  }
}

.havenlytics-main-section strong {
  font-weight: 700;
}
ol, ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
 h1, h2, h3, h4, h5, h6{
 
    font-family: var(--havenlytics-bodyFont);
}
 h1, h2, h3, h4, h5, h6, p, li, a{
 
    color: var(--havenlytics-text-primary);
}


.havenlytics-main-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.havenlytics-main-section ul li{
  color: var(--havenlytics-gray);font-family: var(--havenlytics-bodyFont);
}
.havenlytics-property-title{
  font-size: var(--havenlytics-titleSize)!important;
  font-weight: var(--havenlytics-fontWeight-semibold) !important;
   font-family: var(--havenlytics-headingFont)!important;
  color: var(--havenlytics-text-primary)!important;
  margin-bottom: 0.8rem !important;line-height: 1.3em!important;
}
.havenlytics-property-title a:hover, .havenlytics-property-title a:focus, .havenlytics-property-title a:active {
    color: var(--havenlytics-primary);
}

@media (max-width: 991.98px) {
  .container {
    max-width: 100%;
  }
}

/*-----------------
	Grid
-----------------------*/

.col {
  width: auto;
  padding-left: 15px;
  padding-right: 15px;
  float: left;
  position: relative;
  min-height: 1px;
}
@media (min-width: 320px) {
  .col.col-xs-12 {
    width: 100%;
  }
  .col.col-xs-11 {
    width: 91.66666667%;
  }
  .col.col-xs-10 {
    width: 83.33333333%;
  }
  .col.col-xs-9 {
    width: 75%;
  }
  .col.col-xs-8 {
    width: 66.66666667%;
  }
  .col.col-xs-7 {
    width: 58.33333333%;
  }
  .col.col-xs-6 {
    width: 50%;
  }
  .col.col-xs-5 {
    width: 41.66666667%;
  }
  .col.col-xs-4 {
    width: 33.33333333%;
  }
  .col.col-xs-3 {
    width: 25%;
  }
  .col.col-xs-2 {
    width: 16.66666667%;
  }
  .col.col-xs-1 {
    width: 8.33333333%;
  }
}
@media (min-width: 568px) {
  .col.col-sm-12 {
    width: 100%;
  }
  .col.col-sm-11 {
    width: 91.66666667%;
  }
  .col.col-sm-10 {
    width: 83.33333333%;
  }
  .col.col-sm-9 {
    width: 75%;
  }
  .col.col-sm-8 {
    width: 66.66666667%;
  }
  .col.col-sm-7 {
    width: 58.33333333%;
  }
  .col.col-sm-6 {
    width: 50%;
  }
  .col.col-sm-5 {
    width: 41.66666667%;
  }
  .col.col-sm-4 {
    width: 33.33333333%;
  }
  .col.col-sm-3 {
    width: 25%;
  }
  .col.col-sm-2 {
    width: 16.66666667%;
  }
  .col.col-sm-1 {
    width: 8.33333333%;
  }
}
@media (min-width: 768px) {
  .col.col-md-12 {
    width: 100%;
  }
  .col.col-md-11 {
    width: 91.66666667%;
  }
  .col.col-md-10 {
    width: 83.33333333%;
  }
  .col.col-md-9 {
    width: 75%;
  }
  .col.col-md-8 {
    width: 66.66666667%;
  }
  .col.col-md-7 {
    width: 58.33333333%;
  }
  .col.col-md-6 {
    width: 50%;
  }
  .col.col-md-5 {
    width: 41.66666667%;
  }
  .col.col-md-4 {
    width: 33.33333333%;
  }
  .col.col-md-3 {
    width: 25%;
  }
  .col.col-md-2 {
    width: 16.66666667%;
  }
  .col.col-md-1 {
    width: 8.33333333%;
  }
}
@media (min-width: 1024px) {
  .col.col-lg-12 {
    width: 100%;
  }
  .col.col-lg-11 {
    width: 91.66666667%;
  }
  .col.col-lg-10 {
    width: 83.33333333%;
  }
  .col.col-lg-9 {
    width: 75%;
  }
  .col.col-lg-8 {
    width: 66.66666667%;
  }
  .col.col-lg-7 {
    width: 58.33333333%;
  }
  .col.col-lg-6 {
    width: 50%;
  }
  .col.col-lg-5 {
    width: 41.66666667%;
  }
  .col.col-lg-4 {
    width: 33.33333333%;
  }
  .col.col-lg-3 {
    width: 25%;
  }
  .col.col-lg-2 {
    width: 16.66666667%;
  }
  .col.col-lg-1 {
    width: 8.33333333%;
  }
}

/*-----------------
 Buttons
-----------------------*/
.btn-primary {
  font-weight: 700;
  font-size: 15px;
  color: var(--havenlytics-bg-white);
  background-color: var(--havenlytics-primary);
  border: 1px solid var(--havenlytics-primary);
  box-shadow: inset 0 0 0 0 #F6F6F9;
  border-radius: 10px;
  padding: 12px 15px;
  -webkit-transition: 0.5s;
  -ms-transition: 0.5s;
  transition: 0.5s;
}
@media (max-width: 767.78px) {
  .btn-primary {
    font-size: 14px;
    padding: 10px 15px;
  }
}
.btn-primary:focus, 
.btn-primary:hover, 
.btn-primary:active, 
.btn-primary.active {
  color: #8A909A;
  background-color: #F6F6F9;
  border-color: #F6F6F9;
  box-shadow: inset 0 50px 0 0 #F6F6F9;
  -webkit-transition: 0.5s;
  -ms-transition: 0.5s;
  transition: 0.5s;
}

.btn-secondary {
  font-weight: 700;
  font-size: 15px;
  color: #8A909A;
  background-color: #F6F6F9;
  border: 1px solid #F6F6F9;
  box-shadow: inset 0 0 0 0 var(--havenlytics-primary);
  border-radius: 10px;
  padding: 12px 15px;
  -webkit-transition: 0.5s;
  -ms-transition: 0.5s;
  transition: 0.5s;
}
@media (max-width: 767.78px) {
  .btn-secondary {
    font-size: 14px;
    padding: 10px 15px;
  }
}
button:focus, 
.btn-secondary:focus, 
.btn-secondary:hover, 
.btn-secondary:active, 
.btn-secondary.active {
  color: var(--havenlytics-bg-white);
  background-color: var(--havenlytics-primary);
  border-color: var(--havenlytics-primary);
  box-shadow: inset 0 50px 0 0 var(--havenlytics-primary);
  -webkit-transition: 0.5s;
  -ms-transition: 0.5s;
  transition: 0.5s;
}

.btn-lightred {
  font-weight: 700;
  font-size: 15px;
  font-weight: 700;
  color: var(--havenlytics-bg-white);
  background: #FD3358;
  border: 1px solid #FD3358;
  -webkit-transition: 0.5s;
  -ms-transition: 0.5s;
  transition: 0.5s;
  box-shadow: inset 0 0 0 0 var(--havenlytics-bg-white);
  border-radius: 10px;
  padding: 12px 15px;
}
.btn-lightred:focus, 
.btn-lightred:hover, 
.btn-lightred:active, 
.btn-lightred.active {
  color: #FD3358;
  background-color: var(--havenlytics-bg-white);
  border-color: #FD3358;
  box-shadow: inset 0 50px 0 0 var(--havenlytics-bg-white);
  -webkit-transition: 0.5s;
  -ms-transition: 0.5s;
  transition: 0.5s;
}

.btn-check:active + .btn-dark:focus,
.btn-check:checked + .btn-dark:focus,
.btn-dark.active:focus,
.btn-dark:active:focus,
.show > .btn-dark.dropdown-toggle:focus {
  box-shadow: inherit;
}

.btn-primary:not(:disabled):not(.disabled).active, 
.btn-primary:not(:disabled):not(.disabled):active, 
.show > .btn-primary.dropdown-toggle {
  background-color: var(--havenlytics-bg-white);
  border-color: var(--havenlytics-primary);
  color: var(--havenlytics-primary);
}

.btn-primary.active:focus:not(:disabled):not(.disabled),
.btn-primary:active:focus:not(:disabled):not(.disabled),
.show > .btn-primary.dropdown-toggle:focus {
  box-shadow: unset;
}

.btn-primary.disabled, .btn-primary:disabled {
  background-color: var(--havenlytics-bg-white);
  border-color: var(--havenlytics-primary);
  color: var(--havenlytics-primary);
}

.btn-secondary.active:focus:not(:disabled):not(.disabled),
.btn-secondary:active:focus:not(:disabled):not(.disabled),
.show > .btn-secondary.dropdown-toggle:focus {
  box-shadow: unset;
}

.btn-secondary:not(:disabled):not(.disabled).active, 
.btn-secondary:not(:disabled):not(.disabled):active, 
.show > .btn-secondary.dropdown-toggle {
  background-color: var(--havenlytics-bg-white);
  border-color: var(--havenlytics-secondary);
  color: var(--havenlytics-secondary);
}

/*-----------------
	 Bootstrap Class
-----------------------*/
.form-group {
  margin-bottom: 20px;
}
.form-group .forgot-link {
  color: #FD3358;
  font-weight: 700;
  font-size: 15px;
  float: right;
}
.form-group .forgot-link:hover {
  color: var(--havenlytics-primary);
}
.form-group .pass-group {
  position: relative;
}

.form-control {
  font-size: 14px;
  background: #F6F6F9;
  border: 1px solid #f4f4f4;
  border-radius: 5px;
  color: #0E0E46;
  min-height: 50px;
  margin: 0;
  padding: 9px 15px;
}
@media (max-width: 991.98px) {
  .form-control {
    min-height: 40px;
  }
}
.form-control::-webkit-input-placeholder {
  font-size: 14px;
  color: #8A909A;
  font-weight: 400;
}
.form-control::-moz-placeholder {
  font-size: 14px;
  color: #8A909A;
  font-weight: 400;
}
.form-control:-ms-input-placeholder {
  font-size: 14px;
  color: #8A909A;
  font-weight: 400;
}
.form-control::-ms-input-placeholder {
  font-size: 14px;
  color: #8A909A;
  font-weight: 400;
}
.form-control::placeholder {
  font-size: 14px;
  color: #8A909A;
  font-weight: 400;
}
.form-control:focus {
  box-shadow: none;
  outline: 0 none;
  border-color: #EEEEEE;
}

.card {
  border: 1px solid #EEEEEE;
  background: var(--havenlytics-bg-white);
  border-radius: 0;
  margin-bottom: 24px;
  box-shadow: 0px 4px 24px rgba(234, 234, 234, 0.3);
}
.card .card-header {
  background-color: transparent;
  border: 0;
  padding: 24px;
}
.card .card-header .card-title {
  margin-bottom: 0;
  font-weight: 700;
  font-size: 20px;
  color: #000;
}
.card .card-body {
  padding: 24px;
}

label {
  color: #0E0E46;
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
}
label span {
  color: #FF0000;
}

.modal-backdrop {
  background-color: #15152F;
  opacity: 0.95;
}
.modal-backdrop.show {
  opacity: 0.95;
}

.bootstrap-datetimepicker-widget table td.active {
  background-color: var(--havenlytics-primary);
}
.bootstrap-datetimepicker-widget table td.active:hover {
  background-color: var(--havenlytics-primary);
}

.card {
  color: inherit;
}

.card-title {
  color: #0E0E46;
}



/* BASE BUTTON STYLES */
a.havenlytics-btn-primary{
  text-decoration: none;

}
.havenlytics-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;text-decoration: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform: translateZ(0);
    text-align: center;
    color: var(--havenlytics-bg-white);font-family: var(--havenlytics-bodyFont);
}

/* STYLE 1: LIQUID FILL */
.havenlytics-btn-style-1 {
    background: transparent;
    color: var(--havenlytics-primary);
    border: 2px solid var(--havenlytics-primary);
    /* box-shadow: 0 0 20px rgba(108, 96, 254, 0.2); */
}

.havenlytics-btn-style-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--havenlytics-primary);
    z-index: -1;
    transition: height 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.havenlytics-btn-style-1:hover {
    color: var(--havenlytics-bg-white);
    box-shadow: 0 0 40px rgba(108, 96, 254, 0.5);
}

.havenlytics-btn-style-1:hover::before {
    height: 100%;
}

/* STYLE 2: CIRCLE FILL */
.havenlytics-btn-style-2 {
    background: transparent;
    color: var(--havenlytics-primary);
    border: 2px solid var(--havenlytics-primary);
    overflow: hidden;
}

.havenlytics-btn-style-2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 300px;
    height: 300px;
    background: var(--havenlytics-primary);
    border-radius: 50%;
    z-index: -1;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.havenlytics-btn-style-2:hover {
    color: var(--havenlytics-bg-white);
}

.havenlytics-btn-style-2:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

/* STYLE 3: TEXT SLIDE */
.havenlytics-btn-style-3 {
    background: var(--havenlytics-primary);
    color: var(--havenlytics-bg-white);
    overflow: hidden;
}

.havenlytics-btn-style-3 span {
    display: block;
    position: relative;
    transition: transform 0.4s ease;
}

.havenlytics-btn-style-3:hover span {
    transform: translateY(-150%);
}

.havenlytics-btn-style-3::after {
    content: attr(data-text);
    position: absolute;
    top: 150%;
    left: 0;
    width: 100%;
    text-align: center;
    transition: transform 0.4s ease;
}

.havenlytics-btn-style-3:hover::after {
    transform: translateY(-150%);
}

/* STYLE 4: BORDER SWIPE */
.havenlytics-btn-style-4 {
    background: transparent;
    color: var(--havenlytics-primary);
    border: 2px solid var(--havenlytics-primary);;
    position: relative;
}

.havenlytics-btn-style-4::before,
.havenlytics-btn-style-4::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--havenlytics-primary);
    transition: all 0.6s ease;
}

.havenlytics-btn-style-4::before {
    top: -10px;
    left: -10px;
    border-right: 0;
    border-bottom: 0;
}

.havenlytics-btn-style-4::after {
    bottom: -10px;
    right: -10px;
    border-left: 0;
    border-top: 0;
}

.havenlytics-btn-style-4:hover {
    background: var(--havenlytics-accent);  color: var(--havenlytics-bg-white);
}

.havenlytics-btn-style-4:hover::before,
.havenlytics-btn-style-4:hover::after {
    width: calc(100% + 18px);
    height: calc(100% + 18px);
}

/* STYLE 5: DIAGONAL SWIPE */
.havenlytics-btn-style-5 {
    background: transparent;
    color: var(--havenlytics-primary);
    border: 2px solid var(--havenlytics-primary);
    position: relative;
    z-index: 1;
}

.havenlytics-btn-style-5::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--havenlytics-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 0 100%, 0 100%);
}

.havenlytics-btn-style-5:hover {
    color: var(--havenlytics-bg-white);
}

.havenlytics-btn-style-5:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* STYLE 6: SHADOW PULL */
.havenlytics-btn-style-6 {
    background: var(--havenlytics-primary);
    color: var(--havenlytics-bg-white);
    box-shadow: 0 6px 0 var(--havenlytics-primary-dark);
    transform: translateY(0);
    transition: all 0.2s ease;
}

.havenlytics-btn-style-6:hover {
    transform: translateY(4px);
    box-shadow: 0 2px 0 var(--havenlytics-primary-dark);
}

/* STYLE 7: UNDERLINE REVEAL */
.havenlytics-btn-style-7 {
    background: transparent;
    color: var(--havenlytics-primary);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.havenlytics-btn-style-7::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--havenlytics-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.havenlytics-btn-style-7:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.havenlytics-btn-style-7:hover {
    background: rgba(108, 96, 254, 0.05);
}

/* STYLE 8: DOUBLE BORDER */
.havenlytics-btn-style-8 {
    background: transparent;
    color: var(--havenlytics-primary);
    border: 2px solid var(--havenlytics-primary);
    position: relative;
}

.havenlytics-btn-style-8::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 2px solid var(--havenlytics-primary);
    opacity: 0;
    transition: all 0.4s ease;
}

.havenlytics-btn-style-8:hover::before {
    opacity: 1;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
}

/* STYLE 9: 3D PRESS */
.havenlytics-btn-style-9 {
    background: var(--havenlytics-primary);
    color: var(--havenlytics-bg-white);
    border-radius: 12px;
    box-shadow: 
        0 8px 0 var(--havenlytics-primary-dark),
        0 15px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    transition: all 0.2s ease;
}

.havenlytics-btn-style-9:hover {
    transform: translateY(3px);
    box-shadow: 
        0 5px 0 var(--havenlytics-primary-dark),
        0 8px 10px rgba(0, 0, 0, 0.3);
}

/* STYLE 10: GLOWING HOVER */
.havenlytics-btn-style-10 {
    background: transparent;
    color: var(--havenlytics-primary);
    border: 2px solid var(--havenlytics-primary);
    box-shadow: 0 0 15px transparent;
    transition: all 0.4s ease;
}

.havenlytics-btn-style-10:hover {
    box-shadow: 0 0 25px var(--havenlytics-primary);
    text-shadow: 0 0 10px rgba(108, 96, 254, 0.8);
    background: rgba(108, 96, 254, 0.1);
}

@media (max-width: 767px) {
    .havenlytics-btn-primary {
        padding: 12px 20px;
    }
}


/* ========== PAGINATION STYLES ========== */
.heavenlytics-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px; margin-bottom: 20px;
    gap: 8px;
}

.heavenlytics-pagination .page-numbers {
    display: inline-block;
    padding: 10px 18px !important;
    background: var(--havenlytics-bg-white);
    border-radius: 8px;
    text-decoration: none;
    color: var(--havenlytics-dark);
    font-weight: 500;
    box-shadow: var(--havenlytics-card-shadow);
    transition: all 0.3s ease;font-family: var(--havenlytics-bodyFont);
}

.heavenlytics-pagination .page-numbers:hover,
.heavenlytics-pagination .page-numbers.current {
    background: var(--havenlytics-primary);
    color: var(--havenlytics-bg-white);
}

.heavenlytics-pagination .page-numbers.dots {
    background: none;
    box-shadow: none;
}



/* Popup Gallery Styles */
.havenlytics_gallery_fancybox_container {
    max-width: 1200px;
    margin: 0 auto;
}
.havenlytics_gallery_fancybox_header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
}

.havenlytics_gallery_fancybox_logo {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(to right, var(--havenlytics-primary), var(--havenlytics-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    text-shadow: 0 4px 20px rgba(254, 180, 123, 0.3); /* Can keep this for light glow */
}

.havenlytics_gallery_fancybox_title {
    font-size: 3.2rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px;
    background: linear-gradient(to right, var(--havenlytics-success), var(--havenlytics-success));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}



.havenlytics_gallery_fancybox_subtitle {
    font-size: 1.2rem;
    opacity: 0.85;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.havenlytics_gallery_fancybox_gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
    position: relative;
    z-index: 5;
}

.havenlytics_gallery_fancybox_gallery-item {
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: auto;
    position: relative;
    transform: translateY(0);
    opacity: 0.95;
}

.havenlytics_gallery_fancybox_gallery-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    opacity: 1;
    z-index: 10;
}

.havenlytics_gallery_fancybox_gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.havenlytics_gallery_fancybox_gallery-item:hover img {
    transform: scale(1.15);
}

.havenlytics_gallery_fancybox_gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    font-size: 1.1rem;
    font-weight: 500;
}

.havenlytics_gallery_fancybox_gallery-item:hover .havenlytics_gallery_fancybox_gallery-caption {
    transform: translateY(0);
}

/* Lightbox Styles with Heavenlytics prefix and right-side thumbnails */
.havenlytics_gallery_fancybox_fancybox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 35, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    backdrop-filter: blur(10px);
}

.havenlytics_gallery_fancybox_fancybox.active {
    opacity: 1;
    visibility: visible;
}

.havenlytics_gallery_fancybox_fancybox_content {
    position: relative;
    display: flex;
    max-height: 90vh;
    width: 90vw;
    max-width: 1400px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: scale(0.8);
    opacity: 0;
}

.havenlytics_gallery_fancybox_fancybox.active .havenlytics_gallery_fancybox_fancybox_content {
    transform: scale(1);
    opacity: 1;
}

/* Main image area */
.havenlytics_gallery_fancybox_fancybox_main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(20, 25, 50, 0.7);
    border-radius: 20px 0 0 20px;
    padding: 30px;
    overflow: hidden;
    position: relative;
}

.havenlytics_gallery_fancybox_fancybox_img_wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.havenlytics_gallery_fancybox_fancybox_img {
    max-height: 70vh;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s ease, opacity 0.4s ease;
    transform: translateX(0);
    opacity: 1;
}

.havenlytics_gallery_fancybox_fancybox_img.slide-out-left {
    transform: translateX(-100px);
    opacity: 0;
}

.havenlytics_gallery_fancybox_fancybox_img.slide-out-right {
    transform: translateX(100px);
    opacity: 0;
}

.havenlytics_gallery_fancybox_fancybox_img.slide-in-left {
    transform: translateX(100px);
    opacity: 0;
}

.havenlytics_gallery_fancybox_fancybox_img.slide-in-right {
    transform: translateX(-100px);
    opacity: 0;
}

.havenlytics_gallery_fancybox_fancybox_caption {
    color: #fff;
    font-size: 1.8rem;
    margin-top: 25px;
    text-align: center;
    padding: 15px 30px;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
    align-self: center;
}

/* Property Info Button */
.havenlytics_gallery_fancybox_fancybox_property {
    margin-top: 20px;
    text-align: center;
}

.havenlytics_gallery_fancybox_property_button {
    display: inline-block;
    background:var(--havenlytics-primary);
    color: var(--havenlytics-bg-white);
    font-size: 1.2rem;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;

    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* .havenlytics_gallery_fancybox_property_button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(to right, var(--havenlytics-secondary), var(--havenlytics-accent));
    transition: width 0.5s ease;
    z-index: -1;
} */
a.havenlytics_gallery_fancybox_property_button:hover{
  color: var(--havenlytics-bg-white);
}

/* .havenlytics_gallery_fancybox_property_button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 126, 95, 0.6);
} */

/* .havenlytics_gallery_fancybox_property_button:hover::before {
    width: 100%;
} */

.havenlytics_gallery_fancybox_property_button i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.havenlytics_gallery_fancybox_property_button:hover i {
    transform: translateX(5px);
}

/* Thumbnails on the right side - ENHANCED */
.havenlytics_gallery_fancybox_fancybox_sidebar {
    width: 200px;
    background: rgba(15, 20, 45, 0.8);
    border-radius: 0 20px 20px 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.havenlytics_gallery_fancybox_fancybox_thumbnails {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    scrollbar-width: thin;
    scrollbar-color: var(--havenlytics-primary) rgba(255,255,255,0.1);
}

.havenlytics_gallery_fancybox_fancybox_thumbnails::-webkit-scrollbar {
    width: 8px;
}

.havenlytics_gallery_fancybox_fancybox_thumbnails::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.havenlytics_gallery_fancybox_fancybox_thumbnails::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--havenlytics-primary), var(--havenlytics-accent));
    border-radius: 10px;
}

/* Thumbnail enhancements */
.havenlytics_gallery_fancybox_fancybox_thumb {
    width: 100%;
    height: 100px;
    min-height: 100px; /* Minimum height for thumbnails */
    border-radius: 12px;
    overflow: hidden;
    opacity: 0.6;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: scale(0.95);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    flex-shrink: 0; /* Prevent shrinking */
}

.havenlytics_gallery_fancybox_fancybox_thumb:hover, 
.havenlytics_gallery_fancybox_fancybox_thumb.havenlytics_gallery_fancybox_active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 8px 25px var(--havenlytics-card-shadow);
}

.havenlytics_gallery_fancybox_fancybox_thumb.havenlytics_gallery_fancybox_active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid var(--havenlytics-primary);
    border-radius: 10px;
    z-index: 2;
}

.havenlytics_gallery_fancybox_fancybox_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.havenlytics_gallery_fancybox_fancybox_thumb:hover img {
    transform: scale(1.1);
}

/* Controls */
.havenlytics_gallery_fancybox_fancybox_close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    z-index: 10;
}

.havenlytics_gallery_fancybox_fancybox_close:hover {
    transform: rotate(90deg) scale(1.1);
    background: rgba(255, 90, 90, 0.3);
}

.havenlytics_gallery_fancybox_fancybox_nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 3rem;
    cursor: pointer;
    opacity: 0.85;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.15);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
    z-index: 10;
}

.havenlytics_gallery_fancybox_fancybox_nav:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    background: rgba(255, 255, 255, 0.25);
}

.havenlytics_gallery_fancybox_fancybox_prev {
    left: 20px;
}

.havenlytics_gallery_fancybox_fancybox_next {
    right: 20px;
}

.havenlytics_gallery_fancybox_fancybox_counter {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.3rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 30px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    font-weight: 500;
    z-index: 10;
}

/* Features section */
.havenlytics_gallery_fancybox_features {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    margin-top: 70px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.havenlytics_gallery_fancybox_features h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    background: linear-gradient(to right, #a8ff78, #78ffd6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.havenlytics_gallery_fancybox_features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.havenlytics_gallery_fancybox_feature-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.havenlytics_gallery_fancybox_feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,126,95,0.15), rgba(254,180,123,0.15));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.havenlytics_gallery_fancybox_feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.havenlytics_gallery_fancybox_feature-card:hover::before {
    opacity: 1;
}

.havenlytics_gallery_fancybox_feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #feb47b;
    transition: transform 0.4s ease;
}

.havenlytics_gallery_fancybox_feature-card:hover .havenlytics_gallery_fancybox_feature-icon {
    transform: scale(1.2) rotate(10deg);
}

.havenlytics_gallery_fancybox_feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #78ffd6;
}

.havenlytics_gallery_fancybox_feature-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
}

.havenlytics_gallery_fancybox_footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.2rem;
    opacity: 0.7;
}

/* Scroll to top button */
.havenlytics_gallery_fancybox_scroll_top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(to right, #ff7e5f, #feb47b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.havenlytics_gallery_fancybox_scroll_top.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .havenlytics_gallery_fancybox_fancybox_sidebar {
        width: 160px;
    }
    
    .havenlytics_gallery_fancybox_fancybox_thumb {
        height: 80px;
        min-height: 80px;
    }
}

@media (max-width: 768px) {
    .havenlytics_gallery_fancybox_gallery {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    .havenlytics_gallery_fancybox_fancybox_content {
        flex-direction: column;
        max-height: 90vh;
        width: 90vw;
    }
    
    .havenlytics_gallery_fancybox_fancybox_main {
        border-radius: 20px 20px 0 0;
        padding: 15px;
    }
    
    .havenlytics_gallery_fancybox_fancybox_sidebar {
        width: 100%;
        border-radius: 0 0 20px 20px;
        height: 150px;
    }
    
    .havenlytics_gallery_fancybox_fancybox_thumbnails {
        flex-direction: row;
        padding: 10px;
    }
    
    .havenlytics_gallery_fancybox_fancybox_thumb {
        width: 100px;
        height: 70px;
        min-height: 70px;
    }
    
    .havenlytics_gallery_fancybox_fancybox_nav {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .havenlytics_gallery_fancybox_fancybox_caption {
        font-size: 1.4rem;
        padding: 10px 20px;
    }
    
    .havenlytics_gallery_fancybox_title {
        font-size: 2.5rem;
    }
}

/* Animations */
@keyframes havenlytics_gallery_fancyboxFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

.havenlytics_gallery_fancybox_floating {
    animation: havenlytics_gallery_fancyboxFloat 6s ease-in-out infinite;
}





/*-----------------
   Havenlytics Sticky sidebar
-----------------------*/
.havenlytics_sticky_sidebar {
  position: sticky;
  top: 0px;
  z-index: 10;
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: all 0.6s ease-in-out;
  will-change: transform, opacity;
  pointer-events: none;
}

.havenlytics_sticky_sidebar.sticky-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.havenlytics_sticky_sidebar .agent-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.havenlytics_sticky_sidebar .agent-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.havenlytics_sticky_sidebar.sticky-visible .agent-avatar:hover {
  transform: scale(1.1);
}

.havenlytics_sticky_sidebar .contact-form input,
.havenlytics_sticky_sidebar .contact-form textarea {
  width: 100%;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.havenlytics_sticky_sidebar .contact-form button {
  width: 100%;
  background-color: var(--havenlytics-primary);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.havenlytics_sticky_sidebar .contact-form button:hover {
  background-color:var(--havenlytics-accent);
}
