/* ============================================================================
   PREMIUM MATTRESS OUTLET - MINIMAL LUXURY THEME V2
   Color Palette: Muted, sophisticated, breathable
   ============================================================================ */

:root {
  /* Premium Color Palette - Muted & Sophisticated */
  --cream: #FAF8F5;
  --warm-gray: #E8E4DF;
  --sage: #B8C5B4;
  --deep-sage: #8B9A87;
  --charcoal: #3A3A3A;
  --soft-black: #1F1F1F;
  --white: #FFFFFF;
  --accent-gold: #C9A86A;

  /* Typography Scale - Premium hierarchy */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;

  --fs-hero: clamp(72px, 5vw, 4rem);
  --fs-h2: clamp(48px, 3vw, 64px);
  --fs-h3: clamp(32px, 2vw, 42px);
  --fs-body: 16px;
  --fs-small: 14px;

  --lh-tight: 1.1;
  --lh-relaxed: 1.6;
  --lh-generous: 1.8;

  /* Spacing - Generous breathing room */
  --space-xs: 20px;
  --space-sm: 40px;
  --space-md: 80px;
  --space-lg: 120px;
  --space-xl: 160px;
  --space-xxl: 200px;

  /* Border Radius - Subtle curves */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Shadows - Soft, elevated */
  --shadow-sm: 0 2px 20px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 40px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 60px rgba(0,0,0,0.12);

  /* Transitions - Smooth, premium feel */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================================
   BASE & RESET
   ============================================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans) !important;
  font-size: var(--fs-body) !important;
  line-height: var(--lh-relaxed) !important;
  color: var(--charcoal) !important;
  background-color: var(--cream) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.site-container{
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    box-shadow: 0px 0px 20px #dcdcdc;
    max-width: 1440px;
}

/* Apply 95% width from md breakpoint and up */
@media (min-width: 768px) {
  .site-container {
    width: 95%;
  }
}

.br-top{
      border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);

}
@media (max-width: 768px) {
.br-top{
      border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);

}
.site-container{

    margin-top: 0rem;
}
}


@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav {
gap:1rem;
    }
}


/* ============================================================================
   TYPOGRAPHY - PREMIUM HIERARCHY
   ============================================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif) !important;
  font-weight: 400 !important;
  line-height: var(--lh-tight) !important;
  color: var(--soft-black) !important;
}

.hero-title {
font-size: clamp(1rem,var(--fs-hero),3rem) !important;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: var(--fs-h2) !important;
  margin-bottom: var(--space-sm);
  text-align: center;
}

.subtitle {
  font-size: var(--fs-h3) !important;
  margin-bottom: var(--space-sm);
}

.lead {
  font-size: 20px !important;
  line-height: var(--lh-generous) !important;
  color: var(--charcoal) !important;
  max-width: 600px;
}

/* ============================================================================
   NAVIGATION - STANDARD BOOTSTRAP
   ============================================================================ */

.logo{
  background: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
  box-shadow: 0 0 20px #161616bd;
}

/* Navbar default state - transparent */
#mainNav {
  background-color: transparent;
  transition: all 0.3s ease;
}

/* Nav links - white when not scrolled */
#mainNav .nav-link {
  color: #ffffff !important;
  transition: color 0.3s ease;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
}

/* Nav links - dark when scrolled */
#mainNav.scrolled .nav-link {
  color: rgba(0, 0, 0, 0.55) !important;
}

#mainNav.scrolled .nav-link:hover,
#mainNav.scrolled .nav-link.active {
  color: rgba(0, 0, 0, 0.7) !important;
}

#mainNav.scrolled .logo {
  box-shadow: none;
}

/* Hamburger icon - white when not scrolled */
#mainNav .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");
}

/* Hamburger icon - dark when scrolled */
#mainNav.scrolled .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(0, 0, 0, 0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hamburger button border */
#mainNav .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}

#mainNav.scrolled .navbar-toggler {
  border-color: rgba(0, 0, 0, 0.1);
}

/* Dropdown menu - always white background with dark text */
#mainNav .dropdown-menu {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

#mainNav .dropdown-item {
  color: rgba(0, 0, 0, 0.7);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
}

#mainNav .dropdown-item:hover {
  background-color: #f8f9fa;
  color: rgba(0, 0, 0, 0.9);
}

/* Mobile menu - always white background with dark text */
#mainNav .navbar-collapse {
  background-color: transparent;
}

@media (max-width: 991px) {
  #mainNav .navbar-collapse.show,
  #mainNav .navbar-collapse.collapsing {
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 0.25rem;
    margin-top: 0.5rem;
  }

  #mainNav .navbar-collapse.show .nav-link,
  #mainNav .navbar-collapse.collapsing .nav-link {
    color: rgba(0, 0, 0, 0.7) !important;
  }
}

/* Navbar scrolled state - white background with shadow */
#mainNav.scrolled {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* CTA Buttons */
.btn-cta {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 0.5rem 1.25rem;
  font-family: var(--font-sans);
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 0.25rem;
}

.btn-cta:hover {
  background-color: #ffffff;
  color: var(--soft-black);
  border-color: #ffffff;
}

/* CTA button when scrolled */
#mainNav.scrolled .btn-cta {
  background-color: var(--accent-gold);
  color: #ffffff;
  border-color: var(--accent-gold);
}

#mainNav.scrolled .btn-cta:hover {
  background-color: #b8860b;
  border-color: #b8860b;
}

/* Outline CTA button (Get Directions) - mobile only */
.btn-outline-cta {
  background-color: transparent;
  color: rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(0, 0, 0, 0.3);
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 0.25rem;
}

.btn-outline-cta:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.9);
  border-color: rgba(0, 0, 0, 0.5);
}

/* REMOVED: Custom navbar-premium styles - Using standard Bootstrap instead
.navbar-premium {
  background: transparent !important;
  backdrop-filter: blur(0px);
  transition: all var(--transition-smooth) !important;
  padding: var(--space-sm) 0 !important;
  position: fixed;
  width: 95%;
  top: 0;
  z-index: 1000;
  max-width: 1440px;
}

.navbar-premium.scrolled {
  background: rgba(250, 248, 245, 0.95) !important;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: var(--space-xs) 0 !important;
}

.navbar-premium .navbar-brand {
  order: 1;
}

.navbar-premium .navbar-brand img {
  height: 50px;
  transition: all var(--transition-smooth);
}

.navbar-premium.scrolled .navbar-brand img {
  height: 40px;
}

.navbar-premium .nav-link {
  color: var(--white) !important;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 12px 24px !important;
  transition: all var(--transition-fast) !important;
  position: relative;
  font-family: var(--font-sans) !important;
}

.navbar-premium.scrolled .nav-link {
  color: var(--soft-black) !important;
}

.navbar-premium .nav-link::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 24px;
  right: 24px;
  height: 1px;
  background: var(--accent-gold);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.navbar-premium .nav-link:hover::after,
.navbar-premium .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-container-premium{
  width: 95%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 767px) {
  .navbar-premium{
    width: 100%;
  }
}

.navbar-premium .navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 8px 12px;
  border-radius: 4px;
  order: 2;
}

.navbar-premium .navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-premium .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");
  width: 24px;
  height: 24px;
}

.navbar-premium.scrolled .navbar-toggler {
  border-color: var(--soft-black);
}

.navbar-premium.scrolled .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(31, 31, 31, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-cta-mobile {
  display: none;
  padding: var(--space-sm);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: var(--space-sm);
}

.navbar-premium .navbar-collapse {
  order: 3;
  flex-basis: 100%;
}

@media (min-width: 992px) {
  .navbar-premium .navbar-collapse {
    flex-basis: auto;
  }
}

@media (max-width: 991px) {
  .navbar-cta-mobile {
    display: block;
  }

  .navbar-premium .navbar-collapse {
    background: rgba(250, 248, 245, 0.98);
    padding: var(--space-sm);
    border-radius: var(--radius-md);
  }

  .navbar-premium .navbar-nav {
    align-items: flex-start !important;
  }

  .navbar-premium .nav-link {
    padding: 12px 16px !important;
    color: var(--soft-black) !important;
  }

  .navbar-cta-mobile {
    border-top-color: rgba(0, 0, 0, 0.1);
  }
}
END REMOVED */

/* ============================================================================
   HERO - FULL VIEWPORT WITH LIFESTYLE IMAGERY
   ============================================================================ */

.hero-premium {
  position: relative;
  height: 80vh;
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--warm-gray);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Disable hover scale on carousel images to prevent jump */
.hero-premium .carousel-item .hero-bg {
  transform: none !important;
  transition: none !important;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(213, 153, 11, 0.48), rgba(23, 85, 178, 0.39));  
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: var(--space-md);
  animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  margin-top: 5%;
  backdrop-filter: blur(3px);
  border-radius: 4rem;
}

@media (max-width: 767px) {
.hero-content {

  padding: var(--space-sm) !important;

}
.hero-premium{
  height:100vh;
}
.hero-content .lead {
margin: 0 auto var(--space-sm) !important;
}
}

.hero-content > * {
  pointer-events: auto;
}

.hero-content h1 {
  color: var(--white) !important;
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
  margin-bottom: var(--space-sm);
}

.hero-content .lead {
  color: rgba(255,255,255,0.95) !important;
  margin: 0 auto var(--space-md);
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

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

/* Hero Carousel Integration */
.hero-premium #heroCarousel,
.hero-premium .carousel-inner,
.hero-premium .carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-premium .carousel-item {
  transition: opacity 1.5s ease-in-out;
}

/* Add overlay to each carousel item */
.hero-premium .carousel-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-premium .carousel-control-prev,
.hero-premium .carousel-control-next {
  z-index: 10;
  width: 8%;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: auto;
}

.hero-premium:hover .carousel-control-prev,
.hero-premium:hover .carousel-control-next {
  opacity: 0.7;
}

.hero-premium .carousel-control-prev:hover,
.hero-premium .carousel-control-next:hover {
  opacity: 1 !important;
}

.hero-premium .carousel-indicators {
  z-index: 10;
  margin-bottom: 2rem;
  pointer-events: auto;
}

.hero-premium .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.8);
  background-color: transparent;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.hero-premium .carousel-indicators button.active {
  background-color: rgba(255,255,255,0.9);
  opacity: 1;
  transform: scale(1.2);
}

/* ============================================================================
   BUTTONS - MINIMAL PREMIUM STYLE
   ============================================================================ */

.btn-premium {
  font-family: var(--font-sans) !important;
  font-size: 17px !important;
  font-weight: 400;
  letter-spacing: 0.3px;
  padding: 20px 56px !important;
  border-radius: 0 !important;
  border: 1px solid var(--soft-black) !important;
  background: var(--soft-black) !important;
  color: var(--white) !important;
  transition: all var(--transition-smooth) !important;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
}

.btn-premium::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-smooth);
}

.btn-premium:hover {
  background: var(--charcoal) !important;
  border-color: var(--accent-gold) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-premium:hover::after {
  transform: scaleX(1);
}

.btn-outline-premium {
  font-family: var(--font-sans) !important;
  font-size: 17px !important;
  font-weight: 400;
  letter-spacing: 0.3px;
  background: transparent !important;
  color: var(--soft-black) !important;
  border: 1px solid var(--soft-black) !important;
  padding: 20px 56px !important;
  border-radius: 0 !important;
  transition: all var(--transition-smooth) !important;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
}

.btn-outline-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--soft-black);
  transition: left var(--transition-smooth);
  z-index: -1;
}

.btn-outline-premium:hover {
  color: var(--white) !important;
  border-color: var(--accent-gold) !important;
}

.btn-outline-premium:hover::before {
  left: 0;
}

.btn-light-premium {
  font-family: var(--font-sans) !important;
  font-size: 17px !important;
  font-weight: 400;
  letter-spacing: 0.3px;
  background: rgba(255,255,255,0.95) !important;
  color: var(--soft-black) !important;
  border: 1px solid rgba(255,255,255,0.95) !important;
  padding: 20px 56px !important;
  border-radius: 0 !important;
  transition: all var(--transition-smooth) !important;
  position: relative;
  backdrop-filter: blur(10px);
  text-decoration: none;
  display: inline-block;
}

.btn-light-premium:hover {
  background: transparent !important;
  color: var(--white) !important;
  border-color: var(--white) !important;
  box-shadow: inset 0 0 0 1px var(--accent-gold);
}

/* ============================================================================
   SECTIONS - GENEROUS SPACING
   ============================================================================ */

.section-premium {
  padding: var(--space-md) 0;
  position: relative;
}

.section-premium.bg-white {
  background: var(--white) !important;
}

.section-premium.bg-cream {
  background: var(--cream) !important;
}

.section-premium.bg-sage {
  background: var(--sage) !important;
}

.container-premium {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ============================================================================
   BENTO GRID - ASYMMETRIC LAYOUTS
   ============================================================================ */

.bento-grid {
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: repeat(12, 1fr);
  width: 100%;
  max-width: 100%;
}

.bento-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  transition: transform var(--transition-smooth);
}

.bento-item:hover {
  transform: translateY(-8px);
}

.bento-large {
  grid-column: span 8;
height: clamp(33rem, 50vw, 43rem);
box-shadow: 0px 0px 20px #e5e5e5;}


.bento-medium {
  grid-column: span 6 ;
  min-height: 400px;
  box-shadow: 0px 0px 20px #e5e5e5;
}

.bento-small {
  grid-column: span 4;
  min-height: 300px;
  box-shadow: 0px 0px 20px #e5e5e5;
}

.video-card-container {
  background: var(--charcoal);
}

.video-card {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bento-wide {
  grid-column: span 12;
}

/* Also Available list - bullet separators */
.also-available-item:not(:last-child)::after {
  content: ' \2022  ';
}

@media (max-width: 992px) {
  .bento-grid {
    gap: var(--space-xs);
    grid-template-columns: 1fr;
  }

  .bento-large,
  .bento-medium,
  .bento-small,
  .bento-wide {
    grid-column: span 1 !important;
  }
  .container-premium {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-xs);
}
}

.bento-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-item:hover .bento-image {
  transform: scale(1.05);
}

.bento-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  color: var(--white);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.bento-item:hover .bento-overlay {
  opacity: 1;
}

.bento-overlay h3{
  color:white !important;
}
/* ============================================================================
   PRODUCT CARDS - MINIMAL PREMIUM
   ============================================================================ */

.product-card-minimal {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.product-card-minimal:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%;
  overflow: hidden;
  background: var(--warm-gray);
}

.product-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card-minimal:hover .product-image-wrapper img {
  transform: scale(1.08);
}

.product-content {
  padding: var(--space-xs);
  font-size: 0.9rem;
}

.product-name {
  font-family: var(--font-sans) !important;
  font-size: 24px !important;
  margin-bottom: var(--space-xs);
  color: var(--soft-black) !important;
}

.product-tagline {
  font-size: var(--fs-small);
  color: var(--charcoal);
  line-height: var(--lh-generous);
}

.product-price {
  font-size: 20px;
  font-weight: 600;
  color: var(--accent-gold);
}

/* ============================================================================
   SPLIT CONTENT - PARALLAX SECTIONS
   ============================================================================ */

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  min-height: 600px;
}

@media (max-width: 992px) {
  .split-section {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

.split-image {
  position: relative;
  height: 100%;
  min-height: 600px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s cubic-bezier(0.4, 0, 0.2, 1);
}

.split-section:hover .split-image img {
  transform: scale(1.05);
}

.split-content {
}

.split-content h2 {
  margin-bottom: var(--space-sm);
}

.split-content p {
  margin-bottom: var(--space-md);
  line-height: var(--lh-generous);
}

/* ============================================================================
   TESTIMONIALS - MINIMAL VIDEO CARDS
   ============================================================================ */

.testimonial-card-minimal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xs);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition-smooth);
}

.testimonial-card-minimal:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-quote-details {
  margin-bottom: var(--space-xs);
}

.testimonial-quote-details summary {
  list-style: none;
  cursor: pointer;
}

.testimonial-quote-details summary::-webkit-details-marker {
  display: none;
}

.testimonial-quote-summary {
  display: block;
}

.testimonial-quote-minimal {
  font-size: 1rem;
  line-height: var(--lh-generous);
  color: var(--charcoal);
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonial-quote-full {
  font-size: 1rem;
  line-height: var(--lh-generous);
  color: var(--charcoal);
  font-style: italic;
  margin: 0;
}

.read-toggle {
  display: block;
  color: var(--deep-sage);
  font-size: var(--fs-small);
  font-style: normal;
}

.read-toggle::after {
  content: "Read more";
}

.read-toggle:hover {
  text-decoration: underline;
}

/* When expanded - hide truncated, show full */
.testimonial-quote-details[open] .testimonial-quote-minimal {
  display: none;
}

.testimonial-quote-details[open] .read-toggle::after {
  content: "Read less";
}

.testimonial-author {
  font-size: var(--fs-small);
  color: var(--deep-sage);
  font-weight: 600;
  margin-bottom:0;
}

/* ============================================================================
   FOOTER - GENEROUS MINIMAL
   ============================================================================ */

.footer-premium {
  background: var(--soft-black);
  color: rgba(255,255,255,0.8);
  padding: var(--space-md) 0 var(--space-xs);
}

.footer-premium h4 {
  color: var(--accent-gold) !important;
  font-family: var(--font-serif) !important;
  font-size: 18px !important;
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.footer-premium a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-premium a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  margin-top: var(--space-xs);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 14px;
}

/* ============================================================================
   UTILITY CLASSES
   ============================================================================ */

.text-accent {
  color: var(--accent-gold) !important;
}

.bg-accent {
  background: var(--accent-gold) !important;
}

.bg-charcoal {
  background: var(--charcoal) !important;
}

.bg-cream {
  background: var(--cream) !important;
}

.bg-warm-gray {
  background: var(--warm-gray) !important;
}

.lh-generous {
  line-height: var(--lh-generous) !important;
}

.cursor-pointer {
  cursor: pointer;
}

.transition-transform {
  transition: transform 0.3s;
}

/* .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
} */

/* Premium spacing utilities */
.py-premium {
  padding-top: var(--space-xl) !important;
  padding-bottom: var(--space-xl) !important;
}

.my-premium {
  margin-top: var(--space-xl) !important;
  margin-bottom: var(--space-xl) !important;
}

/* Smooth image loading */
img {
  opacity: 0;
  animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* ============================================================================
   MATTRESSES PAGE - RESPONSIVE BENTO GRID
   ============================================================================ */

/* Mobile Responsive Fixes for Bento Grid Collections */
@media (max-width: 991px) {
  /* Tablet adjustments */
  .bento-large {
    min-height: 500px !important;
  }

  .bento-medium {
    min-height: 400px !important;
  }

  .bento-small {
    min-height: 350px !important;
  }
}

@media (max-width: 767px) {
  /* Mobile: Reduce bento item min-heights */
  .bento-large,
  .bento-medium {
    min-height: 400px !important;
  }

  .bento-small {
    min-height: 300px !important;
  }

  .bento-wide {
    min-height: auto !important;
  }

  /* Adjust overlay typography for mobile */
  .bento-overlay h3 {
    font-size: clamp(28px, 6vw, 36px) !important;
  }

  .bento-overlay p {
    font-size: 16px !important;
    margin-bottom: 12px !important;
  }

  .bento-overlay span {
    font-size: 14px !important;
  }

  /* Premium & Specialty icon cards - stack on mobile */
  .specialty-cards {
    flex-direction: column !important;
    gap: var(--space-sm) !important;
  }

  .specialty-cards > div {
    width: 100% !important;
    padding: 16px 24px !important;
  }

  /* Reduce watermark icon size */
  .bento-item [style*="font-size: 160px"] {
    font-size: 80px !important;
    opacity: 0.05 !important;
  }

  /* Fan Favorites list - better mobile spacing */
  .fan-favorites-list {
    font-size: 14px !important;
  }

  .fan-favorites-list li {
    margin-bottom: 6px !important;
  }

  /* Adjust subtitle sizes in bento items */
  .bento-item .subtitle {
    font-size: 22px !important;
  }

  /* Better mobile padding for all bento content */
  .bento-item > div,
  .bento-item > a > div {
    padding: var(--space-md) !important;
  }

  /* Adjust badge sizes */
  .bento-item [style*="padding: 8px 20px"] {
    padding: 6px 16px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 575px) {
  /* Extra small mobile: Further optimizations */
  .bento-grid {
    gap: 16px;
  }

  .bento-large,
  .bento-medium,
  .bento-small {
    min-height: 320px !important;
  }

  .bento-overlay h3 {
    font-size: 24px !important;
  }

  .bento-overlay p {
    font-size: 15px !important;
  }

  /* Tighter padding on very small screens */
  .bento-item > div,
  .bento-item > a > div {
    padding: var(--space-xs) !important;
  }
}

/* ============================================================================
   REUSABLE UTILITY CLASSES FOR MATTRESSES PAGE
   ============================================================================ */

/* Hero variations */
.hero-premium-short {
  height: 80vh;
  min-height: 650px;
}

/* Lead text variations */
.lead-wide {
  max-width: 900px;
}

.lead-medium {
  max-width: 700px;
}

/* Icon sections */
.icon-large {
  font-size: 64px;
  margin-bottom: var(--space-sm);
}

.icon-medium {
  font-size: 48px;
  margin-bottom: var(--space-sm);
}

.subtitle-24 {
  font-size: 24px;
}

/* Bento overlay styles */
.bento-overlay-dark {
  opacity: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 100%);
}

.bento-overlay-sage {
  opacity: 1;
  background: linear-gradient(to top, rgba(139,154,135,0.95) 0%, rgba(139,154,135,0.7) 100%);
}

/* Badge styles */
.badge-premium {
  display: inline-block;
  background: var(--accent-gold);
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: var(--space-sm);
}

.badge-premium-text {
  color: var(--soft-black);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.badge-light {
  display: inline-block;
  background: rgba(255,255,255,0.3);
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: var(--space-sm);
      border: 1px solid rgb(185, 185, 185);
}

.badge-light-text {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.badge-limited {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #DC3545;
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Gradient backgrounds */
.bg-gradient-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #B89558 100%);
}

.bg-gradient-sage {
  background: linear-gradient(135deg, var(--deep-sage) 0%, var(--sage) 100%);
}

.bg-gradient-comfort {
  background: linear-gradient(135deg, var(--cream) 0%, var(--warm-gray) 100%);
}

/* Bento content containers */
.bento-content-card {
  padding: var(--space-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.bento-content-wide {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: var(--radius-lg);
  min-height: 400px;
}

/* Watermark icons */
.watermark-icon {
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 160px;
  opacity: 0.1;
  color: var(--white);
}

.watermark-icon-shield {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 120px;
  opacity: 0.1;
  color: var(--white);
}

/* Text color utilities */
.text-white-90 {
  color: rgba(255,255,255,0.9);
}

.text-white-95 {
  color: rgba(255,255,255,0.95);
}

.text-white-85 {
  color: rgba(255,255,255,0.85);
}

/* Typography utilities */
.clamp-title-large {
  font-size: clamp(36px, 4vw, 48px);
}

.clamp-title-xlarge {
  font-size: clamp(42px, 5vw, 56px);
}

.clamp-title-medium {
  font-size: clamp(32px, 4vw, 42px);
}

/* List styles */
.list-unstyled-custom {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-md) 0;
}

.list-unstyled-custom li {
  margin-bottom: 8px;
}

/* Specialty cards */
.specialty-cards {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--space-sm);
}

.specialty-card {
  background: var(--white);
  padding: 20px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.specialty-card-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
}

.specialty-card-label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
}

/* Comfort guarantee section */
.comfort-guarantee-panel {
  background: linear-gradient(135deg, var(--deep-sage) 0%, var(--sage) 100%);
  padding: var(--space-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.comfort-guarantee-content {
  background: var(--white);
  padding: var(--space-sm);
  height: 100%;
}

.guarantee-step {
  display: flex;
  gap: var(--space-sm);
  align-items: start;
}

.guarantee-icon-circle {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
      box-shadow: 0 0 20px #00000033;
}

.guarantee-icon-circle i {
  font-size: 24px;
  color: white;
}

.guarantee-step-title {
  font-family: var(--font-sans) !important;
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--soft-black);
}

.guarantee-step-text {
  color: var(--charcoal);
  line-height: var(--lh-generous);
  margin: 0;
}

/* Link styles */
.link-premium {
  color: var(--accent-gold);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
}

.link-dark {
  color: var(--soft-black);
  font-family: var(--font-sans);
  font-weight: 600;
  text-decoration: none;
}

.link-white {
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
