/* XNL Shop — Bootstrap 5 theme + template overrides */
:root {
  --bs-primary: #D19C97;
  --bs-secondary: #EDF1FF;
  --bs-success: #28a745;
  --bs-info: #17a2b8;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #FFFFFF;
  --bs-dark: #1C1C1C;
  --bs-body-font-family: 'Poppins', sans-serif;
  --bs-link-color: #D19C97;
  --bs-link-hover-color: #b87f7a;
}

.btn-primary {
  --bs-btn-bg: #D19C97;
  --bs-btn-border-color: #D19C97;
  --bs-btn-hover-bg: #b87f7a;
  --bs-btn-hover-border-color: #b87f7a;
  --bs-btn-active-bg: #b87f7a;
  --bs-btn-active-border-color: #b87f7a;
}

.text-primary {
  color: #D19C97 !important;
}

.bg-primary {
  background-color: #D19C97 !important;
}

.border-primary {
  border-color: #D19C97 !important;
}

.btn-outline-primary {
  --bs-btn-color: #D19C97;
  --bs-btn-border-color: #D19C97;
  --bs-btn-hover-bg: #D19C97;
  --bs-btn-hover-border-color: #D19C97;
}

.bg-secondary {
  background-color: #EDF1FF !important;
}

/********** Custom CSS ************/
[class^=flaticon-]:before,
[class*=" flaticon-"]:before,
[class^=flaticon-]:after,
[class*=" flaticon-"]:after {
  font-size: inherit;
  margin-left: 0;
}

.navbar-light .navbar-nav .nav-link {
  padding: 20px 10px;
  color: #1C1C1C;
  outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: #D19C97;
}

@media (max-width: 991.98px) {
  .navbar-light .navbar-nav .nav-link {
    padding: 5px 0px;
  }
}

.navbar-vertical.navbar-light .navbar-nav .nav-link {
  padding: 8px 30px;
  border-bottom: 1px solid #EDF1FF;
}

#header-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.section-title {
  position: relative;
  display: inline-block;
  letter-spacing: 1px;
  font-weight: bold;
  color: #1C1C1C;
}

.section-title span {
  position: relative;
  background: #ffffff;
  z-index: 1;
}

.section-title::before {
  position: absolute;
  content: "";
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  margin-top: -1px;
  background: #1C1C1C;
}

.offer img {
  position: absolute;
  max-width: 50%;
  max-height: 90%;
  bottom: 0;
}

.offer .text-md-end img {
  left: 0;
}

.offer .text-md-start img {
  right: 0;
}

.cat-item .cat-img img,
.product-item .product-img img {
  transition: .5s;
}

.cat-item:hover .cat-img img,
.product-item:hover .product-img img {
  transform: scale(1.2);
}

.product-item .btn:hover {
  color: #D19C97 !important;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 11;
  animation: action 1s infinite alternate;
}

@keyframes action {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-15px);
  }
}
