/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-bar {
    background-color: #d4a762;
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
}

.social-icons a {
    color: #fff;
    margin-left: 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #4285f4;
}

.navbar {
    background-color: #fff;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu li a {
    color: #0a0701;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s;
}

.nav-menu li a:hover,
.nav-menu li.active a {
    color: #d4a762;
}

.nav-menu li.active a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #d4a762;
}

.cart-link {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #d4a762;
    color: #fff;
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* Product Detail Section */
.product-detail {
    padding: 40px 0;
}

.product-detail-container {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* Product Images */
.product-images {
    width: 50%;
    padding: 30px;
}

.main-image {
    margin-bottom: 20px;
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
}

.main-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.main-image img:hover {
    transform: scale(1.05);
}

/* Product Info */
.product-info {
    width: 50%;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.product-info h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.3;
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: #d4a762;
    margin-bottom: 20px;
}

.features {
    list-style: none;
    margin-bottom: 30px;
}

.features li {
    margin-bottom: 12px;
    font-size: 16px;
}

.features li strong {
    display: inline-block;
    width: 160px;
    font-weight: 600;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background-color: #d4a762;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #d4a762;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
}

/* Notification */
.notification {
    position: fixed;
    top: -100px; /* Ẩn ban đầu phía trên */
    left: 50%;
    transform: translateX(-50%);
    background-color: #4285f4;
    color: #fff;
    padding: 15px 25px;
    border-radius: 5px;     
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: top 0.3s ease;
}

.notification.show {
    top: 20px;
}

/* Footer Styles */
.footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #4285f4;
}

.footer-logo {
    height: 50px;
    margin-bottom: 15px;
}

.footer-column p {
    margin-bottom: 20px;
    color: #ccc;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #4285f4;
}

.contact-info li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.contact-info li i {
    margin-right: 10px;
    color: #4285f4;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px 0 0 4px;
}

.newsletter-form button {
    padding: 0 15px;
    background-color: #4285f4;
    border: none;
    color: #fff;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: #3367d6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: #ccc;
}

.payment-methods {
    display: flex;
    gap: 10px;
}

.payment-methods img {
    height: 30px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-detail-container {
        flex-direction: column;
    }
    
    .product-images,
    .product-info {
        width: 100%;
    }
    
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        padding: 50px 20px;
        z-index: 100;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
}

@media (max-width: 576px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}