 

.containerProduct { 
  margin: 0px;
padding: 2% 7%;  
}

/* ============================================
   SECTION
============================================ */

.collection-section {
  position: relative;
  padding: 60px 0 60px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  overflow: hidden;
}

/* Background Shapes */
.bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  pointer-events: none;
  animation: floatShape 25s ease-in-out infinite;
}

.shape-1 {
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 72, 0.2) 0%, transparent 70%);
}

.shape-2 {
  top: 40%;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(166, 124, 82, 0.15) 0%, transparent 70%);
  animation-delay: -10s;
}

.shape-3 {
  bottom: -200px;
  left: 30%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(205, 164, 122, 0.18) 0%, transparent 70%);
  animation-delay: -15s;
}

@keyframes floatShape {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

/* ============================================
   SECTION HEADER
============================================ */

.containerProduct .sectionHeader {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
  z-index: 2;
}

.containerProduct .sectionTag {
  display: inline-block;
  padding: 8px 22px;
  background: rgba(139, 92, 72, 0.08);
  color: #8b5c48;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.containerProduct .sectionTitle {
  font-family: var(--fontFamilyMarcellus);
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--themeColor);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.containerProduct .title-gradient {
  display: block;
  color: var(--themeColor);
}

.containerProduct .section-description {
  font-size: 18px;
  line-height: 1.7;
  color: #4a4a4a;
  max-width: 750px;
  margin: 0 auto;
  font-weight: 400;
}

/* ============================================
   MATTRESS GRID
============================================ */

.mattress-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

/* ============================================
   MATTRESS CARD
============================================ */

.mattress-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--themeColorRGBA03);
  position: relative;
  display: flex;
  flex-direction: column;
}

.mattress-card:hover {
  transform: translateY(-16px);
  box-shadow: 0 25px 70px rgba(139, 92, 72, 0.18);
  border-color: rgba(139, 92, 72, 0.15);
}

.mattress-card.featured {
  border: 2px solid rgba(139, 92, 72, 0.2);
  background: linear-gradient(180deg, #ffffff 0%, #fafaf9 100%);
}

.mattress-card.featured:hover {
  box-shadow: 0 30px 80px rgba(139, 92, 72, 0.25);
}

/* Card Ribbon */
.card-ribbon {
  position: absolute;
  top: 20px;
  left: -8px;
  padding: 8px 20px 8px 16px;
  background: #8b5c48;
  color: white;
  font-size: 12px;
  border-radius: 2px 10px 10px 2px;
  font-weight: normal;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(139, 92, 72, 0.3);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.card-ribbon.premium {
  background: linear-gradient(135deg, #8b5c48, #d4af37);
}

.card-ribbon.eco {
  background: linear-gradient(135deg, #059669, #10b981);
}

.card-ribbon.cooling {
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
}

/* ============================================
   IMAGE CONTAINER
============================================ */

.image-container {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f5f5f5;
}

.mattress-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.mattress-card:hover .mattress-image {
  transform: scale(1.1);
}

.image-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  color: #8b5c48;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mattress-card:hover .image-badge {
  transform: scale(1);
}

.image-badge svg {
  width: 28px;
  height: 28px;
}

/* ============================================
   CARD BODY
============================================ */

.card-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 12px;
}

.card-title {
  font-family: var(--fontFamilyMarcellus);
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
  padding: 0px;
  margin: 0px;
  letter-spacing: 0px;
  flex: 1;
}
 

/* Features Row */
.features-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.feature-pill {
  padding: 5px 12px;
  background: rgba(139, 92, 72, 0.06);
  color: #8b5c48;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border: 1px solid rgba(139, 92, 72, 0.1);
}

.card-description {
  font-size: 16px;
  line-height: 1.7;
  color: #4a4a4a;
  margin-bottom: 5px;
  font-family: var(--fontFamilyMulish);
  font-weight: 400;
  flex: 1;
}

/* Specs Grid */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid rgba(139, 92, 72, 0.08);
  border-bottom: 1px solid rgba(139, 92, 72, 0.08);
  margin-bottom: 0px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--fontFamilyMulish);
  text-align: center;
}

.spec-item svg {
  width: 20px;
  height: 20px;
  color: #8b5c48;
  opacity: 0.7;
}

.spec-item span {
  font-size: 12px;
  font-weight: 600;
  color: #4a4a4a;
  letter-spacing: 0.2px;
}
 
/* ============================================
   COMPARISON SECTION
============================================ */

.comparison-section {
  background: linear-gradient(135deg, #8b5c48 0%, #a67c52 100%);
  border-radius: 32px;
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(139, 92, 72, 0.25);
}

.comparison-section::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -60%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.comparison-header {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}

.comparison-header h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.comparison-header p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.comparison-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.action-btn.primary {
  background: white;
  color: #8b5c48;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.action-btn.primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.action-btn.secondary {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.action-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
}

.action-btn svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */

@media (max-width: 1400px) {
  .mattress-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 40px;
  }
  
  .section-title {
    font-size: 42px;
  }
  
  .mattress-grid {
    gap: 24px;
  }
  
  .image-container {
    height: 280px;
  }
}

@media (max-width: 868px) {
  .collection-section {
    padding: 80px 0 100px;
  }
  
  .container {
    padding: 0 30px;
  }
  
  .section-title {
    font-size: 36px;
  }
  
  .section-description {
    font-size: 16px;
  }
  
  .mattress-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .image-container {
    height: 240px;
  }
  
  .card-body {
    padding: 24px;
  }
  
  .card-title {
    font-size: 22px;
  }
  
  .specs-grid {
    grid-template-columns: 1fr;
  }
  
  .comparison-section {
    padding: 50px 30px;
  }
  
  .comparison-header h3 {
    font-size: 32px;
  }
  
  .comparison-actions {
    flex-direction: column;
  }
  
  .action-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .section-title {
    font-size: 28px;
  }
  
  .mattress-grid {
    grid-template-columns: 1fr;
  }
  
  .image-container {
    height: 260px;
  }
  
  .card-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .comparison-section {
    padding: 40px 24px;
    border-radius: 24px;
  }
  
  .comparison-header h3 {
    font-size: 26px;
  }
  
  .comparison-header p {
    font-size: 16px;
  }
}

/* ============================================
   ACCESSIBILITY
============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.view-details-btn:focus-visible,
.action-btn:focus-visible {
  outline: 3px solid #8b5c48;
  outline-offset: 4px;
}

.mattress-card:focus-within {
  box-shadow: 0 0 0 3px rgba(139, 92, 72, 0.3);
}