@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Orbitron:wght@400..900&family=SUSE+Mono:ital,wght@0,100..800;1,100..800&family=Saira:ital,wght@0,100..900;1,100..900&display=swap');

h1 {
    font-family: "Montserrat", sans-serif;
} 
h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

body {
    font-size: 16px;
    font-family: "Montserrat", sans-serif !important;
    font-weight: bold;
}

a {
    text-decoration: none;
}

#title {
    font-family: "SUSE Mono", sans-serif;
}

.cnt1 {
    justify-content: center !important;
    transform: scale(2); 
    margin-bottom: 120px;
    padding-left: 250px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
.cnt2 {
    justify-content: center !important;
    transform: scale(2); 
    margin-bottom: 150px;
    padding-left: 300px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
.cnt3 {
    justify-content: center !important;
    transform: scale(2); 
    margin-bottom: 100px;
    padding-right: 300px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
.cnt4 {
    justify-content: center !important;
    transform: scale(2); 
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

footer {
    padding-top: 30px;
}

.navu {
    font-family: "Montserrat", sans-serif;
}

.centerit {
    align-items: center !important;
    content: center !important;
}

.carousel-item img {
    object-fit: cover;
    object-position: top;
    height: 60vh;
    overflow: hidden;
    transition: transform 0.6s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: #ffca2c !important;
}
.navbar-nav .lout:hover {
    color: #FF2E63 !important;
}
.navbar-nav .lin:hover {
    color: #008cff !important;
}

.acc-name{
    color: #ffca2c !important;
}
.acc-name:hover{
    color: #F0F5F9 !important;
}

.acc-log:hover {
    color: #E23E57 !important;
}

#margin-shop {
    margin-top: 20px;
}
#margin-reg {
    margin-top: 70px;
}

.custom-col-5 {
    flex: 0 0 20%;  
    max-width: 20%; 
}

.category-img {
    height: 200px;
    object-fit: cover;
    object-position: center 20%;
    width: 100%;
    border-radius: 8px;
}

#nav-mar {
    margin-top: 15px !important;
}
.inner-menu {
    padding-top: 10px !important;
}
.navdrop {
    background-color: #1E2022 !important;
    margin-top: -10px;
    height: 70px !important; 
    padding-top: 3px !important;
}

button.navdrop {
    border: 0px !important;
    right: 0; 
    left: auto;
}

.txt-align {
    font-size: 12px;
}

.img-hover-shadow:hover {
    box-shadow: 0 10px 18px rgba(0,0,0,0.3);
    transform: scale(1.05); 
    transition: all 0.3s ease;
}

.old-pri {
    font-weight: bold;
    color: #FF2E63;
}

.new-pri {
    font-weight: bold;
    background-color: #1E2022;
    color: #F0F5F9;
    padding: 5px;
    border-radius: 5px;
}

.pro-but {
    background-color: #1E2022 !important;
    color: #F0F5F9 !important;
    border-radius: 5px !important;
    transition: background-color 0.3s, color 0.3s !important; 
    border: none !important;
}

.pro-but:hover {
    background-color: #F0F5F9 !important; 
    color: #1E2022 !important;            
    cursor: pointer !important;
    border: none !important;
}

.btn-light:hover {
    background-color: #1E2022 !important; 
    color: #F0F5F9 !important;            
}

.pro-pri {
    color: #E23E57;
}

.pro-img {
    width: 100%;      
    height: auto;     
    object-fit: cover; 
    object-position: center;
    border-radius: 10px !important; 
}

.tab {
    border-radius: 10px;       
    overflow: hidden;          
    box-shadow: 2px 2px 10px grey; 
}

.tab .btn {
    font-size: 10px !important;
    padding: 3px 6px !important;
}

.pic-box {
    position: relative;
}

.hot {
    display: inline-block;
    position: absolute;
    top: 0px;
    right: 10px;
    background-color: #E23E57;
    color: white;
    padding: 3px 5px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 5px;
    z-index: 10;
    opacity: 0.9;
    width: 60px;
    text-align: center;
    box-shadow: -2px 2px 5px #1E2022;
}

.alert {
    -webkit-animation: fadeOut 4s ease forwards; 
    animation: fadeOut 4s ease forwards;
}

@keyframes fadeOut {
    0% { opacity: 1; }
    70% { opacity: 1; }  
    100% { opacity: 0; display: none; }
}

@media (max-width: 768px) {
    .pic-box, .pic-box + .col-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .pro-det {
        width: 100% !important;
        height: auto !important;
    }   
    .category-img {
        height: 150px;
    }

    #nav-mar {
        margin-top: 10px !important;
    }

    .lout:hover {
        color: #E23E57 !important;
    }

    .table {
        font-size: 12px;
    }

    .table th,
    .table td {
        padding: 6px 4px;
    }

    .table img {
        height: 50px !important;
        width: 50px !important;
    }

    h4.mb-3 {
        font-size: 1.3rem;
    }

    .btn {
        font-size: 11px !important;
        padding: 4px 8px !important;
    }

    .small-btn {
        font-size: 13px !important;
        padding: 6px 8px !important;
    }

    .small-input {
        font-size: 13px !important;
        padding: 6px 8px !important;
    }

    .filter-form {
        padding: 10px;
        border-radius: 10px;
    }

    .filter-form .btn,
    .filter-form .form-select,
    .filter-form .form-control {
        border-radius: 8px !important;
    }

    .tab {
        font-size: 11px;
    }

    .cnt1, .cnt2, .cnt3, .cnt4 {
        transform: scale(1.5);
        padding: 0;
        margin-bottom: 20px;
    }

    .navbar-collapse {
        background-color: #1E2022 !important;
        padding: 15px;
        border-radius: 12px;
        width: 150px;
        position: absolute;
        top: 60px;
        right: 10px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.4);
        z-index: 999;
    }

    .navbar-nav .nav-item {
        margin-bottom: 10px;
    }

    .navbar-nav .nav-link {
        color: #F0F5F9 !important;
        text-align: left;
        display: block;
    }

    .navbar-nav .nav-link:hover {
        color: #ffca2c !important;
    }
    .custom-width{
        max-width: 120px !important;
    }

}
/* ============================= */
/* AI CHAT PAGE */
/* ============================= */

.chat-card {
    border-radius: 15px;
    overflow: hidden;
    background-color: #F0F5F9;
}

.chat-body {
    height: 450px;
    overflow-y: auto;
    padding: 20px;
    background-color: #ffffff;
}

.chat-footer {
    background-color: #1E2022;
    padding: 15px;
}

.chat-input {
    border-radius: 20px !important;
    padding: 10px 15px;
}

.chat-message {
    display: flex;
    margin-bottom: 15px;
}

.user-message {
    justify-content: flex-end;
}

.ai-message {
    justify-content: flex-start;
}

.message-content {
    max-width: 70%;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 14px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.user-message .message-content {
    background-color: #1E2022;
    color: #F0F5F9;
    border-bottom-right-radius: 0;
}

.ai-message .message-content {
    background-color: #ffca2c;
    color: #1E2022;
    border-bottom-left-radius: 0;
}

/* Typing Animation */
.typing {
    display: flex;
    gap: 5px;
}

.typing span {
    width: 8px;
    height: 8px;
    background: #1E2022;
    border-radius: 50%;
    animation: blink 1.4s infinite both;
}

.typing span:nth-child(2) {
    animation-delay: 0.2s;
}
.typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes blink {
    0% { opacity: 0.2; }
    20% { opacity: 1; }
    100% { opacity: 0.2; }
}

/* Mobile */
@media (max-width: 768px) {
    .chat-body {
        height: 350px;
    }

    .message-content {
        max-width: 85%;
        font-size: 13px;
    }
}