﻿
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital@1&family=Roboto:wght@300;400;500;700&display=swap');

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
}


.navbar {
    width: 100%;
    padding: 20px 0;
    border-top: 3px solid #28a745;
    background: #fff;
}

.custom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.logo a {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-style: italic;
    text-decoration: none;
    color: #444;
}


.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-item {
    text-decoration: none;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

    .nav-item.active {
        color: #28a745;
    }


.cart {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-icon {
    position: relative;
    font-size: 20px;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #f0ad4e;
    color: white;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 50%;
}

.innisfree-banner {
    width: 100%;
}

.main-banner {

    height: 500px; 
    background-image: url('/Content/banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}


.service-bar {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

    .service-bar .container {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
    }

.service-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .service-item i {
        font-size: 28px;
    }

    .service-item .title {
        font-weight: 700;
        font-size: 14px;
    }

    .service-item .sub {
        font-size: 12px;
        color: #888;
    }


.section-header-top {
    text-align: center;
    margin-bottom: 40px;
}

.serif-title {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    letter-spacing: 2px;
}

.title-underline {
    width: 60px;
    height: 2px;
    background: #28a745;
    margin: 10px auto;
}


.product-card {
    border: 1px solid #eee;
    padding: 15px;
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .product-card:hover {
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

.image-container {
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

    .image-container img {
        max-height: 100%;
        transition: 0.3s;
    }

.product-card:hover img {
    transform: scale(1.05);
}
.overlay-buttons {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 5;
    align-items: flex-end;
}
.product-card:hover .overlay-buttons {
    opacity: 1;
    visibility: visible;
}

.overlay-buttons a {
    text-decoration: none;
    padding: 10px 18px;
    background-color: #bcd2cb; 
    color: #333;
    border-radius: 25px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    transition: 0.3s;
}

    .overlay-buttons a:hover {
        background-color: #28a745;
        color: #fff;
    }

.badge-hot {
    position: absolute;
    top: 10px;
    right: 10px;
    background: red;
    color: white;
    font-size: 10px;
    padding: 3px 6px;
}


.product-title {
    font-size: 14px;
    margin-top: 10px;
    height: 40px;
    overflow: hidden;
}

.product-price {
    color: #007bff;
    font-weight: bold;
}


.btn-add-cart {
    margin-top: auto;
    padding: 8px;
    border: 1px solid #28a745;
    background: white;
    color: #28a745;
    cursor: pointer;
}

    .btn-add-cart:hover {
        background: #28a745;
        color: white;
    }


.filter-menu {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-filter {
    padding: 10px 20px;
    border: 2px solid #28a745;
    background: white;
    color: #28a745;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-filter:hover {
    background: #28a745;
    color: white;
}

    
    .btn-filter.active {
        background: #28a745;
        color: white;
    }

@media (max-width: 768px) {
    .service-bar .container {
        flex-direction: column;
        gap: 15px;
    }

    .main-banner {
        height: 300px;
    }
}

.modal-content.login-card {
    border: none;
    border-radius: 40px; 
    padding: 20px;
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    justify-content: center;
}



.login-card {
    background-color: #fff;
    border-radius: 40px !important; 
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: none !important;
}
.avatar-circle {
    width: 80px;
    height: 80px;
    background-color: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #ccc;
}


.input-group {
    position: relative;
    margin-bottom: 20px;
    display: block; 
}

.form-control-custom {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border-radius: 25px; 
    border: 1px solid #ddd;
    outline: none;
    background-color: #fff;
}


.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    z-index: 10;
}


.btn-login, #btnSimpleLogout {
    display: inline-block;
    width: auto;
    padding: 8px 18px;
    background-color: transparent !important; 
    border: none !important; 
    color: black; 
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}

    
    .btn-login:hover, #btnSimpleLogout:hover {
        color: #1e7e34 !important;
        text-decoration: underline;
    }


.login-footer a {
    text-decoration: none !important;
    color: #333 !important;
    font-weight: bold;
}


.modal-content.login-card {
    border-radius: 40px !important;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}


.login-card {
    border-radius: 20px !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}


.login-title {
    color: #333;
    font-weight: 700;
    letter-spacing: 1px;
}


.input-group-text {
    border-radius: 10px 0 0 10px !important;
    border: 1px solid #dee2e6;
}

.form-control {
    border-radius: 0 10px 10px 0 !important;
    padding: 10px;
    border: 1px solid #dee2e6;
}

    .form-control:focus {
        box-shadow: none;
        border-color: #32a852; 
    }


.btn-hasaki {
    background-color: #32a852; 
    color: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: none;
    font: 100px;
}

.btn-hasaki:hover {
        background-color: #288a42;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(50, 168, 82, 0.3);
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
  
}
.navbar .btn-login {
    margin-right: 20px;
}

.contact-section-new {
    padding: 80px 0;
    background-color: #fff; 
    font-family: 'Roboto', sans-serif; 
}

.contact-container-new {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center; 
}
    .contact-container-new .main-title {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 60px;
        color: #333;
    }
.contact-grid {
    display: flex;
    justify-content: center; 
    gap: 30px;
    flex-wrap: wrap; 
}
.contact-box {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    background: #fff;
    padding: 40px 20px;
    border: 1px solid #000;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.3s;
}
    .contact-box:hover {
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        border-color: black;
    }

    
    .contact-box .icon-wrapper {
        width: 60px;
        height: 60px;
        background-color: #000; 
        color: #fff; 
        border-radius: 50%; 
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        margin-bottom: 25px;
    }

   
    .contact-box .box-title {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 15px;
        color: #333;
    }

   
    .contact-box .box-content {
        font-size: 14px;
        color: #666;
        line-height: 1.6;
        margin: 0;
    }

 
        .contact-box .box-content a {
            color: #666;
            text-decoration: none;
            transition: 0.3s;
        }

            
            .contact-box .box-content a:hover {
                color: #28a745; 
                text-decoration: underline;
            }

@media (max-width: 992px) {
    .contact-grid {
        gap: 20px;
    }
}

.contact-form-section {
    margin-top: 80px;
    max-width: 1000px; 
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px 100px;
}

.form-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #333;
}

.request-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.request-form .form-row {
    display: flex;
    gap: 30px;
}

.request-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.request-form label {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}


.request-form .form-input {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #e1e1e1;
    border-radius: 4px; 
    outline: none;
    font-size: 15px;
    transition: 0.3s;
}

.request-form .form-input:focus {
    border-color: #333;
}


.btn-submit-request {
    background-color: #2d2d2d; 
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 15px;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-submit-request:hover {
    background-color: #000;
    transform: translateY(-2px);
}


@media (max-width: 768px) {
    .request-form .form-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-form-section {
        margin-top: 50px;
    }
}

.quantity-control {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: fit-content;
    overflow: hidden;
}

.btn-qty {
    background: white;
    border: none;
    padding: 5px 15px;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.2s;
}

    .btn-qty:hover {
        background: #f0f0f0;
    }


.input-qty {
    width: 45px;
    text-align: center;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-top: none;
    border-bottom: none;
    font-weight: bold;
    outline: none;
}

    .input-qty::-webkit-outer-spin-button,
    .input-qty::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .input-qty[type=number] {
        -moz-appearance: textfield; 
    }

<style >
.overlay-buttons {
    padding: 0 10px;
    width: 100%;
}

.btn-cart-only {
    background: #ffffff;
    color: #ffc107; /* Màu vàng hoặc xanh tùy ý Linh */
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 1.2rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

    .btn-cart-only:hover {
        background: #ffc107;
        color: #fff;
        transform: scale(1.1);
    }

/* Đảm bảo các nút nằm chung một hàng */
.gap-2 {
    gap: 0.5rem !important;
}

</style >