@media (max-width: 576px) {
    .tp-slider-height-3 {
        height: auto !important; /* hoặc bạn set số cố định như 220px */
        min-height: 220px; /* tuỳ tỉ lệ ảnh mong muốn */
    }

    .tp-slider-thumb-3 {
        background-size: cover; /* hoặc contain nếu bạn không muốn cắt ảnh */
        background-position: center center;
        background-repeat: no-repeat;
    }
}
.tp-category-main-content{
  background-color: #ffffff96;
  padding: 1rem;
}

.contact-buttons {
    position: fixed;
    bottom: 104px;
    right: 49px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.contact-button {
  background-color: #007aff; /* blue background */
  border-radius: 50%; /* round shape */
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-button:hover {
  transform: scale(1.1);
  background-color: #0056c1;
}

.contact-button img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .contact-button {
    width: 42px;
    height: 42px;
  }

  .contact-button img {
    width: 20px;
    height: 20px;
  }
}


/* Animation: shake */
    @keyframes shake {
      0%, 100% { transform: rotate(0deg); }
      20% { transform: rotate(5deg); }
      40% { transform: rotate(-5deg); }
      60% { transform: rotate(4deg); }
      80% { transform: rotate(-4deg); }
    }

.tp-product-rating{
  display: none !important;
}

.tp-btn.tp-btn-2.tp-btn-blue{
  color: white;
}

.tp-trending-area .container {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
    max-width: fit-content;
}

.main-menu.menu-style-1>nav>ul>li>a {
  font-size: 16px;
}

.main-menu>nav>ul>li>.tp-submenu {
  min-width: 300px;
}

.main-menu>nav>ul>li>.tp-submenu li>.tp-submenu {
  min-width: 300px;
}

.main-menu>nav>ul>li>.tp-submenu li a {
  font-size: 16px;
}

.ck-content {
    padding-top: 25px;
}

.breadcrumb__area {
  margin-top: 30px;
}

/* square + rounded + smaller product thumbnails */
.tp-product-thumb-2{
    /* make the box the size you want */
    max-width: 150px;        /* change to suit */
    position: relative;
    overflow: hidden;        /* hide the parts we crop */
}

/* create a 1:1 aspect-ratio box */
.tp-product-thumb-2::before{
    content:'';
    display:block;
    padding-top:100%;        /* 100% of the width → perfect square  */
}

/* stretch the real  over the square box */
.tp-product-thumb-2 img{
    position:absolute;
    inset:0;                 /* top:0; right:0; bottom:0; left:0 */
    width:100%;
    height:100%;
    object-fit:cover;        /* keep centre, crop the rest         */
    border-radius:10px;      /* rounded corners                    */
}

.tp-trending-slider-dot.tp-swiper-dot.text-center.mt-45.swiper-pagination-clickable.swiper-pagination-bullets {
    display: none;
}

.timeline-item{
  
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.timeline-item:hover{
	transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.timeline-item::before{
  content: attr(data-year);
  position: absolute;
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #899098;
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.9rem;
}

.year{
	color: red;
}

.tp-brand-item {
    height: 249px;
    width: auto;
}

.tp-brand-item img {
    object-fit: cover;
}

.nav-tabs{
    background-color: #f0f8ff;
    border-radius: 100px;
    border-bottom: 0;
    padding: 15px;
}

.nav-tabs .nav-link{
    border-radius: 100px;
    border: 0;
    padding: 15px 25px;
    transition: all 0.3s;
}

.nav-link.active{
    background: white;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
}

.nav-link.active h5{
    color: #F8CB2E;
}

main .tp-section-title-2 {
    font-size: 29px;
}

.tp-brand-item img{
	max-width: 100%;
  height: auto;
  display: inline-block;
  border-radius: 8px;
}

.tp-brand-area .tp-brand-item {
    border-right: 0 !important
}

.tp-brand-item {
    border: 0 !important
}


.tp-brand-area .tp-brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    height: auto;
    box-sizing: border-box;
}

.tp-brand-item img {
    opacity: 1;
}

.tp-brand-item.swiper-slide.text-center {
  transition: all .3s;
}

.tp-brand-item.swiper-slide.text-center:hover {
    transform: scale(1.1);
}

.tp-product-thumb-3.mb-15.fix.p-relative.z-index-1 {
    border-radius: 8px;
}

.tp-trending-item{
	margin-right: 10px!important;
}

footer{
  border-top: 1px solid #eaeaea;
}

.tp-header-sticky-menu a{
  text-transform: uppercase;
  color: black;
  font-size: 1.3rem;
}

.tp-main-menu-content a{
  text-transform: uppercase;
  color: black;
  font-size: 1.3rem;
}

.tp-product-title-3.text-truncate a{
  text-align: left;
  font-size: .8em;
  font-weight: bold;
}

.tp-product-price-3.new-price
{
  color: #e11e16;
  font-weight: bold;
}


.tp-product-badge-3 span {
    background-color: var(--tp-common-black);
    border-radius: 10px;
    color: var(--tp-common-white);
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    padding: 0 10px;
    letter-spacing: -.02em;
    text-align: center;
    width: auto;
}

img.img-fluid.w-100.h-100 {
    border-radius: 8px;
}

main .tp-section-title-2 {
    font-size: 24px;
}

.tp-product-title-3.text-truncate a{
  text-align: left;
  font-size: .8em;
  font-weight: bold;
}

.tp-product-price-3.new-price
{
  color: #e11e16;
  font-weight: bold;
}
.btn {
    border-radius: 5px!important;
    padding: 10px 20px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}
.tp-product-item-3:hover .tp-product-thumb-3 img {
    transform: scale(1);
}