/* Listen Hear Audio - Custom Styles */

/* Color Variables */
:root {
  --primary-blue: #0311FC;
  --primary-yellow: #FFFF00;
  --primary-dark: #232323;
  --text-grey: #4a4a4a;
  --light-grey: #f8f9fa;
  --white: #ffffff;
  /* Override Bootstrap's primary color */
  --bs-primary: #0311FC;
  --bs-primary-rgb: 3, 17, 252;
}

/* Override Bootstrap primary color classes */
.text-primary {
  color: var(--primary-blue) !important;
}

.bg-primary {
  background-color: var(--primary-blue) !important;
}

.btn-primary {
  background-color: var(--primary-blue) !important;
  border-color: var(--primary-blue) !important;
}

.btn-primary:hover {
  background-color: var(--primary-yellow) !important;
  border-color: var(--primary-yellow) !important;
  color: var(--primary-dark) !important;
}

.btn-outline-primary {
  color: var(--primary-blue) !important;
  border-color: var(--primary-blue) !important;
}

.btn-outline-primary:hover {
  background-color: var(--primary-blue) !important;
  border-color: var(--primary-blue) !important;
  color: var(--white) !important;
}

.border-primary {
  border-color: var(--primary-blue) !important;
}

/* Base Styles */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-grey);
  line-height: 1.6;
}

/* Default page background - can be overridden by specific pages */
body:not(.gallery-page) {
  background-color: var(--white);
}

/* Wider container for all pages */
.container {
  max-width: 1400px !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-dark);
  font-weight: 600;
}

/* Navigation Styles */
.navbar-custom {
  background-color: var(--primary-blue) !important;
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1050; /* Ensure navbar is above sticky elements */
}

.navbar-custom .container-fluid {
  padding-left: 2rem;
  padding-right: 2rem;
}

.navbar-custom .navbar-brand {
  color: var(--primary-yellow) !important;
  font-weight: 700;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.navbar-custom .navbar-brand:hover {
  color: var(--white) !important;
}

.navbar-logo {
  height: 35px;
  width: auto;
  object-fit: contain;
}

.navbar-custom .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-custom .nav-link:hover {
  color: var(--primary-yellow) !important;
}

.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-yellow);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-custom .nav-link:hover::after {
  width: 80%;
}

.navbar-toggler {
  border-color: var(--white);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Cart Badge */
.cart-badge {
  background-color: var(--primary-yellow);
  color: var(--primary-dark);
  border-radius: 50%;
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 0.3rem;
}

/* Footer Styles */
.footer {
  background: #06091a;
  color: var(--white);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer .container-fluid {
  padding-left: 2rem;
  padding-right: 2rem;
}

.footer h5 {
  color: var(--primary-yellow);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-yellow) !important;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

.footer-logo-text {
  color: var(--primary-yellow);
  transition: color 0.3s ease;
}

.footer-logo:hover .footer-logo-text {
  color: var(--white) !important;
}

.footer-logo-image {
  height: 35px;
  width: auto;
  object-fit: contain;
}

.footer-social a {
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--primary-yellow) !important;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 4px;
}

.newsletter-form button {
  background-color: var(--primary-blue);
  color: var(--white);
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background-color: var(--primary-yellow);
  color: var(--primary-dark);
}

/* Catalog Sidebar Navigation */
.catalog-sidebar {
  position: sticky;
  top: 20px;
  background-color: var(--light-grey);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar-title {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-blue);
}

.catalog-nav-link {
  color: var(--text-grey);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.25rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.catalog-nav-link i {
  font-size: 1.2rem;
  color: var(--primary-blue);
}

.catalog-nav-link:hover {
  background-color: var(--white);
  color: var(--primary-blue);
  text-decoration: none;
  transform: translateX(5px);
}

/* Property Nav Section */
.property-nav-section {
  margin-bottom: 0.5rem;
}

.property-nav-link {
  font-weight: 600;
  color: var(--primary-dark);
  text-decoration: none;
}

.property-nav-link .chevron-icon {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.property-nav-link .chevron-icon.rotated {
  transform: rotate(180deg);
}

.property-nav-link i:first-child {
  flex-shrink: 0;
}

/* Category Navigation List */
.category-nav-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 1.5rem;
}

.category-nav-list.show {
  max-height: 500px;
  margin-bottom: 0.5rem;
}

.category-nav-link {
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  color: var(--text-grey);
  border-left: 2px solid transparent;
  text-decoration: none;
}

.category-nav-link:hover {
  border-left-color: var(--primary-blue);
  background-color: rgba(0, 0, 255, 0.05);
}

/* Cart Item Images */
.cart-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
}

.cart-item-image-placeholder {
  width: 80px;
  height: 80px;
  background-color: var(--light-grey);
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 2rem;
}

/* Description Cards */
.property-type-description-card {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.property-type-description-card .card {
  border-width: 2px;
  border-left-width: 6px;
}

.category-description-card {
  margin-top: 0.5rem;
}

.subcategory-description-card {
  font-size: 0.9rem;
}

.category-subtitle {
  color: var(--primary-dark);
  font-weight: 600;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--light-grey);
  margin-bottom: 1rem;
}

/* Product Card Styles */
.product-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.product-card.in-cart {
  border-color: #28a745 !important;
  border-width: 2px !important;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.15) !important;
}

.product-card img {
  border-radius: 8px 8px 0 0;
  height: 200px;
  object-fit: cover;
}

/* Package Image & Features Overlay */
.package-image-container {
  position: relative;
  overflow: hidden;
}

.package-image {
  height: 200px;
  object-fit: cover;
  width: 100%;
  transition: transform 0.3s ease;
}

.product-card:hover .package-image {
  transform: scale(1.05);
}

.features-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.85) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card:hover .features-overlay {
  opacity: 1;
}

.features-content {
  width: 100%;
  max-height: 100%;
  overflow-y: auto;
  padding-right: 5px;
}

.features-content::-webkit-scrollbar {
  width: 4px;
}

.features-content::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
}

.features-content::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
}

.features-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.6);
}

.features-content ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 0;
}

.features-content li {
  margin-bottom: 0.35rem;
  padding-left: 1.2em;
  position: relative;
}

.features-content li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #7fff7f;
}

.package-short-description {
  flex-grow: 1;
  line-height: 1.5;
}

/* Add to Cart Button States */
.add-to-cart-btn.loading {
  pointer-events: none;
  opacity: 0.6;
}

.add-to-cart-btn.btn-success {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
  color: white !important;
}

.add-to-cart-btn.btn-danger {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
  color: white !important;
}

.product-card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card-title {
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.product-price {
  color: var(--primary-blue);
  font-size: 1.25rem;
  font-weight: 700;
}

/* Quick Add to Cart Form */
.quick-add-form {
  margin-bottom: 0.5rem;
}

.quick-add-form button {
  font-size: 0.9rem;
}

/* Buttons */
.btn-primary-custom {
  background-color: var(--primary-blue);
  color: var(--white);
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: var(--primary-yellow);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}

/* Category Sections */
.category-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e0e0e0;
}

.category-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary-blue);
}

.category-title {
  color: var(--primary-dark);
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.category-title i {
  font-size: 2.5rem;
}

.category-description {
  color: var(--text-grey);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* Package Detail Styles */
.package-detail-image {
  border-radius: 8px;
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.feature-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: 700;
}

/* Alerts */
.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .catalog-sidebar {
    position: static;
    margin-bottom: 2rem;
  }

  .category-title {
    font-size: 1.75rem;
  }

  .category-title i {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar-custom .container-fluid,
  .footer .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .container, .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }

  .row {
    margin-left: -15px;
    margin-right: -15px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }

  .product-card img {
    height: 150px;
  }

  .catalog-nav-link {
    font-size: 0.9rem;
  }

  .cart-item-image {
    width: 60px !important;
    height: 60px !important;
  }
}

/* Cart Styles */
.cart-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

.cart-item-image-placeholder {
  width: 80px;
  height: 80px;
  background-color: var(--light-grey);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
  font-size: 2rem;
}

/* Checkout Steps */
.checkout-steps {
  position: relative;
  padding: 2rem 0;
}

.checkout-steps .step {
  text-align: center;
  position: relative;
  flex: 1;
}

.checkout-steps .step-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #e9ecef;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.checkout-steps .step.active .step-icon {
  background-color: var(--primary-blue);
  color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 255, 0.3);
}

.checkout-steps .step.completed .step-icon {
  background-color: #28a745;
  color: white;
}

.checkout-steps .step-label {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 500;
}

.checkout-steps .step.active .step-label {
  color: var(--primary-blue);
  font-weight: 600;
}

.checkout-steps .step-line {
  height: 2px;
  background-color: #dee2e6;
  flex: 1;
  margin: 25px 10px 0;
}

.checkout-steps .step.completed + .step-line {
  background-color: #28a745;
}

/* Confirmation Page */
.success-icon {
  animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Ensure sticky elements don't cover dropdown menus */
.sticky-top {
  z-index: 1020; /* Lower than navbar (1050) */
}

/* Ensure card headers with bg-primary have white text */
.card-header.bg-primary {
  color: white !important;
}

.card-header.bg-primary h4,
.card-header.bg-primary h5 {
  color: white !important;
}

/* Hover lift effect for cards */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
}

/* Timeline styles for service request success page */
.timeline .step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
}

/* ========== Category Detail Page ========== */

.category-detail-header {
  border-bottom: 2px solid var(--light-grey);
  padding-bottom: 1.5rem;
}

.category-hero-image-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.category-hero-img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

.category-info-panel {
  padding: 1.5rem 0;
}

.category-details-text {
  color: var(--text-grey);
  line-height: 1.8;
  font-size: 1.05rem;
}

/* Category Slideshow */
.category-slideshow-img {
  height: 500px;
  object-fit: cover;
}

.category-slideshow-section .carousel-caption {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 6px;
  padding: 0.5rem 1rem;
  bottom: 1.5rem;
}

.category-slideshow-section .carousel-control-prev-icon,
.category-slideshow-section .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 1.25rem;
  background-size: 50%;
}

.category-slideshow-section .carousel-indicators button {
  background-color: var(--primary-blue);
}

/* Category Videos Section */
.category-videos-section iframe {
  border: none;
}

.category-videos-section video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #000;
}

/* Category Packages Section */

/* Category CTA */
.category-cta-section {
  padding: 2rem 0;
}

/* Responsive - Category Detail */
@media (max-width: 991px) {
  .category-hero-img {
    max-height: 350px;
  }

  .category-info-panel {
    padding: 0;
    margin-top: 1rem;
  }
}

@media (max-width: 768px) {
  .category-slideshow-img {
    height: 300px;
  }
}

@media (max-width: 576px) {
  .category-slideshow-img {
    height: 220px;
  }
}

/* ========== Gallery Styles ========== */

/* Dark background for gallery page */
.gallery-page-dark {
  background-color: var(--primary-dark);
  min-height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* CSS Column Masonry Grid */
.gallery-masonry {
  column-count: 5;
  column-gap: 5px;
  width: 100%;
  margin: 0;
  padding: 0 10px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 5px;
  transition: opacity 0.3s ease;
  display: inline-block;
  width: 100%;
}

.gallery-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  object-fit: contain;
}

.gallery-image:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Tag filter buttons */
.tag-filter {
  transition: all 0.2s ease;
  border-color: #6c757d;
  color: #e0e0e0;
  background-color: transparent;
}

.tag-filter.active {
  background-color: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
}

.tag-filter:hover {
  background-color: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
}

/* Custom Lightbox Overlay */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: var(--primary-yellow);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  padding: 16px;
  user-select: none;
  transition: all 0.3s ease;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: var(--primary-blue);
  color: white;
}

.lightbox-caption {
  color: white;
  text-align: center;
  padding: 10px 20px;
  margin-top: 10px;
  font-size: 1rem;
}

/* Responsive breakpoints for gallery */
@media (max-width: 1400px) {
  .gallery-masonry {
    column-count: 4;
  }
}

@media (max-width: 1100px) {
  .gallery-masonry {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .gallery-masonry {
    column-count: 2;
  }
}

@media (max-width: 576px) {
  .gallery-masonry {
    column-count: 1;
  }

  .lightbox-prev,
  .lightbox-next {
    font-size: 30px;
    padding: 12px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    right: 20px;
    font-size: 30px;
  }
}

/* ========== Builder Showroom Styles ========== */

/* Showroom containers - increased text sizes by 2pt */
.showroom-guided-container,
.builder-intro-container {
  font-size: 1.125rem; /* 18px base instead of 16px */
}

.showroom-guided-container .small,
.showroom-guided-container small,
.builder-intro-container .small,
.builder-intro-container small {
  font-size: 0.9375rem !important; /* 15px instead of ~13px */
}

.showroom-guided-container p,
.builder-intro-container p {
  font-size: 1.125rem;
}

.showroom-guided-container .card-title,
.builder-intro-container .card-title {
  font-size: 1.375rem;
}

.showroom-guided-container .card-text,
.builder-intro-container .card-text {
  font-size: 1.0625rem;
}

.showroom-guided-container h2,
.builder-intro-container h2 {
  font-size: 2.125rem;
}

.showroom-guided-container h3,
.builder-intro-container h3 {
  font-size: 1.625rem;
}

.showroom-guided-container h4,
.builder-intro-container h4 {
  font-size: 1.375rem;
}

.showroom-guided-container h5,
.builder-intro-container h5 {
  font-size: 1.25rem;
}

.showroom-guided-container h6,
.builder-intro-container h6 {
  font-size: 1.125rem;
}

.showroom-guided-container .btn,
.builder-intro-container .btn {
  font-size: 1rem;
}

.showroom-guided-container .btn-lg,
.builder-intro-container .btn-lg {
  font-size: 1.125rem;
}

.showroom-guided-container .btn-sm,
.builder-intro-container .btn-sm {
  font-size: 0.9375rem;
}

.showroom-guided-container .text-muted,
.builder-intro-container .text-muted {
  font-size: inherit;
}

.showroom-guided-container .lead,
.builder-intro-container .lead {
  font-size: 1.375rem;
}

.showroom-guided-container .list-unstyled li,
.builder-intro-container .list-unstyled li {
  font-size: 1.0625rem;
}

/* Showroom Guided - Layout Styles */
.showroom-guided-container {
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
  min-height: 100vh;
}

.showroom-guided-container .progress-nav {
  z-index: 1000;
}

.showroom-guided-container .progress-dots {
  gap: 0;
}

.showroom-guided-container .step-indicator {
  display: flex;
  align-items: center;
}

.showroom-guided-container .step-dot {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #e9ecef;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.showroom-guided-container .step-dot:hover {
  background-color: #dee2e6;
  transform: scale(1.1);
}

.showroom-guided-container .step-indicator.active .step-dot {
  background: var(--primary-blue);
  color: white;
  box-shadow: 0 4px 8px rgba(3, 17, 252, 0.4);
}

.showroom-guided-container .step-indicator.completed .step-dot {
  background-color: var(--primary-blue);
  color: white;
}

.showroom-guided-container .step-house {
  font-size: 1.2rem;
}

.showroom-guided-container .step-line {
  width: 40px;
  height: 3px;
  background-color: #e9ecef;
  transition: all 0.3s ease;
}

.showroom-guided-container .step-indicator.completed .step-line {
  background: var(--primary-blue);
}

.showroom-guided-container .section-number-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(3, 17, 252, 0.3);
  flex-shrink: 0;
}

.showroom-guided-container .category-card {
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-blue);
}

.showroom-guided-container .category-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
  transform: translateX(5px);
}

.showroom-guided-container .package-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showroom-guided-container .package-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
  border-color: var(--primary-blue) !important;
}

.showroom-guided-container .package-card.in-cart {
  border-color: #28a745 !important;
  border-width: 2px !important;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.15) !important;
  background-color: rgba(40, 167, 69, 0.02);
}

.showroom-guided-container .package-card.in-cart:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3) !important;
  border-color: #28a745 !important;
}

.showroom-guided-container .package-image-container {
  position: relative;
  overflow: hidden;
}

.showroom-guided-container .package-image {
  height: 200px;
  object-fit: cover;
  width: 100%;
  transition: transform 0.3s ease;
}

.showroom-guided-container .package-card:hover .package-image {
  transform: scale(1.05);
}

.showroom-guided-container .cart-toggle-btn.loading {
  pointer-events: none;
  opacity: 0.6;
}

.showroom-guided-container .cart-toggle-btn.in-cart {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
  color: white !important;
}

.showroom-guided-container .cart-toggle-btn.in-cart:hover {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
}

.showroom-guided-container .cart-toggle-btn.btn-danger {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
  color: white !important;
}

.showroom-guided-container .package-features-list {
  font-size: 0.9375rem;
}

.showroom-guided-container .package-features-list .features-list {
  list-style-type: none;
  padding-left: 0;
}

.showroom-guided-container .package-features-list .features-list li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 0.25rem;
  color: #495057;
  line-height: 1.4;
}

.showroom-guided-container .package-features-list .features-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
}

.showroom-guided-container .package-details .details-toggle {
  color: var(--primary-blue);
  font-size: 0.95rem;
}

.showroom-guided-container .package-details .details-toggle:hover {
  color: #0209b8;
}

.showroom-guided-container .package-details .details-toggle[aria-expanded="true"] .bi-chevron-down {
  transform: rotate(180deg);
}

.showroom-guided-container .package-details .bi-chevron-down {
  transition: transform 0.2s ease;
}

.showroom-guided-container .package-description-full {
  max-height: 200px;
  overflow-y: auto;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.showroom-guided-container .package-description-full p {
  margin-bottom: 0.5rem;
}

.showroom-guided-container .package-description-full p:last-child {
  margin-bottom: 0;
}

.floating-cart-badge {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  transform: scale(0.875);
  transform-origin: bottom right;
}

/* Builder Intro Page Styles */
.builder-intro-container .hero-section {
  background: var(--primary-blue);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.builder-intro-container .benefits-section {
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.builder-intro-container .cta-section {
  background: var(--primary-blue);
  box-shadow: 0 -4px 6px rgba(0,0,0,0.1);
}

.builder-intro-container .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.builder-intro-container .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2) !important;
}

.builder-intro-container .showroom-option-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.builder-intro-container .showroom-option-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.3) !important;
}

/* Showroom Responsive Styles */
@media (max-width: 768px) {
  .showroom-guided-container,
  .builder-intro-container {
    font-size: 1rem;
  }

  .showroom-guided-container .section-number-badge {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }

  .showroom-guided-container .step-dot {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .showroom-guided-container .step-line {
    width: 20px;
  }

  .showroom-guided-container .progress-dots {
    flex-wrap: nowrap;
  }

  .showroom-guided-container .floating-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .showroom-guided-container .floating-prev {
    left: 10px;
  }

  .showroom-guided-container .floating-next {
    right: 10px;
  }

  .floating-cart-badge {
    bottom: 10px;
    right: 10px;
  }

  .builder-intro-container .display-2 {
    font-size: 2.5rem;
  }

  .builder-intro-container .display-3 {
    font-size: 2rem;
  }

  .builder-intro-container .display-4 {
    font-size: 1.75rem;
  }
}

/* ============================================================
   Site Banner
   ============================================================ */
.site-banner {
  background: var(--primary-yellow);
  color: var(--primary-blue);
  text-align: center;
  padding: 0.55rem 1.25rem;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  width: 100%;
  line-height: 1.4;
}

@media (max-width: 576px) {
  .site-banner {
    font-size: 0.82rem;
    padding: 0.5rem 1rem;
  }
}