/* ============================== carousel ============================== */
.swiper_slider {
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); */
}
.swiper_slider img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background-color: #000;
    aspect-ratio: 1920 / 820;
}
.swiper_slider .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 18px;
}
/* .slide-content {
    z-index: 2;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
} */
.hero-banner {
  position: relative;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5), transparent);
    z-index: 1;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  z-index: 2;
  color: white;
  max-width: 45%;
  text-align: left;
}


/* .slide-content h2 {
  font-size: 3rem;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(30px);
} */
/* .slide-content p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
} */
/* .slide-content {
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    z-index: 2;
    color: rgb(8, 8, 8);
    max-width: 600px;
    opacity: 0;
    animation: slideInLeft 1s ease-out 0.5s forwards;
} */
@media (max-width: 768px) {
    .slide-content {
        left: 20px;
        max-width: calc(100% - 40px);
    }
}
.slide-title {
    font-size: clamp(2.5rem, 7vw, 3rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px #b8860b ; /* rgba(0, 0, 0, 0.8);
    /* text-shadow: 1px 1px 0 #fff8dc, 2px 2px 1px #b8860b, 3px 3px 3px #888; */
    background: linear-gradient(135deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.swiper_slider .slide-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px #b8860b ;
    background: linear-gradient(135deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.swiper_slider .slide-btn {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: white;
    padding: 15px 40px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 50px;
    display: inline-block;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    letter-spacing: 1px;
    border: 2px solid transparent;
}
.swiper_slider .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    width: 12px;
    height: 12px;
    opacity: 1;
    transition: all 0.3s ease;
}
.swiper_slider .swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.2);
}
@media screen and (max-width: 768px) {
  .swiper_slider img {
    height: 450px;
    object-fit: fill;
  }

  .slide-content {
    max-width: 60%;
    left: 5%;
  }

  .slide-btn { 
    padding: 10px 15px;
    font-size: 0.6rem;
  }
  .slide-title {
    font-size: clamp(1.5rem, 7vw, 5rem);
  }
  .slide-subtitle {
    font-size: clamp(1.0rem, 2.5vw, 1.4rem);
  }
}
/*  */
.swiper-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* background: rgba(255, 255, 255, 0.1); */
    /* backdrop-filter: blur(10px); */
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    opacity: 0;
}

.swiper:hover .swiper-button {
    opacity: 1;
}

.swiper-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.swiper-button.prev {
    left: 30px;
}

.swiper-button.next {
    right: 30px;
}

.swiper-button i {
    color: white;
    font-size: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
/*  */

.swiper-pagination-bullet {
    background-color: #676876;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: #fff;
}

/* Full hình mobile */
/* .mySwiper .swiper-slide img {
    width: 100%;
    height: 100%;
} */

/* @media (max-width: 767px) {
    .mySwiper .swiper-slide img {
        width: 100%;
        height: 500px;
    }
} */
/* Full hình desktop */
/* @media (min-width: 768px) {
    .mySwiper .swiper-slide img {
        width: 100%;
        height: 820px;
    }
} */
/* ============================== carousel ============================== */
/* ============================== banner home ============================== */
.swiper_client .swiper-slide {
  background: transparent !important;
  /* width: 400px !important; */
  height: 400px !important;
}
.swiper_client .swiper-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2) !important;
}
/* ============================== banner home ============================== */
/* ============================== category home ============================== */
.product-card {
    background: #fff;
    /* background: transparent; */
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
    /* padding-bottom: 15px; */
    overflow: hidden;
}

/* .product-card:hover {
    border: 1px solid #ddd;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
} */

.quick-view {
    position: absolute;
    bottom: 75px;
    left: 50%;
    transform: translateX(-50%);
    /* background-color: #2dc0c4; */
    background-color: var(--tb-theme-color);
    color: white;
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    opacity: 0;
    transition: 0.3s ease;
    z-index: 3;
}

.product-card:hover .quick-view {
    color: white;
    opacity: 1;
}

.category-card .product-image,
.product-card .product-image {
    /* padding: 15px; */
    aspect-ratio: 4/5;
    width: 100%;
    overflow: hidden;
}
.category-card img,
.product-card img {
    /* max-width: 100%;
    height: auto;
    transition: transform 0.3s ease; */
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-name {
    font-size: 20px;
    font-weight: 500;
    margin: 6px 10px;
    color: #333;
    min-height: 40px;
}

/* Hide nav buttons by default */
.owl-nav {
    opacity: 0;
    transition: 0.3s ease;
}

.owl-carousel {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    touch-action: pan-y;
    overscroll-behavior: contain;
}

/* Show nav buttons on hover */
.owl-carousel:hover .owl-nav {
    opacity: 1;
}

.owl-nav button {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #aaa;
    margin: 0 5px;
}

.owl-nav button:hover {
    color: #2dc0c4;
}
/* Tuỳ chỉnh điều hướng */
.owl-nav-custom {
    position: absolute;
    top: 50%;
    width: 100%;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s;
}
.owl-prev-custom, .owl-next-custom {
    position: absolute;
    top: -50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 18px;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    z-index: 10;
}
/* .owl-prev-custom:hover, .owl-next-custom:hover {
    background-color: #2dc0c4;
    color: white;
} */

.owl-prev-custom { left: -10px; }
.owl-next-custom { right: -10px; }

/* disable zoom mobile */
button, .owl-prev-custom, .owl-next-custom {
  touch-action: manipulation;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

/* show nav */
/* .position-relative.show-nav .owl-nav-custom {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
} */
/* show nav */
/* @media (max-width: 768px) {
    .owl-prev-custom, .owl-next-custom {
        top: -40%;
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
} */

a:hover, a:focus {
    color: var(--tb-theme-color);
    text-decoration: none;
    outline: 0;
}

.diamond-line {
    position: relative;
    display: inline-block;
    font-size: 24px;
    font-weight: bold;
    padding-bottom: 20px;
}

.diamond-line::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #dfd6d9;
}

.diamond-line::after {
    content: "\f3e6";
    font-family: "bootstrap-icons";
    font-weight: normal;
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    background: #fff;
    padding: 0 4px;
    color: #dfd6d9;
}

/* ============================== category home ============================== */
.latest-news .title i {
    font-size: 175px;
    line-height: 22px;
}
.latest-news .title {
    height: 60px;
}
.latest-news .row {
    justify-content: center;
}
.news-left {
    padding: 0 10px;
    display: flex;
    flex-direction: column;
}
.news-left img {
    max-height: 588px;
    object-fit: cover;
}
.title_news {
    font-size: 20px;
    font-weight: 600;
    line-height: 24.72px;
    color: #3f3a36;
    margin-top: 10px;
    margin-bottom: 10px;
}
.line {
    height: 1px;
    border-bottom: 1px solid #d9d9d9;
    display: inline-flex;
    width: 180px;
    margin-left: 20px;
    margin-bottom: 10px;
}
.news-right .row {
    margin-top: 10px;
    display: flex;
    align-items: center;
}
.news-right .col-md-5 img {
    max-height: 174px;
    width: 100%;
    object-fit: cover;
}
.news-right .col-md-7 time {
    max-height: 174px;
    width: 100%;
    object-fit: cover;
}
.news-right .col-md-7 a {
    color: black;
    text-decoration: none;
}
.news_top_brown {
    background-color: #B48C72;
    padding: 5px;
    color: #ffffff;
    border-radius: 5%;
}
.news_top_blue {
    background: #2dc0c4;
    padding: 5px;
    color: #ffffff;
    border-radius: 5%;
}
.news_top_orange {
    background: #e85a1c;
    padding: 5px;
    color: #ffffff;
    border-radius: 5%;
}
.mySwiper-client-top .swiper-slide img:hover {
    transform: scale(1.03);
    transition: transform 0.3s ease;
}
.mySwiper-client-top .swiper {
    overflow: visible;
    padding-left: 10px;
    padding-right: 10px;
}
.title i {
    font-size: 175px;
    line-height: 22px;
    color: #c48c46;
}
.title {
    height: 60px;
}
.swiper-button-next::after,
.swiper-button-prev::after {
    display: none; /* Ẩn SVG mặc định */
}
.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    /* top: -50%; */
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 36px !important;
    height: 36px !important;
    font-size: 18px !important;
    pointer-events: all;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    transition: 0.3s;
    z-index: 10;
    color: black !important;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: white !important;
}
.service-title {
    font-size: 18px;
}
.service-title-brown {
    color: #B48C72;
}
.service-title-blue {
    color: #2dc0c4;
}
.service-title-orange {
    color: #e85a1c;
}
.h-sv {
    --tw-bg-opacity: 1;
    background-color: rgb(242 242 242);
    border-radius: 10px;
}
.h-sv img {
    width: 50px;
    height: auto;
}
.jewelry-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.jewelry-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23000" opacity="0.02"/><circle cx="50" cy="10" r="0.5" fill="%23000" opacity="0.01"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #d4af37, #ffd700);
    border-radius: 2px;
}

.title-icon {
    font-size: 1.8rem;
    color: #d4af37;
    margin-left: 15px;
    vertical-align: middle;
}

.category-grid {
    gap: 2rem;
}

.category-item {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-item:hover {
    transform: translateY(-10px) scale(1.02);
}

.category-card {
    background: #fff;
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.1); */
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.category-item:hover .category-card::before {
    left: 100%;
}

/* .category-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #d4af37;
} */

.category-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 3px solid #f8f9fa;
    transition: all 0.3s ease;
}

.category-item:hover .category-image {
    border-color: #d4af37;
    transform: scale(1.1);
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-item:hover .category-image img {
    transform: scale(1.2);
}

.category-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.category-name:hover {
    color: #d4af37;
    text-decoration: none;
}

.product-count {
    color: #6c757d;
    font-size: 0.95rem;
    font-weight: 500;
}
/* Ensure equal width for mobile 2-column layout */
  @media (max-width: 575.98px) {
      .category-grid .col-6 {
          flex: 0 0 50%;
          max-width: 50%;
      }
  }
/* Responsive adjustments */
@media (max-width: 768px) {
    .jewelry-section {
        padding: 60px 0;
    }
    
    .section-title h3 {
        font-size: 2rem;
    }
    
    .category-grid {
        row-gap: 1.5rem;
        column-gap: 0rem;
    }
    
    .category-card {
        padding: 1rem;
    }
    
    .category-image {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 576px) {
  .section-title h3 {
      font-size: 1.8rem;
  }
  
  .category-name {
      font-size: 1.2rem;
  }
  
  .category-grid {
      row-gap: 1rem;
      column-gap: 0rem;
  }
  
  .category-card {
      padding: 1rem;
  }
}

/* Animation delays for staggered effect */
.category-item:nth-child(1) { animation-delay: 0.1s; }
.category-item:nth-child(2) { animation-delay: 0.2s; }
.category-item:nth-child(3) { animation-delay: 0.3s; }
.category-item:nth-child(4) { animation-delay: 0.4s; }
.category-item:nth-child(5) { animation-delay: 0.5s; }

.video-fb {
  position: relative;
  display: block;
  width: 100%;
  max-width: 400px;
  margin: auto;
}
.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: url('https://upload.wikimedia.org/wikipedia/commons/e/e4/Play_Icon.png') no-repeat center center;
  background-size: contain;
  pointer-events: none;
}

.divider {
    height: 2px;
    width: 100px;
    background-color: #b08968; /* hoặc màu logo của bạn */
}
.stagger-1 {
    margin-top: 0px !important;
}
@media (min-width: 768px) {
    .stagger-2 {
        margin: 60px 0px 0px 0px !important;
    }
}
@media (min-width: 768px) {
    .col-md-2 {
        flex: 0 0 16.6667% !important;
        max-width: 16.6667% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}
.service-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}
.category-link {
    text-decoration: none;
    color: black;
    transition: color 0.3s ease;
}
/* show brown button cate menu color */
.show-all-brown {
    font-weight: 600;
    background: #f8f3ef;
    box-shadow: none;
    text-decoration: none;
}
.show-all-brown {
    font-size: 15px;
    letter-spacing: .15em;
    line-height: 48px;
    padding: 0 32px;
    color: var(--tb-theme-color);
    font-weight: 400;
    display: block;
    max-width: max-content;
    margin: 17px auto 0;
    position: relative;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}
.show-all-brown:hover, .show-all-brown:focus {
    background: var(--tb-theme-color);
    color: #fff;
}

/* show blue button cate menu color */
.show-all-blue {
    font-weight: 600;
    background: #2dc0c4;
    box-shadow: none;
    text-decoration: none;
    border: 1px solid #2dc0c4;
}
.show-all-blue {
    font-size: 15px;
    letter-spacing: .15em;
    line-height: 48px;
    padding: 0 32px;
    color: #fff;
    font-weight: 400;
    display: block;
    max-width: max-content;
    margin: 17px auto 0;
    position: relative;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}
.show-all-blue:hover, .show-all-blue:focus {
    background: transparent;
    color: #2dc0c4;
}
/* show orange button cate menu color */
.show-all-orange {
    font-weight: 600;
    background: #F55F1E;
    box-shadow: none;
    text-decoration: none;
    border: 1px solid #F55F1E;
}
.show-all-orange {
    font-size: 15px;
    letter-spacing: .15em;
    line-height: 48px;
    padding: 0 32px;
    color: #fff;
    font-weight: 400;
    display: block;
    max-width: max-content;
    margin: 17px auto 0;
    position: relative;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}
.show-all-orange:hover, .show-all-orange:focus {
    background: transparent;
    color: #e85a1c;
}

/* category button next preview */
.owl-prev-custom-brown:hover, .owl-next-custom-brown:hover {
    background: var(--tb-theme-color);
    color: white;
    border-color: var(--tb-theme-color);
    opacity: 1;
}
.owl-prev-custom-blue:hover, .owl-next-custom-blue:hover {
    background: #2dc0c4;
    color: white;
    border-color: #2dc0c4;
    opacity: 1;
}
.owl-prev-custom-orange:hover, .owl-next-custom-orange:hover {
    background: #e85a1c;
    color: white;
    border-color: #e85a1c;
    opacity: 1;
}
/* category button next preview */