:root {
    --brand-dark: #1f2937;
    --brand-primary: #2563eb;
    --brand-accent: #f59e0b;
}

body {
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    background-color: #f5f6f8;
    min-height: 100vh;
}

.main-navbar {
    background-color: var(--brand-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

    .main-navbar .navbar-brand {
        letter-spacing: 1px;
        color: #fff;
    }

.search-form {
    min-width: 260px;
}

.site-footer {
    background-color: var(--brand-dark);
    color: #d1d5db;
}

.auth-card {
    max-width: 520px;
    margin: 40px auto;
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
}

    .auth-card .card-header {
        background-color: var(--brand-dark);
        color: #fff;
        border-radius: 12px 12px 0 0;
        text-align: center;
        padding: 18px;
    }

.hero-banner {
    background: linear-gradient(120deg, #1f2937 0%, #2563eb 100%);
    color: #fff;
    padding: 70px 0;
    border-radius: 0 0 20px 20px;
}

.product-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}

    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
    }

.price-text {
    color: #dc2626;
    font-weight: 700;
}
.product-thumb {
    height: 200px;
    object-fit: contain;
    background-color: #fff;
    padding: 10px;
}

.section-title {
    font-weight: 700;
    color: var(--brand-dark);
    border-left: 4px solid var(--brand-accent);
    padding-left: 10px;
}

.feature-box {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

    .feature-box i {
        font-size: 28px;
        color: var(--brand-primary);
    }

.brand-box {
    background: #fff;
    border-radius: 10px;
    padding: 18px;
    color: var(--brand-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    transition: transform .2s;
}

    .brand-box:hover {
        transform: translateY(-3px);
        color: var(--brand-primary);
    }

.filter-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}

.main-detail-image {
    width: 100%;
    height: 380px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e5e7eb;
}

.thumb-image {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    background: #fff;
    padding: 4px;
}

    .thumb-image.active {
        border-color: var(--brand-primary);
    }

.variant-btn.active {
    background-color: var(--brand-dark);
    color: #fff;
}

.suggest-box {
    position: absolute;
    top: 105%;
    left: 0;
    width: 340px;
    max-width: calc(100vw - 24px);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
    z-index: 1050;
    overflow: hidden;
}

.suggest-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    text-decoration: none;
    color: #1f2937;
    border-bottom: 1px solid #f1f1f1;
}

    .suggest-item:hover {
        background-color: #f3f4f6;
    }

    .suggest-item img {
        width: 46px;
        height: 46px;
        object-fit: contain;
    }

.suggest-name {
    font-size: 14px;
    font-weight: 600;
}

.suggest-meta {
    font-size: 12px;
    color: #6b7280;
}
.cart-thumb {
    width: 70px;
    height: 70px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 4px;
}

.cart-table th {
    font-size: 14px;
    text-transform: uppercase;
}

.qty-group {
    width: 130px;
    margin: 0 auto;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input {
    -moz-appearance: textfield;
}

.summary-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
    position: sticky;
    top: 90px;
}

    .summary-card .card-header {
        background-color: var(--brand-dark);
        color: #fff;
        border-radius: 10px 10px 0 0;
    }

.cart-badge {
    position: absolute;
    top: 2px;
    right: -2px;
    font-size: 10px;
    padding: 3px 6px;
}
.payment-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
}

    .payment-option:hover {
        border-color: var(--brand-primary);
        background-color: #f8fafc;
    }

.gateway-card {
    max-width: 520px;
    margin: 20px auto;
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .1);
}

    .gateway-card .card-header {
        background: linear-gradient(120deg, #1f2937, #2563eb);
        color: #fff;
        border-radius: 12px 12px 0 0;
        padding: 16px;
    }

.order-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

    .order-steps .step {
        text-align: center;
        flex-shrink: 0;
    }

    .order-steps .step-dot {
        width: 36px;
        height: 36px;
        line-height: 32px;
        border-radius: 50%;
        border: 2px solid #d1d5db;
        color: #9ca3af;
        margin: 0 auto;
        font-weight: 700;
        background: #fff;
    }

    .order-steps .step.done .step-dot {
        border-color: var(--brand-primary);
        background: var(--brand-primary);
        color: #fff;
    }

    .order-steps .step-label {
        font-size: 12px;
        margin-top: 6px;
        color: #6b7280;
    }

    .order-steps .step.done .step-label {
        color: var(--brand-dark);
        font-weight: 600;
    }

    .order-steps .step-line {
        flex-grow: 1;
        height: 3px;
        background: #e5e7eb;
        margin: 0 6px;
        margin-bottom: 22px;
    }

        .order-steps .step-line.done {
            background: var(--brand-primary);
        }
.site-footer {
    background-color: var(--brand-dark);
    color: #9ca3af;
}

.footer-brand {
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .5px;
    margin-bottom: 14px;
    position: relative;
    padding-bottom: 8px;
}

    .footer-title::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 34px;
        height: 2px;
        background-color: var(--brand-accent);
    }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 9px;
    }

    .footer-links a {
        color: #9ca3af;
        text-decoration: none;
        font-size: 14px;
        transition: color .2s, padding-left .2s;
    }

        .footer-links a:hover {
            color: var(--brand-accent);
            padding-left: 5px;
        }

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-contact li {
        display: flex;
        gap: 9px;
        margin-bottom: 11px;
        font-size: 14px;
        line-height: 1.4;
    }

    .footer-contact i {
        color: var(--brand-accent);
        margin-top: 3px;
        flex-shrink: 0;
    }

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color .2s, transform .2s;
}

    .social-icon:hover {
        background-color: var(--brand-accent);
        color: #fff;
        transform: translateY(-3px);
    }

.pay-badge {
    background-color: rgba(255, 255, 255, .1);
    border-radius: 6px;
    padding: 5px 11px;
    font-size: 12px;
    color: #e5e7eb;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, .3);
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-bottom-link {
    color: #9ca3af;
    text-decoration: none;
}

    .footer-bottom-link:hover {
        color: var(--brand-accent);
    }
  