@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style-type: none;
  text-decoration: none;
}

:root {
  --primary: #ec994b;
  --white: #ffffff;
  --bg: #f5f5f5;
}

html {
  font-size: 62.5%;
  font-family: "Montserrat", sans-serif;
  scroll-behavior: smooth;
}

@media (min-width: 1440px) {
  html {
    zoom: 1.5;
  }
}

@media (min-width: 2560px) {
  html {
    zoom: 1.7;
  }
}

@media (min-width: 3860px) {
  html {
    zoom: 2.5;
  }
}

::-webkit-scrollbar {
  width: 1.3rem;
}

::-webkit-scrollbar-thumb {
  border-radius: 1rem;
  background: #797979;
  transition: all 0.5s ease-in-out;
}

::-webkit-scrollbar-thumb:hover {
  background: #222224;
}

::-webkit-scrollbar-track {
  background: #f9f9f9;
}

body {
    background-color: #002d4d;
}

.container{
    max-width: 124rem;
    padding: 0 1rem;
    margin: 0 auto;
}
.text-center{
    text-align: center;
}

.section-heading{
    font-size: 3rem;
    color: var(--primary);
    padding: 2rem 0;
}

#trending{
    padding: 1rem 0;

}
@media (max-width:1440px) {
    #trending{
        padding: 7rem 0;

    }
}

.trending-slider{
    height: 64rem;
    padding: 2rem 0;
    position: relative;

}

@media (max-width:1440px) {
    .trending-slider{
        height: 66rem;
    }
}

.trending-slide{
    width: 96rem;
    height: 54rem;
    position: relative;
    background-color: #ffffff;
    border-radius: 2rem;
}

@media (max-width:500px) {
    .trending-slider{
        height: 75vw !important;
    }
    .trending-slide{
        width: 95vw !important;
        height: 53.4vw !important;

    }
    .trending-slide-img img{
        width: 95vw !important;
        height: 53.4vw !important;
        
    }
}
.trending-slide-img{
    position: relative;
}
.image-overlay {
    /* Overlay no longer needed since text was removed */
    display: none;
}
.trending-slide-img img{
    width: 96rem ;
    height: 54rem ;
    border-radius: 2rem;
    object-fit: cover;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.4);
    transition: all 0.5s ease;
}

.swiper-slide-active .trending-slide-img img {
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.7);
    transform: scale(1.02);
}
.trending-slide-content{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.shoe-price{
    position: absolute;
    top: 2rem;
    right: 2rem;
    color:var(--white);
}
.trending-slide-content-bottom {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    color: var(--white);
}

.shoe-rating {
    padding-top: 1rem;
    display: flex;
    gap: 1rem;
}
.shoe-rating ion-icon {
    color: var(--primary);
}
.swiper-slide-shadow-left,
.swiper-slide-shadow-right {
  display: block;
}
.trending-slider-control {
    position: relative;
    bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

/* Ghi đè CSS mặc định của Swiper để dùng Flexbox */
.swiper-button-next,
.swiper-button-prev {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 !important;
}

.swiper-button-prev { order: 1; }
.swiper-pagination { 
    order: 2; 
    width: auto !important; 
    position: relative !important; 
    bottom: 0 !important; 
}
.swiper-button-next { order: 3; }

.slider-arrow {
    background: var(--white);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    filter: drop-shadow(0px 8px 24px rgba(18, 28, 53, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.slider-arrow ion-icon {
    font-size: 2rem;
    color: #222224;
}

.slider-arrow::after {
    content: '';
}

.swiper-pagination .swiper-pagination-bullet {
    filter: drop-shadow(0px 8px 24px rgba(18, 28, 53, 0.1));
}

.swiper-pagination .swiper-pagination-bullet-active {
    background: var(--primary);
}

