/*
Theme Name: WaiPlans
Theme URI: https://waidevelopmentgroup.com/
Author: Christian Jimenez
Author URI: https://waidevelopmentgroup.com/
Description: Custom theme for showcasing house plans in Mexico.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: waiplans
Tags: custom, real estate, house plans
*/

/* full body css  */
body {
  background: url('/wp-content/themes/waiplans/assets/images/bg-texture.jpg') no-repeat center center fixed;
  background-size: cover;
  /* background-color: #e9e0d3; */
  background-color: #ddc8aa;
  /* background-color: #dacbb7; */
  font-family: 'Inter', sans-serif;
}

body {
  margin: 0;
  padding: 0;
}

.page-template-home-page .site-content,
.page-template-home-page .site-main,
.page-template-home-page .entry-content {
  margin: 0;
  padding: 0;
  width: 100%;
}


/*  menu css  */
.site-header {
  background-color: #d2b28e; /* warmer beige like reference */
  width: 100%;
  padding: 1.25rem 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 999;
}


.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  position: relative;
}

.site-nav ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav a {
  text-decoration: none;
  color: #3c2f27;
  font-weight: 700;
  text-transform: uppercase;
  font-family: 'Merriweather', serif;
  font-size: 0.95rem;
  letter-spacing: 0.7px;
  transition: color 0.3s ease;
}

.site-nav a:hover {
  color: #634832;
}

.menu-right {
  position: absolute;
  right: 2rem;
}

/* Menu list */
.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Menu links */
.nav-menu a {
  text-decoration: none;
  color: #3c2f27;
  font-weight: 700;
  text-transform: uppercase;
  font-family: 'Merriweather', serif;
  font-size: 0.95rem;
  letter-spacing: 0.7px;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #634832;
}




/* font & color consistency  */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Merriweather:wght@700&display=swap');

body, h1, h2, h3, p, a {
  font-family: 'Inter', sans-serif;
}




.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.site-nav ul {
  display: flex;
  gap: 0rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav a {
  text-decoration: none;
  color: #3c2f27;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  transition: color 0.3s ease;
}

.site-nav a:hover {
  color: #634832;
}




.featured-styles {
    padding: 4rem 2rem;
    text-align: center;
  }
  
  .featured-styles h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-family: 'Merriweather', serif;
    font-weight: 700;
    color: #3c2f27;
  } 
  
  .style-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }
  
  .style-card {
    width: 260px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease;
    background: #fff;
    font-family: 'Inter', sans-serif;
  }
  
  .style-card:hover {
    transform: translateY(-6px);
  }
  
  .style-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .style-card p {
    background-color: #634832; /* Mexican brown/earthy tone */
    color: #fff;
    font-weight: 600;
    margin: 0;
    padding: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    text-align: center;
    border-radius: 0 0 16px 16px;
  } 
  
  /* MATERIALS GRID */
.materials-showcase {
  padding: 4rem 2rem;
  text-align: center;
}

.materials-showcase h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-family: 'Merriweather', serif;
  color: #3c2f27;
}

.materials-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.material-card {
  width: 260px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease;
  background: #fff;
  font-family: 'Inter', sans-serif;
}

.material-card:hover {
  transform: translateY(-6px);
}

.material-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #f0f0f0;
}

.material-card p {
  background-color: #634832;
  color: #fff;
  font-weight: 600;
  margin: 0;
  padding: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
  text-align: center;
  border-radius: 0 0 16px 16px;
}

.featured-house-plans {
  padding: 2rem 2rem;
  text-align: center;
}

.featured-house-plans h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-family: 'Merriweather', serif;
  color: #3c2f27;
}

.plan-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.plan-card {
  width: 260px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease;
  background: #fff;
  font-family: 'Inter', sans-serif;
  text-align: left;
}

.plan-card:hover {
  transform: translateY(-6px);
}

.plan-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #f0f0f0;
}

.plan-info {
  padding: 1rem;
  background-color: #634832;
  border-radius: 0 0 16px 16px;
  text-align: center;
}

.plan-info h3 {
  font-size: 0.95rem;
  margin: 0;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-info p {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: #fff;
}

/* MEGA DROPDOWN BASE */
.nav-menu li.menu-item-has-children {
  position: relative;
}

/* .nav-menu li.menu-item-has-children:hover > .mega-menu {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
} */

.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100vw;
  padding: 2rem;
  background-color: #f5e7d3;
  z-index: 998;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

/* MEGA MENU STYLE CARD */
.mega-menu .style-card {
  width: 180px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.mega-menu .style-card:hover {
  transform: translateY(-5px);
}

.mega-menu .style-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.mega-menu .style-card p {
  background-color: #634832;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0.75rem;
  margin: 0;
}

.mega-menu-footer {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
}

.all-events-link {
  display: inline-block;
  background-color: #634832;
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  
}

.all-events-link:hover {
  background-color: #3c2f27;
}

a.all-events-link {
  color: #fefefe;
}

.mega-toggle {
  background: none;
  border: none;
  font-size: 1rem;
  /* margin-left: 0.4rem; */
  cursor: pointer;
  color: #3c2f27;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.mega-toggle.open {
  transform: rotate(180deg);
}

.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 53vw;
  padding: 2rem;
  background-color: #f5e7d3;
  z-index: 997;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(7px);
  pointer-events: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.mega-menu.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.about-waiplans {
  background-color: #e9dfd0; /* subtle warm contrast */
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 16px;
  margin: 4rem auto;
  max-width: 900px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}

.about-divider {
  width: 60px;
  height: 4px;
  background-color: #634832;
  margin: 0 auto 1rem;
  border-radius: 2px;
}

.about-heading {
  font-family: 'Merriweather', serif;
  font-size: 1.8rem;
  color: #3c2f27;
  margin-bottom: 1rem;
  font-weight: 700;
}

.about-text {
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  color: #3c2f27;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
}

.about-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  background-color: #634832;
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.about-button:hover {
  background-color: #3c2f27;
}


/* about section css */
.about-section {
  position: relative;
  background-size: cover;
  background-position: 0px -510px;
  height: 363px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(0px);
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 1;
    align-content: center;
}

.about-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 2rem;
    justify-self: center;
}

.about-content h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  font-family: 'Merriweather', serif;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
}

.view-all-wrapper {
  text-align: center;
  margin-top: 2.5rem;
}

.view-all-button {
  background-color: #634832;
  color: #fff;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  font-size: 0.95rem;
  letter-spacing: 0.6px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 1.06);
}

.view-all-button:hover {
  background-color: #3c2f27;
  transform: translateY(-2px);
}

.plan-info a,
.plan-info a:visited,
.plan-info a:hover,
.plan-info a:focus {
  text-decoration: none;
  color: #fff; /* or your preferred color */
}

.plan-card a:visited h3 {
  color: #fff;
  text-decoration: none;
}

.style-card a,
.style-card a:visited,
.plan-card a,
.plan-card a:visited {
  text-decoration: none;
  color: inherit;
}


.testimonials {
  background: url('/wp-content/themes/waiplans/assets/images/testimonials-bg.png') center center/cover no-repeat;
  padding: 5rem 2rem;
  color: #fff;
  position: relative;
  text-align: center;
}

.testimonial-overlay {
  /* background-color: rgba(0, 0, 0, 0.4); */
  /* padding: 4rem 2rem; */
  border-radius: 12px;
  /* max-width: 1280px; */
  margin: 0 auto;
}

.testimonial-overlay h2 {
  font-size: 2.25rem;
  font-family: 'Merriweather', serif;
  margin-bottom: 3rem;
  color: #fefefe;
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.testimonial-card {
  padding: 1.5rem;
  max-width: 280px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: #fefefe;
  font-family: 'Inter', sans-serif;
}

.testimonial-card .quote {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-card .author {
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.testimonial-card .stars {
  color: gold;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .testimonial-grid {
    flex-direction: column;
    align-items: center;
  }
}


/* == SECTION BACKGROUNDS == */
.bg-tan-dark {
  background-color: #b79670;
}

.testimonials,
.featured-house-plans.bg-tan-dark {
  background-color: #b79670;
}

/* == UNIVERSAL STYLING == */
.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #4a2e1f;
  font-weight: 600;
}

/* == HOW IT WORKS == */
.how-it-works {
  padding: 4rem 2rem;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}
.how-it-works .steps {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  margin-top: 2rem;
}
.how-it-works .step {
  flex: 1;
}
.how-it-works .step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #7b4b30;
}

/* == TESTIMONIAL SECTION == */
.testimonials {
  padding: 4rem 2rem;
}
.testimonials h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}
.testimonial-grid {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.testimonial-card .quote {
  font-style: italic;
  margin-bottom: 1rem;
}
.testimonial-card .author {
  font-weight: 600;
  color: #5a3e2b;
}
.testimonial-card .stars {
  margin-top: 0.5rem;
  color: #ffb400;
}

/* == BUTTON STYLES == */
.view-all-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 12px 20px;
  background-color: #5a3e2b;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.view-all-button:hover {
  background-color: #7b4b30;
}

.journey-section {
  padding: 4rem 2rem;
  background-color: #ddc8aa;
  text-align: center;
}

.journey-section h2 {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: #3c2f27;
}

.journey-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
}

/* .journey-step {
  flex: 1 1 220px;
  max-width: 240px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journey-step:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
} */

.journey-step .icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.journey-step h3 {
  font-size: 1.1rem;
  color: #4a2e1f;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.journey-step p {
  font-size: 0.95rem;
  color: #3c2f27;
  line-height: 1.5;
}

.journey-step {
  flex: 1 1 220px;
  max-width: 240px;
  padding: 0;
  background: none;
  box-shadow: none;
  text-align: center;
}

.journey-step:hover .icon,
.journey-step:hover h3,
.journey-step:hover p {
  transform: translateY(-4px) scale(1.05);
}

.journey-step .icon,
.journey-step h3,
.journey-step p {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.journey-step:hover .icon {
  filter: drop-shadow(0 0 6px rgba(255, 192, 118, 0.5));
}


.featured-styles-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.featured-styles-backdrop {
  position: relative;
  z-index: 1;
  padding: 1rem 1rem
}

.featured-styles-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.35); /* your dark overlay */
  z-index: 0;
}


/* Inner content container */
.featured-styles-overlay {
  border-radius: 12px;
  max-width: 1280px;
  margin: 0 auto;
}

.featured-styles-overlay h2 {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #fff;
}

.featured-styles-overlay .style-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.featured-styles-overlay .style-card {
  width: 260px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  background: #fff;
  font-family: 'Inter', sans-serif;
}

.featured-styles-overlay .style-card:hover {
  transform: translateY(-6px);
}

.featured-styles-overlay .style-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #f0f0f0;
}

.featured-styles-overlay .style-card p {
  background-color: #634832;
  color: #fff;
  font-weight: 600;
  margin: 0;
  padding: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
  text-align: center;
  border-radius: 0 0 16px 16px;
}

.hero-section {
  position: relative;
  height: 65vh;
  min-height: 400px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background-position: 0px -363px;
}

.hero-section .hero-content {
  z-index: 2;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.3); /* optional: subtle dark overlay behind text */
  border-radius: 8px;
}

.style-card-link {
  text-decoration: none;
  display: inline-block;
}

/* footer section */


.site-footer {
  background-color: #d2b28e;
  color: #fff;
  padding: 3rem 2rem 1rem;
  font-family: 'Inter', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
}


.footer-column {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-column {
  display: flex;
  justify-content: center;
  gap: 4rem;
}


.footer-column h4 {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #fff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #3c2f27;
}

.footer-form input {
  padding: 0.5rem;
  border: none;
  border-radius: 4px;
  margin-right: 0.5rem;
  width: 70%;
}

.footer-form button {
  padding: 0.5rem 1rem;
  background-color: #634832;
  border: none;
  border-radius: 4px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.footer-form button:hover {
  background-color: #3c2f27;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #eee;
}

/* == ALL BLUEPRINTS STYLES == */

.all-blueprints-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem;
  font-family: 'Inter', sans-serif;
}

.all-blueprints-page h2 {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  text-align: center;
  color: #3c2f27;
  margin-bottom: 2.5rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-bar select {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 0.9rem;
  background-color: #fefefe;
}

.filter-bar button {
  padding: 0.6rem 1.25rem;
  background-color: #634832;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.filter-bar button:hover {
  background-color: #3c2f27;
}

.blueprint-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.blueprint-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #f0f0f0;
  display: block;
}

.blueprint-card .info {
  padding: 1rem;
  background-color: #634832;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 0 0 16px 16px;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .filter-bar {
    flex-direction: column;
    align-items: center;
  }

  .blueprint-card {
    width: 90%;
  }
}


/* =============================== */
/* === ALL BLUEPRINTS PAGE CSS === */
/* =============================== */

.all-blueprints-container {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.filters-sidebar {
  width: 250px;
  background-color: #f3e8d4;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}

.filters-sidebar h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: #5a3e2b;
}

.filters-sidebar label {
  display: block;
  margin: 0.75rem 0 0.25rem;
  font-weight: 600;
  color: #4a2e1f;
}

.filters-sidebar select,
.filters-sidebar input[type="text"],
.filters-sidebar input[type="checkbox"] {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #c0a98d;
  border-radius: 8px;
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
}

.filters-sidebar button {
  margin-top: 1.25rem;
  padding: 0.65rem 1.25rem;
  background-color: #5a3e2b;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.filters-sidebar button:hover {
  background-color: #7b4b30;
}

.filter-section {
  border: 1px solid #d5c5aa;
  background-color: #fef9f1;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.filter-section h4 {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  color: #5a3e2b;
  font-weight: 700;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #4a2e1f;
}

.blueprints-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  justify-content: center; /* keeps the cards centered on small counts */
  align-items: stretch; /* ensures full column height usage */
}



.blueprint-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.blueprint-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.blueprint-card .card-body {
  padding: 1rem;
  text-align: center;
}

.blueprint-card .card-body h4 {
  font-size: 1.1rem;
  font-weight: bold;
  color: #3c2f27;
  margin-bottom: 0.5rem;
}

.blueprint-card .card-body p {
  font-size: 0.9rem;
  color: #5a3e2b;
  margin: 0.25rem 0;
}

/* Mobile Collapse Filter */
@media (max-width: 768px) {
  .all-blueprints-container {
    flex-direction: column;
    padding: 1rem;
  }

  .filters-sidebar {
    width: 100%;
    margin-bottom: 2rem;
    display: none;
  }

  .filters-sidebar.active {
    display: block;
  }

  .filter-toggle-btn {
    background-color: #5a3e2b;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    margin-bottom: 1rem;
  }

  .filter-toggle-btn:hover {
    background-color: #7b4b30;
  }
}
@media (min-width: 769px) {
  .filter-toggle-btn {
    display: none;
  }
}

.blueprint-card {
  background-color: #fdf6ef;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: auto;
}

.blueprint-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blueprint-card .card-body {
  padding: 1rem;
  text-align: left;
  font-size: 0.85rem;
  color: #3c2f27;
  line-height: 1.4;
}

.blueprint-card .card-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #3c2f27;
  padding-bottom: 2%;
}

.blueprint-card .card-body p {
  margin-bottom: 0.3rem;
}

.blueprint-card {
  min-height: 440px; /* tweak as needed */
}

.special-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.5rem;
  margin-top: 1rem;
  font-family: 'Inter', sans-serif;
}

.special-grid div {
  text-align: left;
  border-left: 3px solid #b79670;
  padding-left: 0.75rem;
}

.special-grid .label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  color: #7b4b30;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
  letter-spacing: 0.5px;
}

.special-grid .value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #3c2f27;
}

/* Set a consistent height for the entire card */
.blueprint-card {
  display: flex;
  flex-direction: column;
  height: 95%;
  min-height: 460px; /* adjust based on content size */
}

/* Consistent image height */
.blueprint-card img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

/* Lock card-body to flex grow */
.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
}


/* Keep spec grid from shrinking unevenly */
.spec-grid {
  margin-top: auto;
}

.filters-sidebar {
  position: sticky;
  top: 100px; /* adjust based on your header */
  align-self: flex-start;
}

.blueprint-card {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.filters-sidebar select,
.filters-sidebar input[type="number"] {
  border-radius: 10px;
  border: 1px solid #ccb99b;
  background-color: #fff;
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
}

.blueprints-hero {
  position: relative;
  height: 60vh;
  min-height: 360px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blueprints-hero-overlay {
  background-color: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blueprints-hero-content {
  text-align: center;
  color: #fff;
  z-index: 2;
  padding: 2rem;
  max-width: 720px;
}

.blueprints-hero-content h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.blueprints-hero-content p {
  font-size: 1.1rem;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

/* Blueprint Hero Section */
.blueprints-hero {
  position: relative;
  height: 50vh;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blueprints-hero-overlay {
  background-color: rgba(0, 0, 0, 0.45);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blueprints-hero-content {
  color: #fff;
  text-align: center;
  padding: 2rem;
}

.blueprints-hero-content h1 {
  font-size: 2.5rem;
  font-family: 'Merriweather', serif;
  margin-bottom: 1rem;
}

.blueprints-hero-content p {
  font-size: 1.2rem;
}

/* Pagination */
.pagination {
  text-align: center;
  margin-top: 2rem;
}

.pagination a,
.pagination span {
  display: inline-block;
  margin: 0 6px;
  padding: 8px 12px;
  color: #634832;
  background: #fef9f1;
  border: 1px solid #d7c4a5;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.pagination .current {
  background-color: #634832;
  color: #fff;
  border-color: #634832;
}

/* Plan Code Above Title */
.plan-id {
  font-weight: 700;
  color: #5a3e2b;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

/* Save Button */
.favorite-btn {
  margin-top: 1rem;
  background: none;
  border: 2px solid #e2d5c1;
  color: #634832;
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.favorite-btn:hover {
  background-color: #f8eee0;
}

/* FontAwesome icon styling */
.favorite-icon {
  font-size: 1.2rem;
  color: #ccc;
  cursor: pointer;
  transition: color 0.3s ease;
}

.favorite-icon.favorited {
  color: red;
}

/* Optional favorite wrapper for spacing */
.favorite-wrapper {
  text-align: right;
  padding: 0.5rem 1rem 0;
}


.favorite-icon {
  font-size: 1.3rem;
  color: #ccc;
  cursor: pointer;
  transition: color 0.2s ease;
}

.favorite-icon.saved {
  color: #e63946;
}

.favorite-icon {
  cursor: pointer;
  font-size: 20px;
  transition: color 0.3s ease;
}

.favorite-icon.saved {
  color: red;
}


/* =============================== */
/* === END OF BLUEPRINT STYLING === */
/* =============================== */

/* =============================== */
/* === All Saved Plans === */
/* =============================== */
.empty-saved-plans {
  text-align: center;
  margin: 80px auto;
  max-width: 600px;
  padding: 20px;
  background-color: #fdf9f4;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.empty-saved-plans p {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: #333;
}

.btn-browse {
  display: inline-block;
  padding: 12px 24px;
  background-color: #8c5e37;
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-browse:hover {
  background-color: #744b2d;
  transform: translateY(-1px);
}

.favorites-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

/* =============================== */
/* === END All Saved Plans === */
/* =============================== */

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-footer {
  margin-top: auto;
}

.single-house-plan-wrapper {
  background: #fff;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
  max-width: 1000px;
  margin: 2rem auto;
}

.blueprint-hero img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.blueprint-title h1 {
  font-size: 2.5rem;
  margin-bottom: 0.3em;
  color: #3a2618;
}

.style-meta {
  font-style: italic;
  margin-bottom: 1rem;
  color: #6b4d3a;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.summary-grid div {
  background: #fdfbf8;
  padding: 0.75rem 1rem;
  border-radius: 0px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
  color: #5f3d2d;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.blueprint-description h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #4a3225;
}

.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin: 0.5rem 1rem 1rem 0;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.button.primary {
  background: #5f3d2d;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.button.outline {
  border: 2px solid #5f3d2d;
  color: #5f3d2d;
  background: transparent;
}

.button.ghost {
  color: #999;
  background: transparent;
}

body.single-house-plan,
body.page-template-house-plans-viewer {
  max-width: 1200px;
  margin: 0 auto;
  background: #fdf7f2;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}


.blueprint-image img {
  max-width: 100%;
  max-height: 600px;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
}

.favorite-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.favorite-wrapper .favorite-icon {
  font-size: 1.5rem;
  cursor: pointer;
  color: #5f3d2d;
}

.favorite-wrapper .favorite-icon.saved {
  color: red;
}

.blueprint-hero.container {
  border-left: 2px solid #ddd;
  border-right: 2px solid #ddd;
  padding: 2rem;
  background: #fdf8f3;
}

.blueprint-gallery {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0;
}

.gallery-slide img {
  max-height: 320px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  flex-shrink: 0;
}

.blueprint-description {
  border-left: 2px solid #ddd;
  border-right: 2px solid #ddd;
  padding: 2rem;
  background: #fff8f2;
}

.favorite-wrapper {
  margin-bottom: 1rem;
}

.favorite-wrapper .favorite-icon {
  font-size: 1.8rem;
  color: #5f3d2d;
  cursor: pointer;
}

.favorite-wrapper .favorite-icon.saved {
  color: #c42d2d;
}

.page-wrap {
  padding: 2rem 3rem;
  max-width: 1140px;
  margin: 0 auto;
  background: #fffefb;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
}

.blueprint-gallery-slider {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 2rem 0;
}

.gallery-slide {
  min-width: 100%;
  text-align: center;
  display: none;
}

.gallery-slide img {
  max-width: 100%;
  max-height: 450px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.gallery-nav {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.gallery-nav.prev { left: 10px; }
.gallery-nav.next { right: 10px; }


.page-wrap {
  padding: 2rem 1rem;
  background-color: #f9f5ee;
}

.container.two-column-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.left-column {
  flex: 1 1 55%;
  min-width: 320px;
}

.right-column {
  flex: 1 1 40%;
}

.gallery-slide {
  display: none;
  max-height: 500px;
}

.gallery-slide img {
  width: 100%;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.gallery-slide:first-child {
  display: block;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.gallery-nav.prev { left: 10px; }
.gallery-nav.next { right: 10px; }

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.summary-grid div {
  background: #f0e5d8;
  padding: 1rem;
  border-radius: 0px;
  font-weight: 600;
  color: #5f3d2d;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.extra-details p {
  margin: 0.25rem 0;
  font-size: 0.95rem;
}

.blueprint-description h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
}

.button.outline {
  border: 2px solid #5f3d2d;
  color: #5f3d2d;
  background: transparent;
}

.button.ghost {
  color: #999;
  background: none;
}

.favorite-wrapper {
  margin-bottom: 1rem;
}

.favorite-icon {
  font-size: 1.5rem;
  color: #c23b22;
  cursor: pointer;
}

.title-and-favorite {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.favorite-wrapper-inline {
  font-size: 1.5rem;
  cursor: pointer;
  color: #5f3d2d;
  transition: color 0.3s ease;
}

.favorite-wrapper-inline .favorite-icon.fas {
  color: #e74c3c;
}

.more-info-button {
  margin-top: 12px;
  display: inline-block;
  background-color: #5a3e2b;
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.more-info-button:hover {
  background-color: #7a5638;
}


.plan-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    /* padding-bottom: 1rem; */
    transition: transform 0.2s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
}

.plan-image img {
  width: 100%;
  display: block;
  border-bottom: 1px solid #eee;
}

.plan-info {
  padding: 1rem;
}

.more-info-button {
  margin-top: 0.75rem;
  display: inline-block;
  background-color: #5a3e2b;
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.more-info-button:hover {
  background-color: #7a5638;
}


.blueprint-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 460px;
  background-color: #fdf6ef;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  overflow: hidden;
  animation: fadeInUp 0.4s ease forwards;
}

/* card display */

.blueprint-card .card-body {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  
}
.special-grid {
  overflow: auto;
  max-height: 200px;
}
.card-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #3c2f27;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.blueprints-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.blueprint-card {
  height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.special-grid div {
  padding-left: 0.5rem;
  font-size: 0.85rem;
  line-height: 1.3;
}

.blueprints-grid.favorites-page {
  flex: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  justify-content: center; /* keeps the cards centered on small counts */
  align-items: stretch; /* ensures full column height usage */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.blueprint-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  margin-top: auto;
}
.blueprint-card .card-body {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* NOT space-between */
  overflow: hidden;
}

.blueprint-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 550px;
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  /* REMOVE overflow + max-height */
}
.blueprint-card-footer {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e6d8c9;
}

/* …all your other rules… */

.all-blueprints-container {
  display: flex;
  gap: 2rem;
}

.filters-sidebar {
  width: 250px;
}

/* NEW: make the AJAX wrapper stretch */
.ajax-results-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ajax-results-wrap .blueprints-grid {
  width: 100%;
  /* rest is already grid-based */
}


/* you already have this, but just to be sure… */
.blueprints-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}


/* ——————————————————————————
   Account Page Base
   —————————————————————————— */
   .account-page {
    background: #F5EBDD;
    padding: 2rem 1rem;
    color: #333333;
    font-family: 'Poppins', sans-serif;
  }
  .account-page h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  /* ——————————————————————————
     Layout: Sidebar + Main
     —————————————————————————— */
  .account-layout {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  .account-sidebar {
    flex: 0 0 200px;
  }
  .account-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .account-sidebar li.account-tab {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: background 0.2s;
  }
  .account-sidebar li.account-tab:hover {
    background: rgba(210,105,30,0.1);
  }
  .account-sidebar li.account-tab.active {
    background: #D2691E;
    color: #FFFFFF;
  }
  
  /* ——————————————————————————
     Tab Sections
     —————————————————————————— */
  .account-main {
    flex: 1;
  }
  .tab-section {
    display: none;
  }
  .tab-section.active {
    display: block;
  }
  
  /* ——————————————————————————
     Profile Card
     —————————————————————————— */
  .profile-card {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 1rem;
    margin-bottom: 2rem;
  }
  .profile-card .avatar {
    margin-right: 1.5rem;
    border: 4px solid #D2691E;
    border-radius: 50%;
    padding: 4px;
    height: 105px;
    width: 105px;
  }
  .profile-card .details h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin: 0 0 0.25rem;
  }
  .profile-card .details p {
    margin: 0;
    color: #555;
  }
  
  /* ——————————————————————————
     Saved Plans Grid
     —————————————————————————— */
  .saved-plans h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
  }
  .blueprints-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
    gap: 1.5rem;
  }
  
  /* ——————————————————————————
     Account Form
     —————————————————————————— */
  .account-form {
    background: #FFFFFF;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    max-width: 400px;
  }
  .account-form label {
    font-weight: 500;
    color: #333;
  }
  .account-form input[type="text"],
  .account-form input[type="email"] {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
    border: 1px solid #DDD;
    border-radius: 4px;
    font-size: 1rem;
  }
  .account-form .button-primary {
    background: #D2691E;
    color: #FFF;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
  }
  .account-form .button-primary:hover {
    background: darken(#D2691E, 10%);
  }
  
  /* ——————————————————————————
     Decoration (optional)
     —————————————————————————— */
  /* Underline headings with turquoise pattern */
  .saved-plans h2::after,
  .account-info h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: #01949A;
    margin-top: 0.25rem;
  }
  /* You can replace the above with a repeating SVG/tile if you want the full Talavera effect */
  
  /* Preview snippet under Profile */
.saved-preview h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #333;
}
.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.view-all-link {
  color: #01949A;
  font-weight: 500;
}
.member-since {
  font-style: italic;
  color: #555;
  margin-top: 1rem;
}


/* Make the profile card a flex container */
.profile-card {
  display: flex;
  align-items: center;
  justify-content: space-between; /* avatar/details on left, logout on right */
}

/* Style the logout link like your More Info buttons */
.logout-button {
  display: inline-block;
  background-color: #01949A;       /* match your More Info primary color */
  color: #fff;                     /* white text */
  padding: 0.5rem 1rem;            /* same padding as More Info */
  border-radius: 4px;              /* match button corners */
  text-decoration: none;           /* remove underline */
  font-weight: 500;
  transition: background 0.2s;
}

.logout-button:hover {
  background-color: #017875;       /* slightly darker hover */
}


/* ==== AUTH FORMS LAYOUT ==== */
.account-auth {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin: 2rem 0;
}

.auth-forms {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 900px;
  width: 100%;
}

/* card style shared by login/register */
.auth-card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  flex: 1 1 300px;
}

/* Headings */
.auth-card h2 {
  margin-top: 0;
  color: #4A3723;  /* dark brown */
  font-size: 1.5rem;
}

/* Errors */
.auth-card .errors {
  margin-bottom: 1rem;
}
.auth-card .error {
  color: #C65A11;  /* brand orange */
  font-size: 0.9rem;
}

/* Form fields */
.auth-card form p {
  margin-bottom: 1rem;
}
.auth-card form label {
  font-weight: 500;
  color: #4A3723;
}
.auth-card form input[type="text"],
.auth-card form input[type="email"],
.auth-card form input[type="password"] {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-top: 0.25rem;
  font-size: 1rem;
}

/* Buttons */
.auth-card .button {
  display: inline-block;
  background-color: #C65A11;   /* your brand orange */
  color: #fff;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease;
}
.auth-card .button:hover {
  background-color: #a04e0e;   /* slightly darker */
}

/* Social login area */
.auth-card .social-login {
  margin-top: 1.5rem;
  text-align: center;
}
.auth-card .social-login p {
  margin-bottom: 0.5rem;
  color: #4A3723;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 600px) {
  .auth-forms {
    flex-direction: column;
  }
}



/* ====== LAYOUT ====== */
.account-layout {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}
.account-sidebar {
  flex: 0 0 200px;
}
.account-main {
  flex: 1;
}

/* ====== TABS ====== */
.account-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.account-sidebar .account-tab {
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  border-radius: 50px;
  color: #4A3723;               /* dark brown */
  transition: background 0.2s;
}
.account-sidebar .account-tab.active,
.account-sidebar .account-tab:hover {
  background-color: #C65A11;    /* your brand orange */
  color: #fff;
}

/* ====== SHOW/HIDE SECTIONS ====== */
.tab-section {
  display: none;
}
.tab-section.active {
  display: block;
}

/* ====== CARD STYLING ====== */
.profile-card,
.account-form {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

/* ====== FORM ELEMENTS ====== */
.account-form {
  max-width: 100%;
}
.account-form p {
  margin-bottom: 1.25rem;
}
.account-form label {
  display: block;
  font-weight: 600;
  color: #4A3723;
  margin-bottom: 0.25rem;
}
.account-form input[type="text"],
.account-form input[type="email"],
.account-form input[type="password"] {
  width: 100%;
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* ====== BUTTONS ====== */
.account-form .button,
.logout-button {
  display: inline-block;
  background-color: #C65A11;
  color: #fff;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease;
}
.account-form .button:hover,
.logout-button:hover {
  background-color: #a04e0e;
}

/* ====== PASSWORD SECTION ====== */
.account-form hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 2rem 0 1rem;
}

/* ====== MEMBER SINCE ====== */
.member-since {
  color: #666;
  font-size: 0.9rem;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .account-layout {
    flex-direction: column;
  }
  .account-sidebar {
    flex: none;
    margin-bottom: 1rem;
  }
}

/* Inside your two-column grid… */
.account-form .account-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  position: relative;
}

/* Add the divider */
.account-form .account-form-grid::before {
  content: "";
  position: absolute;
  top: 1.5rem;    /* how far down the divider starts */
  bottom: 1.5rem; /* how far up from the bottom */
  left: 0%;
  width: 1px;
  background-color: #ddd;
  transform: translateX(-50%);
}

/* Give each column some extra horizontal padding */
.account-form .profile-section {
  padding-right: 2rem;
}
.account-form .password-section {
  padding-left: 2rem;
}

/* Tidy up spacing under headings */
.account-form .profile-section p:first-child,
.account-form .password-section h3 {
  margin-top: 0;
}

/* Align buttons to bottoms of their columns */
.account-form .profile-section .button {
  margin-top: 1rem;
}
.account-form .password-section .button {
  margin-top: 1rem;
}

/* Make the info-card fill its parent */
.info-card {
  width: 100%;
  box-sizing: border-box; /* so padding doesn't push it wider */
  padding: 2rem;          /* match your other cards */
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Ensure the tab-section has enough horizontal padding */
.tab-section {
  padding: 0 1rem;  /* or whatever gutter you prefer */
}

/* If you want the card flush to the container edges, remove side padding */
@media (min-width: 768px) {
  .tab-section {
    padding: 0;
  }
}


.mega-menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  /* background: rgba(255,255,255,0.97); */
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  max-width: 900px;
  margin: 0 auto;
}

.style-card {
  overflow: hidden;
  border-radius: 0.75rem;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.style-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.style-card p {
  background: var(--primary-brown);
  color: #fff;
  margin: 0;
  text-align: center;
  padding: 0.5rem 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.style-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}

.mega-menu h2,
.style-card p {
  font-family: 'Inter', sans-serif;
}

.style-card p {
  font-size: 0.9rem;
  line-height: 1.3;
}
.mega-menu { font-size: 1rem; line-height: 1.4; }

.mega-menu {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.menu-item-has-children .mega-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-menu-footer {
  text-align: center;
  grid-column: 1 / -1;
  margin-top: 1.5rem;
}

.mega-menu-footer .all-events-link {
  display: inline-block;
  /* background: var(--primary-brown); */
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.2s ease;
}
.mega-menu-footer .all-events-link:hover {
  background: #5a3200;
}

/* make each slide flex so plan-card can size itself */
.featured-plans-swiper .swiper-slide {
  display: flex;
  justify-content: center;
}

/* style the arrows */
.featured-plans-swiper .swiper-button-prev,
.featured-plans-swiper .swiper-button-next {
  color: #fff;
}

/* spacing around the carousel */
.featured-plans-swiper {
  padding: 2rem 0;
}

/* fallback grid for no-JS */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 1.5rem;
}

a.all-events-link:hover {
  color: black;
}

.plan-image {
  position: relative;
  overflow: hidden;
  border-radius: .5rem;
}

.plan-image .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
}

.plan-image .swiper-button-prev,
.plan-image .swiper-button-next {
  color: #fff;
  opacity: .7;
  transition: opacity .2s;
}
.plan-image .swiper-button-prev:hover,
.plan-image .swiper-button-next:hover {
  opacity: 1;
}

.autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  /* border: 1px solid #ccc; */
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
}
.autocomplete-list li {
  padding: 8px;
  cursor: pointer;
}
.autocomplete-list li:hover {
  background: #f0f0f0;
}


/* wrap the search form so we can absolutely position the dropdown */
.site-nav form[role="search"] {
  position: relative;
}

/* the dropdown “panel” */
.autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: #fff;
  border-radius: .5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  list-style: none;
  padding: 0;
  max-height: 12rem;
  overflow-y: auto;
  z-index: 9999;
}

/* each result */
.autocomplete-list li {
  padding: .75rem 1rem;
  font-size: .9rem;
  color: #333;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  display: flex;
  align-items: center;
}
/* last item—no border */
.autocomplete-list li:last-child {
  border-bottom: none;
}

/* hover/focus */
.autocomplete-list li:hover,
.autocomplete-list li:focus {
  background: rgba(0,0,0,0.03);
  color: #111;
}

/* truncate really long titles */
.autocomplete-list li {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* make the search input a bit roomier on desktop */
@media (min-width: 768px) {
  .site-nav form[role="search"] input[name="s"] {
    width: 16rem;
    transition: width .3s ease;
  }
  .site-nav form[role="search"] input[name="s"]:focus {
    width: 20rem;
  }
}

/* 1) Make each suggestion full-width and stacked */
.autocomplete-list {
  display: block;       /* override any flex/grid */
}
.autocomplete-list li {
  display: block;       /* full width */
  padding: 0.75rem 1rem;
  margin: 0.25rem 0;    /* small gap between items */
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: background 0.2s ease, transform 0.2s ease;
}

/* 2) Hover/focus “lift” effect */
.autocomplete-list li:hover,
.autocomplete-list li:focus {
  background: #f5f2ec;               /* soft tint matching your palette */
  transform: translateY(-2px);
  cursor: pointer;
}

/* 3) Active/selected state */
.autocomplete-list li:active {
  background: #e8e3d3;
  transform: translateY(0);
}

/* 4) Text styling */
.autocomplete-list li {
  color: #333;                      /* darker than your buttons */
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.3;
}

/* 5) Container tweaks */
.site-nav form[role="search"] {
  position: relative;
}
.autocomplete-list {
  position: absolute;
  width: 100%;
  top: calc(100% + 0.5rem);
  left: 0;
  background: transparent;  /* set li backgrounds instead */
  box-shadow: none;         /* handled on each li */
  padding: 0;
  max-height: none;         /* let it grow; scroll if you like */
  overflow: visible;
  z-index: 10000;
}

/* ── Force the autocomplete into a vertical list ── */
.autocomplete-list {
  display: flex !important;
  flex-direction: column;
  gap: 0.5rem;              /* small gap between items */
}

.autocomplete-list li {
  display: block !important; /* override any flex from above */
  width: 100%;
  margin: 0;                 /* we’ll use the gap on the parent */
  padding: 0.75rem 1rem;
  background: #fff;
  border-radius: .5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* lift effect */
.autocomplete-list li:hover {
  background: #f5f2ec;
  transform: translateY(-2px);
}

/* active click state */
.autocomplete-list li:active {
  background: #e8e3d3;
  transform: none;
}


/* ============ SEARCH BAR ICON INSIDE ============ */

.search-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 20rem;  /* tweak as needed */
}

.search-wrapper input {
  width: 100%;
  padding: 0.5rem 2.5rem 0.5rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
}

.search-wrapper .search-icon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #634832;       /* your brand brown */
  pointer-events: none; /* clicks go through to the input */
  font-size: 1rem;      
}

li#menu-item-151 {
  padding-right: 20px;
}

.plan-image {
  position: relative;
}

.favorite-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255,255,255,0.85);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.favorite-btn:hover {
  background: rgba(255,255,255,1);
}

.favorite-icon {
  font-size: 1.2rem;
  color: #ccc;
  transition: color 0.2s;
}

.favorite-icon.saved {
  color: #e63946;
}


/* make the styles carousel full-width and position its arrows */
.featured-styles-swiper {
  position: relative;
  width: 100%;
  padding: 2rem 0;            /* vertical breathing room */
}
.featured-styles-swiper .swiper-wrapper {
  display: flex;              /* ensure slides line up horizontally */
}
.featured-styles-swiper .swiper-slide {
  /* each slide will be sized by Swiper, with a min-width */
  width: auto !important;
  flex-shrink: 0;
  display: flex;
  justify-content: center;    /* center the card in each slide */
}

/* style & position nav arrows outside the cards */
.featured-styles-swiper .swiper-button-prev,
.featured-styles-swiper .swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 2rem;
  height: 2rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.featured-styles-swiper .swiper-button-prev { left: -1rem; }
.featured-styles-swiper .swiper-button-next { right: -1rem; }


/* 1) Base: hide both WP sub-menus and your mega-menu */
.site-nav .nav-menu .sub-menu,
.site-nav .nav-menu .mega-menu {
  display: none;
  position: absolute;
  top: 100%;     /* drop down just below its parent link */
  left: 0;
  z-index: 999;
  background: #f5e7d3;        /* match your design */
  padding: 1rem;
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease,
              transform 0.3s ease;
}

/* 2) Show the WP sub-menu on hover */
.site-nav .nav-menu li.menu-item-has-children:hover > .sub-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* 3) Show your mega-menu on hover */
.site-nav .nav-menu li.has-mega-menu:hover > .mega-menu {
  display: flex;           /* or grid, whichever you prefer */
  width: 100vw;            /* or however wide you want the panel */
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* 4) Ensure the parent <li> is the positioning context */
.site-nav .nav-menu li.menu-item-has-children {
  position: relative;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0rem;
}

.site-branding .site-title {
  font-family: 'Merriweather', serif;  /* or whatever you love */
  font-size: 1.2rem;
  font-weight: 600;
  color: #3c2f27;
  text-decoration: none;
  text-transform: none;               /* keep it “normal case” */
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li + li {
  margin-left: 1.5rem;  /* space between each tab */
}

.nav-menu a {
  display: contents;
  padding: 0.5rem 0.75rem;
  color: #3c2f27;
  font-weight: 600;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
  border-radius: 4px;
}

.nav-menu a:hover {
  background: rgba(255,255,255,0.2);
  color: #634832;
}

#plan-search-form {
  margin-left: 2rem;
}

#plan-search-form input {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}

/* prevent any wrapping */
.nav-menu {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
}

/* reduce the gap between each <li> */
.nav-menu li + li {
  margin-left: 1rem;  /* or 0.75rem if you need them even tighter */
}

/* by default, hide the WP “home” link */
.nav-menu .company-home {
  display: none;
}

/* 1. Stop the header container from pushing the whole nav to the far right */
.site-header .container {
  justify-content: flex-start;
}

/* 2. Keep your menu items tight against the title,
      then push only the search form out to the right */
.site-nav {
  justify-content: flex-start;  /* shove everything to the left */
  gap: 22.5rem;                /* shrink the space between menu & search if you like */
}

#plan-search-form {
  margin-left: auto;  /* this pushes the search bar all the way to the right */
}

/* 3. If you still want a little breathing-room between each tab: */
.nav-menu li + li {
  margin-left: 1rem;  /* or .75rem if you want them even closer */
}

.featured-styles .style-grid {
  display: grid;  
  /* automatically fill the row with as many 240px-min cards as will fit */
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
}

.featured-styles .style-card {
  /* remove your fixed width */
  width: 100%;
}

.featured-styles .style-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.featured-styles .style-card {
  /* flex: grow, shrink, base-width */
  flex: 1 1 240px;  
  /* no more width:260px; */
  width: auto;
}

.sub-menu > li.menu-item.menu-item-type-custom.menu-item-object-custom {
      margin-left: 0;
}


/* 1) Position & container styling */
.nav-menu .sub-menu {
  position: absolute;
  top: 100%;               /* right under the parent <li> */
  right: 0;                /* align it under “My Account” */
  background: #f5e7d3;     /* warm beige */
  padding: 1rem 0;         /* vertical padding for all items */
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  min-width: 180px;        /* wide enough for your labels */
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  z-index: 999;
}

/* 2) Reveal on hover of its parent */
.nav-menu li.menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* 3) Tidy up the list items */
.nav-menu .sub-menu li {
  margin: 0;   /* reset any WP defaults */
}

/* 4) Style the links */
.nav-menu .sub-menu a {
  display: block;
  padding: 0.6rem 1rem;
  color: #3c2f27;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s ease, color 0.2s ease;
}

/* 5) Hover state on each link */
.nav-menu .sub-menu a:hover {
  background: #634832;
  color: #fff;
}

.checkbox-label input[type="checkbox"] {
    width: 10% !important;
}

.filters-close {
  display: none;
}

.clear-filters {
  display: none;
}

.favorite-icon.favorited {
  color: #c42d2d; /* or whatever “red” you like */
}
