/* ==========================================================================
   RaiseOnMattress - Static HTML Styles
   ========================================================================== */

/* CSS Variables */
:root {
  /* Brand Colors */
  --brand-blue: #4AB9E9;
  --brand-red: #E5564A;
  
  /* Core Colors */
  --background: #faf9f7;
  --foreground: #2d2a26;
  --card: #ffffff;
  --card-foreground: #2d2a26;
  --primary: #E5564A;
  --primary-foreground: #ffffff;
  --secondary: #f2f0ed;
  --secondary-foreground: #2d2a26;
  --muted: #f2f0ed;
  --muted-foreground: #6b6660;
  --accent: #4AB9E9;
  --accent-foreground: #ffffff;
  --border: #e5e3df;
  --input: #f2f0ed;
  --ring: #4AB9E9;
  
  /* Typography */
--font-sans: Arial, Helvetica, sans-serif;
--font-serif: Arial, Helvetica, sans-serif;

  
  /* Spacing */
  --radius: 0.5rem;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.text-balance {
  text-wrap: balance;
}

/* Layout */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.desktop-only {
  display: none;
}

.mobile-only {
  display: block;
}

@media (min-width: 640px) {
  .desktop-only {
    display: flex;
  }
  .mobile-only {
    display: none;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: #d44a3f;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  background-color: var(--secondary);
}

.btn-ghost {
  background-color: transparent;
  color: var(--foreground);
}

.btn-ghost:hover {
  background-color: var(--secondary);
}

.btn-lg {
  height: 3rem;
  padding: 0 2rem;
  font-size: 1rem;
}

.btn-sm {
  height: 2rem;
  padding: 0 0.75rem;
  font-size: 0.75rem;
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background-color: floralwhite;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

@media (min-width: 1024px) {
  .nav-container {
    padding: 1rem 2rem;
  }
}

.logo-link {
  display: block;
}

.logo {
  height: 4rem;
  width: auto;
}

.nav-center {
  display: none;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .nav-center {
    display: flex;
  }
}

.nav-link {
  font-size: 1.2rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:active,
.nav-link:focus-visible {
  color: var(--foreground);
  font-weight: 500;
}

.nav-right {
  display: none;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .nav-right {
    display: flex;
  }
}

.phone-text {
    
}

/*.cart-btn {*/
/*  position: relative;*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*  width: 2.5rem;*/
/*  height: 2.5rem;*/
/*  background: transparent;*/
/*  border: none;*/
/*  cursor: pointer;*/
/*  color: var(--foreground);*/
/*}*/

/*.cart-count {*/
/*  position: absolute;*/
/*  top: -0.25rem;*/
/*  right: -0.25rem;*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*  width: 1rem;*/
/*  height: 1rem;*/
/*  background-color: var(--primary);*/
/*  color: var(--primary-foreground);*/
/*  font-size: 0.625rem;*/
/*  font-weight: 500;*/
/*  border-radius: 50%;*/
/*}*/

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--foreground);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  background-color: lavenderblush;
  padding: 3rem 0 4rem;
}

@media (min-width: 640px) {
  .hero-section {
    padding: 4rem 0 5rem;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    padding: 2rem 0 2rem;
  }
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.hero-content {
  max-width: 36rem;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-description {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}

.hero-buttons {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.stat {
  text-align: center;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.stat-divider {
  width: 1px;
  height: 3rem;
  background-color: var(--border);
}

.hero-image-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1rem;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Trust Section
   ========================================================================== */

.trust-section {
  background-color: var(--background);
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  background-color: var(--secondary);
  border-radius: 0.5rem;
  color: var(--foreground);
}

.trust-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

.trust-description {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ==========================================================================
   Benefits Section
   ========================================================================== */

.benefits-section {
  background-color: var(--secondary);
  padding: 4rem 0;
}

@media (min-width: 640px) {
  .benefits-section {
    padding: 5rem 0;
  }
}

.section-header {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 500;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-subtitle {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.benefits-grid {
  margin-top: 3rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-card {
  text-align: center;
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto;
  background-color: var(--background);
  border-radius: 50%;
  color: var(--foreground);
}

.benefit-title {
  margin-top: 1.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

.benefit-description {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* ==========================================================================
   Mattress Section
   ========================================================================== */

.mattress-section {
  background-color: var(--background);
  padding: 4rem 0;
}

@media (min-width: 640px) {
  .mattress-section {
    padding: 5rem 0;
  }
}

.section-header-flex {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .section-header-flex {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.products-grid {
  margin-top: 3rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  transition: box-shadow 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  padding: 0.25rem 0.75rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
}

.badge-eco {
  background-color: #22c55e;
}

.product-image-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--muted);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.rating-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.rating-count {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.product-name {
  margin-top: 0.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

.product-description {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  margin-top: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.price-current {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

.price-original {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: line-through;
}

/* ==========================================================================
   Reviews Section
   ========================================================================== */

.reviews-section {
  background-color: var(--secondary);
  padding: 4rem 0;
}

@media (min-width: 640px) {
  .reviews-section {
    padding: 5rem 0;
  }
}

.stars-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.reviews-rating {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--foreground);
}

.reviews-grid {
  margin-top: 3rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
}

.quote-icon {
  color: rgba(107, 102, 96, 0.3);
}

.review-stars {
  margin-top: 1rem;
  display: flex;
  gap: 0.125rem;
}

.review-content {
  margin-top: 1rem;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--foreground);
}

.review-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.review-author {
  font-weight: 500;
  color: var(--foreground);
}

.review-location {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.review-meta {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.review-product {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.verified-badge {
  padding: 0.125rem 0.5rem;
  background-color: #dcfce7;
  color: #15803d;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
  background-color: var(--background);
  padding: 4rem 0;
}

@media (min-width: 640px) {
  .cta-section {
    padding: 5rem 0;
  }
}

.cta-content {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-size: 1.875rem;
  font-weight: 500;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .cta-title {
    font-size: 2.25rem;
  }
}

.cta-description {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}

.cta-buttons {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1280px) {
  .footer-grid {
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
  }
}

.footer-brand {
  max-width: 20rem;
}

.footer-logo {
  height: 2.75rem;
  width: auto;
  object-fit: contain;
}

.footer-description {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  opacity: 0.8;
}

.social-links {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.social-link:hover {
  opacity: 1;
}

.footer-links-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-links-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
}

.footer-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-list a {
  font-size: 0.875rem;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.footer-list a:hover {
  opacity: 1;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.75rem;
  opacity: 0.6;
}

/* ==========================================================================
   Page Hero (Inner Pages)
   ========================================================================== */

.page-hero {
  background-color: var(--background);
  padding: 3rem 0 4rem;
}

@media (min-width: 640px) {
  .page-hero {
    padding: 4rem 0 5rem;
  }
}

.page-hero-content {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.page-hero-title {
  font-size: 1.875rem;
  font-weight: 500;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .page-hero-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .page-hero-title {
    font-size: 3rem;
  }
}

.page-hero-description {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}

/* ==========================================================================
   Content Sections
   ========================================================================== */

.content-section {
  padding: 3rem 0 4rem;
}

@media (min-width: 640px) {
  .content-section {
    padding: 4rem 0 5rem;
  }
}

.content-section.bg-secondary {
  background-color: var(--secondary);
}

.content-section.bg-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.content-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.content-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1rem;
}

.content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-text h2 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .content-text h2 {
    font-size: 1.875rem;
  }
}

.content-text p {
  margin-top: 1rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

/* ==========================================================================
   Values Grid
   ========================================================================== */

.values-grid {
  margin-top: 3rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  text-align: center;
}

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto;
  background-color: var(--secondary);
  border-radius: 50%;
  color: var(--foreground);
}

.value-title {
  margin-top: 1.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

.value-description {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* ==========================================================================
   Stats Grid
   ========================================================================== */

.stats-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  text-align: center;
}

.stat-card .stat-value {
  font-size: 2.5rem;
  color: inherit;
}

.stat-card .stat-label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  opacity: 0.8;
}

/* ==========================================================================
   Contact Form
   ========================================================================== */

.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.contact-form-wrapper {
  padding: 2rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
}

.contact-form-wrapper h2 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .contact-form-wrapper h2 {
    font-size: 1.5rem;
  }
}

.contact-form-wrapper > p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.contact-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-input,
.form-textarea,
.form-select {
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.875rem;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px rgba(74, 185, 233, 0.2);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted-foreground);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6660' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ==========================================================================
   Contact Info
   ========================================================================== */

.contact-info h2 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .contact-info h2 {
    font-size: 1.5rem;
  }
}

.contact-info > p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.contact-info-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  background-color: var(--secondary);
  border-radius: 0.5rem;
  color: var(--foreground);
}

.contact-info-title {
  font-weight: 600;
  color: var(--foreground);
}

.contact-info-content {
  font-size: 0.875rem;
  color: var(--foreground);
}

.contact-info-description {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Social Links in Contact */
.contact-social {
  margin-top: 3rem;
}

.contact-social h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--foreground);
}

.contact-social > p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.contact-social-links {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.contact-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.contact-social-link:hover {
  background-color: #d44a3f;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.faq-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  transition: background-color 0.2s ease;
}

.faq-link:hover {
  background-color: var(--muted);
}

.faq-categories {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.faq-category {
  scroll-margin-top: 6rem;
}

.faq-category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.faq-category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--secondary);
  border-radius: 50%;
  color: var(--foreground);
}

.faq-category-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .faq-category-title {
    font-size: 1.5rem;
  }
}

/* Accordion */
.accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--foreground);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.accordion-trigger:hover {
  background-color: var(--secondary);
}

.accordion-trigger svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.accordion-item.open .accordion-trigger svg {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  padding: 0 1.25rem 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.accordion-item.open .accordion-content {
  display: block;
}

/* ==========================================================================
   How It Works - Steps
   ========================================================================== */

.steps-section {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .steps-section {
    gap: 4rem;
  }
}

.step-item {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .step-item {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  
  .step-item:nth-child(even) .step-content {
    order: 2;
  }
  
  .step-item:nth-child(even) .step-details {
    order: 1;
  }
}

.step-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.step-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: rgba(107, 102, 96, 0.3);
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: var(--primary);
  border-radius: 50%;
  color: var(--primary-foreground);
}

.step-title {
  margin-top: 1.5rem;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .step-title {
    font-size: 1.875rem;
  }
}

.step-description {
  margin-top: 1rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

.step-details {
  padding: 1.5rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
}

.step-details-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.step-detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  background-color: rgba(229, 86, 74, 0.1);
  border-radius: 50%;
  color: var(--primary);
}

.step-detail-text {
  font-size: 0.875rem;
  color: var(--foreground);
}

/* ==========================================================================
   Mattress Guide Table
   ========================================================================== */

.guide-table-wrapper {
  margin-top: 3rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}

.guide-table-scroll {
  overflow-x: auto;
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
}

.guide-table th,
.guide-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  font-size: 0.875rem;
}

.guide-table thead {
  background-color: var(--secondary);
}

.guide-table th {
  font-weight: 600;
  color: var(--foreground);
}

.guide-table tbody {
  background-color: var(--card);
}

.guide-table tbody tr {
  border-bottom: 1px solid var(--border);
}

.guide-table tbody tr:last-child {
  border-bottom: none;
}

.guide-table td {
  color: var(--muted-foreground);
}

.guide-table td:first-child {
  font-weight: 500;
  color: var(--foreground);
}

/* ==========================================================================
   Products Page - Filters
   ========================================================================== */

.filters-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background-color: var(--secondary);
}

.filter-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

/* Product Tags */
.product-tags {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-tag {
  padding: 0.125rem 0.5rem;
  background-color: var(--secondary);
  font-size: 0.75rem;
  color: var(--muted-foreground);
  border-radius: 9999px;
}

/* ==========================================================================
   Product Detail Page
   ========================================================================== */

.product-detail-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .product-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.product-gallery {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--muted);
  border-radius: 1rem;
}

.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info {
  display: flex;
  flex-direction: column;
}

.product-detail-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.25rem 0.75rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
}

.product-detail-title {
  font-size: 1.875rem;
  font-weight: 500;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .product-detail-title {
    font-size: 2.25rem;
  }
}

.product-detail-tagline {
  margin-top: 0.5rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.product-detail-rating {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-detail-rating .stars {
  display: flex;
  gap: 0.125rem;
}

.product-detail-price {
  margin-top: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.product-detail-price .current-price {
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.product-detail-price .original-price {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.product-detail-price .savings {
  padding: 0.125rem 0.5rem;
  background-color: #dcfce7;
  color: #15803d;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
}

.product-detail-description {
  margin-top: 1.5rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

.product-detail-tags {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
}

.product-detail-tag {
  padding: 0.25rem 0.75rem;
  background-color: var(--secondary);
  font-size: 0.875rem;
  color: var(--muted-foreground);
  border-radius: 9999px;
}

/* Size Selector */
.size-selector {
  margin-top: 2rem;
}

.size-selector h3 {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.size-grid {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.size-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.size-btn:hover {
  border-color: var(--muted-foreground);
}

.size-btn.active {
  border-color: var(--primary);
  background-color: rgba(229, 86, 74, 0.05);
}

.size-btn .size-name {
  font-weight: 500;
  color: var(--foreground);
}

.size-btn .size-dimensions {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.size-btn .size-price {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

/* Product Actions */
.product-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .product-actions {
    flex-direction: row;
  }
}

.product-actions .btn {
  flex: 1;
}

/* Product Guarantees */
.product-guarantees {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.guarantee-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--secondary);
  border-radius: 50%;
  color: var(--foreground);
}

.guarantee-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.guarantee-description {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Product Features Section */
.features-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  background-color: var(--primary);
  border-radius: 50%;
  color: var(--primary-foreground);
}

.feature-title {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--foreground);
}

.feature-description {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Specs Table */
.specs-table {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background-color: var(--card);
}

.specs-row {
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.specs-row:last-child {
  border-bottom: none;
}

.specs-label {
  color: var(--muted-foreground);
}

.specs-value {
  font-weight: 500;
  color: var(--foreground);
}

/* Product Reviews Section */
.reviews-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .reviews-header {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.reviews-summary {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .reviews-summary {
    justify-content: flex-start;
  }
}

.reviews-summary .stars {
  display: flex;
  gap: 0.125rem;
}

.reviews-summary .rating {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--foreground);
}

.reviews-summary .count {
  color: var(--muted-foreground);
}

.product-reviews-grid {
  margin-top: 3rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .product-reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-review-card {
  padding: 1.5rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}

.product-review-stars {
  display: flex;
  gap: 0.125rem;
}

.product-review-title {
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--foreground);
}

.product-review-content {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.product-review-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-review-author {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.product-review-date {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
