/* --- Designed By: Sabastian Bradley 2024-2025 --- */

/* ==========================================================
   GLOBAL CLEANUP & MOBILE NORMALIZATION
   ========================================================== */

html, body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  max-width: 100%;
  position: relative;
}
@media (max-width: 768px) {
main,
section:not(.hero) {
  padding-top: 70px;
}
}


/* Prevents anchor jumps from hiding behind the fixed navbar */
:target {
  scroll-margin-top: 130px;
}

@media (max-width: 768px) {
  .main-content {
    padding-top: 130px;
  }
  
  body {
    padding-top: 80px; /* mobile navbar is taller */
  }
}

/* ───────────────────────────────────────────────────────────
   Universal Hero Banner Styling — CLEAN + FIXED
──────────────────────────────────────────────────────────── */
.hero {
  height: 65vh;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: #fff;
  padding: 0 20px;
  margin: 0 auto;
}

/* HERO BACKGROUND IMAGES (DESKTOP ONLY) */
.hero-index { background: url('/Display_Images/1197_Challenger_Taupe.webp') no-repeat center center/cover; }
.hero-haz { background: url('/Product_Images/HAZ/Haz_Chair_Oceanside.jpg') no-repeat center center/cover; }
.hero-kenzie-secitonal { background: url('/Display_Images/Staged_Sectional.jpg') no-repeat center center/cover; }
.hero-sleeper-sofas { background: url('/Display_Images/Staged_Caribbean.png') no-repeat center center/cover; }
.hero-cozy-gallery { background: url('/Display_Images/stage.png') no-repeat center center/cover; }
.hero-contract { background: url('/Display_Images/Rosemary_Beach_Pool.jpeg') no-repeat center center/cover; }

/* DARK OVERLAY */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

/* HERO CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 0;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.6;
}

/* ───────────── MOBILE VERSION — NO BACKGROUND IMAGES ───────────── */
@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 220px;
    padding: 40px 15px;
    background: #2a3d66 !important; /* Remove background image completely */
    margin: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .hero::after {
    background: rgba(0, 0, 0, 0.3);
  }

  .hero-content {
    width: 100%;
    /*right: 15px; THIS NEEDS FIXED | THe hero banner text and border is all offset from center for some reason, this is a little "HAck" but needs to be fixec */ 
    max-width: 100%;
    margin: 0 auto;
    padding: 0px 0;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 1.9rem;
    color: #fff;
  }

  .hero-content p {
    font-size: 1rem;
    color: #e5e5e5;
  }
}













/* ───────────────────────────────────────────────────────────
   Divider Banner Styling (Above Product Pages)
──────────────────────────────────────────────────────────── */
.divider-banner-wrapper {
  margin-top: 80px; /* ensures space under fixed navbar */
  width: 100vw;
  z-index: 900;
  position: relative;
  margin-left: calc(-50vw + 50%); /* stretch full width from center */
}

/* Product Image Caption Styling */
#main-caption {
  margin-top: 12px;
  font-size: 1.15rem;
  font-weight: 750;
  color: #2a3d66;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  animation: fadeInUp 0.4s ease-in-out both;
  letter-spacing: 0.3px;
}

/* Responsive boost */
@media screen and (max-width: 768px) {
  #main-caption {
    font-size: 0.95rem;
    margin-top: 8px;
  }
}


.divider-banner {
  background: #2a3d66;
  color: #fff;
  text-align: center;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border-top: 1px solid #1c2d4d;
  border-bottom: 1px solid #1c2d4d;
}

@media (max-width: 768px) {
  .divider-banner {
    font-size: 0.9rem;
    padding: 12px 10px;
  }
}
/* ─────────────────────────────────────────────────────────── */










/* ───────────────────────────────────────────────────────────
   Connections Section (We make connections)
──────────────────────────────────────────────────────────── */
.connections-section {
  padding: 80px 20px;
  background: var(--bg-color);
  text-align: center;
  overflow: hidden;
  animation: fadeSlideUp 0.8s ease-in-out both;
}

.connections-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 40px;
  position: relative;
}

.connections-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  margin: 10px auto 0;
  border-radius: 2px;
}

.connections-container {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.connections-track {
  display: flex;
  gap: 60px;
  will-change: transform;
  transform: translateX(0);
}

.connections-track img {
  max-height: 60px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.connections-track img:hover {
  filter: none;
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .connections-section {
    padding: 60px 16px;
  }
  .connections-track {
    gap: 40px;
  }
  .connections-track img {
    max-height: 40px;
  }
}











header.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  transition: background 0.3s ease;
  animation: fadeIn 0.6s ease-in;
}

.navbar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  height: auto;
  position: relative;
}

.dealer-slot {
  order: 1;
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

.logo-center {
  order: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo-center img {
  height: 60px;
  width: auto;
}

.header-title {
  order: 3;
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.header-title h2 {
  font-size: 1.5rem;
  color: #1a1a1a;
  margin: 0;
  text-align: center;
}

/* Navigation Menu */

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav-menu ul li {
  position: relative;
}

.nav-menu ul li a {
  text-decoration: none;
  font-weight: 600;
  color: #1a1a1a;
  padding: 6px 10px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-menu ul li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: #e63946;
  bottom: -4px;
  left: 0;
  transition: width 0.3s ease;
}

.nav-menu ul li a:hover {
  color: #e63946;
}

.nav-menu ul li a:hover::after {
  width: 100%;
}

/* Dropdown */

.dropdown-menu {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  padding: 10px 0;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  z-index: 1100;
  max-height: 0;
  overflow: hidden;
}

.nav-menu ul li:hover .dropdown-menu,
.nav-menu ul li.open .dropdown-menu {
  visibility: visible;
  opacity: 1;
  max-height: 400px;
}

.dropdown-menu li {
  width: 100%;
  display: flex;
  justify-content: center;
}

.dropdown-menu li a {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  padding: 12px;
  text-align: center;
  font-size: 1rem;
}

.dropdown-menu li a:hover {
  background: #f5f5f5;
  color: #e63946;
}

/* Hamburger Menu */

.hamburger {
  margin-top: 8px;
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 99999;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #1a1a1a;
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ─────────────── Responsive Navigation ─────────────── */

@media (max-width: 768px) {

  /* HARD RESET — remove any inherited horizontal shift */
  .nav-menu ul,
  .nav-menu ul li,
  .nav-menu ul li a {
    margin: 0;
    padding: 0;
  }

  /* CENTER UL CONTAINER PERFECTLY */
  .nav-menu ul {
    display: flex;
    flex-direction: column;
    align-items: center; /* FULL CENTERING */
    justify-content: center;
    width: 100%;
    gap: 12px;
  }

  /* CENTER LI WITH ZERO SHIFT */
  .nav-menu ul li {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
  }

  /* CENTER LINKS CLEANLY */
  .nav-menu ul li a {
    width: 100%;
    max-width: 280px; /* prevents weird stretching */
    margin: 0 auto;
    padding: 12px;
    text-align: center;
  }

  .navbar .container {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 12px 16px;
  }

  .dealer-slot {
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 10px;
  }

  .logo-center {
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
  }

  .header-title {
    width: 100%;
    justify-content: center;
    margin-bottom: 12px;
  }

  .hamburger {
    display: flex;
    align-self: center;
    margin-bottom: 10px;
  }

  /* MOBILE NAV — collapsed by default */
/* MOBILE NAV — collapsed by default */
.nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  flex-direction: column;
  align-items: center;
  padding: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 9999;

  /* Slower + smoother animation */
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;

  transition:
    max-height 0.55s cubic-bezier(0.25, 0.8, 0.25, 1),
    opacity 0.45s ease-in-out,
    visibility 0.45s ease-in-out,
    padding 0.45s ease-in-out;
}

/* MOBILE NAV — expanded */
.nav-menu.active {
  max-height: 500px;   /* still enough space */
  opacity: 1;
  visibility: visible;
  padding: 15px 0;      /* animates in smoothly */
}

  .nav-menu ul {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .nav-menu ul li {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  .nav-menu ul li a {
    font-size: 1.1rem;
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    transition: background 0.3s ease;
  }

  .nav-menu ul li a:hover {
    background: #f9f9f9;
    color: #e63946;
  }

/* MOBILE: dropdown collapsed by default */
.dropdown-menu {
    display: none !important;
    position: static;
    background: #f9f9f9;
    box-shadow: none;
    padding: 0;
    flex-direction: column;
    
    /* animation foundation */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease;
}

/* MOBILE: dropdown when opened by JS */
.nav-menu ul li.open > .dropdown-menu {
    display: flex !important;
    max-height: 500px;   /* enough room for 4–5 items */
    opacity: 1;
    visibility: visible;
    padding: 10px 0;
}

  .dropdown-menu li a {
    padding-left: 28px;
    font-size: 1rem;
  }
}











/* ─────────────── Dealer Login Styling (Consistent Width/Height + Updated Shapes + Coordinated Colors) ─────────────── */

.dealer-login-wrapper {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--font-stack, Arial, Helvetica, sans-serif);
}

/* Change pill button shape to match new portal design */
.dealer-login-button,
.dealer-status-logged {
  background: #1a1a1a;
  color: #fff;
  padding: 10px 20px;
  border-radius: 12px; /* less oval, more modern rectangle */
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
  border: 2px solid #e63946;
}

.dealer-login-button {
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}
.dealer-login-button:hover {
  background: #e63946;
  transform: translateY(-2px);
}

.dealer-status-logged a {
  color: #e63946;
  margin-left: 10px;
  text-decoration: none;
}
.dealer-status-logged a:hover {
  text-decoration: underline;
}

#dealer-login-form-wrapper {
  display: none;
  position: fixed;
  top: 70px;
  right: 20px;
  width: 300px;
  padding: 18px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.25);
  z-index: 99999;
  animation: fadeIn 0.4s ease;
}

#dealer-login-form-real input,
#dealer-login-form-real button {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  font-size: 0.95rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

#dealer-login-form-real button {
  background: #e63946;
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}
#dealer-login-form-real button:hover {
  background: #c9303e;
}

/* ─────────────── Dealer Portal (Unified Button Widths + Brand-Coordinated Design) ─────────────── */

.dealer-mini-portal {
  position: fixed;
  top: 100px;
  right: 20px;
  width: 340px;
  padding: 24px;
  border-radius: 14px;
  background: linear-gradient(160deg, #ffffff 0%, #f0f0f0 100%);
  border: 2px solid #e63946;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  z-index: 999999;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  animation: fadeSlideIn 0.4s ease forwards;
  max-height: 80vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

.dealer-mini-portal.hidden {
  display: none;
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.portal-content {
  animation: fadeIn 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portal-content.hidden {
  display: none;
}

.portal-content h3 {
  color: #1a1a1a;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.portal-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.portal-content li {
  width: 100%;
}

/* Make all portal buttons equal width and visually consistent */
.portal-content a,
.portal-content button {
  display: inline-flex; /* ensure consistent inline flex behavior */
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box; /* normalize spacing */
  flex: 1; /* make width fully consistent */
  padding: 0 16px;
  background: #fafafa;
  color: #1a1a1a;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.portal-content a:hover,
.portal-content button:hover {
  background: #e63946;
  color: #fff;
  border-color: #e63946;
  transform: translateY(-2px);
}

.back-button,
.close-button {
  background: #e63946;
  color: #fff;
  padding: 10px 14px;
  font-size: 0.9rem;
  border-radius: 6px;
  border: none;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.back-button:hover,
.close-button:hover {
  background: #c9303e;
}

/* ─────────────── Mobile Responsiveness Fix ─────────────── */
@media (max-width: 768px) {
  .dealer-login-wrapper {
    top: 10px;
    right: 10px;
  }

  #dealer-login-form-wrapper {
    top: 60px;
    right: 10px;
    width: 90%;
  }

  .dealer-mini-portal {
    left: 5%;
    transform: translateX(-50%) translateY(0);
    right: auto;
    width: 80%;
    max-width: 420px;
    top: 70px;
    padding: 20px;
    border-radius: 12px;
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  }

  .portal-content h3 {
    font-size: 1.2rem;
  }

  .portal-content a,
  .portal-content button {
    font-size: 0.95rem;
    height: 50px;
  }

  .back-button,
  .close-button {
    padding: 8px 12px;
  }
}











/* ───────────────────────────────────────────────────────────
   Landing Page Specific Styles
──────────────────────────────────────────────────────────── */

.tagline-bar-wrapper {
  width: 100%;
  position: relative;
  z-index: 2; /* Ensure it's above page content */
  margin-top: 80px; /* Adjust this to match navbar height */
}

.tagline-bar {
  background: #2a3d66;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .tagline-bar-wrapper {
    margin-top: 190px; /* Add more space to clear mobile nav height */
  }
}

.hero.hero-index::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero.hero-index .hero-content {
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.hero.hero-index h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.hero.hero-index p {
  font-size: 1.3rem;
  line-height: 1.6;
  color: #f1f1f1;
}

.video-hero {
  padding: 0 20px;
  margin: 0 auto 60px;
  max-width: 1200px;
  overflow: hidden;
  text-align: center;
}

.video-hero video {
  width: 100%;
  height: auto;
  max-height: 500px;
  display: block;
  object-fit: contain;
  border-radius: 8px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.landing-info {
  padding: 60px 20px;
  background: #fff;
  border-top: 4px solid #2a3d66;
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  transform: translateY(40px);
}

.landing-info.visible {
  opacity: 1;
  transform: translateY(0);
}

.landing-info.alt {
  background: #f4f6fb;
}

.info-split {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.info-text {
  flex: 1 1 500px;
  padding: 0 20px;
}

.info-text h2 {
  font-size: 2rem;
  color: #2a3d66;
  margin-bottom: 16px;
}

.info-text p,
.info-text ul {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 20px;
}

.info-text ul {
  padding-left: 20px;
}

.info-text ul li {
  margin-bottom: 10px;
}

.info-text .btn {
  display: inline-block;
  padding: 10px 24px;
  font-size: 1rem;
  font-weight: 600;
  background: #e63946;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.info-text .btn:hover {
  background: #cc2d3a;
}

.info-image {
  flex: 1 1 500px;
  text-align: center;
  background: #fff;
}

.info-image img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
  aspect-ratio: 4 / 3;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 999999;
}

/* Uniform Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.grid-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.grid-item img {
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 16px;
}

.grid-item h3 {
  font-size: 1.4rem;
  color: #2a3d66;
  margin-bottom: 12px;
}

.grid-item p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 16px;
}

.grid-item .btn {
  background-color: #e63946;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.grid-item .btn:hover {
  background-color: #cc2d3a;
}

/* Final Info Section Styling */
.info-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
  background: #f4f6fb;
  border-top: 4px solid #2a3d66;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.info-section h2 {
  font-size: 2.2rem;
  color: #2a3d66;
  margin-bottom: 24px;
}

.info-section p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 30px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.info-item {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.info-item h3 {
  color: #2a3d66;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.info-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .hero.hero-index h1 {
    font-size: 2rem;
  }

  .hero.hero-index p {
    font-size: 1rem;
  }

  .video-hero {
    padding: 0 10px;
  }

  .video-hero video {
    max-height: 280px;
  }

  .info-split {
    flex-direction: column;
  }

  .info-text,
  .info-image {
    flex: 1 1 100%;
    padding: 0;
  }

  .info-text h2 {
    text-align: center;
  }

  .info-text .btn {
    display: block;
    text-align: center;
    margin: 0 auto;
  }

  .info-image img {
    max-width: 100%;
    aspect-ratio: 4 / 3;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 15px;
  }

  .info-section {
    padding: 40px 15px;
  }

  .info-section h2 {
    font-size: 1.8rem;
  }
}









/* ─────────────────────────────────────────────────────────────
   Sleeper Mech Styling — Cozy & Crispy Finalized
────────────────────────────────────────────────────────────── */

/* Section Wrappers */
.mech-section,
.mech-comparison {
  padding: 80px 20px;
  animation: fadeInUp 0.8s ease both;
}

.mech-section.alt,
.mech-comparison.enhanced {
  background: #f9fafc;
}

/* Section Headings */
.section-heading {
  text-align: center;
  font-size: 2.6rem;
  color: #2a3d66;
  margin-bottom: 60px;
  position: relative;
  animation: fadeInUp 0.8s ease both;
}

/* Mech Split Rows (L/R) */
.mech-split {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.mech-text, .mech-image {
  flex: 1 1 500px;
  padding: 10px;
}

.mech-text {
  animation: slideInLeft 1s ease both;
}

.mech-text h2 {
  font-size: 2.2rem;
  color: #2a3d66;
  margin-bottom: 20px;
}

.mech-text p,
.mech-text ul li {
  font-size: 1rem;
  color: #2a3d66;
  line-height: 1.6;
}

.mech-text ul {
  list-style: none;
  padding-left: 20px;
}

.mech-text ul li::before {
  content: "▸";
  color: #e63946;
  font-weight: bold;
  margin-right: 8px;
}

/* Image Presentation */
.mech-image {
  background: #f5f5f5;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
  animation: fadeInZoom 1s ease both;
}

.mech-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: contain;
  display: block;
}

/* Feature Cards */
.comparison-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.comparison-card {
  background: #fff;
  padding: 30px 25px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  flex: 1 1 350px;
  max-width: 480px;
  transition: transform 0.3s ease;
}

.comparison-card:hover {
  transform: translateY(-5px);
}

.comparison-card h3 {
  font-size: 1.8rem;
  color: #e63946;
  margin-bottom: 20px;
  font-weight: 600;
}

.comparison-card ul {
  text-align: left;
  padding-left: 20px;
}

.comparison-card ul li {
  margin-bottom: 10px;
  color: #2a3d66;
  font-size: 1rem;
  position: relative;
}

.comparison-card ul li::before {
  content: '▸';
  color: #e63946;
  font-weight: bold;
  margin-right: 8px;
}

/* Card Badge */
.badge {
  background: #e63946;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 40px;
  display: inline-block;
  margin-bottom: 10px;
}

/* Specs Breakdown Block */
.comparison-details.styled {
  margin-top: 60px;
  background: #f5f8fc;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  animation: fadeInUp 1s ease both;
}

/* Optional — Centered Variant */
.comparison-details.centered {
  text-align: center;
  max-width: 900px;
  margin: 60px auto 0;
  padding: 0 20px;
}

.comparison-details.centered .comparison-subsection {
  margin-bottom: 40px;
}

.comparison-details.centered h3 {
  font-size: 1.5rem;
  color: #1f2d4a;
  margin-bottom: 18px;
  padding-left: 0;
  border-left: none;
}

.comparison-details.centered h3 span {
  border-bottom: 2px solid #e63946;
  padding-bottom: 6px;
  display: inline-block;
  transition: border-color 0.3s ease;
}

.comparison-details.centered h3 span:hover {
  border-color: #c4162d;
}

.comparison-details.centered ul,
.comparison-details.centered p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.comparison-details.centered ul.variant-list {
  display: inline-block;
  text-align: left;
  margin-top: 10px;
}

.install-note .disclaimer {
  font-size: 0.95rem;
  font-style: italic;
  color: #555;
  margin-top: 10px;
}

/* Variant Checkmarks */
.variant-list {
  list-style: none;
  padding-left: 0;
}

.variant-list li {
  margin-bottom: 10px;
  padding-left: 22px;
  position: relative;
  color: #2a3d66;
}

.variant-list li::before {
  content: "✔";
  color: #e63946;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* CTA Button */
.info-section .btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 34px;
  background: linear-gradient(135deg, #e63946, #d62839);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 40px;
  box-shadow: 0 4px 16px rgba(230, 57, 70, 0.25);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: fadeInZoom 0.8s ease both;
}

.info-section .btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.35);
  background: linear-gradient(135deg, #d62839, #c4162d);
}

@media (max-width: 480px) {
  .info-section .btn {
    width: 100%;
    text-align: center;
  }
}

/* Responsive Tweaks */
@media (max-width: 992px) {
  .mech-split {
    flex-direction: column;
    gap: 32px;
  }

  .mech-text, .mech-image {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .comparison-details.styled {
    padding: 30px 20px;
  }

  .comparison-details h3 {
    font-size: 1.3rem;
  }

  .section-heading {
    font-size: 2rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInZoom {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}













/* ───────────────────────────────────────────────────────────
   Kenzie Sectional Layout Styling
──────────────────────────────────────────────────────────── */
.kenzie-section {
  background: #f9f9f9;
  padding: 80px 20px;
  text-align: center;
  animation: fadeIn 0.7s ease-in;
}

.kenzie-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.kenzie-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #e63946;
  border-radius: 2px;
}

.kenzie-section p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.6;
  color: #444;
} 

.kenzie-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.kenzie-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #e63946;
  border-radius: 2px;
}

.kenzie-layout-grid,
.kenzie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  justify-items: center;
  align-items: stretch;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  animation: slideUp 0.6s ease-in-out;
} 

/* --- New Alternating Split --- */
/* --- Popular Layout Section --- */
.kenzie-layouts-header {
  text-align: center;
  padding: 60px 20px 30px;
}

.kenzie-layouts-header h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: var(--accent-color);
}

.kenzie-layouts-header p {
  font-size: 1.05rem;
  color: #444;
  max-width: 720px;
  margin: 0 auto;
}

/* Split Layout Base */
.kenzie-layout {
  padding: 60px 20px;
  background: #fff;
}

.kenzie-layout.alt {
  background: #f9f9f9;
}

.layout-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: wrap;
}

.layout-text {
  flex: 1 1 48%;
}

.layout-text h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: var(--dark-gray, #222);
}

.layout-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.layout-image {
  flex: 1 1 48%;
}

.layout-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.layout-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Fade-Up Animation */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .layout-split {
    flex-direction: column;
  }
  .layout-text, .layout-image {
    max-width: 100%;
    text-align: center;
  }
  .layout-image img {
    max-width: 100%;
    margin-top: 20px;
  }
}

/* Old Carousel */

.kenzie-carousel-wrapper {
  overflow: hidden;
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.kenzie-carousel {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
  padding: 20px;
  justify-content: center;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.kenzie-carousel img {
  scroll-snap-align: center;
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.kenzie-carousel-controls {
  margin-top: 20px;
}

.kenzie-carousel-btn {
  background: #e63946;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.kenzie-carousel-btn:hover {
  background: #cc2d3a;
  transform: scale(1.05);
}

.kenzie-piece, .kenzie-grid-item {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  animation: popIn 0.4s ease;
}

.kenzie-piece:hover, .kenzie-grid-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.kenzie-piece img, .kenzie-grid-item img {
  width: 100%;
  max-width: 240px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.kenzie-piece:hover img, .kenzie-grid-item:hover img {
  transform: scale(1.02);
}

.kenzie-piece-label {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 5px;
}

.kenzie-info {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  animation: fadeIn 0.6s ease-in-out;
}

@media (max-width: 600px) {
  .kenzie-piece img,
  .kenzie-grid-item img {
    max-height: 140px;
  }
  .kenzie-section h2 {
    font-size: 2rem;
  }
  .kenzie-piece,
  .kenzie-grid-item {
    max-width: 100%;
  }
  .kenzie-carousel {
    flex-direction: column;
    align-items: center;
  }
  .kenzie-section {
    padding: 60px 15px;
  }
}
  .kenzie-section h2 {
    font-size: 2rem;
  }
  .kenzie-piece, .kenzie-grid-item {
    max-width: 100%;
  }
  .kenzie-carousel {
    flex-direction: column;
    align-items: center;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* ─────────────────────────────────────────────────────────── */










/* ============================================================
   INDIVIDUAL PRODUCT PAGE STYLING (ISOLATED)
   Applies ONLY to: S_1005, S_1197, S_Kenzie, etc.
   ============================================================ */

.product-split {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  padding: 80px 20px;
  background: #fff;
  animation: fadeIn 0.6s ease-in-out;
 /* border-top: 4px solid #2a3d66; /* subtle blue accent */
}

.product-image {
  flex: 1 1 400px;
  max-width: 500px;
  text-align: center;
}

.product-image .main-image {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.thumbnails {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.thumbnails .thumb {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.3s ease;
}

.thumbnails .thumb.active,
.thumbnails .thumb:hover {
  border-color: #e63946;
}

.all-products-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2a3d66;
  margin-bottom: 40px;
  position: relative;
  text-align: center;
  animation: fadeSlideUp 1s ease-in-out both;
}

.all-products-section h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #e63946;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.product-info {
  flex: 1 1 400px;
  max-width: 600px;
}

.product-info h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.product-info .sku {
  font-size: 1rem;
  color: #888;
  margin-bottom: 15px;
}

.product-info .description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 20px;
}

.product-info .btn {
  display: inline-block;
  padding: 12px 28px;
  margin-top: 20px;
  font-size: 1rem;
  font-weight: 600;
  background: #e63946;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.3s ease;
}

.product-info .btn:hover {
  background: #cc2d3a;
}

/* ============================================================
   SPECIFICATIONS SECTION (INDIVIDUAL PRODUCT PAGES ONLY)
   ============================================================ */
.specs-section {
  padding: 80px 20px;
  background: #f9f9f9;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.specs-section h2 {
  font-size: 2.2rem;
  color: #2a3d66;
  margin-bottom: 30px;
  position: relative;
}

.specs-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #e63946;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Grid container */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  animation: slideUp 1s ease-in-out;
}

/* Each spec item */
.spec-item {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  animation: popIn 0.4s ease both;
}

.spec-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

/* Button styling */
.specs-section .btn {
  margin-top: 40px;
  background: #e63946;
  color: white;
  padding: 12px 28px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 25px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.specs-section .btn:hover {
  background: #cc2d3a;
  transform: translateY(-2px);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .specs-section {
    padding: 60px 15px;
  }

  .specs-section h2 {
    font-size: 1.8rem;
  }

  .spec-item {
    font-size: 0.9rem;
    padding: 16px;
  }

  .specs-section .btn {
    width: 100%;
    font-size: 1rem;
  }
}

/* Animations (you already use these sitewide) */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.commercial-grade {
  font-size: 0.95rem;
  color: #e63946;
  font-weight: 600;
  margin-top: 10px;
}
.commercial-grade::after {
  content: "";
  display: block;
  width: 60%;
  max-width: 300px;
  height: 2px;
  background: #dbe3f2;
  margin: 24px auto 0;
  border-radius: 2px;
  opacity: 0.7;
}

.section-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  background: #f4f6fb;
  padding: 20px 15px;
  margin-top: -10px;
  border-top: 3px solid #dbe3f2;
  border-bottom: 3px solid #dbe3f2;
}

.section-nav a {
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  padding: 8px 14px;
  transition: all 0.2s ease;
}

.section-nav a:hover {
  color: #2a3d66;
  text-decoration: underline;
}

.product-section {
  max-width: 900px;
  margin: 80px auto;
  padding: 40px 20px;
  background: #fff;
  text-align: center;
  animation: fadeIn 0.6s ease-in-out;
}

.product-section h2 {
  font-size: 2rem;
  color: #2a3d66;
  margin-bottom: 20px;
  text-decoration: underline;
}

.product-section p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
}

.other-products-section {
  padding: 80px 20px;
  background: #f9f9f9;
  text-align: center;
  animation: fadeSlideUp 0.8s ease-in-out;
}

.other-products-section h2 {
  font-size: 2.2rem;
  color: #2a3d66;
  margin-bottom: 40px;
  position: relative;
}
.other-products-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #e63946;
  margin: 10px auto 0;
  border-radius: 2px;
}

.product-suggestion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .product-suggestion-grid {
    grid-template-columns: 1fr;
    padding: 0 10px;
  }
}

.carousel-container {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 30px 0;
  background: #fff;
}

.carousel-track {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
  scroll-snap-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.carousel-item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  max-width: 220px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.carousel-item img {
  width: 100%;
  max-width: 180px;
  height: auto;
  object-fit: contain;
  margin-bottom: 12px;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.carousel-item:hover {
  transform: scale(1.05);
}

.carousel-item h3 {
  font-size: 1rem;
  color: #2a3d66;
  font-weight: 600;
  margin: 0;
}

@media (max-width: 768px) {
  .carousel-item {
    max-width: 180px;
    padding: 16px;
  }

  .carousel-item img {
    max-width: 160px;
  }

  .carousel-item h3 {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .product-split {
    flex-direction: column;
    padding: 60px 15px;
  }

  .product-info h1 {
    font-size: 1.8rem;
  }

  .product-info .btn {
    width: 100%;
    text-align: center;
  }

  .product-image .main-image {
    max-width: 100%;
  }

  .section-nav {
    flex-direction: column;
    gap: 10px;
  }

  .product-section {
    padding: 30px 15px;
  }

  .product-section h2 {
    font-size: 1.6rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}










/* ============================================================
   GLOBAL PRODUCT CARD SYSTEM (ALL PRODUCTS + COLLECTIONS)
   ============================================================ */
.product-img-wrapper {
  width: 100%;
  height: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f9f9f9;
  border-radius: 10px;
  padding: 8px; /* standardizes spacing */
  overflow: hidden;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
}

.product-card:hover img {
  transform: scale(1.03);
}

.product-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  padding: 0; /* FIXED — removes right indentation */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center; /* ensures full centering inside */
  height: 100%;
  width: 100%;
  max-width: 320px; /* prevents stretch on wide displays */
  margin: 0 auto; /* fully centers card */
  animation: fadeInZoom 0.6s ease forwards;
}

.product-card img,
.grid-item img {
  display: block;
  margin: 0 auto;
  max-height: 200px;
  object-fit: contain;
  padding: 10px;
  background: #fff;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  background: #fff;
  padding: 14px;
  border-bottom: 1px solid #eee;
}

.product-card .card-content {
  padding: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* ensures H3 + P + button all center perfectly */
  text-align: center; /* fixes slight text drift on mobile */
}

.product-card h3 {
  font-size: 1.2rem;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.product-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 16px;
}

.product-card .btn {
  background-color: #e63946;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
  align-self: center;
}

.product-card .btn:hover {
  background-color: #cc2d3a;
  transform: scale(1.05);
}

.all-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  justify-items: center;
  align-items: stretch;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 20px;
  animation: fadeGridIn 0.6s ease-in-out;
}

/* Smooth fade-up animation for grid entrance */
@keyframes fadeGridIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ───────────────────────────────────────────────────────────
   Animations (Additions for Cards)
──────────────────────────────────────────────────────────── */

@keyframes fadeInZoom {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}


/*
Mobile
*/
@media (max-width: 768px) {
  .all-products-grid {
    grid-template-columns: 1fr; /* single column stack */
    gap: 50px;                  /* more breathing room */
    padding: 30px 15px;
  }
  
  .product-card{
      max-width: 100%;
    margin-bottom: 20px; /* extra vertical spacing */
  }
  
  .product-card img {
    height: 180px;
  }

  .product-card h3 {
    font-size: 1.1rem;
  }

  .product-card p {
    font-size: 0.95rem;
  }

  .product-card .btn {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}












/* ─────────────────────────────────────────────────────────────
   Cost Configurator Styling — Crispy and Commercial-Ready
────────────────────────────────────────────────────────────── */
.configurator {
  margin-top: 30px;
  padding: 20px;
  border: 1px solid #e3e6ee;
  border-radius: 12px;
  background-color: #f9fafc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  animation: fadeInUp 0.6s ease both;
}

.configurator label {
  display: block;
  margin: 12px 0 6px;
  font-weight: 600;
  color: #2a3d66;
  font-size: 0.95rem;
}

.configurator select {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.95rem;
  border: 1px solid #d5dbe5;
  border-radius: 8px;
  background-color: #fff;
  color: #333;
  transition: all 0.3s ease;
  cursor: pointer;
}

.configurator select:focus {
  border-color: #5974d7;
  box-shadow: 0 0 0 2px rgba(89, 116, 215, 0.2);
  outline: none;
}

#price-display {
  margin-top: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e3a8a;
  animation: fadeInUp 0.5s ease both;
}

#sku-display {
  margin-top: 4px;
  font-size: 0.88rem;
  color: #64748b;
}

/* Responsive Refinements */
@media (max-width: 768px) {
  .configurator {
    padding: 15px;
  }

  .configurator label {
    font-size: 0.9rem;
  }

  .configurator select {
    font-size: 0.9rem;
  }

  #price-display {
    font-size: 1rem;
  }

  #sku-display {
    font-size: 0.85rem;
  }
}

/* Keyframe Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ─────────────────────────────────────────────────────────── */









/* ─────────────────────────────────────────────────────────────
   Crispy Styling — Order Page (Scoped with .order-page)
────────────────────────────────────────────────────────────── */

.order-page .order-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 40px 20px 0;
}

.order-page .order-header h1 {
  font-size: 2.5rem;
  color: #2a3d66;
  margin-bottom: 10px;
}

.order-page .order-header .subtle-intro {
  font-size: 1.1rem;
  color: #4a5568;
}

.order-page .order-form {
  max-width: 1000px;
  margin: 0 auto 80px;
  padding: 40px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  animation: fadeInUp 0.8s ease both;
}

.order-page .form-columns {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 30px;
}

.order-page .form-group {
  width: 100%;
  margin-bottom: 24px;
}

.order-page .form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #2a3d66;
}

.order-page .form-group input,
.order-page .form-group select,
.order-page .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  transition: border-color 0.3s ease;
}

.order-page .form-group input:focus,
.order-page .form-group select:focus,
.order-page .form-group textarea:focus {
  border-color: #2a3d66;
  outline: none;
}

.order-page .btn {
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.order-page .btn-primary {
  background: #2a3d66;
  color: #ffffff;
}

.order-page .btn-primary:hover {
  background: #1d2e53;
}

.order-page .btn-secondary {
  background: #e63946;
  color: #ffffff;
  margin-top: 10px;
}

.order-page .btn-secondary:hover {
  background: #c92a3a;
}

.order-page .product-entries {
  margin-top: 40px;
}

/* Collapsible Product Entry Styling (from JS) */
.order-page .product-entry {
  margin-bottom: 30px;
  background: #f8f9fc;
  border-left: 5px solid #2a3d66;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  padding-bottom: 20px;
}

.order-page .product-header {
  display: flex;
  justify-content: space-between;
  background: #e4e9f2;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  color: #2a3d66;
}

.order-page .product-header .arrow {
  transition: transform 0.3s ease;
}

.order-page .product-entry.collapsed .product-body {
  display: none;
}

.order-page .product-entry.collapsed .arrow {
  transform: rotate(-90deg);
}

.order-page .product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-page .product-body .form-group {
  margin-bottom: 18px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease both;
}

.slide-up {
  animation: fadeInUp 0.8s ease both;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease both;
}

@media (max-width: 600px) {
  .order-page .order-form {
    padding: 20px;
  }

  .order-page .form-columns {
    flex-direction: column;
  }

  .order-page .product-body {
    padding: 16px;
  }
}

/* --- End Order Styling --- */










/* ───────────────────────────────────────────────────────────
   Contract Page Styling — Harmonized and Crispy
──────────────────────────────────────────────────────────── */

/* Main Section */
.contract-section {
  max-width: 1000px;
  margin: 100px auto;
  padding: 60px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  animation: fadeInZoom 0.7s ease both;
}

.contract-section h1,
.contract-section h2 {
  font-size: 2.4rem;
  text-align: center;
  color: #2a3d66;
  margin-bottom: 20px;
  position: relative;
}

.contract-section h1::after,
.contract-section h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #e63946;
  display: block;
  margin: 12px auto 0;
  border-radius: 2px;
}

.contract-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  text-align: center;
  margin-bottom: 40px;
}

/* Columns inside main section */
.contract-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.contract-box {
  flex: 1 1 280px;
  background: #f8f9fc;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}

.contract-box:hover {
  transform: translateY(-6px);
}

.contract-box h3 {
  font-size: 1.4rem;
  color: #1a1a1a;
  margin-bottom: 14px;
}

.contract-box p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Divider */
.contract-divider {
  height: 2px;
  width: 60px;
  background-color: #e63946;
  margin: 40px auto;
  border-radius: 1px;
}

/* CTA Button */
.contract-section .btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 26px;
  background: #e63946;
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contract-section .btn:hover {
  background: #cc2d3a;
  transform: scale(1.05);
}

/* ───────────────────────────────────────────────────────────
   Contract Capabilities Section (Alt Layout)
──────────────────────────────────────────────────────────── */
.contract-section-alt {
  background: #f9f9f9;
  padding: 80px 20px;
  text-align: center;
  animation: fadeInZoom 0.6s ease-in-out both;
}

.contract-section-alt h2 {
  font-size: 2rem;
  color: #2a3d66;
  margin-bottom: 30px;
}

.contract-section-alt p {
  max-width: 900px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
}

/* Capabilities Grid */
.contract-capabilities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.contract-capabilities .capability {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.contract-capabilities .capability:hover {
  transform: translateY(-6px);
}

.contract-capabilities h3 {
  font-size: 1.2rem;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.contract-capabilities p {
  font-size: 0.95rem;
  color: #555;
}

/* ───────────────────────────────────────────────────────────
   Connections Slider
──────────────────────────────────────────────────────────── */
.connections-section {
  padding: 80px 20px;
  background: #fff;
  overflow: hidden;
  animation: fadeInZoom 0.6s ease-in-out both;
}

.connections-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #2a3d66;
}

.connections-container {
  position: relative;
  overflow: hidden;
}

.connections-track {
  display: flex;
  gap: 60px;
  padding: 20px 0;
  will-change: transform;
  transition: transform 0.4s ease;
}

.connections-track img {
  height: 50px;
  opacity: 0.85;
  transition: transform 0.3s ease;
}

.connections-track img:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* ───────────────────────────────────────────────────────────
   Contract Info (Why Choose Cozy King)
──────────────────────────────────────────────────────────── */
.contract-info-wrapper {
  background: #ffffff;
  padding: 80px 20px;
  animation: fadeSlideUp 0.6s ease-in-out both;
}

.contract-info-wrapper .container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.contract-info-wrapper h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2a3d66;
  margin-bottom: 20px;
  position: relative;
}

.contract-info-wrapper h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #e63946;
  display: block;
  margin: 12px auto 0;
  border-radius: 2px;
}

.contract-info-wrapper p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #444;
  margin-bottom: 25px;
}

.contract-info-wrapper .btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 26px;
  background: #e63946;
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contract-info-wrapper .btn:hover {
  background: #cc2d3a;
  transform: scale(1.05);
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .contract-info-wrapper {
    padding: 60px 15px;
  }

  .contract-info-wrapper h2 {
    font-size: 1.8rem;
  }

  .contract-info-wrapper p {
    font-size: 0.95rem;
  }

  .contract-info-wrapper .btn {
    width: 100%;
    text-align: center;
  }
}


/* ───────────────────────────────────────────────────────────
   Final Call to Action
──────────────────────────────────────────────────────────── */
.contract-cta-bar {
  text-align: center;
  padding: 60px 20px;
  background: #f4f6fb;
  animation: fadeIn 0.6s ease-in-out both;
}

.contract-cta-bar h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #2a3d66;
}

.contract-cta-bar p {
  font-size: 1.05rem;
  margin-bottom: 25px;
  color: #444;
}

.contract-cta-bar .btn {
  padding: 12px 26px;
  border-radius: 30px;
  background-color: #e63946;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contract-cta-bar .btn:hover {
  background-color: #cc2d3a;
  transform: scale(1.05);
}

/* ───────────────────────────────────────────────────────────
   Responsive Tweaks
──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .contract-section {
    padding: 40px 15px;
    margin: 60px auto;
  }

  .contract-section h1,
  .contract-section h2,
  .contract-section-alt h2 {
    font-size: 1.8rem;
  }

  .contract-box h3,
  .contract-capabilities h3,
  .contract-cta-bar h2 {
    font-size: 1.2rem;
  }

  .contract-box p,
  .contract-cta-bar p {
    font-size: 0.95rem;
  }

  .contract-section .btn,
  .contract-cta-bar .btn {
    width: 100%;
    text-align: center;
  }

  .connections-track {
    gap: 40px;
  }

  .connections-track img {
    height: 40px;
  }
}

/* === MOBILE GLOBAL HARMONIZATION LAYER === */
html, body {
  overflow-x: hidden;
}

@media (max-width: 768px) {
  /* Universal Fix — remove right bias */
  * {
    box-sizing: border-box;
  }
  body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
  }

  /* Center all major sections */
  section, .contract-section, .contract-section-alt, .contract-info-wrapper,
  .connections-section, .contract-cta-bar {
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  /* Fix container alignment drift */
  .container {
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
  }

  /* Center headings */
  h1, h2, h3, p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* Grid → clean 1-col */
  .contract-capabilities,
  .info-grid,
  .contract-columns {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Ensure CTAs center */
  .btn {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  /* Prevent image overflow */
  img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
}











/* ───────────────────────────────────────────────────────────
   Love Seat Gallery Page Styling
──────────────────────────────────────────────────────────── */
.sleeper-options {
  padding: 80px 20px;
  background: #f9f9f9;
  text-align: center;
  animation: fadeIn 0.7s ease-in-out;
}

.sleeper-options h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #1a1a1a;
  position: relative;
  display: inline-block;
}

.sleeper-options h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #e63946;
  border-radius: 2px;
}

.sleeper-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  animation: slideUp 0.6s ease-in-out;
}

.sleeper-item {
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 360px;
  margin: 0 auto;
}

.sleeper-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.sleeper-item img {
  width: 100%;
  max-width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 15px;
}

.sleeper-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.sleeper-item p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 10px;
  line-height: 1.5;
}

.sleeper-item .btn {
  margin-top: 10px;
  display: inline-block;
  padding: 10px 24px;
  background: #e63946;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.sleeper-item .btn:hover {
  background: #cc2d3a;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .sleeper-options {
    padding: 60px 15px;
  }
  .sleeper-options h2 {
    font-size: 1.8rem;
  }
  .sleeper-item img {
    height: 160px;
  }
}

/* ─────────────────────────────────────────────────────────── */











/* ───────────────────────────────────────────────────────────
   Accent Chair Gallery Page Styling
──────────────────────────────────────────────────────────── */
.accent-section {
  padding: 80px 20px;
  background: #f9f9f9;
  text-align: center;
  animation: fadeIn 0.7s ease-in-out;
}

.accent-section h2,
.specs-section h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #1a1a1a;
  position: relative;
  display: inline-block;
  text-align: center;
}

.accent-section h2::after,
.specs-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #e63946;
  border-radius: 2px;
}

.accent-grid {
  /* replaced by global card grid */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
  padding: 0 10px;
}

/* .accent-card removed — using global .product-card */

.feature-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  flex: 1 1 300px;
  max-width: 360px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card img {
  max-width: 100%;
  height: 280px;
  object-fit: contain;
  display: block;
  margin: 0 auto 20px;
  border-radius: 6px;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.product-tab-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 40px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.tab-image {
  flex: 1 1 400px;
  text-align: center;
}

.tab-image img {
  height: 280px;
  object-fit: contain;
  width: 100%;
  max-width: 400px;
  border-radius: 6px;
}

.tab-details {
  flex: 1 1 400px;
}

.tab-details h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.tab-details p,
.tab-details li {
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

.tab-btn {
  padding: 10px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #e63946;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.tab-btn:hover,
.tab-btn.active {
  background: #cc2d3a;
  transform: translateY(-1px);
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

.haz-gallery {
  padding: 60px 20px;
  text-align: center;
  background: #fff;
}

.haz-gallery h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.carousel-wrapper {
  overflow-x: auto;
  white-space: nowrap;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.carousel {
  display: flex;
  gap: 20px;
}

.carousel img,
.haz-gallery img {
  height: 200px;
  object-fit: contain;
  border-radius: 6px;
  display: inline-block;
  max-width: 300px;
  transition: transform 0.3s ease;
}

.carousel img:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .accent-section {
    padding: 60px 15px;
  }
  .accent-section h2,
  .specs-section h2 {
    font-size: 1.8rem;
  }
  .accent-card img,
  .tab-image img,
  .feature-card img,
  .carousel img,
  .haz-gallery img {
    height: 180px;
  }
  .product-tab-flex {
    flex-direction: column;
    padding: 30px 15px;
  }
  .tab-details {
    text-align: center;
  }
  .tab-buttons {
    flex-direction: column;
  }
}

/* ─────────────────────────────────────────────────────────── */










/* Grid Layout */
.collection-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Individual Card Styling */
.collection-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 480px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInZoom 0.6s ease forwards;
}

/* Image Wrapper */
.collection-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* Text Content */
.card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.card-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.card-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* CTA Button */
.card-content .btn {
  background-color: #e63946;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.card-content .btn:hover {
  background-color: #cc2d3a;
  transform: scale(1.05);
}

.collection-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

/* Divider Banner */
.divider-banner-wrapper {
  background: #2a3d66;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  animation: fadeIn 1s ease;
}

/* Gallery Carousel */
.kenzie-carousel-wrapper {
  max-width: 1100px;
  margin: 60px auto;
  overflow-x: auto;
  white-space: nowrap;
  padding: 0 20px;
}

.kenzie-carousel img {
  display: inline-block;
  width: 300px;
  margin: 0 10px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.kenzie-carousel img:hover {
  transform: scale(1.03);
}

/* ───── Animations ───── */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInZoom {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ───── Responsive Tweaks ───── */
@media (max-width: 768px) {
  .cozy-collection-section h2 {
    font-size: 1.8rem;
  }

  .card-content h3 {
    font-size: 1.2rem;
  }

  .card-content p {
    font-size: 0.95rem;
  }

  .card-content .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .kenzie-carousel img {
    width: 240px;
  }

  .divider-banner-wrapper {
    font-size: 1rem;
    padding: 14px 0;
  }
}










/* ───────────────────────────────────────────────────────────
   Unified Gallery Styling for Style_New.css
──────────────────────────────────────────────────────────── */

.gallery-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

/* Title */
.gallery-header {
  text-align: center;
  margin-bottom: 40px;
  animation: fadeSlideUp 1s ease-in-out both;
}

.gallery-header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2a3d66;
  margin-bottom: 12px;
}

.gallery-header p {
  font-size: 1.05rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Filter Buttons */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.gallery-filters button {
  padding: 10px 20px;
  border-radius: 30px;
  border: none;
  background: #e63946;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

/* ───────────────────────────────────────────────────────────
   Gallery: Headings and Titles
──────────────────────────────────────────────────────────── */
.gallery-header,
.main-content > section > h2 {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  color: #2a3d66;
  margin-bottom: 40px;
  position: relative;
  animation: fadeSlideUp 1s ease-in-out both;
}

.main-content > section > h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #e63946;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ───────────────────────────────────────────────────────────
   Gallery: Filter Buttons
──────────────────────────────────────────────────────────── */
.filter-btn,
.gallery-filters button {
  padding: 10px 22px;
  margin: 8px;
  border-radius: 30px;
  border: none;
  background: #e63946;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active,
.gallery-filters button:hover,
.gallery-filters button.active {
  background: #cc2d3a;
  transform: translateY(-2px);
}

/* ───────────────────────────────────────────────────────────
   Gallery Grid and Cards
──────────────────────────────────────────────────────────── */
.products-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 0 20px 80px;
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeInZoom 0.6s ease both;
}

/* Individual Gallery Card */
.product-item,
.gallery-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  padding: 16px;
  text-align: center;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.product-item:hover,
.gallery-item:hover {
  transform: translateY(-6px);
}

.product-item img,
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
  background: #f9f9f9;
}

.gallery-item img {
  height: auto;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 0;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

/* Product Title */
.product-item h3,
.gallery-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
  padding: 0 10px;
  margin: 0 auto;
}

/* ───────────────────────────────────────────────────────────
   Responsive Design
──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .main-content > section > h2,
  .gallery-header h1 {
    font-size: 1.8rem;
  }

  .gallery-header p {
    font-size: 0.95rem;
  }

  .filter-btn,
  .gallery-filters button {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .product-item img {
    height: 180px;
  }

  .product-item h3 {
    font-size: 0.95rem;
  }
}

/* ───────────────────────────────────────────────────────────
   Animations
──────────────────────────────────────────────────────────── */
@keyframes fadeInZoom {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}










/* ───────────────────────────────────────────────────────────
   Footer Styling
──────────────────────────────────────────────────────────── */
footer {
  background: linear-gradient(180deg,#fff 0%,#f9f9f9 100%);
  border-top: 1px solid #ddd;
  padding: 30px 60px;
  font-size: 0.9rem;
  color: #1a1a1a;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 20px 0;
}
.footer-col {
  flex: 1 1 250px;
  text-align: center;
}
.footer-logo h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}
.footer-logo p {
  font-size: 0.95rem;
  color: #777;
  margin-bottom: 5px;
  font-style: italic;
}
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav ul li a {
  color: #1a1a1a;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.footer-nav ul li a:hover {
  color: var(--accent-color);
  border-bottom: 2px solid var(--accent-color);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-contact ul li {
  font-size: 0.9rem;
}
.footer-contact a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}
.footer-contact a:hover {
  color: var(--accent-hover);
}
.footer-social ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 15px;
}
.footer-social ul li a {
  color: #1a1a1a;
  text-decoration: none;
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.footer-social ul li a:hover {
  background-color: rgba(230, 57, 70, 0.1);
  color: #e63946;
  transform: translateY(-3px);
}
.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: #666;
  border-top: 1px solid #ddd;
  padding-top: 10px;
}

@media (max-width: 768px) {
  footer {
    padding: 30px 20px;
    text-align: center;
  }
  .footer-row {
    flex-direction: column;
    align-items: center;
  }
  .footer-col {
    flex: 1 1 100%;
  }
}
/* ─────────────────────────────────────────────────────────── */

