﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f5f7;
}

/* Navigation Bar */
.navbar {
    background-color: #000;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
a.nav-link {
    color: white !important;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    padding: 15px 0;
}

    .logo a {
        color: #fff;
        text-decoration: none;
        font-size: 24px;
        font-weight: bold;
    }

.logo-text {
    font-size: 28px;
}

    .logo-text .zone {
        color: #ff6b35;
    }

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 20px 18px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #ff6b35;
    }

.premium-badge .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 16px;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.apple-icon {
    font-size: 24px;
    margin-bottom: 2px;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-btn {
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    font-size: 20px;
    transition: color 0.3s ease;
}

    .icon-btn:hover {
        color: #ff6b35;
    }

.cart-icon {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: #ff6b35;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Main Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Banner Slider */
.hero-slider {
    margin: 20px 0;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 450px;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.slide {
    min-width: 100%;
    position: relative;
}

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.slide-content {
    position: absolute;
    bottom: 40px;
    left: 60px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

    .slide-content h2 {
        font-size: 48px;
        margin-bottom: 10px;
    }

    .slide-content p {
        font-size: 20px;
        margin-bottom: 20px;
    }

.btn-shop {
    background-color: #ff6b35;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

    .btn-shop:hover {
        background-color: #e55a2b;
    }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .dot.active {
        background-color: #fff;
    }

/* Category Grid */
.category-section {
    margin: 40px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.category-card {
    background: #000000b0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: #333;
}

    .category-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

.category-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.category-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

/* Section Title */
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 40px 0 20px;
}

    .section-title h2 {
        font-size: 28px;
        font-weight: 700;
        color: #1d1d1f;
    }

.view-all {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

    .view-all:hover {
        text-decoration: underline;
    }

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    text-decoration: none;
    color: #333;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #ff6b35;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

    .product-badge.new {
        background-color: #34c759;
    }

.product-image {
    width: 100%;
    height: 220px;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1d1d1f;
    min-height: 40px;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.current-price {
    font-size: 20px;
    font-weight: 700;
    color: #ff6b35;
}

.old-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.product-installment {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.product-features {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-tag {
    background-color: #f5f5f7;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
    color: #666;
}

/* Promotion Banner */
.promo-banner {
    background: linear-gradient(135deg, #444444 0%, #0f0f0f8a 100%);
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    text-align: center;
    color: #fff;
}

    .promo-banner h2 {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .promo-banner p {
        font-size: 18px;
        margin-bottom: 25px;
    }

/* Footer */
.footer {
    background-color: #1d1d1f;
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

    .footer-section ul li {
        margin-bottom: 12px;
    }

        .footer-section ul li a {
            color: #999;
            text-decoration: none;
            transition: color 0.3s ease;
        }

            .footer-section ul li a:hover {
                color: #ff6b35;
            }

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: #000;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
    }

        .nav-menu.active {
            left: 0;
        }

    .hero-slider {
        height: 300px;
    }

    .slide-content {
        left: 30px;
        bottom: 30px;
    }

        .slide-content h2 {
            font-size: 28px;
        }

        .slide-content p {
            font-size: 16px;
        }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .section-title h2 {
        font-size: 22px;
    }
}
.category-icon img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    margin-bottom: 10px;
    filter: brightness(1.2);
    transition: transform 0.3s ease;
}

.category-card:hover img {
    transform: scale(1.1);
}
/* khung slider */
.hero-slider {
    position: relative;
    overflow: hidden; /* rất quan trọng để che phần trượt */
    border-radius: 20px;
}

/* dải trượt */
.slider-wrapper {
    display: flex; /* xếp các slide nằm ngang */
    transition: transform .5s ease; /* mượt khi translateX */
    will-change: transform;
}

/* từng slide chiếm đúng 100% khung */
.slide {
    flex: 0 0 100%; /* = min-width:100% cho flex item */
    position: relative;
}

    /* nếu slide dùng <img> thuần */
    .slide > img {
        display: block;
        width: 100%;
        height: auto;
    }
.hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

/* Dải trượt */
.slider-wrapper {
    display: flex;
    transition: transform 0.6s ease;
}

/* Mỗi slide */
.slide {
    flex: 0 0 100%;
    position: relative;
}

    /* Ảnh trong slide */
    .slide img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 20px;
    }

/* Nút điều hướng */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: rgba(40, 40, 40, 0.9);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 10;
}

    .slider-btn:hover {
        background: rgba(70, 70, 70, 1);
        transform: translateY(-50%) scale(1.1);
    }

    .slider-btn.prev {
        left: 20px;
    }

    .slider-btn.next {
        right: 20px;
    }

/* Dấu chấm */
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

    .dot.active {
        background: #fff;
        transform: scale(1.3);
    }
main.pb-3 {
    margin-bottom: 100px;
}
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 40px 0 20px;
    margin-top: 50px;
    border-top: 1px solid #333;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

    .footer-column ul li {
        margin-bottom: 12px;
    }

        .footer-column ul li a {
            color: #cccccc;
            text-decoration: none;
            font-size: 14px;
        }

            .footer-column ul li a:hover {
                color: #ffffff;
            }

.contact-info {
    margin-bottom: 5px;
}

.contact-label {
    color: #ffffff;
    font-size: 14px;
}

.contact-number {
    color: #4a9eff;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
}

.contact-time {
    color: #999999;
    font-size: 13px;
    margin-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

    .social-links a {
        width: 36px;
        height: 36px;
        background-color: #404040;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .social-links a:hover {
            background-color: #555555;
        }

    .social-links svg {
        width: 18px;
        height: 18px;
        fill: #ffffff;
    }

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-info {
    color: #999999;
    font-size: 12px;
    line-height: 1.6;
}

.footer-badges img {
    height: 40px;
    margin-left: 15px;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}
footer.border-top.footer.text-muted {
    position: relative;
    line-height: 20px;
    margin-bottom: -100px;
}
.success-hero{
    background: linear-gradient(135deg,#16a085 0%,#2ecc71 100%);
    border-radius: 16px;
    color:#fff;
    padding:28px 20px;
    position: relative;
    overflow: hidden;
}
.success-hero .tick{
    width:56px;height:56px;border-radius:50%;
    background:#fff;display:flex;align-items:center;justify-content:center;
    color:#2ecc71;font-size:28px;font-weight:700;margin-right:12px;
    box-shadow:0 6px 16px rgba(0,0,0,.15)
}
.chip{
    display:inline-flex;align-items:center;gap:6px;
    padding:6px 10px;border-radius:999px;
    background:rgba(255,255,255,.18);backdrop-filter: blur(4px)
}
.card-soft{border:0;border-radius:16px;box-shadow:0 8px 24px rgba(0,0,0,.06)}
.list-group-item{border:0;border-bottom:1px dashed #eee}
.list-group-item:last-child{border-bottom:0}
.price{font-weight:700}
.muted{color:#6c757d}
.divider{height:1px;background:#f0f0f0;margin:10px 0 14px}

@media (max-width: 575.98px){
    .success-hero{padding:22px 16px}
}
