body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: #fff;
  color: #222;
  /*-webkit-user-select: none;*/
  -webkit-text-size-adjust: none;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

.badge-price {
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 50px;
}

.category-scroll-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  white-space: nowrap;
}

.category-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.category-scroll {
  display: flex;
  gap: 10px;
  min-width: 100%;
  padding: 0;
  margin: 0;
}

.category-item {
  flex: 0 0 auto;
  padding: 1px 5px;
  border-radius: 20px;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.66);
  font-weight: 500;
  transition: all 0.3s;
  cursor: pointer;
  white-space: nowrap;
}

.category-item:hover {
  background-color: white;
  color: #027a85;
}

.category-item.active {
  text-decoration: underline;
  color: #fff;
  font-weight: bold;
}

.carousel img {
  height: 315px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .carousel img {
    height: 150px;
  }
}

.fixed-bottom {
  max-width: 100%;
  margin: 0 auto;
}

header .menu {
  padding: 0px 0.8rem;
}

.menu a, .menu button {
  font-size: 24px;
}

.menu a i, .menu button i {
  font-weight: 600;
}

.mini-header {
  background-color: #ffe169;
  padding: 6px;
}

.mini-header h5 {
  color: red;
  font-weight: 800;
}

.mini-header small {
  font-weight: 700;
}

.mini-header .title {
  line-height: 10px;
} 

header, nav {
  background-color: #fff;
}

.dropdown-menu-scrollable {
  max-height: 300px;
  overflow-y: auto;
}

.dropdown:hover .dropdown-menu {
  /*display: block;*/
  margin-top: 0;
}

.container-fluid {
  width: 90%;
}

/* Banners Section */
.top-trends-cards {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.top-trends-cards img {
  max-height: 70px;
  width: 100%;
  object-fit: cover;
}

.top-trends-cards .small {
  font-size: 0.7rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Ensure left column images fill their space */
.banners .col-md-3 > div {
  display: flex;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .top-trends-cards {
    padding: 0 1rem;
  }

  .top-trends-cards h5 {
    font-size: 1.25rem;
  }
}

@media (min-width: 576px) {
  .col-1-7 {
    flex: 0 0 auto;
    width: 14.2857%;
  }
}

footer {
  background-color: rgb(34 138 149) !important;
}

footer h5 {
  font-weight: bold;
}

footer a:hover {
  color: #fff !important;
}

footer .form-control {
  border-radius: 0.5rem 0 0 0.5rem;
}

footer .btn {
  border-radius: 0 0.5rem 0.5rem 0;
}

.btn-newsletter {
  background-color: #b58c67;
  color: #fff;
}

.btn-newsletter:hover {
  background-color: #a77241;
}

.btn-newsletter:active {
  background-color: #a77241 !important;
}

/* products */

.recommended .product-image {
  height: 200px;
  object-fit: cover;
  border-radius: 0.5rem 0.5rem 0 0;
}

.product-card .card-title {
  font-size: 0.9rem;
  font-weight: 500;
}

.product-card .btn {
  padding: 0.3rem 0.5rem;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .mini-header {
    display: none;
  }
}

.product .card-body a {
  text-decoration: none;
  color: #000;
}

.product .title {
  text-decoration: none;
  color: #000;
}

.swiper-slide img {
  border-radius: 8px;
}

.thumb-slider .swiper-slide {
  cursor: pointer;
  opacity: 0.5;
}

.thumb-slider .swiper-slide-thumb-active {
  opacity: 1;
  border: 2px solid #333;
}

.swiper-zoom-container img {
  /*width: 100%;*/
  height: 100%;
  object-fit: contain;
}

.fa-star,
.fa-star-o {
  font-size: 1rem;
}

.object-fit-cover {
    object-fit: cover;
    height: 100%;
}

@media (max-width: 768px) {
    .card-body .d-flex.flex-column.flex-md-row {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .card-body .ms-auto {
        margin-left: 0 !important;
    }
}

.option-buttons button {
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.option-buttons button.selected,
.option-buttons button:hover {
    border-color: #000 !important;
    box-shadow: 0 0 6px rgba(0,0,0,0.3);
}

.categories a {
  color: #000;
  text-decoration: none;
}

/* Wrapper around the image */
.category-img-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Image itself */
.category-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Text animation (optional) */
.category-name {
    transition: color 0.4s ease;
}

/* Hover Effects */
.category-link:hover .category-img-wrapper {
    transform: scale(0.9);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.category-link:hover img {
    transform: scale(0.9);
}

.category-link:hover .category-name {
    color: #008c97;
}

.list-group-item a {
    text-decoration: none;
}

.product-list a {
    color: #000;
}

.product-list a:hover img {
    transform: scale(1.1);
}

.scrollbar-none {
    scrollbar-width: none;
}

footer .text-muted {
    color: rgb(255 255 255 / 75%) !important;
}

.socials a {
    text-decoration: none;
}

.text-gold {
    color: #bf8a65;
}

.btn-send {
    background-color: #bf8a65;
    border-color: #bf8a65;
}

.btn-send:hover {
    background-color: #ffffff;
    border-color: #bf8a65;
    color: #bf8a65;
}

.btn-send:active {
    background-color: #ffffff !important;
    border-color: #bf8a65 !important;
    color: #bf8a65 !important;
}

/* Categories */
/* Hide scrollbar for all browsers */
@media (max-width: 768px) {
  .hide-scrollbar {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
  }
  .hide-scrollbar::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
  }
}

/* Optional: Add spacing between category links */
nav a {
  padding: 0.25rem 0.5rem;
  white-space: nowrap;
}

/* Products */
/* Optional: Better hover effect for product cards */
.transition-hover {
  transition: transform 0.2s ease-in-out;
}
.transition-hover:hover {
  transform: translateY(-5px);
}

/* Make sure images cover the container */
.product-image {
  object-fit: cover;
}

/* Optional: add custom styling for responsiveness or grid padding */
@media (max-width: 576px) {
  .product .card {
    font-size: 0.85rem;
  }
}

.section-title {
  font-size: 1.25rem;
  position: relative;
  display: inline-block;
}

.title-underline {
    width: 60px;
    height: 3px;
    background-color: #008c97;
    border: none;
    margin-top: -5px;
    margin-bottom: 40px;
}


/* Banners */

/* Custom CSS for better responsive design */
.banners {
  min-height: 300px;
}

@media (min-width: 992px) {
  .banners {
    min-height: 400px;
  }
}

/* Banner containers */
.banner-container {
  min-height: 120px;
}

@media (min-width: 576px) {
  .banner-container {
    min-height: 150px;
  }
}

@media (min-width: 992px) {
  .banner-container {
    min-height: 180px;
  }
}

/* Carousel container */
.carousel-container {
  min-height: 250px;
}

@media (min-width: 576px) {
  .carousel-container {
    min-height: 300px;
  }
}

@media (min-width: 992px) {
  .carousel-container {
    min-height: 400px;
  }
}

/* Top Trends Card */
.top-trends-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.125);
  min-height: 250px;
}

@media (min-width: 992px) {
  .top-trends-card {
    min-height: 400px;
  }
}

/* Trends Grid */
.trends-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (min-width: 576px) {
  .trends-grid {
    gap: 1rem;
  }
}

@media (max-width: 991px) {
  .trends-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
  }
}

/* Trend Items */
.trend-item {
  transition: transform 0.2s ease;
}

.trend-item:hover {
  transform: translateY(-2px);
}

.trend-image-container {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.375rem;
  background: #f8f9fa;
}

.trend-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.trend-item:hover .trend-image {
  transform: scale(1.05);
}

.trend-title {
  font-size: 0.75rem;
  line-height: 1.2;
}

@media (min-width: 576px) {
  .trend-title {
    max-width: 65px;
    font-size: 0.775rem;
  }
}

.trend-price {
  font-size: 0.75rem;
}

@media (min-width: 576px) {
  .trend-price {
    font-size: 0.875rem;
  }
}

/* Carousel improvements */
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0.7;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

@media (max-width: 575px) {
  .carousel-control-prev,
  .carousel-control-next {
    width: 8%;
  }
}

/* Responsive adjustments for small screens */
@media (max-width: 575px) {
  .banners {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  
  .trend-title {
    font-size: 0.7rem;
  }
  
  .trend-price {
    font-size: 0.75rem;
  }
}

/* keep the circular thumbnails */
.category-img-wrapper{
  width: 100px; height: 100px; border-radius: 50%; overflow: hidden;
  transition: transform .4s ease, box-shadow .4s ease;
}
.category-img-wrapper img{ width:100%; height:100%; object-fit:cover; }

/* make slides align nicely */
.cats-swiper .swiper-slide{ display:flex; align-items:center; justify-content:center; }

/* position nav arrows */
.cats-prev, .cats-next{
  position:absolute; top:50%; transform:translateY(-50%);
  z-index:5; width:34px; height:34px; display:flex; align-items:center; justify-content:center;
}
.cats-prev{ left:-6px; } .cats-next{ right:-6px; }

/* optional: tighter on small screens */
@media (max-width: 575.98px){
  .category-img-wrapper{ width:88px; height:88px; }
}

/* Center dots under slider */
.cats-swiper .swiper-pagination{
  position: static;   /* put under grid instead of absolute */
  margin-top: 12px;
  text-align: center;
}

/* Dot style */
.cats-swiper .swiper-pagination-bullet{
  width: 10px; height: 10px;
  background: #999;
  opacity: .5;
  transition: all .3s;
}
.cats-swiper .swiper-pagination-bullet-active{
  background: #008c97;
  opacity: 1;
}
