/* Nội dung ngắn dưới giá sản phẩm chi tiết */
.short-desc-product {
    background: #f8f8f8;
    border-left: 4px solid #ff6600;
    margin: 10px 0 0 0;
    padding: 0px 0px 15px 15px;
    font-size: 14px;
    color: #333;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    
    width: 100%;
    float: left;
}
.chitiet .short-desc-product ul {

    margin: unset;
    float: unset;
    padding: unset;
   

}
.chitiet .short-desc-product ul li{
    width:100%;
     border-bottom:unset;
}
/* CSS cho nút gọi điện ở góc trái màn hình */
.fixed-call-button {
    position: fixed;
    z-index: 999;
}

/* Nút đặt hàng trên trang chi tiết sản phẩm */
a.datmua {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff9d00, #ff4d00);
    color: #fff !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(255, 77, 0, 0.32);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    border: none;
    cursor: pointer;
}

a.datmua span {
    font-size: 14px;
    line-height: 1;
}

a.datmua i {
    font-size: 16px;
}

a.datmua::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.4), transparent 65%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

a.datmua:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 14px 28px rgba(255, 77, 0, 0.38);
    background: linear-gradient(135deg, #ffb347, #ff5722);
}

a.datmua:hover::after {
    opacity: 1;
}

a.datmua:active {
    transform: translateY(1px) scale(0.99);
    box-shadow: 0 6px 16px rgba(255, 77, 0, 0.32);
}

@media (max-width: 768px) {
    a.datmua {
        width: 100%;
        justify-content: center;
        padding: 12px 18px;
        font-size: 14px;
        gap: 7px;
    }

    a.datmua span {
        font-size: 14px;
    }

    a.datmua i {
        font-size: 18px;
    }
    .shoppingCart{
        list-style-type: none;
        width: 115px;
    }
}

@media (max-width: 480px) {
    a.datmua {
        padding: 10px 10px;
        gap: 6px;
    }

    a.datmua i {
        font-size: 17px;
    }

    a.datmua span {
        font-size: 13.5px;
    }
}

.fixed-zalo-button {
    position: fixed;
    z-index: 999;
}

.fixed-map-button {
    position: fixed;
    z-index: 999;
}

.fixed-cart-button {
    position: fixed;
    z-index: 999;
}

/* Cart button - top nhất */
#fixed-cart-button {
    bottom: 520px;
    left: 30px;
}

#fixed-cart-button-mobile {
    display: none;
}

/* Zalo HCM - top nhất */
#fixed-zalo-button-hcm {
    bottom: 80px;
    right: 30px;
    left: auto;
}

/* Zalo HN */
#fixed-zalo-button-hn {
    bottom: 15px;
    right: 30px;
    left: auto;
}

/* Call HCM */
#fixed-call-button-hcm {
    bottom: 280px;
    right: 30px;
    left: auto;
}

/* Call HN */
#fixed-call-button-hn {
    bottom: 200px;
    right: 30px;
    left: auto;
}

/* Nút Google Maps HCM */
#fixed-map-button-hcm {
    bottom: 120px;
    right: 30px;
    left: auto;
}

/* Nút Google Maps HN - dưới cùng */
#fixed-map-button-hn {
    bottom: 40px;
    right: 30px;
    left: auto;
}

.fixed-call-button a, .fixed-zalo-button a {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    text-decoration: none;
    cursor: pointer;
}
 .fixed-cart-button a {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    text-decoration: none;
    cursor: pointer;
}
.fixed-map-button a {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    text-decoration: none;
    cursor: pointer;
}

.call-button-circle, .zalo-button-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
 /* .cart-button-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
} */

.map-button-circle {
    width: 45px;
    height: 45px;
   
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Specific size for Zalo */
.zalo-button-circle {
    width: 40px;
    height: 40px;
}

.call-button-circle {
    background: #cc0000;
}

/* .cart-button-circle {
    background: #1ea362;
} */

/* Style for cart count badge */
.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff0000;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}



.zalo-button-circle:before {
    animation: none;
}

.call-button-circle:before {
    border: 3px solid #28a745;
}

.zalo-button-circle:before {
    border: 3px solid #0068ff;
    animation: none;
}


.zalo-button-circle:after {
    border: 3px solid #0068ff;
    animation: none;
}

.call-button-circle i, .zalo-button-circle i {
    font-size: 24px;
    color: white;
   
}
 .cart-button-circle i {
    font-size: 24px;
    color: white;
   
}
.map-button-circle i {
    font-size: 24px;
    color: white;
    animation: shake 2s ease infinite;
}

/* Style for Zalo icon image */
.zalo-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    animation: none;
    display: block;
}

.call-button-text, .zalo-button-text {
    padding: 5px 15px;
    border-radius: 30px;
    margin-right: 10px;
    margin-left: 0;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    white-space: nowrap;
    color: white;
    text-align: center;
}

.map-button-text {
    padding: 7px 15px;
    border-radius: 30px;
    margin-right: 10px;
    margin-left: 0;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
    color: white;
    background: #1ea362;
}

.call-button-text {
    background: #cc0000;
    box-shadow: 0px 5px 15px rgba(33,136,56,0.3);
}

.zalo-button-text {
    background: #0057d5;
    box-shadow: 0px 5px 15px rgba(0,87,213,0.3);
}

.cart-button-text {
    font-size: 16px;
}

.fixed-call-button a:hover .call-button-text {
    background: #bd2130;
    transform: translateY(-2px);
    box-shadow: 0px 8px 20px rgba(30,126,52,0.4);
}

.fixed-zalo-button a:hover .zalo-button-text {
    background: #004ec2;
    transform: translateY(-2px);
    box-shadow: 0px 8px 20px rgba(0,78,194,0.4);
}


.fixed-map-button a:hover .map-button-text {
    background: #bd2130;
    transform: translateY(-2px);
    box-shadow: 0px 8px 20px rgba(189,33,48,0.4);
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    20%, 40% { transform: rotate(-10deg); }
    30%, 50% { transform: rotate(10deg); }
    45% { transform: rotate(-5deg); }
    55% { transform: rotate(5deg); }
    60% { transform: rotate(0deg); }
}

@keyframes ripple {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* Ẩn trên mobile - nhưng giữ lại cart button */
@media (max-width: 1025px) {
    .fixed-call-button, .fixed-zalo-button, .fixed-map-button {
        display: none;
    }

    #fixed-cart-button {
        display: none;
    }

    #fixed-cart-button-mobile {
        display: flex;
        align-items: center;
        bottom: 80px;
        right: 15px;
        left: auto;
        gap: 8px;
    }

    #fixed-cart-button-mobile .cart-button-circle {
        width: 45px;
        height: 45px;
    }

    #fixed-cart-button-mobile .cart-button-circle i {
        font-size: 20px;
    }


    #fixed-cart-button .cart-button-circle {
        width: 40px;
        height: 40px;
    }

    #fixed-cart-button .cart-button-circle i {
        font-size: 16px;
    }

    #fixed-cart-button .cart-button-text {
        display: none;
    }

    .cart-count {
        top: -6px;
        right: -6px;
        width: 18px;
        height: 18px;
        font-size: 10px;
        font-weight: bold;
        border: none;
    }
}

/* Responsive cho tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    #fixed-cart-button-mobile {
        bottom: 90px;
        right: 20px;
    }
}

/* Responsive cho mobile nhỏ */
@media (max-width: 480px) {
    #fixed-cart-button-mobile {
        bottom: 60px;
        left: 10px;
    }

    #fixed-cart-button-mobile .cart-button-circle {
        width: 40px;
        height: 40px;
    }

    #fixed-cart-button-mobile .cart-button-circle i {
        font-size: 18px;
    }

    #fixed-cart-button-mobile .cart-button-text {
        font-size: 13px;
        padding: 6px 14px;
    }

    .cart-count {
        width: 16px;
        height: 16px;
        font-size: 9px;
        top: -5px;
        right: -5px;
        border: none;
    }
}

/* Đảm bảo cart button luôn clickable */
.fixed-cart-button {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.fixed-cart-button a {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.cart-count-inline {
    color: #fd0002;
    font-weight: 700;
}
