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

body {
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
}

.top-banner {
  background-color: #FFC0CB;
  color: #333;
  text-align: center;
  padding: 10px;
  font-size: 14px;
}
.banner-img{
  height: 60vh;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

.search-bar {
  display: flex;
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  padding: 5px 10px;
}

.search-bar input {
  border: none;
  outline: none;
  padding: 5px;
  width: 200px;
}

.icons {
  display: flex;
  gap: 15px;
}

.icon {
  font-size: 20px;
  color: #333;
  cursor: pointer;
}

.nav-menu {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid #e0e0e0;
}

.nav-item {
  text-decoration: none;
  color: #333;
  /* font-size: 14px; */
  text-transform: uppercase;
}

.nav-item:hover {
  text-decoration: underline;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 300px;
  background-color: #fff;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
  overflow-y: auto;
}

.sidebar-left {
  left: 0;
  transform: translateX(-100%);
}

.sidebar-right {
  right: 0;
  transform: translateX(100%);
}

.sidebar.active {
  transform: translateX(0);
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.close-sidebar {
  font-size: 24px;
  cursor: pointer;
}

.sidebar-content {
  padding: 20px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.cart-total {
  font-weight: bold;
  margin-top: 20px;
  text-align: right;
}

.checkout-btn {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: #FFC0CB;
  color: #333;
  text-align: center;
  text-decoration: none;
  margin-top: 20px;
  border: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .header {
    flex-wrap: wrap;
  }

  .search-bar {
    order: 3;
    width: 100%;
    margin-top: 15px;
  }

  .search-bar input {
    width: 100%;
  }

  .nav-menu {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

/* Basic styling for the main menu */
.mega-menu {
  display: flex;
  background: #333;
  padding: 10px;
}

.main-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-item {
  position: relative;
  /* padding: 10px 20px; */
}

.menu-item a {
  /* color: white; */
  text-decoration: none;
}

/* Styling the mega dropdown */
.dropdown:hover .mega-dropdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  max-width: 1200px;
  margin: 0 auto;
}

.mega-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  padding: 20px;
  width: 80vh;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.dropdown-column {
  flex: 1;
  /* padding: 10px; */
}

.dropdown-column h3 {
  font-size: 16px;
  color: #333;
}

.dropdown-column ul {
  list-style: none;
  padding: 0;
}

.dropdown-column li a {
  color: #555;
  text-decoration: none;

}

@media (max-width: 768px) {
  .mega-menu {
    flex-direction: column !important;
  }

  .mega-dropdown {
    position: relative;
    width: 100%;
    box-shadow: none;
  }
}

/* slider */
.hero-carousel {  
  position: relative;
  height: 600px;
  overflow: hidden;
}

.hero-carousel .carousel-item {
  height: 600px;
}

.hero-carousel img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 8px;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-content p {
  margin-bottom: 1.5rem;
  color: #666;
}

.btn-shop {
  background: #000;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  margin-right: 1rem;
  transition: all 0.3s ease;
}

.btn-shop:hover {
  background: #333;
  color: #fff;
}

.btn-about {
  border: 1px solid #000;
  color: #000;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-about:hover {
  background: #000;
  color: #fff;
}

.categories {
  padding: 4rem 0;
  background: #faf7f5;
}

.category-item {
  text-align: center;
  margin-bottom: 2rem;
}
.category-item :hover {

  box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.category-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.category-item h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0;
}

/* end slider */

.split-section {
  display: flex;
  min-height: 500px;
  width: 100%;
}

.split-panel {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: white;
  text-align: center;
}

.split-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  transition: background 0.3s ease;
}

.split-panel:hover::before {
  background: rgba(0, 0, 0, 0.2);
}

.split-panel img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.3s ease;
}

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

.split-content {
  position: relative;
  z-index: 2;
  max-width: 400px;
}

.split-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
  line-height: 1.4;
}

.split-button {
  display: inline-block;
  padding: 12px 24px;
  background: white;
  color: black;
  text-decoration: none;
  border-radius: 25px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.split-button:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .split-section {
    flex-direction: column;
  }

  .split-panel {
    min-height: 400px;
  }

  .split-content h2 {
    font-size: 1.5rem;
  }
}

/* next */

/* best sell */
.best-sellers {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 500;
}

.all-products {
  color: #666;
  text-decoration: none;
}

.slider-container {
  position: relative;
  overflow: hidden;
}

.product-slider {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
}

.product-card {
  flex: 0 0 calc(20% - 15px);
  min-width: calc(20% - 15px);
  cursor: pointer;
}
.product-title {
  color: #000;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.product-image {
  position: relative;
  background: #f5f5f5;
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 1rem;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.product-image .hover-image {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.product-card:hover .hover-image {
  opacity: 1;
}

.product-info {
  padding: 0 0.5rem;
}

.product-info h3 {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.product-price {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.product-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.btn {
  flex: 1;
  padding:0.53rem 0.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.btn-cart {
  background-color: #f1e0e3;
  color: #000;
}

.btn-cart:hover {
  border: 1px solid #f1e0e3;
  color: #000;
}

.btn-wishlist {
    position: absolute;
  background-color: transparent;
  color: #000;
  z-index: 9;
}

.btn-wishlist:hover {
  background-color: #e0e0e0;
}
.buy-now-btn{
  background: #FFC0CB;
  color: #000;
}
.buy-now-btn:hover{
  border: 1px solid #FFC0CB;
  color: #000;
}
.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.3s ease;
}

.slider-button:hover {
  background: #f5f5f5;
}

.prev-button {
  left: 0;
}

.next-button {
  right: 0;
}

@media (max-width: 1024px) {
  .product-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: calc(33.333% - 14px);
  }
}

@media (max-width: 768px) {
  .product-card {
    flex: 0 0 calc(50% - 10px);
    min-width: calc(50% - 10px);
  }
}

@media (max-width: 480px) {
  .product-card {
    flex: 0 0 calc(100% - 10px);
    min-width: calc(100% - 10px);
  }
}

/* blog section */
:root {
  --gold: #B8860B;
}

/* body {
      font-family: 'Times New Roman', serif;
      color: #333;
} */

.blog-section {
  padding: 5rem 0;
  background-color: #fff;
}

.section-subtitle {
  text-align: center;
  color: #666;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.section-title {
  text-align: center;
  font-size: 3.5rem;
  margin-bottom: 3rem;
  font-weight: 300;
}

.blog-carousel {
  position: relative;
}

.blog-carousel .carousel-inner {
  padding: 1rem;
}

.blog-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  height: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.blog-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-image {
  transform: scale(1.05);
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  margin-bottom: 0.5rem;
  color: #666;
  font-size: 0.9rem;
}

.blog-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  line-height: 1.4;
  font-weight: 400;
}

.read-more {
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #8B6914;
}

.read-more::after {
  content: "→";
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.read-more:hover::after {
  transform: translateX(5px);
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-control-prev {
  /* left: -25px; */
}

.carousel-control-next {
  /* right: -25px; */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1) grayscale(100);
}

.carousel-indicators {
  bottom: -50px;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--gold);
  opacity: 0.5;
}

.carousel-indicators .active {
  opacity: 1;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }

  .blog-image {
    height: 250px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
}

/* footer */
.footer {
  background-color: #FAF7F5;
  padding: 5rem 0 0 0;
  color: #666;
}

.footer h4 {
  color: #333;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #333;
}

.contact-info {
  margin-bottom: 2rem;
}

.subscribe-form input {
  background: transparent;
  border: 1px solid #ddd;
  padding: 0.8rem 1.2rem;
  margin-bottom: 1rem;
  border-radius: 50px;
  width: 100%;
}

.subscribe-form input:focus {
  outline: none;
  border-color: #999;
}

.subscribe-btn {
  background: #997B3D;
  color: white;
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 50px;
  width: 100%;
  transition: background-color 0.3s ease;
}

.subscribe-btn:hover {
  background: #876C35;
}

.footer-bottom {
  background: #FFC0CB;
  padding: 1.5rem 0;
  margin-top: 4rem;
  color: #000;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.social-links a {
  background: rgb(53 44 44);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.remove-item{
  cursor: pointer;
  transition: color 0.3s ease;

}
.remove-item:hover{
  background: rgba(49, 46, 46, 0.2);
}
.social-links a:hover {
  color: #000;
  background-color: #fff;
}

@media (max-width: 991px) {
  .footer {
    padding: 3rem 0 0 0;
  }

  .footer-column {
    margin-bottom: 2rem;
  }
}

@media (max-width: 767px) {
  .social-links {
    justify-content: center;
    margin-top: 1rem;
  }

  .footer-bottom .text-end,
  .footer-bottom .text-center {
    text-align: center !important;
  }

  .footer-bottom .row>div {
    margin-bottom: 1rem;
  }
}

.featured-products .product-card {
  flex: none;
}