@import url("https://fonts.googleapis.com/css2?family=BBH+Bartle&family=Battambang:wght@100;300;400;700;900&family=Borel&family=Bungee+Spice&family=Bungee+Tint&family=Caprasimo&family=Cascadia+Code:ital,wght@0,200..700;1,200..700&family=Content:wght@400;700&family=Edu+NSW+ACT+Hand+Pre:wght@400..700&family=Fasthand&family=Fjalla+One&family=Hanuman:wght@100..900&family=Kantumruy+Pro:ital,wght@0,100..700;1,100..700&family=Kaushan+Script&family=Konkhmer+Sleokchher&family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&family=Metal&family=Monoton&family=Oswald:wght@200..700&family=Permanent+Marker&family=Playwrite+RO:wght@100..400&family=Rubik+Distressed&family=Shadows+Into+Light&family=Slabo+27px&display=swap");
body {
    background-color: #ffffff;
    color: #212529;
}

.view-detail h2,
.view-detail h4 {
    /* font-family: "Metal", serif; */
    font-weight: 400;
    font-style: normal;
}

.view-detail hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, #ff4d4d, #ffc107, #ff4d4d);
    border-radius: 2px;
    margin: 3rem 0;
}

body.dark-mode .view-detail hr {
    background: linear-gradient(to right, #ff4d4d, #ff69b4, #ff4d4d);
    height: 2px;
    border-radius: 2px;
    margin: 3rem 0;
}

.view-detail .text-muted {
    color: #6c757d !important;
}

.view-detail .badge.bg-dark {
    background-color: #212529 !important;
    color: #ffffff;
}

.view-detail .badge.bg-danger {
    background-color: #dc3545 !important;
}

.view-detail hr {
    border-color: #dee2e6;
}

.view-detail .product-image-wrapper {
    width: 100%;
}

.view-detail .main-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.view-detail .main-image img {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.view-detail .main-image img:hover {
    transform: scale(1.05);
}

/* Badge on image */
.view-detail .image-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 50px;
}

.view-detail .thumbnail-row img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.view-detail .thumbnail-row img:hover {
    opacity: 1;
    border-color: #198754;
}

@media (max-width: 768px) {
    .view-detail .main-image {
        border-radius: 12px;
    }

    .view-detail .image-badge {
        font-size: 11px;
        padding: 5px 12px;
    }

    .view-detail .thumbnail-row img {
        width: 60px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .view-detail .thumbnail-row img {
        width: 50px;
        height: 40px;
    }

    .view-detail .main-image img {
        transform: none;
    }
}

body.dark-mode {
    background-color: #121212;
    color: #f1f1f1;
}

body.dark-mode .view-detail h2,
body.dark-mode .view-detail h4 {
    color: #f1f1f1;
}

body.dark-mode .view-detail .text-muted {
    color: #b0b0b0 !important;
}

body.dark-mode .view-detail hr {
    border-color: #2a2a2a;
}

body.dark-mode .view-detail .badge.bg-dark {
    background-color: #1e1e1e !important;
    color: #ffffff;
    border: 1px solid #333;
}

body.dark-mode .view-detail .badge.bg-danger {
    background-color: #ff4d4d !important;
}

body.dark-mode .view-detail .shadow {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7) !important;
}
