:root {
    --primary: #ff6f91;
    --secondary: #6c8cff;
    --accent: #ffd166;
    --dark: #243047;
    --light: #fff8fa;
    --success: #28a745;
    --border: #e8eaf0;
    --white: #fff
}

body {
    font-family: Inter, Arial, sans-serif;
    color: var(--dark);
    background: #fff
}

.navbar-brand,
.hero h1,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Poppins, Arial, sans-serif
}

.site-header {
    box-shadow: 0 1px 0 rgba(36, 48, 71, .05);
    transition: .25s
}

.site-header.scrolled {
    box-shadow: 0 6px 25px rgba(36, 48, 71, .08)
}

.brand-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    margin-right: 8px
}

.nav-link {
    font-weight: 600
}

.search-box {
    border: 1px solid var(--border);
    border-radius: 999px;
    overflow: hidden;
    background: #fff
}

.search-box input {
    border: 0;
    outline: 0;
    padding: 9px 13px;
    width: 210px
}

.search-box button {
    border: 0;
    background: #fff;
    padding: 0 14px
}

.icon-link {
    color: var(--dark);
    font-size: 1.2rem;
    text-decoration: none
}

.cart-badge {
    position: absolute;
    top: -7px;
    right: -9px;
    background: var(--primary);
    color: #fff;
    border-radius: 20px;
    font-size: 10px;
    padding: 2px 5px
}

.hero {
    background: linear-gradient(120deg, #fff8fa, #eef3ff);
    padding: 70px 0
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1.08
}

.hero .btn-primary,
.btn-primary {
    background: var(--primary);
    border-color: var(--primary)
}

.btn-primary:hover {
    background: #ef5c80;
    border-color: #ef5c80;
    transform: translateY(-1px)
}

.btn-soft {
    background: #eef2ff;
    color: var(--secondary)
}

.section-title {
    margin-bottom: 28px
}

.category-card,
.product-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    transition: .25s;
    height: 100%
}

.category-card:hover,
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(36, 48, 71, .10)
}

.category-card img {
    width: 100%;
    height: 150px;
    object-fit: cover
}

.category-card .body {
    padding: 16px
}

.product-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #f8f8fb
}

.product-body {
    padding: 15px
}

.price {
    font-weight: 700;
    font-size: 1.05rem
}

.old-price {
    text-decoration: line-through;
    color: #8a93a6;
    font-size: .9rem
}

.discount {
    background: #fff0f3;
    color: #e54d70;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: .72rem;
    font-weight: 700
}

.rating {
    color: #f3b51b
}

.hero-img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 24px
}

.offer {
    background: linear-gradient(135deg, #fff0f3, #eef2ff);
    border-radius: 24px;
    padding: 38px
}

.footer {
    background: #243047;
    color: #dfe5ef
}

.footer a {
    display: block;
    color: #dfe5ef;
    text-decoration: none;
    margin: 7px 0
}

.mobile-bottom {
    position: fixed;
    z-index: 1030;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-around;
    padding: 8px 3px
}

.mobile-bottom a {
    color: var(--dark);
    text-decoration: none;
    text-align: center;
    font-size: 1rem
}

.mobile-bottom small {
    display: block;
    font-size: .65rem
}

.fade-up {
    opacity: 0;
    transform: translateY(18px);
    transition: .7s
}

.fade-up.show {
    opacity: 1;
    transform: none
}

.filter-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px
}

.product-detail-img {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    border-radius: 18px;
    background: #fafafd
}

.thumb {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 10px
}

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

.admin-sidebar {
    background: #172238;
    color: #fff;
    min-height: 100vh
}

.admin-sidebar a {
    display: block;
    color: #dce4f3;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 10px
}

.admin-sidebar a:hover {
    background: #253553
}

.admin-main {
    background: #f6f7fb;
    min-height: 100vh
}

.stat-card {
    border: 0;
    border-radius: 18px
}

.status-badge {
    border-radius: 999px;
    padding: 5px 9px;
    font-size: .75rem
}

.table td,
.table th {
    vertical-align: middle
}

@media(max-width:767px) {
    .hero {
        padding: 38px 0
    }

    .product-img {
        height: 170px
    }

    .hero-img {
        margin-top: 25px
    }

    .footer {
        padding-bottom: 65px
    }

    .product-detail-img {
        max-height: 360px
    }
}