.detail {
    margin-top: 14px;
    padding-top: 24px;
    border-top: 1px solid #e7e7e7;
    text-align: left;
}
.detail>span {
    display: block;
    font-weight: 400;
    margin: 0;
    margin-bottom: 8px;
    font-size: 20px;
    line-height: 27px;
}
.detail>span span, .detail>span a {
    font-weight: 400;
    display: inline-block;
    color: #191919;
    line-height: 20px;
    text-decoration: none;
}
.detail .hover-brown a:hover {
    color: var(--tb-theme-color);
}
.detail .hover-blue a:hover {
    color: rgb(13 202 240);
}
.detail .hover-orange a:hover {
    color: #e85a1c;
}
.product-text-color {
    color: #6b6b6b;
    font-size: 20px;
}
.product_title {
    display: block;
    font-size: 32px;
    line-height: 43px;
    font-weight: 600;
    margin-bottom: 0;
    color: #191919;
}
.button-brown {
    background-color: var(--tb-theme-color) !important;
    color: #fff !important;
}
.button-blue {
    background-color: rgb(13 202 240) !important;
    color: #fff !important;
}
.button-orange {
    background-color: #e85a1c !important;
    color: #fff !important;
}
.product-price-2 {
    font-weight: bold;
    color: rgb(196 140 70);
}
.product-old-price-2 {
    text-decoration: line-through;
    color: #999;
    margin-right: 5px;
}
.product-service-brown {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    background-color: #B48C72;
    border-radius: 3px 3px 3px 3px;
    padding: 3px 8px 3px 8px;
    color: #fff;
}
.product-service-blue {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    background-color: #3ac2cc;
    border-radius: 3px 3px 3px 3px;
    padding: 3px 8px 3px 8px;
    color: #fff;
}
.product-service-orange {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    background-color: #F55F1E;
    border-radius: 3px 3px 3px 3px;
    padding: 3px 8px 3px 8px;
    color: #fff;
}
.product-service-border-brown {
    border: solid 1px #B48C72;
}
.product-service-border-blue {
    border: solid 1px #3ac2cc;
}
.product-service-border-orange {
    border: solid 1px #F55F1E;
}
.img-magnifier-glass {
    position: absolute;
    border: 3px solid #000;
    border-radius: 50%;
    cursor: none;
    width: 120px;
    height: 120px;
    z-index: 10;
    pointer-events: none;
    background-repeat: no-repeat;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}
.image-container {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    max-height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
}
.image-container img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}
.img-magnifier-glass {
    position: absolute;
    border: 3px solid #000;
    border-radius: 50%;
    cursor: none;
    width: 100px;
    height: 100px;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    z-index: 10;
}
img:fullscreen {
    object-fit: contain;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 9999;
}

/* light box zoom */
#zoomInBtn, #zoomOutBtn {
    position: absolute;
    top: 100px;
    right: 60px;
    z-index: 10000;
    font-size: 24px;
    background: #fff;
    border: none;
    padding: 5px 10px;
    margin-left: 5px;
    cursor: pointer;
    border-radius: 4px;
}
#zoomOutBtn {
    right: 20px;
}
#lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
    padding: 10px;
    box-sizing: border-box;
}

/* #lightbox img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    image-rendering: auto;
} */
#lightbox img {
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.img-fluid {
  width: 100%;
  height: auto;
}
#lightbox {
    cursor: zoom-out;
}

#closeBtn {
    position: absolute;
    top: 20px; right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}
.img-magnifier-glass {
    position: absolute;
    border: 3px solid #000;
    border-radius: 50%;
    cursor: none;
    /* tăng kích thước kính lúp */
    width: 150px;
    height: 150px;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
    background-repeat: no-repeat;
    /* z-index nếu cần */
    z-index: 1000;
}
.nav .nav-item .nav-link {
    color: #191919;
}
.nav .nav-item .nav-link-brown:hover {
    color: #B48C72;
}
.nav .nav-item .nav-link-brown.active {
    color: #B48C72;
}
.nav .nav-item .nav-link-blue:hover {
    color: #3ac2cc;
}
.nav .nav-item .nav-link-blue.active {
    color: #3ac2cc;
}
.nav .nav-item .nav-link-orange:hover {
    color: #F55F1E;
}
.nav .nav-item .nav-link-orange.active {
    color: #F55F1E;
}

.rating input {
    display: none;
}
.rating label {
    font-size: 1.5rem;
    color: #ccc;
    cursor: pointer;
}
.rating input:checked ~ label,
.rating label:hover,
.rating label:hover ~ label {
    color: #f0ad4e;
}
.star-rating {
    font-size: 1.5rem;
    cursor: pointer;
}
.star-rating span {
    color: #ffc107;
    margin: 0 2px;
    user-select: none;
}
.star-rating span.inactive {
    color: #ccc;
}

.icon-wrapper img {
    border-radius: 50%;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.2);
    transition: transform 0.3s ease;
}

.icon-wrapper img:hover {
    transform: scale(1.1);
}
.service-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: transparent;
}
.service-box p {
    margin: 0;
    margin-top: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}
.service-box:hover {
    object-fit: contain;
    transition: transform 0.3s ease;
}
.progress-bar span {
    display: block;
    width: 100%;
    text-align: center;
    overflow: visible;
    white-space: nowrap;
}
.progress-bar {
    overflow: visible !important;
}

@media (max-width: 1000px) {
    .btn-add-to-cart {
        font-size: 15px !important;
    }
}
#description-content {
  overflow: hidden;
  max-height: 500px;
  transition: max-height 0.3s ease;
  font-size: 20px;
}

#review {
    font-size: 20px;
}

#description-content.expanded {
  max-height: 10000px;
}
/* mobile */
.swiper-pagination span {
    width: auto !important;
    padding: 4px 10px;
    margin: 0 3px;
    background-color: #ddd;
    color: #979393;
    font-weight: bold;
    border-radius: 6px;
    transition: 0.3s;
    cursor: pointer;
}
.swiper-pagination .swiper-pagination-bullet-active {
    background-color: #5a5a5a;
    color: #fff;
}
@media (max-width: 768px) {
  .swiper-slide img {
    height: 400px;
    object-fit: contain;
    background-color: #fff;
    margin: 0 auto;
  }
}