
.margin-auto{
    margin:auto;
}
section {
    padding: 50px 0;
}
.section_mattrresses {
}
.section_pillow {
  background-color: #f8f9fa;
  margin: 0;
  padding: 50px 0;
}

.header-grid {
  position: relative;
  grid-template-columns: 0.7fr 3fr 1fr;
  grid-column-gap: 20px;
  align-items: center;
  padding: 0;
  z-index: 20;
  max-width: 100%;
  display: flex;
  width: 100%;
}
/* 1. Global Styles */
body {
  background-color: #fff;
  font-family: sans-serif;
}
.navbar {
  background-color: #fff !important;
  padding: 0.5rem 2.5rem;
}
.navbar-brand {
  color: white !important;
  font-weight: bold;
}
.dropdown-menu.show {
  display: block;
  margin: 0;
}
.nav-link {
  color: #0a0a0a !important;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 1rem 1.25rem;
  font-weight: 600;
}

/* 2. Mega-Menu Container */
.mega-dropdown {
  position: static;
} /* Important for full width */
.navbar-expand-lg .navbar-nav {
  flex-direction: row;
  width: 100%;
  display: flex;
  justify-content: space-around;
}
.mega-menu {
  width: 100%; /* Full width of the container */
  border: none;
  border-radius: 0;
  padding: 0;
  left: 0 !important; /* Ensure it starts at the left edge */
  margin-top: 0;
  background-color: #004d99; /* Dark blue background */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* 3. Top Buttons Section */
.menu-top-bar {
  display: flex;
  background-color: rgb(255 255 255 / 49%);
  margin-bottom: 20px;
  padding: 0;
  border-radius: 15px;
}
.top-link-btn {
  flex: 1;
  padding: 20px 0;
  text-align: center;
  color: white;
  text-decoration: none;
  cursor: pointer;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-link-btn:last-child {
  border-right: none;
}
.top-link-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
.top-link-btn i {
  display: block;
  margin-bottom: 5px;
  font-size: 1.5rem;
  opacity: 0.8;
}
.top-link-btn span {
  font-weight: 500;
  font-size: 0.9rem;
  margin-left: 15px;
}

/* 4. Bottom Content Columns */
.menu-content-cols {
  padding: 20px 50px;
}
.menu-column h5 {
  color: white;
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.menu-list a {
  display: block;
  padding: 15px 0;
  color: white;
  text-decoration: none;
  font-size: 11px;
  line-height: 1.3;
}
.menu-list a:hover {
  color: #f2f2f2;
}
.menu-list small {
  display: block;
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: -3px;
}
.price-note {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 15px;
}

/* Icon Utility */
.navbar .utility-icons a {
  color: #040404;
  margin-left: 15px;
  font-size: 1.2rem;
  font-weight: 600;
}
.navbar.menu-expanded .utility-icons a {
  color: white !important;
}

/* 5. Carousel Styling (to match blue theme) */
.carousel{
    margin-top:70px;
}
.carousel-item {
    background-color: #007bff00;
    color: white;
}
.carousel.pointer-event {
  touch-action: pan-y;
  margin-top: 70px;
}
.carousel-item img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}
.carousel-caption h5 {
  font-size: 2.5rem;
  font-weight: bold;
}
.carousel-caption p {
  font-size: 1.2rem;
}
.brand-logo {
  height: 40px;
  width: auto;
  margin-right: 10px;
}
/* 6. Navbar Expanded State */
.navbar.menu-expanded {
  background-color: #004d99 !important; /* A slightly different shade of blue */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional: add a subtle shadow */
}
.navbar.menu-expanded .nav-link {
  color: white !important;
}
.navbar .brand-logo.logo {
  display: block;
}
.navbar .brand-logo.logo-white {
  display: none;
}
.navbar.menu-expanded .brand-logo.logo {
  display: none;
}
.navbar.menu-expanded .brand-logo.logo-white {
  display: block;
}
.carousel-caption {
  color: #fff;
  background: #0000007d;
  bottom: 35%;
}
.carousel-caption h5,
.carousel-caption p {
  color: #fff;
}
.carousel-caption .btn {
  background-color: #004d99;
  border-color: #004d99;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
}

/* 5. Product Card Specific Styling (NEW/MODIFIED) */
.product-card {
  border-radius: 12px; /* Smoother rounded corners */
  overflow: hidden; /* Ensures image and badge respect corners */
  border: 1px solid #e0e0e0;
}

.card-img-container {
    position: relative;
    max-height: 300px;
    min-height: 300px;
    overflow: hidden;
}

.discount-badge {
  position: absolute;
  bottom: 10px;
  left: 0;
  background-color: #28a745; /* Green background */
  color: white;
  padding: 5px 15px;
  font-size: 0.9rem;
  font-weight: bold;
  border-radius: 0 5px 5px 0;
  z-index: 10;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.card-body-custom {
  padding: 15px;
  /* Ensure the text is left-aligned as in the example */
  text-align: left !important;
}

.card-title-main {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.price-original {
  text-decoration: line-through;
  color: #999;
  font-size: 0.95rem;
  margin-left: 10px;
}

.price-final {
  font-size: 14px;
  font-weight: bold;
  color: #333; /* Darker text for final price */
}

.cart-icon-btn {
    background-color: #007bff; /* Primary blue for the button */
    border-radius: 8px;
    padding: 8px 12px;
    line-height: 1; /* Aligns the icon nicely */
    font-family: "bootstrap-icons"; /* Essential for the icon to render */
    content: "\F244";
}
/* 7. Comfort Zone Section Styling */
.comfort-zone-section {
  background-color: white; /* White background for this section */
  padding: 0px 0; /* Vertical spacing */
}
.comfort-zone-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%; /* Ensure cards are same height */
}
.comfort-zone-card:hover {
  transform: translateY(-5px); /* Subtle lift on hover */
}
.comfort-zone-card img {
  width: 100%;
  object-fit: cover; /* Ensures images cover the area without distortion */
}
.comfort-zone-body {
  padding: 25px;
  text-align: left;
  display: flex; /* Use flexbox for button alignment */
  flex-direction: column;
  justify-content: space-between;
  height: calc(100% - 300px); /* Adjust height based on image height */
}
.comfort-zone-body h4 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}
.comfort-zone-body p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
  flex-grow: 1; /* Allows paragraph to take available space */
}
.comfort-zone-shop-btn {
  align-self: flex-start; /* Align button to the left */
  margin-top: 15px; /* Space above the button */
  min-width: 100px;
  padding: 10px 20px;
}
.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333; /* Dark text for title */
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px; /* Underline length */
  height: 4px;
  background-color: #007bff; /* Blue underline */
  border-radius: 2px;
}
.comfort-zone-section .body_caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
}
.comfort-zone-section .body_caption .body_title {
  max-width: 70%;
}
/* silck slider  */
.product-slide-item {
  margin: 0 5px;
}
.slick-next:before,
.slick-prev:before {
  color: #000;
  font-size: 35px;
}
.slick-list {
  min-height: 400px;
}
.slick-prev {
  left: -35px;
}

/* Shop By Details */
.shopby_verities {
  background-color: #f8f9fa;
  margin: 0;
  padding: 50px 0;
}
/* 10. Multi-Column Grid Wrapper (New Styling) */
.multi-column-grid-wrapper {
  padding: 40px 0;
  background-color: #f8f9fa; /* Light background for contrast */
}

/* Ensure the individual column cards have full height */
.themed-section-column {
  height: 100%;
  background-color: white; /* White background for the card/column itself */
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Subtle shadow around the column */
  padding: 15px;
}

/* 9. Themed Collection Section Styling (Reused and adjusted) */
.themed-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  /* No padding here, padding is on .themed-section-column */
}
.themed-section-header h4 {
  font-size: 1.25rem; /* Slightly smaller title for 3-column layout */
  font-weight: 600;
  color: #333;
  margin-bottom: 0;
}
.themed-arrow-link {
  font-size: 1.2rem; /* Smaller arrow */
  color: #007bff;
  text-decoration: none;
}

/* Small Product Card Styling (Adjusted for 3 columns) */
.small-product-card {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 0px; /* Slightly less padding */
  height: 100%;
}
.small-product-card img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 5px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.small-product-card h6 {
  font-size: 14px;
  margin-bottom: 1px;
  text-align: center;
  padding: 5px 8px;
  color: #605f5f;
  font-weight: 600;
}
.small-product-card p {
  font-size: 0.75rem; /* Smaller font */
  margin-bottom: 0;
  text-align: center;
  padding: 0 8px;
  padding-bottom: 10px;
  min-height: 50px;
}
/* Styling for the 6th large banner card (Image 3 style) */
.collection-banner-card {
  border-radius: 8px;
  background-color: #f7f3ed; /* Light beige background */
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.collection-banner-card h3 {
  font-size: 2rem;
  font-weight: bold;
  color: #7d4d29; /* Brownish color for text */
}
.collection-banner-card p {
  color: #92755e;
  font-size: 1rem;
  margin-bottom: 20px;
}
.collection-banner-images {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}
.collection-banner-images img {
  width: 33.33%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
}
.see-collection-btn {
  background-color: #e5c39b; /* Light tan background */
  color: #7d4d29;
  border: none;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 4px;
  transition: background-color 0.2s;
  align-self: flex-start; /* Aligns button to the left */
}
.see-collection-btn:hover {
  background-color: #d8b488;
  color: #7d4d29;
}

/*Sleep Advices CSS*/
.sleep_advices {
  display: block;
  position: relative;
}
.sleep_advices .sleep_advicePanel {
  display: flex;
  flex-wrap: wrap;
}
.sleep_advices .sleep_advicePanel .sleep_adviceItem {
  display: block;
  padding: 0 10px;
}
.sleep_advices .sleep_advicePanel .sleep_adviceItem .sleep_adviceDetail {
  display: flex;
  border-radius: 10px;
  border: 1px solid;
  border-color: #cfcfcf;
  box-shadow: 5px 5px 8px -2px #d3d0d0;
  background-color: #f9ebdb;
  margin-bottom: 20px;
}
.sleep_advices
  .sleep_advicePanel
  .sleep_adviceItem
  .sleep_adviceDetail
  .sleep_adviceImage {
  width: 40%;
}
.sleep_advices
  .sleep_advicePanel
  .sleep_adviceItem
  .sleep_adviceDetail
  .sleep_adviceImage
  .sleep_adviceimg {
  max-width: 100%;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
.sleep_advices
  .sleep_advicePanel
  .sleep_adviceItem
  .sleep_adviceDetail
  .sleep_advicecaptions {
  width: 60%;
  padding-left: 10px;
}

.sleep_advices
  .sleep_advicePanel
  .sleep_adviceItem
  .sleep_adviceDetail
  .sleep_advicecaptions
  .title {
  display: block;
  padding-top: 10px;
}
.sleep_advices
  .sleep_advicePanel
  .sleep_adviceItem
  .sleep_adviceDetail
  .sleep_advicecaptions
  .title
  h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}
.sleep_advices
  .sleep_advicePanel
  .sleep_adviceItem
  .sleep_adviceDetail
  .sleep_advicecaptions
  p {
  font-size: 14px;
}
/* 11. FAQ Panel Styling */
.faq_sections {
  background-color: #f8f9fa; /* Light grey background for contrast */
}
.faq-section {
  padding: 50px 0;
}
.faq-title {
  color: #333;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
}
.accordion-item {
  border: 1px solid #d8d8e0;
  margin-bottom: 10px;
  border-radius: 8px !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.accordion-button {
  font-weight: 600;
  color: #007bff; /* Blue color for the questions */
  background-color: white;
  padding: 15px 20px;
  border-radius: 8px !important;
}
.accordion-button:not(.collapsed) {
  color: #0056b3; /* Darker blue when active */
  background-color: #eaf5ff; /* Light blue background when open */
  box-shadow: none;
}
.accordion-body {
  background-color: white;
  color: #555;
  line-height: 1.6;
  padding: 15px 20px;
  border-top: 1px solid #d8d8e0;
}
/* Footer Sections */
.footer_section {
  display: block;
  margin: 0 !important;
  padding: 25px 0;
  border-top: 1px solid;
  border-color: #ddd;
  background-color: #c7c7c7;
}
.footer_section .footer-follow-us {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.footer_section .footer-follow-us .social-icons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-content: center;
  flex-wrap: nowrap;
}

.footer_section .footer-follow-us .social-icons a {
  color: #02153f;
  font-size: 25px;
  width: 25px;
  height: 25px;
  display: inline-block;
  margin: 0 10px;
}
.footer_section .footer-side-links {
  color: #000;
}
.footer_section .footer-side-links ul {
  display: flex;
  list-style-type: none;
}
.footer_section .footer-side-links ul li {
  padding: 0 15px;
}
.footer_section .footer-side-links ul li a {
  color: #000000;
  text-decoration: none;
}

/* 13. Breadcrumbs Styling */
.breadcrumbs-wrapper {
  background-color: #e5e5e5; /* Light background to separate it from the nav */
  padding: 15px 0;
  border-bottom: 1px solid #e9ecef;
  margin-top: 70px;
}
.breadcrumb {
  --bs-breadcrumb-divider: ">"; /* Uses angle bracket as divider */
  margin-bottom: 0;
  padding: 0;
  background-color: transparent;
}
.breadcrumb-item {
  position: relative;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 12px;
  line-height: 110%;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #062b4e;
}
.breadcrumb-item a {
  color: #000000; /* Blue links */
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}
.breadcrumb-item a:hover {
  color: #000000;
  font-weight: 500;
}
.breadcrumb-item.active {
  color: #222; /* Muted color for the current page */
  font-weight: 500;
}
@media (min-width: 1366px) {
  .shopby_verities .container-fluid {
    margin: 0 5%;
    width: auto;
  }
}
@media (min-width: 1600px) {
  .shopby_verities .container-fluid {
    margin: 0 8%;
    width: auto;
  }
}
@media (min-width: 1920px) {
  .shopby_verities .container-fluid {
    margin: 0 8%;
    width: auto;
  }
}
@media (min-width: 992px) {
  .header-grid .site-btn-menu {
    display: flex;
    justify-content: end;
    align-items: center;
  }
}
@media (max-width: 768px) {
  .navbar {
    padding: 10px 15px;
  }
  .comfort-zone-section .body_caption {
    flex-direction: column;
    align-items: flex-start;
  }
  .comfort-zone-section .body_caption .body_title {
    max-width: 100%;
    margin-bottom: 15px;
  }
  .comfort-zone-section .body_caption .comfort-zone-shop-btn {
    align-self: flex-start;
    margin-top: 15px;
    min-width: 100px;
    padding: 10px 20px;
    margin: auto;
    display: block;
    width: 100%;
  }
  .carousel-caption {
    bottom: 2%;
    right: 5%;
    left: 5%;
    top: 2%;
  }
  .carousel-caption h5 {
    font-size: 18px;
    margin-bottom: 2px;
    font-weight: normal;
  }
  .carousel-caption p {
    font-size: 14px;
    margin-bottom: 2px;
    font-weight: normal;
  }
  .carousel-caption .btn {
    font-size: 12px;
    margin: 0 !important;
    font-weight: normal;
  }
  .carousel-indicators {
    margin-bottom: 0;
  }
}
