:root {
    --dark: #171719;
    --dark-light: #2a2a2e;
    --dark-card: #1e1e22;
    --red: #f95000;
    --red-dark: #d94400;
    --red-light: #ff6a1a;
    --rose-deep: #d94400;
    --rose: #ff6a1a;
    --cream: #faf7f2;
    --white: #ffffff;
    --off-white: #f5f0ea;
    --text-dark: #1a1a1a;
    --text-muted: #6b6b6b;
    --text-light: #a0a0a0;
    --border: #e8e3dc;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 16px 50px rgba(0, 0, 0, 0.2);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Poppins', system-ui, -apple-system, sans-serif;
    --container: 1280px;
    --header-height: 72px;
    --topbar-height: 38px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--red);
}

/* ===== TOP BAR (separate, not sticky) ===== */
.topbar {
    background: var(--dark);
    color: var(--white);
    font-size: 0.8rem;
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1001;
    padding: 0 16px;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--container);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ccc;
    font-size: 0.75rem;
}

.topbar-left span .dot {
    width: 5px;
    height: 5px;
    background: var(--red);
    border-radius: 50%;
    display: inline-block;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.5);
    }
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-right a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.75rem;
    transition: color var(--transition);
}

.topbar-right a:hover {
    color: var(--red-light);
}

.topbar-divider {
    width: 1px;
    height: 16px;
    background: #444;
}

/* ===== HEADER (sticky, contains main row) ===== */
.navbar {
    background: transparent;
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition), border-color 0.3s;
    border-bottom: 2px solid transparent;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background-color: #fff;
}

.navbar .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    gap: 16px;
}

/* Logo */
.navbar .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
    cursor: pointer;
}

.navbar .logo-icon {
    width: 42px;
    height: 42px;
    background: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.navbar .logo-icon::after {
    content: '';
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    border: 2px solid var(--white);
}

.navbar .logo-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--white);
}

.navbar .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.navbar .logo-text .brand-name {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--dark);
}

.navbar .logo-text .brand-name span {
    color: var(--red);
}

.navbar .logo-text .brand-tagline {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Navigation list */
.navbar .nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0;
    flex: 1;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.navbar .nav-item {
    position: relative;
}

.navbar .nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-dark);
    text-decoration: none;
    padding: 14px 16px;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color var(--transition), background var(--transition);
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.navbar .nav-link:hover,
.navbar .nav-item:hover>.nav-link {
    color: var(--red);
    background: transparent;
}

.navbar .nav-link .chevron {
    font-size: 0.6rem;
    transition: transform var(--transition);
    display: inline-block;
}

.navbar .nav-item:hover .nav-link .chevron {
    transform: rotate(180deg);
}

.navbar .nav-item.active .nav-link {
    color: var(--red);
}

.navbar .nav-item.active .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    background: var(--red);
    border-radius: 2px 2px 0 0;
}

/* Dropdown */
.navbar .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    list-style: none;
    padding: 8px 0;
    z-index: 100;
}

.navbar .nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar .dropdown-menu li {
    list-style: none;
}

.navbar .dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all var(--transition);
    border-left: 3px solid transparent;
}

.navbar .dropdown-menu li a:hover {
    background: var(--off-white);
    border-left-color: var(--red);
    color: var(--red);
    padding-left: 24px;
}

/* Mega Menu */
.navbar .mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 760px;
    background: var(--white);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    padding: 24px 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    z-index: 100;
    border-top: 3px solid var(--red);
}

.navbar .nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.navbar .mega-menu-col h4 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--red);
    margin-bottom: 12px;
    font-weight: 700;
}

.navbar .mega-menu-col ul {
    list-style: none;
}

.navbar .mega-menu-col ul li a {
    display: block;
    padding: 7px 0;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.84rem;
    transition: all var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar .mega-menu-col ul li a:hover {
    color: var(--red);
    padding-left: 6px;
    border-bottom-color: var(--red);
}

.navbar .mega-menu-feature {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--dark), #2d2d35);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

.navbar .mega-menu-feature p {
    color: #ccc;
    font-size: 0.82rem;
}

.navbar .mega-menu-feature p strong {
    color: var(--white);
    font-size: 0.95rem;
}

.navbar .mega-menu-feature .highlight {
    color: var(--red-light);
    font-weight: 700;
    font-size: 1.2rem;
}

.navbar .mega-menu-feature a {
    color: var(--white);
    background: var(--red);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: background var(--transition);
    white-space: nowrap;
}

.navbar .mega-menu-feature a:hover {
    background: var(--red-dark);
}

/* Header actions */
.navbar .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.navbar .header-action-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background var(--transition);
}

.navbar .header-action-btn:hover {
    background: var(--off-white);
}

.navbar .header-action-btn svg {
    width: 22px;
    height: 22px;
    fill: var(--dark);
    transition: fill var(--transition);
}

.navbar .header-action-btn:hover svg {
    fill: var(--red);
}

.navbar .cart-badge {
    position: absolute;
    top: 2px;
    right: 0;
    width: 18px;
    height: 18px;
    background: var(--red);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.navbar .cart-badge.bump {
    animation: bump 0.4s ease;
}

@keyframes bump {

    0%,
    100% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.5);
    }

    60% {
        transform: scale(0.9);
    }
}

/* Hamburger */
.navbar .hamburger {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 50%;
    transition: background var(--transition);
    position: relative;
    z-index: 1002;
}

.navbar .hamburger:hover {
    background: var(--off-white);
}

.navbar .hamburger span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: all var(--transition);
    transform-origin: center;
}

.navbar .hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
    background: var(--red);
}

.navbar .hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.navbar .hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
    background: var(--red);
}

/* Mobile overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Responsive */
@media (max-width: 992px) {
    .navbar .hamburger {
        display: flex;
    }

    .navbar .nav-list {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--dark);
        flex-direction: column;
        align-items: stretch;
        padding: calc(var(--header-height) + 16px) 20px 20px;
        overflow-y: auto;
        z-index: 999;
        gap: 0;
        animation: slideInNav 0.3s ease;
    }

    .navbar .nav-list.open {
        display: flex;
        max-width: 350px;
        z-index: 1000;
    }

    @keyframes slideInNav {
        from {
            transform: translateX(-100%);
            opacity: 0;
        }

        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    .navbar .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .navbar .nav-link {
        padding: 14px 0;
        font-size: 0.95rem;
        justify-content: space-between;
        width: 100%;
        color: #ddd;
    }

    .navbar .nav-link:hover,
    .navbar .nav-item:hover>.nav-link {
        color: var(--white);
        background: rgba(255, 255, 255, 0.06);
    }

    .navbar .nav-link .chevron {
        transition: transform var(--transition);
    }

    .navbar .nav-item.dropdown-open .nav-link .chevron {
        transform: rotate(180deg);
    }

    .navbar .nav-item.active .nav-link {
        color: var(--red-light);
    }

    .navbar .nav-item.active .nav-link::after {
        display: none;
    }

    .navbar .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.04);
        border-radius: var(--radius-sm);
        min-width: auto;
        padding: 0;
        display: none;
        margin-bottom: 8px;
    }

    .navbar .nav-item.dropdown-open .dropdown-menu {
        display: block;
    }

    .navbar .dropdown-menu li a {
        color: #ccc;
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .navbar .dropdown-menu li a:hover {
        background: rgba(255, 255, 255, 0.08);
        color: var(--red-light);
        padding-left: 20px;
    }

    .navbar .mega-menu {
        position: static;
        transform: none;
        width: 100%;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.04);
        border-radius: var(--radius-sm);
        padding: 12px 16px;
        display: none;
        grid-template-columns: 1fr;
        gap: 12px;
        border-top: none;
        margin-bottom: 8px;
    }

    .navbar .nav-item.dropdown-open .mega-menu {
        display: grid;
    }

    .navbar .mega-menu-col h4 {
        font-size: 0.7rem;
        margin-bottom: 6px;
        color: var(--red-light);
    }

    .navbar .mega-menu-col ul li a {
        color: #ccc;
        font-size: 0.82rem;
        padding: 6px 0;
    }

    .navbar .mega-menu-feature {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 14px;
    }

    .mobile-menu-overlay {
        display: block;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
        --topbar-height: 32px;
    }

    .topbar-left span:nth-child(2),
    .topbar-right a:nth-child(2),
    .topbar-divider {
        display: none;
    }

    .topbar {
        font-size: 0.7rem;
        height: var(--topbar-height);
    }

    .navbar .logo-icon {
        width: 34px;
        height: 34px;
    }

    .navbar .logo-icon svg {
        width: 18px;
        height: 18px;
    }

    .navbar .logo-text .brand-name {
        font-size: 1.3rem;
    }

    .navbar .logo-text .brand-tagline {
        font-size: 0.55rem;
        letter-spacing: 1px;
    }

    .navbar {
        height: var(--header-height);
    }

    .navbar .header-action-btn {
        width: 38px;
        height: 38px;
    }

    .navbar .header-action-btn svg {
        width: 20px;
        height: 20px;
    }

    .navbar .hamburger {
        width: 38px;
        height: 38px;
    }

    .navbar .hamburger span {
        width: 20px;
    }
}

/* ============ HERO SLIDER ============ */
.hero-slider {
    position: relative;
    height: 520px;
    overflow: hidden;
    background: var(--dark);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-slide-1 .hero-slide-bg {
    background: linear-gradient(135deg, #1a1a1e 0%, #2d2015 50%, #3a1a0a 100%);
}

.hero-slide-2 .hero-slide-bg {
    background: linear-gradient(135deg, #1a1a1e 0%, #1e2d25 50%, #0a3a1a 100%);
}

.hero-slide-3 .hero-slide-bg {
    background: linear-gradient(135deg, #1a1a1e 0%, #2d1a2d 50%, #3a0a2a 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 20px;
    max-width: 700px;
}

.hero-slide-content .hero-badge {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    animation: fadeInDown 0.8s ease;
}

.hero-slide-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 12px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-slide-content h1 .accent {
    color: var(--red-light);
}

.hero-slide-content p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.4s both;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    transition: all var(--transition);
    animation: fadeInUp 0.8s ease 0.6s both;
    letter-spacing: 0.5px;
}

.hero-btn.primary {
    background: var(--red);
    color: var(--white);
    margin-right: 10px;
}

.hero-btn.primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 80, 0, 0.4);
}

.hero-btn.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.hero-btn.secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    border: none;
    transition: all var(--transition);
}

.hero-dot.active {
    background: var(--red);
    transform: scale(1.3);
    box-shadow: 0 0 12px rgba(249, 80, 0, 0.6);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: all var(--transition);
    backdrop-filter: blur(4px);
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
}

.hero-arrow.prev {
    left: 20px;
}

.hero-arrow.next {
    right: 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============ SECTION COMMON ============ */
.section {
    padding: 60px 20px;
    max-width: var(--container);
    margin: 0 auto;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header .section-tag {
    display: inline-block;
    color: var(--red);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
    position: relative;
}

.section-header .section-tag::before,
.section-header .section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--red);
    opacity: 0.5;
}

.section-header .section-tag::before {
    left: -40px;
}

.section-header .section-tag::after {
    right: -40px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}

.section-header h2 .accent {
    color: var(--red);
}

.section-header p {
    color: var(--text-muted);
    max-width: 500px;
    margin: 10px auto 0;
    font-size: 0.95rem;
}

/* ============ CATEGORIES ============ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 0px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
    display: flex;
}

.category-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--red);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card>img {
    width: 100%;
}

.category-card>span {
    display: flex;
    position: absolute;
    width: 100%;
    color: #fff;
    font-weight: bold;
    text-align: center;
    justify-content: center;
    padding: 15px 0px;
    background-image: linear-gradient(180deg, black, transparent);
    font-size: 20px;
}

/* ============ PRODUCT CARDS ============ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    position: relative;
    cursor: pointer;
    border: 1px solid var(--border);
    text-decoration: none;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: var(--red);
}

.product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
    aspect-ratio: 1;
    width: 100%;
}

.product-card:hover .product-image {
    transform: scale(1.02);
}

.product-image .img-emoji {
    transition: transform var(--transition-slow);
    z-index: 2;
    position: relative;
}

.product-image>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.add-to-cart-btn>svg {
    width: 25px;
    height: 25px;
}

.product-card:hover .product-image .img-emoji {
    transform: scale(1.15) rotate(3deg);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--red);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
}

.product-badge.green {
    background: #22c55e;
}

.product-badge.dark {
    background: var(--dark);
}

.product-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    z-index: 3;
    color: #ccc;
}

.product-wishlist:hover {
    color: var(--red);
    transform: scale(1.1);
}

.product-wishlist.active {
    color: var(--red);
    background: #fff0f0;
}

.product-info {
    padding: 16px 18px 18px;
}

.product-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
    line-height: 1.3;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    font-size: 0.8rem;
}

.stars {
    color: #f59e0b;
    letter-spacing: 1px;
}

.rating-count {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.product-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
}

.product-price .original {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 6px;
}

.product-price .discount {
    font-size: 0.7rem;
    color: #22c55e;
    font-weight: 700;
    margin-left: 4px;
}

.add-to-cart-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--red-light);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    color: var(--white);
    font-size: 1.1rem;
}

.add-to-cart-btn:hover {
    background: var(--red);
    transform: scale(1.08);
}

/* ============ DEAL BANNER ============ */
.deal-banner {
    background: linear-gradient(135deg, var(--dark) 0%, #2a1a10 60%, var(--red) 160%);
    border-radius: var(--radius-xl);
    padding: 40px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    margin: 20px 0;
}

.deal-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(249, 80, 0, 0.15);
    border-radius: 50%;
    pointer-events: none;
}

.deal-banner::after {
    content: '';
    position: absolute;
    bottom: -60%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(249, 80, 0, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.deal-content {
    position: relative;
    z-index: 2;
}

.deal-content .deal-tag {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 16px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.deal-content h3 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.deal-content h3 .accent {
    color: var(--red-light);
}

.deal-content p {
    color: #bbb;
    font-size: 0.9rem;
}

.deal-countdown {
    display: flex;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    text-align: center;
    min-width: 60px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.countdown-item .count-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.countdown-item .count-label {
    font-size: 0.65rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.deal-btn {
    background: var(--red);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all var(--transition);
    position: relative;
    z-index: 2;
    display: inline-block;
    white-space: nowrap;
}

.deal-btn:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 80, 0, 0.35);
}

/* ============ FEATURES ============ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border-bottom: 3px solid transparent;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-bottom-color: var(--red);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 14px;
    transition: all var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--red);
    transform: scale(1.06);
}

.feature-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    position: relative;
    border: 1px solid var(--border);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--red);
}

.testimonial-card .quote-mark {
    font-size: 2.5rem;
    color: var(--red);
    opacity: 0.3;
    line-height: 1;
    position: absolute;
    top: 12px;
    right: 20px;
    font-family: 'Poppins', serif;
}

.testimonial-text {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-avatar.red {
    background: var(--red);
}

.testimonial-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark);
}

.testimonial-location {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.testimonial-rating {
    color: #f59e0b;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-left: auto;
}

/* ============ NEWSLETTER ============ */
.newsletter {
    background: var(--dark);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: -60%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249, 80, 0, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.newsletter-content {
    position: relative;
    z-index: 2;
}

.newsletter h3 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.newsletter h3 .accent {
    color: var(--red-light);
}

.newsletter p {
    color: #bbb;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    max-width: 460px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 14px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 0.9rem;
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    transition: border-color var(--transition);
    font-family: inherit;
}

.newsletter-form input::placeholder {
    color: #999;
}

.newsletter-form input:focus {
    border-color: var(--red);
}

.newsletter-form button {
    padding: 14px 28px;
    border-radius: 30px;
    background: var(--red);
    color: var(--white);
    border: none;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}

/* ============ FOOTER ============ */
.footer {
    background: var(--dark);
    color: #ccc;
    padding: 50px 20px 0;
    margin-top: 20px;
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--red);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.82rem;
    transition: color var(--transition);
}

.footer-col ul li a:hover {
    color: var(--red-light);
    padding-left: 4px;
}

.footer-col p {
    font-size: 0.82rem;
    color: #aaa;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    text-decoration: none;
    transition: all var(--transition);
    font-size: 0.9rem;
}

.footer-social a:hover {
    background: var(--red);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 20px;
    text-align: center;
    font-size: 0.78rem;
    color: #888;
    max-width: var(--container);
    margin: 0 auto;
}

.footer-bottom span {
    color: var(--red);
    font-weight: 600;
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.reveal-left {
    transform: translateX(-50px);
}

.reveal.reveal-right {
    transform: translateX(50px);
}

.reveal.reveal-scale {
    transform: scale(0.85);
}

.reveal.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

/* ============ TOAST ============ */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--dark);
    color: var(--white);
    padding: 14px 22px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 9999;
    border-left: 4px solid var(--red);
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .mega-menu {
        width: 640px;
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-slider {
        height: 440px;
    }

    .hero-slide-content h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .header-search {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-list {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--dark);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px;
        overflow-y: auto;
        z-index: 999;
        gap: 0;
        animation: slideInNav 0.3s ease;
    }

    .nav-list.open {
        display: flex;
    }

    @keyframes slideInNav {
        from {
            transform: translateX(-100%);
            opacity: 0;
        }

        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-link {
        padding: 14px 0;
        font-size: 0.95rem;
        justify-content: space-between;
        width: 100%;
        color: #ddd;
    }

    .nav-link .chevron {
        transition: transform var(--transition);
    }

    .nav-item.dropdown-open .nav-link .chevron {
        transform: rotate(180deg);
    }

    .nav-item.active .nav-link::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.04);
        border-radius: var(--radius-sm);
        min-width: auto;
        padding: 0;
        display: none;
        margin-bottom: 8px;
    }

    .nav-item.dropdown-open .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        color: #ccc;
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .dropdown-menu li a:hover {
        background: rgba(255, 255, 255, 0.08);
        color: var(--red-light);
        padding-left: 20px;
    }

    .mega-menu {
        position: static;
        transform: none;
        width: 100%;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.04);
        border-radius: var(--radius-sm);
        padding: 12px 16px;
        display: none;
        grid-template-columns: 1fr;
        gap: 12px;
        border-top: none;
        margin-bottom: 8px;
    }

    .nav-item.dropdown-open .mega-menu {
        display: grid;
    }

    .mega-menu-col h4 {
        font-size: 0.7rem;
        margin-bottom: 6px;
        color: var(--red-light);
    }

    .mega-menu-col ul li a {
        color: #ccc;
        font-size: 0.82rem;
        padding: 6px 0;
    }

    .mega-menu-feature {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 14px;
    }

    .mobile-menu-overlay {
        display: block;
    }

    .hero-slider {
        height: 380px;
    }

    .hero-slide-content h1 {
        font-size: 1.8rem;
    }

    .hero-slide-content p {
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    .deal-banner {
        padding: 28px 24px;
        flex-direction: column;
        text-align: center;
    }

    .deal-countdown {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
        --topbar-height: 32px;
    }

    .topbar-left span:nth-child(2),
    .topbar-right a:nth-child(2),
    .topbar-divider {
        display: none;
    }

    .topbar {
        font-size: 0.7rem;
        height: var(--topbar-height);
    }

    .logo-icon {
        width: 34px;
        height: 34px;
    }

    .logo-icon svg {
        width: 18px;
        height: 18px;
    }

    .logo-text .brand-name {
        font-size: 1.3rem;
    }

    .logo-text .brand-tagline {
        font-size: 0.55rem;
        letter-spacing: 1px;
    }

    .header {
        height: var(--header-height);
    }

    .header-action-btn {
        width: 38px;
        height: 38px;
    }

    .header-action-btn svg {
        width: 20px;
        height: 20px;
    }

    .section {
        padding: 40px 14px;
    }

    .hero-slider {
        height: 320px;
    }

    .hero-slide-content {
        padding: 12px;
    }

    .hero-slide-content h1 {
        font-size: 1.4rem;
    }

    .hero-slide-content p {
        font-size: 0.82rem;
        margin-bottom: 16px;
    }

    .hero-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .hero-arrow {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .hero-arrow.prev {
        left: 8px;
    }

    .hero-arrow.next {
        right: 8px;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .section-header .section-tag::before,
    .section-header .section-tag::after {
        width: 20px;
    }

    .section-header .section-tag::before {
        left: -28px;
    }

    .section-header .section-tag::after {
        right: -28px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }

    .product-image {
        height: 130px;
        font-size: 3rem;
    }

    .product-info {
        padding: 10px 12px 12px;
    }

    .product-name {
        font-size: 0.8rem;
    }

    .product-price {
        font-size: 0.95rem;
    }

    .add-to-cart-btn {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    .product-wishlist {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
        top: 6px;
        right: 6px;
    }

    .product-badge {
        font-size: 0.55rem;
        padding: 2px 8px;
        top: 8px;
        left: 8px;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 10px;
    }

    .category-card {
        padding: 0px;
    }

    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .category-card h3 {
        font-size: 0.82rem;
    }

    .category-card p {
        font-size: 0.68rem;
    }

    .deal-banner {
        padding: 20px 16px;
        border-radius: var(--radius-lg);
    }

    .deal-content h3 {
        font-size: 1.3rem;
    }

    .countdown-item {
        min-width: 45px;
        padding: 8px 10px;
    }

    .countdown-item .count-num {
        font-size: 1.2rem;
    }

    .newsletter {
        padding: 28px 18px;
        border-radius: var(--radius-lg);
    }

    .newsletter h3 {
        font-size: 1.3rem;
    }

    .footer {
        padding: 32px 14px 0;
    }

    .footer-inner {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 20px;
    }

    .toast {
        bottom: 16px;
        right: 16px;
        left: 16px;
        text-align: center;
        font-size: 0.78rem;
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 280px;
    }

    .hero-slide-content h1 {
        font-size: 1.15rem;
    }

    .hero-slide-content .hero-badge {
        font-size: 0.6rem;
        padding: 4px 10px;
        margin-bottom: 8px;
    }

    .hero-btn {
        padding: 8px 16px;
        font-size: 0.7rem;
    }

    .hero-dots {
        bottom: 12px;
        gap: 6px;
    }

    .hero-dot {
        width: 7px;
        height: 7px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-image {
        height: 110px;
        font-size: 2.5rem;
    }

    .product-name {
        font-size: 0.75rem;
    }

    .product-price {
        font-size: 0.85rem;
    }

    .product-category {
        font-size: 0.6rem;
    }

    .stars {
        font-size: 0.7rem;
    }

    .header-actions .header-action-btn:nth-child(1) {
        display: none;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* Dark mode toggle support */
@media (prefers-color-scheme: dark) {
    :root {
        --cream: #faf7f2;
        --white: #ffffff;
        --off-white: #f5f0ea;
        --text-dark: #1a1a1a;
        --border: #e8e3dc;
    }
}

.cart-empty-text {
    text-align: center;
}

.cart-start-shopping-btn {
    background: linear-gradient(135deg, #f95000, #e20112) !important;
}